templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html
  3.     lang="de" class="light">
  4.     <!-- BEGIN: Head -->
  5.     <head>
  6.         <meta charset="utf-8">
  7.         <link href="{{ asset('/dist/images/logo.svg')}}" rel="shortcut icon">
  8.         <meta name="viewport" content="width=device-width, initial-scale=1">
  9.         <meta name="description" content="">
  10.         <meta name="keywords" content="">
  11.         <meta name="author" content="">
  12.         <title>{{ app.session.get('texte')["portalname"]|raw }}
  13.             {% block title %}
  14.             {% endblock %}
  15.         </title>
  16.         <!-- BEGIN: CSS Assets-->
  17.         <link rel="stylesheet" href="{{ asset('dist/css/app.css')}}"/>
  18.         <link rel="stylesheet" href="{{ asset('css/custom.css')}}"/>
  19.         <link rel="stylesheet" href="{{ asset('css/customer.css')}}"/>
  20.         <link
  21.         rel="stylesheet" type="text/css" href="{{ asset('/dist/plugins/DataTables/datatables.css')}}"/>
  22.         <!-- END: CSS Assets-->
  23.         {% block stylesheets %}
  24.             {{ encore_entry_link_tags('app') }}
  25.         {% endblock %}
  26.         {% block javascripts %}
  27.             {{ encore_entry_script_tags('app') }}
  28.         {% endblock %}
  29.         <script src="{{ asset('/js/jquery-3.6.0.min.js')}}"></script>
  30.         <script src="{{ asset('/js/barrierefreiheit.js')}}"></script>
  31.     </head>
  32.     {% if (is_granted('ROLE_USER') or is_granted('ROLE_ADMIN')) and app.request.get('edit') == "" and 'tarifrechner' not in app.request.pathInfo %}
  33.         <body class="py-5 md:py-0">
  34.             <div class="loadingscreen hidden">
  35.                 <i data-loading-icon="ball-triangle" class="w-8 h-8 text-white"></i>
  36.             </div>
  37.             {% for message in app.flashes('neu') %}
  38.                 <div class="toastify on toastify-right toastify-top" style="transform: translate(0px); top: 15px;">
  39.                     <div id="success-notification-content" class="toastify-content flex">
  40.                         <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" icon-name="check-circle" class="lucide lucide-check-circle text-success" data-lucide="check-circle">
  41.                             <path d="m²2 11.08V12a10 10 0 11-5.93-9.14"></path>
  42.                             <polyline points="22 4 12 14.01 9 11.01"></polyline>
  43.                         </svg>
  44.                         <div class="ml-4 mr-4">
  45.                             <div class="font-medium">Info</div>
  46.                             <div class="text-slate-500 mt-1">{{ message }}</div>
  47.                         </div>
  48.                     </div>
  49.                     <span class="toast-close">✖</span>
  50.                 </div>
  51.             {% endfor %}
  52.             {% for message in app.flashes('error') %}
  53.                 <div class="toastify on  toastify-right toastify-top" style="transform: translate(0px); top: 15px;">
  54.                     <div id="success-notification-content-2" class="toastify-content flex">
  55.                         <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" icon-name="check-circle" class="lucide lucide-check-circle text-danger" data-lucide="x">
  56.                             <path d="m²2 11.08V12a10 10 0 11-5.93-9.14"></path>
  57.                             <polyline points="22 4 12 14.01 9 11.01"></polyline>
  58.                         </svg>
  59.                         <div class="ml-4 mr-4">
  60.                             <div class="font-medium">Info</div>
  61.                             <div class="text-slate-500 mt-1">{{ message }}</div>
  62.                         </div>
  63.                     </div>
  64.                     <span class="toast-close">✖</span>
  65.                 </div>
  66.             {% endfor %}
  67.             {% include 'menu/menu.html.twig' %}
  68.         {% elseif 'tarifrechner' in app.request.pathInfo  %}
  69.             <body class="py-5 md:py-0">
  70.                 <div class="loadingscreen hidden">
  71.                     <i data-loading-icon="ball-triangle" class="w-8 h-8 text-white"></i>
  72.                 </div>
  73.                 {% for message in app.flashes('neu') %}
  74.                     <div class="toastify on toastify-right toastify-top" style="transform: translate(0px); top: 15px;">
  75.                         <div id="success-notification-content" class="toastify-content flex">
  76.                             <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" icon-name="check-circle" class="lucide lucide-check-circle text-success" data-lucide="check-circle">
  77.                                 <path d="m²2 11.08V12a10 10 0 11-5.93-9.14"></path>
  78.                                 <polyline points="22 4 12 14.01 9 11.01"></polyline>
  79.                             </svg>
  80.                             <div class="ml-4 mr-4">
  81.                                 <div class="font-medium">Info</div>
  82.                                 <div class="text-slate-500 mt-1">{{ message }}</div>
  83.                             </div>
  84.                         </div>
  85.                         <span class="toast-close">✖</span>
  86.                     </div>
  87.                 {% endfor %}
  88.                 {% for message in app.flashes('error') %}
  89.                     <div class="toastify on  toastify-right toastify-top" style="transform: translate(0px); top: 15px;">
  90.                         <div id="success-notification-content-2" class="toastify-content flex">
  91.                             <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" icon-name="check-circle" class="lucide lucide-check-circle text-danger" data-lucide="x">
  92.                                 <path d="m²2 11.08V12a10 10 0 11-5.93-9.14"></path>
  93.                                 <polyline points="22 4 12 14.01 9 11.01"></polyline>
  94.                             </svg>
  95.                             <div class="ml-4 mr-4">
  96.                                 <div class="font-medium">Info</div>
  97.                                 <div class="text-slate-500 mt-1">{{ message }}</div>
  98.                             </div>
  99.                         </div>
  100.                         <span class="toast-close">✖</span>
  101.                     </div>
  102.                 {% endfor %}
  103.             {% else %}
  104.                 <body class="login">
  105.                     <div class="loadingscreen hidden">
  106.                         <i data-loading-icon="ball-triangle" class="w-8 h-8 text-white"></i>
  107.                     </div>
  108.                     {% for message in app.flashes('neu') %}
  109.                         <div class="toastify on toastify-right toastify-top" style="transform: translate(0px); top: 15px;">
  110.                             <div id="success-notification-content" class="toastify-content flex">
  111.                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" icon-name="check-circle" class="lucide lucide-check-circle text-success" data-lucide="check-circle">
  112.                                     <path d="m²2 11.08V12a10 10 0 11-5.93-9.14"></path>
  113.                                     <polyline points="22 4 12 14.01 9 11.01"></polyline>
  114.                                 </svg>
  115.                                 <div class="ml-4 mr-4">
  116.                                     <div class="font-medium">Info</div>
  117.                                     <div class="text-slate-500 mt-1">{{ message }}</div>
  118.                                 </div>
  119.                             </div>
  120.                             <span class="toast-close">✖</span>
  121.                         </div>
  122.                     {% endfor %}
  123.                     {% for message in app.flashes('error') %}
  124.                         <div class="toastify on  toastify-right toastify-top" style="transform: translate(0px); top: 15px;">
  125.                             <div id="success-notification-content-2" class="toastify-content flex">
  126.                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" icon-name="check-circle" class="lucide lucide-check-circle text-danger" data-lucide="x">
  127.                                     <path d="m²2 11.08V12a10 10 0 11-5.93-9.14"></path>
  128.                                     <polyline points="22 4 12 14.01 9 11.01"></polyline>
  129.                                 </svg>
  130.                                 <div class="ml-4 mr-4">
  131.                                     <div class="font-medium">Info</div>
  132.                                     <div class="text-slate-500 mt-1">{{ message }}</div>
  133.                                 </div>
  134.                             </div>
  135.                             <span class="toast-close">✖</span>
  136.                         </div>
  137.                     {% endfor %}
  138.                 {% endif %}
  139.                 {% block body %}{% endblock %}
  140.                 {% if is_granted('ROLE_USER') or is_granted('ROLE_ADMIN') %}
  141.                 </div>
  142.             {% endif %}
  143.             {% include 'global/modal.html.twig' %}
  144.             {% include 'global/barrierefreiheit.html.twig' %}
  145.             {% include 'global/edittext.html.twig' %}
  146.             <script src="{{ asset('/dist/js/app.js')}}"></script>
  147.             <script src="{{ asset('/js/jquery-3.6.0.min.js')}}"></script>
  148.             <!-- END: JS Assets-->
  149.             <script type="text/javascript" src="{{ asset('/dist/plugins/DataTables/datatables.js')}}"></script>
  150.             <script type="text/javascript" src="{{ asset('/dist/plugins/DataTables/dataTables.fixedHeader.min.js')}}"></script>
  151.             {% block scripts %}{% endblock %}
  152.             <script src="{{ asset('/js/chart.js')}}"></script>
  153.             <script src="{{ asset('/js/custom.js')}}"></script>
  154.             <script src="{{ asset('/js/utilities.js')}}"></script>
  155.             <script src="https://cloud.ccm19.de/app.js?apiKey=26ba405af2c9574525ef8b006188e7b27b7e1043c7f5b068&amp;domain=6496bc230d0a652f19061e52" referrerpolicy="origin"></script>
  156.         </body>
  157. </html>