Browse Source

oubli css login

master
kalyax 3 years ago
parent
commit
e5a9b1268a
  1. 5
      login/login.css
  2. 18
      login/login.php

5
login/login.css

@ -32,3 +32,8 @@ input{
.form-chunck{ .form-chunck{
margin-bottom: 0.6em; margin-bottom: 0.6em;
} }
.error{
margin: 0.4em 0;
font-size: 12px;
color: rgb(219, 143, 143);
}

18
login/login.php

@ -14,16 +14,16 @@
<div class="form-chunck"> <div class="form-chunck">
<label for="username">Utilisateur</label> <label for="username">Utilisateur</label>
<input class="input" type="text" name="username"> <input class="input" type="text" name="username">
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '2') { echo <<<HTML <?php if (isset($_GET['error']) AND $_GET['error'] == '2') { echo <<<HTML
<small>Nom d'utilisateur incorrecte</small> <p class="error">Nom d'utilisateur incorrecte</p>
HTML; }*/ ?> HTML; } ?>
</div> </div>
<div class="form-chunck"> <div class="form-chunck">
<label for="password">Mot de passe</label> <label for="password">Mot de passe</label>
<input class="input" type="password" name="password" id=""> <input class="input" type="password" name="password" id="">
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '3') { echo <<<HTML <?php if (isset($_GET['error']) AND $_GET['error'] == '3') { echo <<<HTML
<small>Mot de passe incorrecte</small> <p class="error">Mot de passe incorrecte</p>
HTML; }*/ ?> HTML; } ?>
</div> </div>
<input class="button" type="submit" value="Se connecter"> <input class="button" type="submit" value="Se connecter">
</form> </form>
@ -35,9 +35,9 @@
<div class="form-chunck"> <div class="form-chunck">
<label for="username">Utilisateur</label> <label for="username">Utilisateur</label>
<input class="input" type="text" name="username"> <input class="input" type="text" name="username">
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '1') { echo <<<HTML <?php if (isset($_GET['error']) AND $_GET['error'] == '1') { echo <<<HTML
<small>Nom d'utilisateur déjà pris</small> <p class="error">Nom d'utilisateur déjà pris</p>
HTML; }*/ ?> HTML; } ?>
</div> </div>
<div class="form-chunck"> <div class="form-chunck">
<label for="password">Mot de passe</label> <label for="password">Mot de passe</label>

Loading…
Cancel
Save