templates/rapport/detail.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <title>Document</title>
  8.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  9.     <link rel="stylesheet" href="{{asset('assets/css/dashboard.css')}}">
  10.     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
  11.     <link rel="stylesheet" href="//cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
  12.     <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet" />
  13.     <link rel="stylesheet" href="{{asset('assets/css/multi-select.css')}}">
  14.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.10.2/fullcalendar.min.css"/>
  15. </head>
  16. <body>
  17.     <div id="app">
  18.         <div class="main-wrapper">
  19.             <div class="main-sidebar pl-2" style="width: 25rem;">
  20.                 <aside id="sidebar-wrapper" style="margin-top:1rem">
  21.                   
  22.                   <ul class="sidebar-menu m-0">
  23.                     <!-- <h4>Note Finale</h4> -->
  24.                     
  25.                     <form class="form p-3" method="POST" action="{{path('rapport_rapport_save', {rapport: rapport.id})}}">
  26.                         <label for="note" style="font-size:16px">Note:</label>
  27.                         <input class="form-control mb-2" style="font-size:22px" step="0.01" min="0" max="20"  value='{{rapport.note}}' type="number" name="note" id="note" />
  28.                         {#<input class="form-control mb-2" style="font-size:22px" step="0.00" min="0" max="20"   {% if rapport.note >= 0 and rapport.note is not null %} value='{{rapport.note}}' disabled {% endif %} type="number" name="note" id="note" />#}
  29.                         <label for="observation" style="font-size:16px">Observation:</label>
  30.                         <textarea class="form-control" style="height: 250px;" name="observation" id="observation" >{% if rapport.observation %} {{rapport.observation}} {% endif %}</textarea>
  31.                         {% if is_granted('ROLE_ENSEIGNANT') %}
  32.                         <button type="submit" class="btn btn-success mt-2">Enregistre</button>
  33.                         {% endif %}
  34.                     </from>
  35.                   </ul>
  36.                 </aside>
  37.               </div>
  38.               <div class="main-content" style="padding-top: 2rem; padding-left: 27rem;">
  39.                   <section class="section">
  40.                      <h4 class="mb-3">{{inscription.id}} ({{inscription.nom}} {{inscription.prenom}}) - {{rapport.type}}</h4>
  41.                      <div style="height:90vh">
  42.                         {# <img src="{{asset('uploads/rapport/pdfs/'~ rapport.url)}}" /> #}
  43.                         <iframe
  44.                             src="{{asset('uploads/rapport/pdfs/'~ rapport.url)}}"
  45.                             frameBorder="0"
  46.                             scrolling="auto"
  47.                             height="90%"
  48.                             width="95%"
  49.                         ></iframe>
  50.                      </div>
  51.                   </section>
  52.               </div>
  53.        
  54.         </div>
  55.     </div>
  56.    
  57. </body>
  58. </html>