travail en colab avec alexis et nicolas sur un partage

This commit is contained in:
Ghouar-Toussaint Rafael 2024-06-13 20:43:08 +02:00
parent 4f3635529d
commit 69593daeec
3 changed files with 24 additions and 11 deletions

View File

@ -76,3 +76,16 @@
line-height: 135%;
}
.content_cours {
width: 400px;
height: 400px;
margin: 100px auto ; /* Augmenter la marge en haut à 100px */
padding: 40px;
background-color: #f2f2f2;
border: 5px solid #ccc;
border-radius: 90px;
text-align: center;
font-size: 130%;
}

View File

@ -53,7 +53,6 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
<div class="content_cours">
<header>
<nav>
@ -61,16 +60,16 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
</nav>
</header>
<div class="content_cours">
<h2>Connexion</h2><br>
<h2>Connexion</h2><br>
<form action="" method="post">
<label for="login">Login :</label><br>
<input type="text" id="login" name="login" required value="<?php if (isset($_REQUEST['login'])) { echo $_REQUEST['login']; } ?>"><br>
<label for="password">Mot de passe :</label><br>
<br><label for="password">Mot de passe :</label><br>
<input type="password" id="password" name="password" required placeholder="••••••••" value="<?php if (isset($_REQUEST['login'])) { echo $_REQUEST['login']; } ?>"><br>
<input type="submit" value="Se connecter">
<br><input type="submit" value="Se connecter">
</form>
</div>

View File

@ -48,7 +48,6 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
<div class="content_cours">
<header>
<nav>
@ -56,15 +55,17 @@ if (!empty($_REQUEST['login']) && !empty($_REQUEST['password'])) {
</nav>
</header>
<div class="content_cours">
<h2>Inscription</h2> <br>
<h2>Inscription</h2> <br>
<form action="" method="post">
<label for="login">Login :</label><br>
<input type="text" id="login" name="login" value="<?php if (isset($_REQUEST['login'])) { echo $_REQUEST['login']; } ?>"><br>
<label for="password">Mot de passe :</label><br>
<br><label for="password">Mot de passe :</label><br>
<input type="password" id="password" name="password" required placeholder="••••••••" value="<?php if (isset($_REQUEST['login'])) { echo $_REQUEST['login']; } ?>"><br>
<label for="role">Role:</label>
<br><label for="role">Role :</label>
<select id="role" name="role" required>
<option value="spectator">Spectator</option>
<option value="athlete">Athlete</option>