Mise en place d'un système permettant de transmettre l'utilisateur logué de page en page

This commit is contained in:
Alban
2026-03-03 17:50:51 +01:00
parent ce87beb55a
commit 5c8902f354
6 changed files with 22 additions and 17 deletions

View File

@@ -23,7 +23,7 @@
</tbody>
</table>
<h2>#2.The Strongest Battlegrounds</h2>
<img src="{{ url_for('static', filename='img/tSB_logo.jpg') }}" alt="Logo TSB" width="200">
<img src="{{ url_for('static', filename='img/TSB_logo.jpg') }}" alt="Logo TSB" width="200">
<h2>Phonk favoris</h2>
<table>
<tbody>
@@ -40,7 +40,7 @@
</tbody>
</table>
<p><a href="{{ url_for('index') }}">Retour à l'accueil</a></p>
<p><a href="{{ url_for('heure') }}">Verifier l'heure</a></p>
<p><a href="{{ url_for('heure',Identifiant=Identifiant) }}">Verifier l'heure</a></p>
<p><a href="{{ url_for('formulaire') }}">Aller au formulaire</a></p>
</body>
</html>

View File

@@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>Heure</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
</head>
<body>
<h1>Page dynamique</h1>
<p>Il est {{ h }} h {{ m }} min {{ s }} s</p>
<p><a href="{{ url_for('index') }}">Retour</a></p>
<p>Il est {{ h }} h {{ m }} min {{ s }} s</p>
<p><a href="{{ url_for('index2', Identifiant=Identifiant) }}">Retour</a></p>
</body>
</html>

View File

@@ -17,8 +17,8 @@
<body>
<h1>Mon site journal</h1>
<h2>Accueil</h2>
<p><a href="{{ url_for('NOTES') }}">Aller sur NOTES</a></p>
<p><a href="{{ url_for('heure') }}">Verifier l'heure</a></p>
<p><a href="{{ url_for('NOTES',Identifiant=Identifiant) }}">Aller sur NOTES</a></p>
<p><a href="{{ url_for('heure',Identifiant=Identifiant) }}">Verifier l'heure</a></p>
<p><a href="{{ url_for('formulaire') }}">Aller au formulaire</a></p>
<h3>Répertoire</h3>
<ul>
@@ -30,9 +30,9 @@
<form action="{{ url_for('result_add_user') }}" method="post">
<label>Identifiant : <input name="Identifiant" required></label><br>
<label>Mot_de_passe : <input name="Mot_de_passe" required></label><br>
<button type="submit">Ajouter</button>
</form>
<button type="submit">Ajouter</button>
</form>
{% endif %}
<p><a href="{{ url_for('user_search') }}">Se connecter avec un autre identifiant</a></p>
<p><a href="{{ url_for('user_search') }}">Se connecter avec un autre identifiant</a></p>
</body>
</html>