| 1234567891011121314151617181920212223242526272829303132 |
- <?php
- if(ENVIRONNEMENT == "DEV"){
- $titleHead = "<span class=\"badge\" style=\"background-color:red; position:fixed; margin: -30px 0 0 2em;\">DEV</span>";
- } elseif(ENVIRONNEMENT == "PREPROD"){
- $titleHead = "<span class=\"badge\" style=\"background-color:red; position:fixed; margin: -30px 0 0 2em;\">PREPROD</span>";
- } elseif(ENVIRONNEMENT == "PROD"){
- $titleHead = "";
- }
- ?>
- <main class="login">
- <div class="login-form">
- <img src="img/logo.png" alt="logo">
- <form id="formLogin">
- <?php echo $titleHead ?>
- <div style="margin-bottom: -20px; display: none;" id="divAlerte"></div>
- <input type="hidden" id="from" name="from" value="login">
- <input type="hidden" id="event" name="event" value="<?php echo (core::ifGet("e")) ? core::getGet("e") : ""; ?>">
- <div>
- <label for="ident">Matricule ou identifiant</label>
- <input type="text" aria-label="Matricule ou identifiant" id="ident" value="" oninput="this.value = this.value.toUpperCase()" maxlength="8" name="ident" required>
- </div>
- <div>
- <label for="date">Date d'ancienneté</label>
- <input type="date" pseudo="webkit-date-and-time-value" aria-label="Date d'ancienneté" id="date" value="" name="date" required>
- </div>
- <div>
- <button type="submit" id="submitLogin">Se connecter</button>
- </div>
- </form>
- <div>
- <script src="js/login-salarie.js"></script>
- </main>
|