added scan button navbar in mobile view

This commit is contained in:
RaptorDE 2024-06-09 13:02:49 +02:00 committed by GitHub
parent 92cb9f70a1
commit ee37852a72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,11 +3,18 @@
<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="d-flex justify-content-start align-items-center">
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#sidebar-container">
<span class="visually-hidden">{% trans %}sidebar.toggle{% endtrans %}</span>
<!-- <span class="navbar-toggler-icon"></span> -->
<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"
aria-hidden="true"></i> {{ partdb_title }}</a>