Nouvelle version du dimanche

This commit is contained in:
Alban
2026-03-08 13:25:06 +01:00
parent 582179ea9a
commit b71ae96310
5 changed files with 72 additions and 11 deletions

View File

@@ -1,7 +1,6 @@
<!doctype html>
<html lang="fr">
<head>
<img src="{{ url_for('static', filename='img/logo.jpg') }}" alt="Logo" width="160">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<script>
function added_user(Identifiant){
@@ -13,8 +12,36 @@
</script>
<meta charset="utf-8">
<title>Accueil</title>
<style>
.main{
display: grid;
grid-template-columns: repeat(1, 1fr) ;
}
.align_left {
grid-column: 1;
grid-row: 1 ;
/*
display: inline-block;
*/
}
.align_right {
grid-column: 2;
grid-row: 1;
/*
position: relative;
top: 0px;
width: 40%;
float: right;
display: inline-block;
*/
}
</style>
</head>
<body>
<img src="{{ url_for('static', filename='img/logo.jpg') }}" style="display: block" alt="Logo" width="160">
<div class= "main">
<div class= "align_left">
<h1>Mon site journal</h1>
<h2>Accueil</h2>
<p><a href="{{ url_for('NOTES',Identifiant=Identifiant) }}">Aller sur NOTES</a></p>
@@ -25,6 +52,8 @@
<li><a href="{{ url_for('cherche') }}">Rechercher un numéro</a></li>
<li><a href="{{ url_for('ajout') }}">Ajouter un contact</a></li>
</ul>
</div>
<div class= "align_right">
{% if Identifiant == "Alban" %}
<h1>Ajouter un utilisateur</h1>
<form action="{{ url_for('result_add_user') }}" method="post">
@@ -34,5 +63,7 @@
</form>
{% endif %}
<p><a href="{{ url_for('user_search') }}">Se connecter avec un autre identifiant</a></p>
</div>
</div>
</body>
</html>
</html>