mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
added scan button navbar in mobile view
This commit is contained in:
parent
92cb9f70a1
commit
ee37852a72
1 changed files with 12 additions and 5 deletions
|
@ -3,11 +3,18 @@
|
||||||
|
|
||||||
<nav class="navbar navbar-expand-md bg-body-tertiary border-bottom shadow-sm fixed-top py-0" id="navbar">
|
<nav class="navbar navbar-expand-md bg-body-tertiary border-bottom shadow-sm fixed-top py-0" id="navbar">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#sidebar-container">
|
<div class="d-flex justify-content-start align-items-center">
|
||||||
<span class="visually-hidden">{% trans %}sidebar.toggle{% endtrans %}</span>
|
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#sidebar-container">
|
||||||
<!-- <span class="navbar-toggler-icon"></span> -->
|
<span class="visually-hidden">{% trans %}sidebar.toggle{% endtrans %}</span>
|
||||||
<i class="fas fa-folder-open fa-lg fa-fw"></i>
|
<!-- <span class="navbar-toggler-icon"></span> -->
|
||||||
</button>
|
<i class="fas fa-folder-open fa-lg fa-fw"></i>
|
||||||
|
</button>
|
||||||
|
{% if is_granted("@tools.label_scanner") %}
|
||||||
|
<a href="{{ path('scan_dialog') }}" class="navbar-toggler nav-link ms-3">
|
||||||
|
<i class="fas fa-camera-retro fa-fw"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
|
||||||
<a class="navbar-brand" href="{{ path('homepage') }}"><i class="fa fa-microchip"
|
<a class="navbar-brand" href="{{ path('homepage') }}"><i class="fa fa-microchip"
|
||||||
aria-hidden="true"></i> {{ partdb_title }}</a>
|
aria-hidden="true"></i> {{ partdb_title }}</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue