login.html 1.55 KB
<!doctype html>
<html lang="fr">
<head>
  {% include 'heads.html' %}
  <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css"/>
  <link href="{{ url_for('auth.static', filename='signin.css') }}" rel="stylesheet" type="text/css"/>
</head>
<body class="text-center">
  <form action="{{ url_for('auth.login')}}" class="form-signin" method="POST">
    {% include 'flash-messages.html' %}

    <a href="{{url_for('main.index')}}">
      <img class="mb-4 {{config.PDC_SITE_CLASS}}" height="72" src="{{ url_for('static', filename='img/pdc.png') }}" width="72">
    </a>
    <h1 class="h3 font-weight-normal mb-3">{{config.PDC_APP_NAME}} - {{config.PDC_SITE_NAME}}</h1>
    <h1 class="h3 font-weight-normal mb-3">Connectez vous</h1>
    <label class="sr-only" for="login">Email Adress</label>
    <input autofocus class="form-control" id="login" name="login" placeholder="identifiant" required>
    <label class="sr-only" for="password">Password</label>
    <input class="form-control" id="password" name="password" placeholder="mot de passe" required type="password">

    <div class="checkbox my-3">
      <label class="text-muted" data-placement="top" data-toggle="tooltip" title="désactivé">
        <input disabled id="remember" name="remember" type="checkbox" value="true"> Se souvenir de moi
      </label>
    </div>

    <button class="btn btn-dark btn-block btn-lg" type="submit">Connexion</button>

    <div class="mt-5 mb-3 text-muted">
      {% include 'copy.html' %}
    </div>
  </form>
  {% include 'bs4-scripts.html' %}
</body>
</html>