Changes to be committed:
modified: Opencode/scripts/script_print.sh modified: backend/services/printer_service.py modified: frontend/templates/admin/actions.html modified: frontend/templates/admin/events.html modified: frontend/templates/admin/gallery.html modified: frontend/templates/admin/settings.html modified: frontend/templates/base.html modified: frontend/templates/public/gallery.html Untracked files: photobooth-app/script/ photobooth-app/userdata/
This commit is contained in:
@@ -13,7 +13,20 @@
|
||||
<nav class="navbar">
|
||||
<div class="navbar-brand">📷 <span>JH</span> Photomaton</div>
|
||||
<div class="navbar-links">
|
||||
{% block nav_links %}{% endblock %}
|
||||
{% set p = request.url.path %}
|
||||
{% if p.startswith('/admin') %}
|
||||
<a href="/admin" class="{{ 'active' if p == '/admin' or p == '/admin/' else '' }}">Dashboard</a>
|
||||
<a href="/admin/gallery" class="{{ 'active' if p.startswith('/admin/gallery') else '' }}">Galerie</a>
|
||||
<a href="/admin/actions" class="{{ 'active' if p.startswith('/admin/actions') else '' }}">Actions</a>
|
||||
<a href="/admin/print" class="{{ 'active' if p.startswith('/admin/print') else '' }}">Impression</a>
|
||||
<a href="/admin/settings" class="{{ 'active' if p.startswith('/admin/settings') else '' }}">Réglages</a>
|
||||
<a href="/admin/events" class="{{ 'active' if p.startswith('/admin/events') else '' }}">Événements</a>
|
||||
<a href="/admin/logout">Déconnexion</a>
|
||||
{% elif p.startswith('/gallery') or p == '/' %}
|
||||
<a href="/gallery" class="{{ 'active' if p.startswith('/gallery') else '' }}">📷 Galerie photos</a>
|
||||
{% else %}
|
||||
{% block nav_links %}{% endblock %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="navbar-status" id="ws-status">
|
||||
<span class="dot dot-gray" id="ws-dot"></span>
|
||||
|
||||
Reference in New Issue
Block a user