diff --git a/allianceauth/authentication/templates/authentication/dashboard.html b/allianceauth/authentication/templates/authentication/dashboard.html index 8800985a..950fe332 100644 --- a/allianceauth/authentication/templates/authentication/dashboard.html +++ b/allianceauth/authentication/templates/authentication/dashboard.html @@ -5,71 +5,89 @@ {% block title %}{% trans "Dashboard" %}{% endblock %} {% block content %} -
-

{% trans "Dashboard" %}

-
-
-
-
-
{% trans "Main Character" %}
-
- {% if request.user.profile.main_character %} - {% with request.user.profile.main_character as main %} -
- - - -
{{ main.character_name }}
-
-
- - - -
{{ main.corporation_name }}
-
-
- {% if main.alliance_id %} - - - -
{{ main.alliance_name }}
- {% endif %} -
- {% endwith %} - {% else %} - +

{% trans "Dashboard" %}

+
+
+
+
+

{% trans "Main Character" %}

+
+ {% if request.user.profile.main_character %} + {% with request.user.profile.main_character as main %} +
+ + + + + + + +
+
{{ main.character_name }}
+
+
+ + + + + + + +
+
{{ main.corporation_name }}
+
+
+ {% if main.alliance_id %} + + + + + + + +
+
{{ main.alliance_name }}
{% endif %} -
- - +
+ {% endwith %} + {% else %} + + {% endif %} +
+ +
-
-
-
{% trans "Groups" %}
-
-
- - {% for group in user.groups.all %} - - - - {% endfor %} -
{{ group.name }}
-
+
+
+
+

{% trans "Groups" %}

+
+
+ + {% for group in user.groups.all %} + + + + {% endfor %} +
{{ group.name }}
-
+
-
{% trans 'Characters' %}
+

{% trans 'Characters' %}

@@ -79,14 +97,16 @@ {% for ownership in request.user.character_ownerships.all %} - {% with ownership.character as char %} - - - - - - - {% endwith %} + {% with ownership.character as char %} + + + + + + + {% endwith %} {% endfor %}
{% trans 'Alliance' %}
{{ char.character_name }}{{ char.corporation_name }}{{ char.alliance_name }}
+ {{ char.character_name }}{{ char.corporation_name }}{{ char.alliance_name }}
diff --git a/allianceauth/authentication/templates/public/base.html b/allianceauth/authentication/templates/public/base.html index 8bf077f4..1464ac91 100644 --- a/allianceauth/authentication/templates/public/base.html +++ b/allianceauth/authentication/templates/public/base.html @@ -32,7 +32,7 @@ } - #lang_select { + #lang-select { width: 40%; margin-left: auto; margin-right: auto; diff --git a/allianceauth/authentication/templates/public/lang_select.html b/allianceauth/authentication/templates/public/lang_select.html index 13d5ecfd..545d19ba 100644 --- a/allianceauth/authentication/templates/public/lang_select.html +++ b/allianceauth/authentication/templates/public/lang_select.html @@ -3,7 +3,7 @@
{% csrf_token %} - {% get_language_info_list for LANGUAGES as languages %} {% for language in languages %}