Refactor templates and add search functionality with improved navigation and user experience
This commit is contained in:
parent
684a98b216
commit
f4f9f84387
15 changed files with 97 additions and 43 deletions
11
templates/fragments/_link_fragment.html
Normal file
11
templates/fragments/_link_fragment.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% macro category_link(endpoint, label, icon_html=None, arguments={}) %}
|
||||
<div class="col">
|
||||
<a href="{{ url_for('main.' + endpoint, **arguments) }}"
|
||||
class="d-flex flex-column justify-content-center link-success link-underline-opacity-0">
|
||||
{% if icon_html %}
|
||||
{{ icon_html | safe }}
|
||||
{% endif %}
|
||||
{{ label }}
|
||||
</a>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue