templates/page/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Hello PageController!{% endblock %}
  3. {% block body %}
  4. {% if step == 'login' %}
  5. <div class="container text-center mt-5 pt-5">
  6.   <div class="row">
  7.     <div class="col">
  8.       <h1 class="display-3 mb-5">CheckTatoo Academy<sup>&reg;</sup></h1>
  9.       <form class="form-signin p-4 bg-light" method="post">
  10.         <h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
  11.         <label for="inputEmail" class="sr-only">Email address</label>
  12.         <input type="email" name="email" id="inputEmail" class="form-control" placeholder="Email address" required="" autofocus="">
  13.         <br>
  14.         <label for="inputPassword" class="sr-only">Password</label>
  15.         <input type="password" name="password" id="inputPassword" class="form-control" placeholder="Password" required="">
  16.         <div class="checkbox mb-3">
  17.           <label>
  18.             <input type="checkbox" value="remember-me"> Remember me
  19.           </label>
  20.         </div>
  21.         <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
  22.       </form>
  23.       <p><a href="#">Back to homepage</a></p>
  24.     </div>
  25.   </div>
  26. </div>
  27. {% endif %}
  28. {% if step == 'process' %}
  29. <main id="stepin" role="main" class="container text-center mt-5 pt-5">
  30.   <div class="starter-template">
  31.     <h1 class="">CheckTatoo Academy authentication</h1>
  32.     <h2 class="">powered by</h2>
  33.     <h1>Kyvala Token<sup>&reg;</sup><span style="margin-left:-14px ;"> </span></h1>
  34.     <h2 class="text-primary display-4">Confirm your identity</h2>
  35.     <p class="lead">Complete biometric authentication on your phone</p>
  36.     <h1><span class="lead">Ref:</span> {{ref}}</h1>
  37.     <p class="lead text-primary"><span class="" style="font-size: 50px; border: 2px solid #007bff; padding-left: 10px; padding-right: 10px;"><span id="timer">10:00</span>s</span> left to complete your authentication</p>
  38.   </div>
  39. </main>
  40. <main id="stepoff" style="display:none ;" role="main" class="container text-center mt-5 pt-5">
  41.   <div class="starter-template mt-5 pt-5">
  42.     <h1 class="">CheckTatoo Academy authentication</h1>
  43.     <h2 class="">powered by</h2>
  44.     <h1>Kyvala Token<sup>&reg;</sup><span style="margin-left:-14px ;"> </span></h1>
  45.      <h3 class="text-danger">We can't proceed your request <br> because your validation was not done within the time limit</h3>
  46.     {# <h3 class="text-danger">We can't proceed your request <br> because your validation has been reported as fraudulent</h3> #}
  47.     <p><a href="{{path('app_homepage')}}" class="btn btn-primary">Go to homepage</a> <a href="{{path('app_homepage')}}" class="btn btn-danger">Try again</a></p>
  48.   </div>
  49. </main>
  50. <main id="faild" style="display:none ;" role="main" class="container text-center mt-5 pt-5">
  51.   <div class="starter-template mt-5 pt-5">
  52.     <h1 class="">CheckTatoo Academy authentication</h1>
  53.     <h2 class="">powered by</h2>
  54.     <h1>Kyvala Token<sup>&reg;</sup><span style="margin-left:-14px ;"> </span></h1>
  55.      {# <h3 class="text-danger">We can't proceed your request <br> because your validation was not done within the time limit</h3> #}
  56.     <h3 class="text-danger">We can't proceed your request <br> because your validation has been reported as fraudulent</h3>
  57.     <p> <a href="#" class="btn btn-danger">Contact Support</a></p>
  58.   </div>
  59. </main>
  60. <main id="success" style="display:none ;" role="main" class="container text-center mt-5 pt-5">
  61.   <div class="starter-template">
  62.     <h1>Welcome Mr Michel DJIKER</h1>
  63.     <p class="h3 text-success">Confirmation completed, you will be redirected in a moment...</p>
  64.     <p><img width="120px" src="{{asset('img/loader.gif')}}" alt=""></p>
  65.     <p class="lead">CheckTatoo Academy authentication</p>
  66.     <p class="lead">Kyvala Token<sup>&reg;</sup><span style="margin-left:-14px ;"> </span><sup>&reg;</sup></p>
  67.   </div>
  68. </main>
  69. <script> let faild = {{ stop  }}</script>
  70. <script> let url = "{{path('app_login_check', {'id': auth.id})}}" </script>
  71. <script src="{{asset('js/timer.js')}}"></script>
  72. {% endif %}
  73. {#
  74. <main role="main" class="container">
  75.   <div class="starter-template">
  76.     <h1>Welcome Mr Michel DJIKER</h1>
  77.     <p class="h3 text-success">Confirmation completed, you will be redirected in a moment...</p>
  78.     <p><img width="120px" src="{{asset('img/loader.gif')}}" alt=""></p>
  79.     <p class="lead">CheckTatoo Academy authentication</p>
  80.     <p class="lead">Kyvala Token<sup>&reg;</sup><span style="margin-left:-14px ;"> </span><sup>&reg;</sup></p>
  81.   </div>
  82. </main>
  83. {#
  84. <main role="main" class="container">
  85.   <div class="starter-template">
  86.     <h1 class="">CheckTatoo Academy authentication</h1>
  87.     <h2 class="">powered by</h2>
  88.     <h1>Kyvala Token<sup>&reg;</sup><span style="margin-left:-14px ;"> </span></h1>
  89.      <h3 class="text-danger">We can't proceeed your request <br> because your validation was not done within the time limit</h3>
  90.     <h3 class="text-danger">We can't proceed your request <br> because your validation has been reported as fraudulent</h3>
  91.     <p><a href="#" class="btn btn-primary">Go to homepage</a> <a href="#" class="btn btn-danger">Try again</a></p>
  92.   </div>
  93. </main>
  94. #}
  95. {% endblock %}