templates/base.html.twig line 28

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1">
  6.         <title>
  7.             {% block title %}
  8.                 Welcome!
  9.                                             
  10.                             
  11.             {% endblock %}
  12.             | Project
  13.                                 
  14.                     
  15.         </title>
  16.         <link rel="stylesheet" href="{{ asset('assets/plugins/fontawesome-free/css/all.min.css') }}">
  17.         <link rel="stylesheet" href="{{ asset('assets/dist/css/adminlte.min.css') }}">
  18.         <link rel="stylesheet" href="{{ asset('assets/plugins/select2/css/select2.css') }}">
  19.         <link rel="stylesheet" href="{{ asset('assets/plugins/select2/css/select2.css') }}">
  20.         <link rel="stylesheet" href="{{ asset('assets/build/css/custom.css') }}">
  21.     
  22.         {% block stylesheets %}{% endblock %}
  23.         <script src="{{ asset('assets/plugins/jquery/jquery.min.js') }}"></script>
  24.     </head>
  25.     <body class="hold-transition sidebar-mini">
  26.         <div class="wrapper">
  27.             {% include "menu/navbar.html.twig" %}
  28.             {% include "menu/sidebar.html.twig" %}
  29.             <div class="content-wrapper">
  30.                 <div class="content-header">
  31.                     <div class="container-fluid">
  32.                         <div class="row mb-2">
  33.                             <div class="col-sm-6">
  34.                                 <h1 class="m-0">
  35.                                     {% block pagetitle %}{% endblock %}
  36.                                 </h1>
  37.                             </div>
  38.                             <div class="col-sm-6">
  39.                                 <ol class="breadcrumb float-sm-right">
  40.                                     <li class="breadcrumb-item">
  41.                                         <a href="#">
  42.                                             Home
  43.                                                                                     
  44.                                         </a>
  45.                                     </li>
  46.                                     {% block breadcrumb %}{% endblock %}
  47.                                 </ol>
  48.                             </div>
  49.                         </div>
  50.                     </div>
  51.                 </div>
  52.                 <div class="container-fluid px-5">
  53.                     <div class="row">
  54.                         <div class="col-md-12">
  55.                             {% for label, messages in app.flashes %}
  56.                                 {% for message in messages %}
  57.                                     <div class="row alert alert-{{ label }} alert-dismissible">
  58.                                         <button type="button" class="close" data-dismiss="alert" aria-hidden="true">
  59.                                             ×
  60.                                                                                     
  61.                                         </button>
  62.                                         <h4 class="mr-4">
  63.                                             <i class="icon fa fa-{% if label=='success' %}check {% else %}ban {% endif %}"></i>
  64.                                         </h4>
  65.                                         {{ message }}
  66.                                     </div>
  67.                                 {% endfor %}
  68.                             {% endfor %}
  69.                         </div>
  70.                     </div>
  71.                 </div>
  72.                 <div class="content">
  73.                     <div class="container-fluid">
  74.                         {% block body %}{% endblock %}
  75.                     </div>
  76.                 </div>
  77.             </div>
  78.             <footer class="main-footer">
  79.                 <div class="float-right d-none d-sm-inline">
  80.                     Project Followup
  81.                                                         
  82.                                     
  83.                 </div>
  84.                 <strong>
  85.                     Copyright &copy;
  86.                                                             
  87.                                         
  88.                     {{ 'now' | date('Y') }}
  89.                 </strong>
  90.                 All rights reserved.
  91.                                             
  92.                             
  93.             </footer>
  94.         </div>
  95.         <script src="{{ asset('assets/plugins/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
  96.         <script src="{{ asset('assets/plugins/moment/moment.min.js') }}"></script>
  97.         <script src="{{ asset('assets/dist/js/adminlte.js') }}"></script>
  98.         <script src="{{ asset('assets/plugins/select2/js/select2.full.min.js') }}"></script>
  99.  
  100.         <script>
  101.         $(function () {
  102.             //Initialize Select2 Elements
  103.             $('.select2').select2()
  104.             //Initialize Select2 Elements
  105.             $('.select2bs4').select2({
  106.             theme: 'bootstrap4'
  107.             })
  108.         });
  109.         </script>
  110.         <script>
  111.             $(document).ready(function(){
  112.                 $(".nav-sidebar").find(".active").removeClass("active");
  113.                 var path = window.location.href; 
  114.                 $('.nav-item a').each(function() {
  115.                     if (this.href === path) {
  116.                         $(this).addClass('active');
  117.                         $(this).closest('.has-treeview').addClass('menu-open active');
  118.                     }
  119.                 });
  120.             })
  121.         </script>
  122.        
  123.         {% block javascripts %}
  124.     
  125.     {% endblock %}
  126.     </body>
  127. </html>