templates/base_front.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html dir="ltr" lang="en-US">
  3. <head>
  4.     <title>{% block title %}IPAPD{% endblock %}</title>
  5.     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7.     <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0,minimal-ui">
  8.     <meta name="description"
  9.           content="Vuexy admin is super flexible, powerful, clean &amp; modern responsive bootstrap 4 admin template with unlimited possibilities.">
  10.     <meta name="keywords"
  11.           content="admin template, Vuexy admin template, dashboard template, flat admin template, responsive admin template, web app">
  12.     <meta name="author" content="PIXINVENT">
  13.     <title>Dashboard analytics - Vuexy - Bootstrap HTML admin template</title>
  14.     <link rel="apple-touch-icon" href="{{ asset('uploads/logo/logo_tunisia-1.png') }}">
  15.     <link rel="shortcut icon" type="image/x-icon" href="{{ asset('uploads/logo/logo_tunisia-1.png') }}">
  16.     {% block stylesheets %}
  17.         <!-- Stylesheets ============================================= -->
  18.         <link href="https://fonts.googleapis.com/css?family=Lora:400,400i|Roboto:300,400,500,700|Rubik:400,600&display=swap"
  19.               rel="stylesheet">
  20.         <link rel="stylesheet" href="{{ asset('front/css/bootstrap.css') }}" type="text/css"/>
  21.         <link rel="stylesheet" href="{{ asset('front/style.css') }}" type="text/css"/>
  22.         <link rel="stylesheet" href="{{ asset('front/css/dark.css') }}" type="text/css"/>
  23.         <!-- Real Estate Demo Specific Stylesheet -->
  24.         <link rel="stylesheet" href="{{ asset('front/demos/real-estate/real-estate.css') }}" type="text/css"/>
  25.         <link rel="stylesheet" href="{{ asset('front/demos/real-estate/css/font-icons.css') }}" type="text/css"/>
  26.         <!-- / -->
  27.         <link rel="stylesheet" href="{{ asset('front/css/font-icons.css') }}" type="text/css"/>
  28.         <link rel="stylesheet" href="{{ asset('front/css/animate.css') }}" type="text/css"/>
  29.         <link rel="stylesheet" href="{{ asset('front/css/magnific-popup.css') }}" type="text/css"/>
  30.         <link rel="stylesheet" href="{{ asset('front/demos/real-estate/fonts.css') }}" type="text/css"/>
  31.         <!-- Bootstrap Select CSS -->
  32.         <link rel="stylesheet" href="{{ asset('front/css/components/bs-select.css') }}" type="text/css"/>
  33.         <!-- Bootstrap Switch CSS -->
  34.         <link rel="stylesheet" href="{{ asset('front/css/components/bs-switches.css') }}" type="text/css"/>
  35.         <!-- Range Slider CSS -->
  36.         <link rel="stylesheet" href="{{ asset('front/css/components/ion.rangeslider.css') }}" type="text/css"/>
  37.         <link rel="stylesheet" href="{{ asset('front/css/custom.css') }}" type="text/css"/>
  38.         <meta name="viewport" content="width=device-width, initial-scale=1"/>
  39.         <link rel="stylesheet" href="{{ asset('front/css/colors.php?color=2C3E50') }}" type="text/css"/>
  40.         {% if app.request.locale == 'ar' %}
  41.             <link rel="stylesheet" href="{{ asset('front/css/maps/rtl.css') }}" type="text/css"/>
  42.         {% endif %}
  43.     {% endblock %}
  44. </head>
  45. <body class="stretched side-push-panel">
  46. <!-- Document Wrapper
  47. ============================================= -->
  48. <div id="wrapper" class="clearfix">
  49.     <!-- Top Bar
  50.     ============================================= -->
  51.     {% include('__front/toolbar.html.twig') %}
  52.     <!-- Header
  53.     ============================================= -->
  54.     {% include('__front/header.html.twig') %}
  55.     {% block body %} {% endblock %}
  56.     <!-- Footer
  57.     ============================================= -->
  58.     {% include('__front/footer.html.twig') %}
  59.     <!-- #footer end -->
  60. </div><!-- #wrapper end -->
  61. <!-- Go To Top
  62. ============================================= -->
  63. <div id="gotoTop" class="icon-angle-up"></div>
  64. {% block javascripts %}
  65.     <!-- JavaScripts
  66.     ============================================= -->
  67.     <script src="{{ asset('front/js/jquery.js') }}"></script>
  68.     <script src="{{ asset('front/js/plugins.min.js') }}"></script>
  69.     <!--<script src="https://maps.google.com/maps/api/js?key=YOUR-API-KEY"></script>-->
  70.     <!-- Bootstrap Select Plugin -->
  71.     <script src="{{ asset('front/js/components/bs-select.js') }}"></script>
  72.     <!-- Bootstrap Switch Plugin -->
  73.     <script src="{{ asset('front/js/components/bs-switches.js') }}"></script>
  74.     <!-- Range Slider Plugin -->
  75.     <script src="{{ asset('front/js/components/rangeslider.min.js') }}"></script>
  76.     <!-- Footer Scripts ============================================= -->
  77.     <script src="{{ asset('front/js/functions.js') }}"></script>
  78.     <script>
  79.         try {
  80.             let yearNow = new Date().getFullYear();
  81.             $.ajax(
  82.                 {
  83.                     type: "GET",
  84.                     dataType: "json",
  85.                     url: '/api/projet/budget/min_max',
  86.                     success: function (response) {
  87.                         if (response) {
  88.                             $(".price-range-slider").ionRangeSlider({
  89.                                 type: "double",
  90.                                 prefix: "",
  91.                                 min: response.max_budget ?? 0,
  92.                                 max: response.max_budget ?? 0,
  93.                                 from: response.max_budget ?? 0,
  94.                                 to: response.max_budget ?? 0,
  95.                                 max_postfix: "+"
  96.                             });
  97.                             $(".year-range-slider").ionRangeSlider({
  98.                                 type: "double",
  99.                                 min: response.min_date ?? 0,
  100.                                 max: response.max_date ?? 0,
  101.                                 from: response.min_date ?? 0,
  102.                                 to: response.max_date ?? 0,
  103.                                 postfix: " ",
  104.                                 max_postfix: "+"
  105.                             });
  106.                         }
  107.                     },
  108.                     errors: function (errors) {
  109.                         console.log(errors);
  110.                         $(".price-range-slider").ionRangeSlider({
  111.                             type: "double",
  112.                             prefix: "",
  113.                             min: 100,
  114.                             max: 1000000000,
  115.                             from: 100,
  116.                             to: 1000000000,
  117.                             max_postfix: "+"
  118.                         });
  119.                         $(".year-range-slider").ionRangeSlider({
  120.                             type: "double",
  121.                             min: 1999,
  122.                             max: yearNow,
  123.                             from: 1999,
  124.                             to: yearNow,
  125.                             postfix: " ",
  126.                             max_postfix: "+"
  127.                         });
  128.                     }
  129.                 });
  130.         }
  131.         catch (e) {
  132.             console.log(e);
  133.             $(".price-range-slider").ionRangeSlider({
  134.                 type: "double",
  135.                 prefix: "",
  136.                 min: 100,
  137.                 max: 1000000000,
  138.                 from: 100,
  139.                 to: 1000000000,
  140.                 max_postfix: "+"
  141.             });
  142.             $(".year-range-slider").ionRangeSlider({
  143.                 type: "double",
  144.                 min: 1999,
  145.                 max: yearNow,
  146.                 from: 1999,
  147.                 to: yearNow,
  148.                 postfix: " ",
  149.                 max_postfix: "+"
  150.             });
  151.         }
  152.         jQuery(document).ready(function () {
  153.             $(".area-range-slider").ionRangeSlider({
  154.                 type: "double",
  155.                 min: 50,
  156.                 max: 20000,
  157.                 from: 50,
  158.                 to: 20000,
  159.                 postfix: " sqm.",
  160.                 max_postfix: "+"
  161.             });
  162.             jQuery(".bt-switch").bootstrapSwitch();
  163.         });
  164.     </script>
  165. {% endblock %}
  166. </body>
  167. </html>