templates/security/login.html.twig line 29

Open in your IDE?
  1. {% extends 'base.login.html.twig' %}
  2. {% block title %}Anmelden in swtPOS{% endblock %}
  3. {% block body %}
  4.     <div class="row justify-content-center">
  5.         <div class="col-lg-5">
  6.             <div class="card">
  7.                 <!-- Logo -->
  8.                 <div class="card-header pt-4 pb-4 text-center bg-primary">
  9.                     <a href="index.html">
  10.                         <span><img src="assets/images/logo.png" alt="" height="18"></span>
  11.                     </a>
  12.                 </div>
  13.                 <div class="card-body p-4">
  14.                     <div class="text-center w-75 m-auto">
  15.                         <h4 class="text-dark-50 text-center mt-0 font-weight-bold">Sign In</h4>
  16.                         <p class="text-muted mb-4">Enter your email address and password to access admin panel.</p>
  17.                     </div>
  18.                     <form method="post">
  19.                         {% if error %}
  20.                             <div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  21.                         {% endif %}
  22.                         {% if app.user %}
  23.                             <div class="mb-3">
  24.                                 You are logged in as {{ app.user.username }}, <a
  25.                                         href="{{ path('app_logout') }}">Logout</a>
  26.                             </div>
  27.                         {% endif %}
  28.                         <div class="form-group">
  29.                             <label for="emailaddress">Email address</label>
  30.                             {# ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!! #}
  31.                             <input type="email" value="admin@4tfm.de" name="email" id="inputEmail" class="form-control"
  32.                                    required="" autofocus placeholder="Enter your email">
  33.                             {# <input type="email" value="{{ last_username }}" name="email" id="inputEmail" class="form-control" required="" autofocus placeholder="Enter your email"> #}
  34.                         </div>
  35.                         <div class="form-group">
  36.                             <a href="pages-recoverpw.html" class="text-muted float-right"><small>Forgot your
  37.                                     password?</small></a>
  38.                             <label for="password">Password</label>
  39.                             <div class="input-group input-group-merge">
  40.                                 {# ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!! #}
  41.                                 <input value="test123" type="password" name="password" id="inputPassword"
  42.                                        class="form-control" required="" placeholder="Enter your password">
  43.                                 {# <input type="password" name="password" id="inputPassword" class="form-control" required="" placeholder="Enter your password"> #}
  44.                                 <input type="hidden" name="_csrf_token"
  45.                                        value="{{ csrf_token('authenticate') }}"
  46.                                 >
  47.                                 <div class="input-group-append" data-password="false">
  48.                                     <div class="input-group-text">
  49.                                         <span class="password-eye"></span>
  50.                                     </div>
  51.                                 </div>
  52.                             </div>
  53.                         </div>
  54.                         <div class="form-group mb-3">
  55.                             <div class="custom-control custom-checkbox">
  56.                                 <input type="checkbox" class="custom-control-input" id="checkbox-signin" checked
  57.                                        name="_remember_me">
  58.                                 <label class="custom-control-label" for="checkbox-signin">Remember me</label>
  59.                             </div>
  60.                         </div>
  61.                         <div class="form-group mb-0 text-center">
  62.                             <button class="btn btn-primary" type="submit"> Log In</button>
  63.                         </div>
  64.                     </form>
  65.                 </div> <!-- end card-body -->
  66.             </div>
  67.             <!-- end card -->
  68.             <div class="row mt-3">
  69.                 <div class="col-12 text-center">
  70.                     <p class="text-muted">Don't have an account? <a href="pages-register.html"
  71.                                                                     class="text-muted ml-1"><b>Sign Up</b></a></p>
  72.                 </div> <!-- end col -->
  73.             </div>
  74.             <!-- end row -->
  75.         </div> <!-- end col -->
  76.     </div>
  77.     {# ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!! #}
  78.     <p><a href="https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi"
  79.           target="_blank">react-developer-tools</a></p>
  80.     <p><a href="https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=de"
  81.           target="_blank">redux-devtools</a></p>
  82.     <p><a
  83.                 href="https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc?hl=de"
  84.                 target="_blank">xdebug-helper</a></p>
  85.     <p><a
  86.                 href="https://chrome.google.com/webstore/detail/hard-refresh/ichmdelihgokllcnibkcpciljnggojkj"
  87.                 target="_blank">hard-refresh</a></p>
  88.     <p><a
  89.                 href="https://addons.mozilla.org/de/firefox/addon/react-devtools/"
  90.                 target="_blank">react-developer-tools</a></p>
  91.     <p><a
  92.                 href="https://addons.mozilla.org/de/firefox/addon/reduxdevtools/"
  93.                 target="_blank">redux-devtools</a></p>
  94.     <p><a
  95.                 href="https://addons.mozilla.org/de/firefox/addon/hard-refresh-button/"
  96.                 target="_blank">hard-refresh</a></p>
  97.     <!-- end row -->
  98. {% endblock %}