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
|
@ -1,21 +1,13 @@
|
|||
<!-- templates/index.html -->
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% import "_table_fragment.html" as tables %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="text-center display-3">Table of Contents</h1>
|
||||
<div class="row text-center m-5">
|
||||
<div class="col">
|
||||
<a class="link-success link-underline-opacity-0" href="{{ url_for('main.inventory_index') }}">Inventory</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a class="link-success link-underline-opacity-0" href="{{ url_for('main.list_users') }}">Users</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a class="link-success link-underline-opacity-0" href="{{ url_for('main.list_worklog') }}">Work Log</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
<h1 class="text-center display-3">Table of Contents</h1>
|
||||
<div class="row text-center m-5">
|
||||
{{ links.category_link(endpoint = 'inventory_index', label = 'Inventory', icon_html = icons.inventory) }}
|
||||
{{ links.category_link(endpoint = 'list_users', label = "Users", icon_html = icons.user) }}
|
||||
{{ links.category_link(endpoint = 'list_worklog', label = 'Worklog', icon_html = icons.log) }}
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue