Commit 12fc7a5c authored by Julien Ait azzouzene's avatar Julien Ait azzouzene
Browse files

💄 style: amélioration de l'aspect de la page de connexion

parent 1ecf70eb
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -6,9 +6,6 @@ function afficherPageConnexion($loginIncorrect = false) {

    ob_start();

    if($loginIncorrect){ 
        echo '<p style="color: red">Identifiant / mot de passe incorrect</p>';
    }
    ?>

    <div class="container-fluid">
@@ -19,8 +16,14 @@ function afficherPageConnexion($loginIncorrect = false) {
                            <!--! Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. -->
                            <path d="M494.6 255.9c-65.63-.8203-118.6-54.14-118.6-119.9c-65.74 0-119.1-52.97-119.8-118.6c-25.66-3.867-51.8 .2346-74.77 12.07L116.7 62.41C93.35 74.36 74.36 93.35 62.41 116.7L29.6 181.2c-11.95 23.44-16.17 49.92-12.07 75.94l11.37 71.48c4.102 25.9 16.29 49.8 34.81 68.32l51.36 51.39C133.6 466.9 157.3 479 183.2 483.1l71.84 11.37c25.9 4.101 52.27-.1172 75.59-11.95l64.81-33.05c23.32-11.84 42.31-30.82 54.14-54.14l32.93-64.57C494.3 307.7 498.5 281.4 494.6 255.9zM176 367.1c-17.62 0-32-14.37-32-31.1s14.38-31.1 32-31.1s32 14.37 32 31.1S193.6 367.1 176 367.1zM208 208c-17.62 0-32-14.37-32-31.1s14.38-31.1 32-31.1s32 14.37 32 31.1S225.6 208 208 208zM368 335.1c-17.62 0-32-14.37-32-31.1s14.38-31.1 32-31.1s32 14.37 32 31.1S385.6 335.1 368 335.1z"></path>
                        </svg>&nbsp;Ptit cuistots</h2>
                    
                    <?php
                    if($loginIncorrect){ 
                        echo '<p style="color: red">Identifiant / mot de passe incorrect</p>';
                    }
                    ?>
                    <form method="post" action=".?action=connexion">
                        <div class="form-group mb-3"><label for="identifiant" class="form-label text-secondary">Email/nom d'utilisateur</label><input class="form-control" type="text" id="identifiant" name="identifiant" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,15}$" inputmode="email"></div>
                        <div class="form-group mb-3"><label for="identifiant" class="form-label text-secondary">Email/nom d'utilisateur</label><input class="form-control" type="text" id="identifiant" name="identifiant" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,15}$" inputmode="email" style="font-family: Arial, sans-serif;"></div>
                        <div class="form-group mb-3"><label for="motDePasse" class="form-label text-secondary">mot de passe</label><input class="form-control" type="password" id="motDePasse" name="motDePasse" required></div>
                        <button class="btn btn-info mt-2" type="submit">Se connecter</button>
                    </form>