templates/portal/index.html.twig line 1

Open in your IDE?
  1. {% block body %}
  2. <head>
  3.     <meta charset="utf-8" />
  4.             <title>Tickets</title>
  5.             <link rel="icon" href="{{ asset('plugins/metric/dist/assets/images/icon.png') }}">
  6.             <link href="/plugins/metric/dist/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  7.             <link href="/plugins/metric/dist/assets/css/app.min.css" rel="stylesheet" type="text/css" />
  8. </head>
  9. <body id="body">
  10.     <!-- Log In page -->
  11.     <div class="container">
  12.         <div class="row vh-100 d-flex justify-content-center">
  13.             <div class="col-12 align-self-center">
  14.                 <div class="row">
  15.                     <div class="col-lg-5 mx-auto">
  16.                         <div class="card">
  17.                             <div class="card-body p-0 auth-header-box">
  18.                                 <div class="text-center" style="background-color:#608E34">
  19.                                         <img src="/plugins/metric/dist/assets/images/logo.png" height="150" alt="logo" class="auth-logo">
  20.                                     </div>
  21.                             </div>
  22.                             <br>
  23.                             <div class="card-body pt-0" style="padding: 0rem 1.5rem;">
  24.                                     <div class="form-group mb-0 row">
  25.                                         <div class="col-12">
  26.                                         {{ form_start(form) }}
  27.                                             <form class="my-4" method="POST">            
  28.                                         <div class="form-group mb-2">
  29.                                         <h6 style="text-align: center;">Ticket will only be created once you confirm the email.<h6>
  30.                                         
  31.                                         {% if message is not empty %}
  32.                                                 <b><h6 class="btn btn-primary w-100" style="cursor: default;margin-top:20px;background-color:#608E34; border-color: #608E34;text-align: center;">{{ message }}<h6><b>
  33.                                         {% endif %}
  34.                                         
  35.                                             <input 
  36.                                             style="border-color: #608E34; margin-top:15px"
  37.                                                 type="email" 
  38.                                                 value="" 
  39.                                                 name="email" 
  40.                                                 id="email" 
  41.                                                 class="form-control" 
  42.                                                 placeholder="{% trans %}Enter Email{% endtrans %}"
  43.                                                 autocomplete="username" 
  44.                                                 aria-describedby="addon-wrapping"
  45.                                                 required 
  46.                                                 autofocus
  47.                                             >                   
  48.                                             <br>
  49.                                         <div class="form-group row">
  50.                                            <div class="col-md-12">
  51.                                                  <label for="projectName" class="form-label">Subject</label>
  52.                                                 {{ form_row(form.subject) }}
  53.                                             </div><!--end col--> 
  54.                                         </div>
  55.                                         <div class="form-group row">
  56.                                             <div class="col-lg-12 col-6">
  57.                                                 <label class="form-label mt-2" for="pro-end-date">Notes</label>
  58.                                                 {{ form_row(form.notes) }}
  59.                                             </div><!--end col--> 
  60.                                         </div>
  61.                                          <div class="form-group row">
  62.                                             <div class="col-lg-12 col-6">
  63.                                                 <label class="form-label mt-2" for="pro-end-date">Description</label>
  64.                                                 {{ form_row(form.description) }}
  65.                                             </div><!--end col--> 
  66.                                         </div>
  67.                                         <br>
  68.                                         {{ form_row(form.agreeTerms) }}
  69.                                         <br>
  70.                                         <p class="text-muted  mb-0" style="font-size:10px">I authorize Tickets Central to send me commercial communications and promotions of the brands it represents by electronic means, in accordance with the privacy policy. In our privacy policy you are giving explicit consent to the communication, the scope of this project, the associated duration and your right to be forgotten.</p>
  71.                                         <div class="col-12" style="margin-top:20px">
  72.                                             <button type="submit" class="btn btn-primary w-100" style="background-color:#608E34; border-color: #608E34;" >Create Tickets</button>
  73.                                             <br>
  74.                                             <a href="/" class="btn btn-primary w-100" style="margin-top:20px;background-color:#608E34; border-color: #608E34;">Back</a>
  75.                                         </div><!--end col--> 
  76.                                         {{ form_end(form) }}
  77.                                         </form>
  78.                                         </div><!--end col--> 
  79.                                         
  80.                                     
  81.                                     </div> <!--end form-group-->                           
  82.                                 
  83.                             </div><!--end card-body-->
  84.                         </div><!--end card-->
  85.                     </div><!--end col-->
  86.                 </div><!--end row-->
  87.             </div><!--end col-->
  88.         </div><!--end row-->
  89.     </div><!--end container-->
  90.     
  91. </body>
  92. </html>
  93. <script type="text/javascript">
  94.         $(document).ready(function () {
  95.         document.body.classList.toggle('enlarge-menu');
  96.     });
  97. </script>
  98. {% endblock %}