Add laptop icon SVG and refactor search template for improved category links
This commit is contained in:
parent
a5feeeee1d
commit
67c85a4569
2 changed files with 11 additions and 12 deletions
|
@ -6,6 +6,14 @@
|
||||||
</svg>
|
</svg>
|
||||||
{% endset %}
|
{% endset %}
|
||||||
|
|
||||||
|
{% set laptop %}
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor"
|
||||||
|
class="bi bi-laptop align-self-center" viewBox="0 0 16 16">
|
||||||
|
<path
|
||||||
|
d="M13.5 3a.5.5 0 0 1 .5.5V11H2V3.5a.5.5 0 0 1 .5-.5zm-11-1A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5" />
|
||||||
|
</svg>
|
||||||
|
{% endset %}
|
||||||
|
|
||||||
{% set log %}
|
{% set log %}
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor"
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor"
|
||||||
class="bi bi-file-text align-self-center" viewBox="0 0 16 16">
|
class="bi bi-file-text align-self-center" viewBox="0 0 16 16">
|
||||||
|
|
|
@ -12,18 +12,9 @@ title=title,
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1 class="display-1 text-center">Search Categories</h1>
|
<h1 class="display-1 text-center">Search Categories</h1>
|
||||||
<div class="row text-center m-5">
|
<div class="row text-center m-5">
|
||||||
<div class="col">
|
{{ links.category_link(endpoint = 'search', label = 'Inventory', icon_html = icons.laptop, arguments = {'category': 'inventory'}) }}
|
||||||
<a href="" class="link-success link-underline-opacity-0 d-flex flex-column justify-content-center">
|
{{ links.category_link(endpoint = 'search', label = 'Users', icon_html = icons.user, arguments = {'category': 'users'}) }}
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor"
|
{{ links.category_link(endpoint = 'search', label = 'Work Logs', icon_html = icons.log, arguments = {'category': 'logs'}) }}
|
||||||
class="bi bi-laptop align-self-center" viewBox="0 0 16 16">
|
|
||||||
<path
|
|
||||||
d="M13.5 3a.5.5 0 0 1 .5.5V11H2V3.5a.5.5 0 0 1 .5-.5zm-11-1A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5" />
|
|
||||||
</svg>
|
|
||||||
Inventory
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="col">Users</div>
|
|
||||||
<div class="col">Work Logs</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue