Changes to be committed:
🚀 Deploy — JH Photomaton / 🔍 Vérification (push) Has been cancelled
🚀 Deploy — JH Photomaton / 🍓 Deploy sur le Pi (push) Has been cancelled

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:
2026-07-17 17:02:57 +02:00
parent c32b3ba345
commit 68b0a36031
8 changed files with 92 additions and 68 deletions
-9
View File
@@ -1,15 +1,6 @@
{% extends "base.html" %}
{% block title %}Actions — JH Photomaton{% endblock %}
{% block nav_links %}
<a href="/admin">Dashboard</a>
<a href="/admin/gallery">Galerie</a>
<a href="/admin/actions" class="active">Actions</a>
<a href="/admin/print">Impression</a>
<a href="/admin/settings">Réglages</a>
<a href="/admin/events">Événements</a>
<a href="/admin/logout">Déconnexion</a>
{% endblock %}
{% block content %}
<div class="container">
-9
View File
@@ -1,15 +1,6 @@
{% extends "base.html" %}
{% block title %}Événements — JH Photomaton{% endblock %}
{% block nav_links %}
<a href="/admin">Dashboard</a>
<a href="/admin/gallery">Galerie</a>
<a href="/admin/actions">Actions</a>
<a href="/admin/print">Impression</a>
<a href="/admin/settings">Réglages</a>
<a href="/admin/events" class="active">Événements</a>
<a href="/admin/logout">Déconnexion</a>
{% endblock %}
{% block head %}
<style>
-9
View File
@@ -1,15 +1,6 @@
{% extends "base.html" %}
{% block title %}Galerie admin — JH Photomaton{% endblock %}
{% block nav_links %}
<a href="/admin">Dashboard</a>
<a href="/admin/gallery" class="active">Galerie</a>
<a href="/admin/actions">Actions</a>
<a href="/admin/print">Impression</a>
<a href="/admin/settings">Réglages</a>
<a href="/admin/events">Événements</a>
<a href="/admin/logout">Déconnexion</a>
{% endblock %}
{% block head %}
<style>
-8
View File
@@ -2,14 +2,6 @@
{% block title %}Réglages bouton — JH Photomaton{% endblock %}
{% block nav_links %}
<a href="/admin">Dashboard</a>
<a href="/admin/gallery">Galerie</a>
<a href="/admin/actions">Actions</a>
<a href="/admin/print">Impression</a>
<a href="/admin/settings" class="active">Réglages</a>
<a href="/admin/logout">Déconnexion</a>
{% endblock %}
{% block head %}
<style>
+14 -1
View File
@@ -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>
-4
View File
@@ -1,10 +1,6 @@
{% extends "base.html" %}
{% block title %}Galerie photos — Photomaton LSDW{% endblock %}
{% block nav_links %}
<a href="/gallery" class="active">📷 Galerie photos</a>
{% endblock %}
{% block head %}
<style>
.pub-print-badge {