Moved active status to a database entry apposed to a function
Added settings page Cleaned up rollover page
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<a href={% url 'report:bus_roll' %}>Bus Roll</a> /
|
||||
<a href={% url 'report:bus_summary' %}>Bus Routes</a> /
|
||||
<a href="https://www2.education.vic.gov.au/pal/school-bus-program/resources">Resources</a> /
|
||||
<a href={% url 'settings:index' %}>Settings</a> /
|
||||
<form id="logout-form" method="post" action="{% url 'admin:logout' %}">
|
||||
{% csrf_token %}
|
||||
<button type="submit">{% translate 'Log out' %}</button>
|
||||
|
||||
@@ -18,14 +18,12 @@ from azure_auth.views import azure_auth_logout
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
|
||||
from coord.utils.rollover import rollover
|
||||
|
||||
admin.site.site_header = "Bus Portal Admin"
|
||||
|
||||
urlpatterns = [
|
||||
path('report/', include("coord.urls")),
|
||||
path('logout/', azure_auth_logout),
|
||||
path('auth/', include("azure_auth.urls"),),
|
||||
path('rollover', rollover, name="rollover"),
|
||||
path('settings/', include('coord.urls_settings')),
|
||||
path('', admin.site.urls),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user