mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +02:00
Merge branch 'menu-fa-cleanup' into 'v4.x'
[CHANGE] FA classes in menu hooks updated See merge request allianceauth/allianceauth!1571
This commit is contained in:
commit
8b7e57494c
@ -10,7 +10,7 @@ class CorpStats(MenuItemHook):
|
|||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self,
|
self,
|
||||||
_('Corporation Stats'),
|
_('Corporation Stats'),
|
||||||
'fas fa-share-alt fa-fw',
|
'fa-solid fa-share-nodes',
|
||||||
'corputils:view',
|
'corputils:view',
|
||||||
navactive=['corputils:']
|
navactive=['corputils:']
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@ from allianceauth.services.hooks import UrlHook
|
|||||||
|
|
||||||
@hooks.register('menu_item_hook')
|
@hooks.register('menu_item_hook')
|
||||||
def register_menu():
|
def register_menu():
|
||||||
return MenuItemHook(_('Fleet Activity Tracking'), 'fas fa-users fa-fw', 'fatlink:view',
|
return MenuItemHook(_('Fleet Activity Tracking'), 'fa-solid fa-users', 'fatlink:view',
|
||||||
navactive=['fatlink:'])
|
navactive=['fatlink:'])
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ class ApplicationsMenu(MenuItemHook):
|
|||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self,
|
self,
|
||||||
_('Applications'),
|
_('Applications'),
|
||||||
'far fa-file fa-fw',
|
'fa-regular fa-file',
|
||||||
'hrapplications:index',
|
'hrapplications:index',
|
||||||
navactive=['hrapplications:'])
|
navactive=['hrapplications:'])
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ class OpTimerboardMenu(MenuItemHook):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self, _('Fleet Operations'),
|
self, _('Fleet Operations'),
|
||||||
'fas fa-exclamation fa-fw',
|
'fa-solid fa-exclamation',
|
||||||
'optimer:view',
|
'optimer:view',
|
||||||
navactive=['optimer:']
|
navactive=['optimer:']
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@ class PermissionsTool(MenuItemHook):
|
|||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self,
|
self,
|
||||||
'Permissions Audit',
|
'Permissions Audit',
|
||||||
'fas fa-id-card fa-fw',
|
'fa-solid fa-id-card',
|
||||||
'permissions_tool:overview',
|
'permissions_tool:overview',
|
||||||
order=400,
|
order=400,
|
||||||
navactive=['permissions_tool:']
|
navactive=['permissions_tool:']
|
||||||
|
@ -10,7 +10,7 @@ class Services(MenuItemHook):
|
|||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self,
|
self,
|
||||||
_('Services'),
|
_('Services'),
|
||||||
'fas fa-cogs fa-fw',
|
'fa-solid fa-gears',
|
||||||
'services:services', 100
|
'services:services', 100
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ class JabberBroadcast(MenuItemHook):
|
|||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self,
|
self,
|
||||||
_('Jabber Broadcast'),
|
_('Jabber Broadcast'),
|
||||||
'fas fa-bullhorn fa-fw',
|
'fa-solid fa-bullhorn',
|
||||||
'openfire:broadcast'
|
'openfire:broadcast'
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ class FleetBroadcastFormatter(MenuItemHook):
|
|||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self,
|
self,
|
||||||
_('Fleet Broadcast Formatter'),
|
_('Fleet Broadcast Formatter'),
|
||||||
'fas fa-space-shuttle fa-fw',
|
'fa-solid fa-space-shuttle',
|
||||||
'services:fleet_format_tool'
|
'services:fleet_format_tool'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ class SrpMenu(MenuItemHook):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self, _('Ship Replacement'),
|
self, _('Ship Replacement'),
|
||||||
'far fa-money-bill-alt fa-fw',
|
'fa-regular fa-money-bill-1',
|
||||||
'srp:management',
|
'srp:management',
|
||||||
navactive=['srp:']
|
navactive=['srp:']
|
||||||
)
|
)
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
{% include 'menu/sortable-side-menu.html' %}
|
{% include 'menu/sortable-side-menu.html' %}
|
||||||
|
|
||||||
<div class="nav-padding col flex-nowrap vh-100 overflow-auto">
|
<div class="nav-padding col flex-nowrap vh-100 overflow-auto">
|
||||||
<div class="my-4">
|
<div class="my-3">
|
||||||
{% include 'allianceauth/messages-bs5.html' %}
|
{% include 'allianceauth/messages-bs5.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
@ -10,7 +10,7 @@ class TimerboardMenu(MenuItemHook):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
MenuItemHook.__init__(
|
MenuItemHook.__init__(
|
||||||
self, 'Structure Timers',
|
self, 'Structure Timers',
|
||||||
'far fa-clock fa-fw',
|
'fa-regular fa-clock',
|
||||||
'timerboard:view',
|
'timerboard:view',
|
||||||
navactive=['timerboard:']
|
navactive=['timerboard:']
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user