Refactor routes.py

This commit is contained in:
Peter Stockings
2024-12-29 22:51:01 +11:00
parent 1cd0b15201
commit 049e845d5b
13 changed files with 532 additions and 500 deletions

View File

@@ -51,11 +51,11 @@
</li>
<li class="mr-3">
<a class="inline-block py-2 px-4 no-underline
{% if request.path == url_for('main.manage_data') %}
{% if request.path == url_for('data.manage_data') %}
text-white
{% else %}
text-gray-600 hover:text-gray-200 hover:text-underline
{% endif %}" href="{{ url_for('main.manage_data') }}">Data
{% endif %}" href="{{ url_for('data.manage_data') }}">Data
</a>
</li>
<li class="mr-3">