diff --git a/allianceauth/srp/templates/srp/add.html b/allianceauth/srp/templates/srp/add.html index 5b38500d..750d0284 100644 --- a/allianceauth/srp/templates/srp/add.html +++ b/allianceauth/srp/templates/srp/add.html @@ -1,16 +1,25 @@ -{% extends "allianceauth/base.html" %} +{% extends "allianceauth/base-bs5.html" %} + {% load bootstrap %} {% load i18n %} -{% block page_title %}{% translate "SRP Fleet Create" %}{% endblock page_title %} +{% block page_title %} + {% translate "SRP Fleet Create" %} +{% endblock page_title %} + +{% block header_nav_brand %} + {% translate "Ship Replacement Program" %} +{% endblock header_nav_brand %} + {% block extra_css %} {% include 'bundles/jquery-datetimepicker-css.html' %} {% endblock extra_css %} {% block content %} - -
-

{% translate "Create SRP Fleet" %}

+
+

+ {% translate "Create SRP Fleet" %} +

@@ -35,7 +44,6 @@
- {% endblock content %} {% block extra_javascript %} @@ -45,11 +53,6 @@ {% block extra_script %} $('#id_fleet_time').datetimepicker({ setlocale: '{{ LANGUAGE_CODE }}', - {% if NIGHT_MODE %} - theme: 'dark', - {% else %} - theme: 'default', - {% endif %} mask: true, format: 'Y-m-d H:i', minDate: 0 diff --git a/allianceauth/srp/templates/srp/data.html b/allianceauth/srp/templates/srp/data.html index 34aeb5c1..1de91772 100644 --- a/allianceauth/srp/templates/srp/data.html +++ b/allianceauth/srp/templates/srp/data.html @@ -1,140 +1,148 @@ {% extends "allianceauth/base-bs5.html" %} + {% load i18n %} - {% load humanize %} -{% block page_title %}{% translate "Srp Fleet Data" %}{% endblock page_title %} -{% block content %} -
-
-

{% translate "SRP Fleet Data" %} -
- {% if perms.auth.srp_management %} - {% if fleet_status == "Completed" %} - - {% translate "Mark Incomplete" %} - - {% else %} - - {% translate "Mark Completed" %} - - {% endif %} - {% endif %} -
-

- {% if srpfleetrequests %} -
- {% csrf_token %} -