templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. {% set currentPath = app.request.get('_route') %}
  3. <html>
  4.     <head data-viewid=" {{ (viewId is defined) ? viewId : random() }} ">
  5.         <meta charset="UTF-8">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no">
  7.         <title>SGProgram</title>
  8.         <!-- favicon -->
  9.         <link rel="shortcut icon" href="{{ asset('img/favicon.jpg') }}">
  10.         <!-- Bootstrap CSS -->
  11.         <link rel="stylesheet" href="{{ asset('lib/bootstrap-3.3.7-dist/css/bootstrap.min.css') }}">
  12.         <!-- DataTables -->
  13.         <link rel="stylesheet" href="{{ asset('lib/DataTables/DataTables-1.10.18/css/dataTables.bootstrap.min.css') }}">
  14.         <link rel="stylesheet" href="{{ asset('lib/DataTables/Responsive-2.2.2/css/responsive.bootstrap.min.css') }}">
  15.         <link rel="stylesheet" href="{{ asset('lib/DataTables/Select-1.3.0/css/select.dataTables.min.css') }}">
  16.         <!-- Font Awesome -->
  17.         <link rel="stylesheet" href="{{ asset('lib/fontawesome-free-5.9.0-web/css/all.css') }}">
  18.         <!-- Ionicons -->
  19.         <link rel="stylesheet" href="{{ asset('lib/Ionicons/css/ionicons.min.css') }}">
  20.         <!-- Skin -->
  21.         <link rel="stylesheet" href="{{ asset('lib/AdminLTE-2.4.12/css/AdminLTE.min.css') }}">
  22.         <link rel="stylesheet" href="{{ asset('lib/AdminLTE-2.4.12/css/skins/_all-skins.min.css') }}">
  23.         <!-- Swal2 -->
  24.         <link rel="stylesheet" href="{{ asset('lib/sweetalert2-8.13.0/sweetalert2.min.css') }}">
  25.         <!-- Toastr -->
  26.         <link rel="stylesheet" href="{{ asset('lib/toastr-2.1.4/toastr.min.css') }}">
  27.         <!-- Custom Style -->
  28.         <link rel="stylesheet" href="{{ asset('css/style.css') }}">
  29.         <!-- Google Font -->
  30.         <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  31.         <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
  32.     </head>
  33.     {% if logged_user is defined %}
  34.         {% if logged_user.hasCompleteView %}
  35.             {% block bodyAdmin %}{% endblock %}
  36.         {% else %}
  37.             {% block bodyUser %}{% endblock %}
  38.         {% endif %}
  39.     {% else %}
  40.         {% block bodyGuest %}{% endblock %}
  41.     {% endif %}
  42. </html>