templates/Admin/body.html.twig line 1

Open in your IDE?
  1. {% block nav %}
  2. <nav class="flex col bg-success {{ isMobile() ? 'closed autohide' : '' }}">
  3.     <div class="flex row space middle">
  4.         <h2 class="hoverflow semibold transition white">Panel Admin</h2>
  5.     </div>
  6.     <div id="menubox" class="flex col space relative white">
  7.         <menu class="flex col start white regular">
  8.         {% include "Admin/menu.html.twig" %}
  9.         </menu>
  10.         <a href="https://olasoft.net" target="blank">&copy; OlaSoft {{"now"|date('Y')}} <i class="fa fa-external-link-alt"></i></a>
  11.     </div>
  12.     <div id="btnMenu" class="button fixed flex row middle space xleft-5"><i></i><span></span></div>
  13. </nav>
  14. {% endblock %}
  15. <div id="container" class="mw100 padding-20">
  16. {% block container %}
  17.     <header class="flex row space middle mw100 {{ isMobile() ? 'bg-success alt' : '' }} left-20-in right-20-in top-10-in bottom-10-in">
  18.         {% if isMobile() %}
  19.         <div class="left-30-in left-15">
  20.             <b class="h2 white upper">Panel Admin</b>
  21.         </div>
  22.         {% else %}
  23.         <div class="flex col middle" id="titles">
  24.             {% if title is defined %}<h1 id="title">{{title}}</h1>{% endif %}
  25.             {% if subtitle is defined %}<h2 id="subtitle">{{subtitle}}</h2>{% endif %}
  26.         </div>
  27.         {% endif %}
  28.         <div class="flex row middle">
  29.             <div class="flex row middle mhide">
  30.                 <span class="square min radius back fa fa-arrow-left success alt" title="Revenir à la page précédente"></span>
  31.                 <span class="square min radius reload fa fa-sync-alt success alt" title="Actualiser la page"></span>
  32.                 <a class="square min radius fa fa-home success alt" href="{{url('home')}}" target="_blank" title="Visiter le site"></a>
  33.                 <a class="square min radius settings fa fa-cog success alt btn-popup" href="{{path('parameters')}}" title="Paramètre d'affichage"></a>
  34.             </div>
  35.             <div class="relative">
  36.                 <span class="square {{ isMobile() ? 'min filter-white' : '' }} radius user os-click autohide" title="Votre compte utilisateur"></span>
  37.                 <div class="actions-box hoverflow">
  38.                     <div>
  39.                         <ul class="user-actions black">
  40.                             {% include 'Admin/user-menu.html.twig' %}
  41.                         </ul>
  42.                     </div>
  43.                 </div>
  44.             </div>
  45.         </div>
  46.     </header>
  47.     {% if isMobile() %}
  48.         <div class="flex col middle" id="titles">
  49.             {% if title is defined %}<h1 id="title" class="h2 success upper">{{title}}</h1>{% endif %}
  50.             {% if subtitle is defined %}<h2 id="subtitle" class="h3">{{subtitle}}</h2>{% endif %}
  51.         </div>
  52.     {% endif %}
  53.     {% include 'Admin/notice.html.twig' %}
  54.     <div id="content" class="text-border">
  55.     {{ content is defined ? content|raw}}
  56.     </div>
  57. {% endblock %}
  58. </div>
  59. <div class="flex col center middle padding-20">
  60.     <svg width="200px"  height="200px"  xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" style="background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
  61.         <g transform="translate(0,-5)">
  62.             <circle cx="50" cy="44" class="fill-success alt">
  63.                 <animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1.6s" begin="0s" repeatCount="indefinite"></animateTransform>
  64.                 <animate attributeName="r" calcMode="spline" values="0;10;0" keyTimes="0;0.5;1" dur="1.6" keySplines="0.2 0 0.8 1;0.2 0 0.8 1" begin="0s" repeatCount="indefinite"></animate>
  65.             </circle>
  66.             <circle cx="50" cy="44" class="fill-warning">
  67.                 <animateTransform attributeName="transform" type="rotate" calcMode="linear" values="180 50 50;540 50 50" keyTimes="0;1" dur="1.6s" begin="0s" repeatCount="indefinite"></animateTransform>
  68.                 <animate attributeName="r" calcMode="spline" values="10;0;10" keyTimes="0;0.5;1" dur="1.6" keySplines="0.2 0 0.8 1;0.2 0 0.8 1" begin="0s" repeatCount="indefinite"></animate>
  69.             </circle>
  70.         </g>
  71.     </svg>
  72. </div>
  73. {# <footer id="footer"></footer> #}
  74. <div class="slide-box w100 project-box mrect popup" id="slider" tabindex="1">
  75.     <figure class="slide-container fill nohover relative">
  76.         <div class="h100 w100 slides">
  77.         </div>
  78.         <span class="slide-prev radius-50 h100 padding-30 absolute top left pointer" data-target="#slider">
  79.             <span class="fill flex col middle"><i class=" flex col middle fa fa-chevron-left h1 white adapt"></i></span>
  80.         </span>
  81.         <span class="slide-next radius-50 h100 padding-30 absolute top right pointer" data-target="#slider">
  82.             <span class="fill flex col middle"><i class=" flex col middle fa fa-chevron-right h1 white adapt"></i></span>
  83.         </span>
  84.     </figure>
  85.     <i class='iblock icon small close absolute top right radius-50 filter-white'></i>
  86. </div>