templates/default/index.html.twig line 1

Open in your IDE?
  1. {% extends 'baseInventory.html.twig' %}
  2. {% block title %}Discomat Inventaire HP{% endblock %}
  3.    
  4. {% block body %}
  5. {% include '/default/header.html.twig' %}
  6. <main role="main">
  7.     <section class="jumbotron text-center">
  8.       <div class="container">
  9.         <h1 class="jumbotron-heading">Discomat Inventaire</h1>
  10.         <p class="lead text-muted">Cet outil vous permet de rĂ©aliser et de suivre l'inventaire</p>
  11.         <p>
  12.           <a href="/inventory/" class="btn btn-primary my-2">Compter</a>
  13.           <a href="/admin/" class="btn btn-secondary my-2">Traiter</a>
  14.         </p>
  15.       </div>
  16.     </section>
  17.     
  18.   </main>
  19.   
  20. {% endblock %}
  21. {% block stylesheets %}
  22. <style>
  23.     body { background: #F5F5F5; font: 18px/1.5 sans-serif; }
  24.     h1, h2 { line-height: 1.2; margin: 0 0 .5em; }
  25.     h1 { font-size: 36px; }
  26.     h2 { font-size: 21px; margin-bottom: 1em; }
  27.     p { margin: 0 0 1em 0; }
  28.     a { color: #0000F0; }
  29.     a:hover { text-decoration: none; }
  30.     code { background: #F5F5F5; max-width: 100px; padding: 2px 6px; word-wrap: break-word; }
  31.     #wrapper { background: #FFF; margin: 1em auto; max-width: 800px; width: 95%; }
  32.     #container { padding: 2em; }
  33.     #welcome, #status { margin-bottom: 2em; }
  34.     #welcome h1 span { display: block; font-size: 75%; }
  35.     #icon-status, #icon-book { float: left; height: 64px; margin-right: 1em; margin-top: -4px; width: 64px; }
  36.     #icon-book { display: none; }
  37.     @media (min-width: 768px) {
  38.         #wrapper { width: 80%; margin: 2em auto; }
  39.         #icon-book { display: inline-block; }
  40.         #status a, #next a { display: block; }
  41.         @-webkit-keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
  42.         @keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
  43.         .sf-toolbar { opacity: 0; -webkit-animation: fade-in 1s .2s forwards; animation: fade-in 1s .2s forwards;}
  44.     }
  45. </style>
  46. {% endblock %}