diff --git a/allianceauth/groupmanagement/templates/groupmanagement/index.html b/allianceauth/groupmanagement/templates/groupmanagement/index.html index 060a5670..d4fc0048 100644 --- a/allianceauth/groupmanagement/templates/groupmanagement/index.html +++ b/allianceauth/groupmanagement/templates/groupmanagement/index.html @@ -40,120 +40,121 @@ -
-
-
- {% if acceptrequests %} -
- - - - - - - - - - - - {% for acceptrequest in acceptrequests %} +
+
+
+ +
+ {% if acceptrequests %} +
+
{% trans "Character" %}{% trans "Organization" %}{% trans "Group" %}
+ - - - - + + + + - {% endfor %} - -
- - {% if acceptrequest.main_char %} - - {{ acceptrequest.main_char.character_name }} - - {% else %} - {{ acceptrequest.user.username }} - {% endif %} - - {% if acceptrequest.main_char %} - - {{ acceptrequest.main_char.corporation_name }} -
- {{ acceptrequest.main_char.alliance_name|default_if_none:"" }} - {% else %} - {% trans "(unknown)" %} - {% endif %} -
{{ acceptrequest.group.name }} - - {% trans "Accept" %} - - - - {% trans "Reject" %} - - {% trans "Character" %}{% trans "Organization" %}{% trans "Group" %}
-
- {% else %} -
{% trans "No group add requests." %}
- {% endif %} -
-
+ -
-
- {% if leaverequests %} -
- - - - - - - - - + + {% for acceptrequest in acceptrequests %} + + + + + - {% for leaverequest in leaverequests %} + + {% trans "Reject" %} + + + + {% endfor %} + +
{% trans "Character" %}{% trans "Organization" %}{% trans "Group" %}
+ + {% if acceptrequest.main_char %} + + {{ acceptrequest.main_char.character_name }} + + {% else %} + {{ acceptrequest.user.username }} + {% endif %} + + {% if acceptrequest.main_char %} + + {{ acceptrequest.main_char.corporation_name }} +
+ {{ acceptrequest.main_char.alliance_name|default_if_none:"" }} + {% else %} + {% trans "(unknown)" %} + {% endif %} +
{{ acceptrequest.group.name }} + + {% trans "Accept" %} + -
+
+ {% else %} +
{% trans "No group add requests." %}
+ {% endif %} +
+ +
+ {% if leaverequests %} +
+ + - - - - + + + + - {% endfor %} - -
- - {% if leaverequest.main_char %} - - {{ leaverequest.main_char.character_name }} - - {% else %} - {{ leaverequest.user.username }} - {% endif %} - - {% if leaverequest.main_char %} - - {{ leaverequest.main_char.corporation_name }} -
- {{ leaverequest.main_char.alliance_name|default_if_none:"" }} - {% else %} - {% trans "(unknown)" %} - {% endif %} -
{{ leaverequest.group.name }} - - {% trans "Accept" %} - - - - {% trans "Reject" %} - - {% trans "Character" %}{% trans "Organization" %}{% trans "Group" %}
-
- {% else %} -
{% trans "No group leave requests." %}
- {% endif %} + + + + {% for leaverequest in leaverequests %} + + + + {% if leaverequest.main_char %} + + {{ leaverequest.main_char.character_name }} + + {% else %} + {{ leaverequest.user.username }} + {% endif %} + + + {% if leaverequest.main_char %} + + {{ leaverequest.main_char.corporation_name }} +
+ {{ leaverequest.main_char.alliance_name|default_if_none:"" }} + {% else %} + {% trans "(unknown)" %} + {% endif %} + + {{ leaverequest.group.name }} + + + {% trans "Accept" %} + + + + {% trans "Reject" %} + + + + {% endfor %} + + +
+ {% else %} +
{% trans "No group leave requests." %}
+ {% endif %} +
diff --git a/allianceauth/static/css/auth-base.css b/allianceauth/static/css/auth-base.css index 32f03efd..32afaba0 100644 --- a/allianceauth/static/css/auth-base.css +++ b/allianceauth/static/css/auth-base.css @@ -43,27 +43,51 @@ ul.list-group.list-group-horizontal > li.list-group-item { justify-content: center; } -/* style group headers within a table */ -.tr-group { - font-weight: bold; - background-color: #e6e6e6 !important; -} +@media all { + /* style nav tabs in dark mode*/ + .template-dark-mode .nav-tabs > li.active > a { + background-color: rgb(70, 69, 69)!important; + color: rgb(255, 255, 255) !important; + } -/* default style for tables */ -.table-aa > thead > tr > th{ - border-bottom: 1px solid #f2f2f2; -} -.table-aa > thead > tr > th{ - vertical-align: middle; -} -.table-aa > tbody > tr > td{ - border-bottom: 1px solid #f2f2f2; -} -.table-aa > tbody > tr > td { - vertical-align: middle; -} -.table-aa > tbody > tr:last-child { - border-bottom: none; + .panel-tabs-aa { + border-top: none; + border-top-left-radius: 0%; + border-top-right-radius: 0%; + } + + /* style group headers within a table */ + .template-light-mode .tr-group { + font-weight: bold; + background-color: #e6e6e6 !important; + } + .template-dark-mode .tr-group { + font-weight: bold; + background-color: rgb(105, 105, 105) !important; + } + + /* default style for tables */ + .template-light-mode .table-aa > thead > tr > th{ + border-bottom: 1px solid #f2f2f2; + } + .template-dark-mode .table-aa > thead > tr > th{ + border-bottom: 1px solid rgb(70, 69, 69); + } + .table-aa > thead > tr > th{ + vertical-align: middle; + } + .template-light-mode .table-aa > tbody > tr > td{ + border-bottom: 1px solid #f2f2f2; + } + .template-dark-mode .table-aa > tbody > tr > td{ + border-bottom: 1px solid rgb(70, 69, 69); + } + .table-aa > tbody > tr > td { + vertical-align: middle; + } + .table-aa > tbody > tr:last-child { + border-bottom: none; + } } /* highlight active menu items