templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <script async src="https://www.googletagmanager.com/gtag/js?id=UA-10125060-7"></script>
  5.         <!-- Global site tag (gtag.js) - Google Analytics -->
  6.         <script>
  7.             window.dataLayer = window.dataLayer || [];
  8.             function gtag() {
  9.                 dataLayer.push(arguments);
  10.             }
  11.             gtag('js', new Date());
  12.             gtag('config', 'UA-10125060-7');
  13.         </script>
  14.         <!-- Facebook Pixel Code -->
  15.         <script>
  16.             !function (f, b, e, v, n, t, s) {
  17.                 if (f.fbq) return;
  18.                 n = f.fbq = function () {
  19.                     n.callMethod ?
  20.                         n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  21.                 };
  22.                 if (!f._fbq) f._fbq = n;
  23.                 n.push = n;
  24.                 n.loaded = !0;
  25.                 n.version = '2.0';
  26.                 n.queue = [];
  27.                 t = b.createElement(e);
  28.                 t.async = !0;
  29.                 t.src = v;
  30.                 s = b.getElementsByTagName(e)[0];
  31.                 s.parentNode.insertBefore(t, s)
  32.             }(window, document, 'script',
  33.                 'https://connect.facebook.net/en_US/fbevents.js');
  34.             fbq('init', '522752151603497');
  35.             fbq('track', 'PageView');
  36.         </script>
  37.         <noscript>
  38.             <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=522752151603497&ev=PageView&noscript=1"/>
  39.         </noscript>
  40.         <!-- End Facebook Pixel Code -->
  41.         <title>{% block title %}Dobrodošli!{% endblock %}</title>
  42.         {% block stylesheets %}
  43.         {% endblock %}
  44.         <meta charset="utf-8">
  45.         <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  46.         <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('images/favicon.png') }}">
  47.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  48.         <link href="https://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css">
  49.         <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
  50.         <link rel="stylesheet" href={{ asset('build/style.min.css') }}>
  51.         <script type="text/javascript">
  52.             (function(c,l,a,r,i,t,y){
  53.                 c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
  54.                 t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
  55.                 y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
  56.             })(window, document, "clarity", "script", "gyp8xanb57");
  57.         </script>
  58.     </head>
  59.     <body class="hold-transition skin-blue sidebar-mini">
  60.         <div class="wrapper">
  61.             <header class="main-header">
  62.                 <!-- Logo -->
  63.                 <a href="/dashboard" class="logo">
  64.                     <!-- mini logo for sidebar mini 50x50 pixels -->
  65.                     <span class="logo-mini"><b>T</b></span>
  66.                     <!-- logo for regular state and mobile devices -->
  67.                     <span class="logo-lg">
  68.                         <img width="140" height="35" src={{ asset('images/logo_new.png') }} />
  69.                     </span>
  70.                 </a>
  71.                 {% block header %}{% endblock %}
  72.             </header>
  73.             {% block mainslider %}
  74.                 <aside class="main-sidebar">
  75.                     <section class="sidebar">
  76.                         <!-- Sidebar Menu -->
  77.                         <ul class="sidebar-menu">
  78.                             <li class="header">PREČICE</li>
  79.                             <!-- Optionally, you can add icons to the links -->
  80.                             <li>
  81.                                 <a target="_blank" href={{ asset('uputstvo_v5.pdf') }} ><i class="fa fa-book"></i>
  82.                                     <span>Uputstvo</span>
  83.                                 </a>
  84.                             </li>
  85.                         </ul>
  86.                     </section>
  87.                 </aside>
  88.             {% endblock %}
  89.             <!-- Content Wrapper. Contains page content -->
  90.             <div class="content-wrapper" style="overflow: auto">
  91.                 <!-- Main content -->
  92.                 <section class="content">
  93.                     <!-- Your Page Content Here -->
  94.                     {% include('@templates/messages.html.twig') %}
  95.                     {% block body %}{% endblock %}
  96.                 </section>
  97.                 <!-- /.content -->
  98.             </div>
  99.             <!-- /.content-wrapper -->
  100.             <!-- Main Footer -->
  101.             <footer class="main-footer">
  102.                 <!-- To the right -->
  103.                 <!-- Default to the left -->
  104.                 <strong>Copyright &copy; {{ "now"|date("Y") }} <a href="/">Troskovi.com</a></strong>
  105.             </footer>
  106.             <!-- Control Sidebar -->
  107.             <aside class="control-sidebar control-sidebar-dark">
  108.                 <!-- Create the tabs -->
  109.                 <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
  110.                     <li class="active">
  111.                         <a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a>
  112.                     </li>
  113.                     <li>
  114.                         <a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a>
  115.                     </li>
  116.                 </ul>
  117.                 <!-- Tab panes -->
  118.                 <div class="tab-content">
  119.                     <!-- Home tab content -->
  120.                     <div class="tab-pane active" id="control-sidebar-home-tab">
  121.                         <h3 class="control-sidebar-heading">Recent Activity</h3>
  122.                         <ul class="control-sidebar-menu">
  123.                             <li>
  124.                                 <a href="javascript:;">
  125.                                     <i class="menu-icon fa fa-birthday-cake bg-red"></i>
  126.                                     <div class="menu-info">
  127.                                         <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>
  128.                                         <p>Will be 23 on April 24th</p>
  129.                                     </div>
  130.                                 </a>
  131.                             </li>
  132.                         </ul>
  133.                         <!-- /.control-sidebar-menu -->
  134.                         <h3 class="control-sidebar-heading">Tasks Progress</h3>
  135.                         <ul class="control-sidebar-menu">
  136.                             <li>
  137.                                 <a href="javascript:">
  138.                                     <h4 class="control-sidebar-subheading">
  139.                                         Custom Template Design
  140.                                         <span class="pull-right-container">
  141.                                             <span class="label label-danger pull-right">70%</span>
  142.                                         </span>
  143.                                     </h4>
  144.                                     <div class="progress progress-xxs">
  145.                                         <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
  146.                                     </div>
  147.                                 </a>
  148.                             </li>
  149.                         </ul>
  150.                         <!-- /.control-sidebar-menu -->
  151.                     </div>
  152.                     <!-- /.tab-pane -->
  153.                     <!-- Stats tab content -->
  154.                     <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
  155.                     <!-- /.tab-pane -->
  156.                     <!-- Settings tab content -->
  157.                     <div class="tab-pane" id="control-sidebar-settings-tab">
  158.                         <form method="post">
  159.                             <h3 class="control-sidebar-heading">General Settings</h3>
  160.                             <div class="form-group">
  161.                                 <label class="control-sidebar-subheading">
  162.                                     Report panel usage
  163.                                     <input type="checkbox" class="pull-right" checked>
  164.                                 </label>
  165.                                 <p>Some information about this general settings option</p>
  166.                             </div>
  167.                             <!-- /.form-group -->
  168.                         </form>
  169.                     </div>
  170.                     <!-- /.tab-pane -->
  171.                 </div>
  172.             </aside>
  173.             <!-- /.control-sidebar -->
  174.             <!-- Add the sidebar's background. This div must be placed
  175.                  immediately after the control sidebar -->
  176.             <div class="control-sidebar-bg"></div>
  177.             <div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  178.                 <div class="modal-dialog">
  179.                     <div class="modal-content">
  180.                         <div class="modal-header">
  181.                             <button type="button" class="close" data-dismiss="modal">
  182.                                 <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
  183.                             </button>
  184.                             <h4 class="modal-title" id="myModalLabel"></h4>
  185.                         </div>
  186.                         <div class="modal-body" id="modal-bodyku">
  187.                         </div>
  188.                         <div class="modal-footer" id="modal-footerq">
  189.                         </div>
  190.                     </div>
  191.                 </div>
  192.             </div>
  193.         </div>
  194.         <script src={{ asset('build/app.min.js') }}></script>
  195.         <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
  196.         {% block javascripts %}
  197.             <script type="text/javascript">
  198.                 $(document).ready(function () {
  199.                     $.widget.bridge('uibutton', $.ui.button);
  200.                     base.init();
  201.                     if ('{{ app.environment }}' === 'prod') {
  202.                         window.dataLayer = window.dataLayer || [];
  203.                         function gtag() {
  204.                             dataLayer.push(arguments);
  205.                         }
  206.                         gtag('js', new Date());
  207.                         $('.statsClick').each(function () {
  208.                             $(this).click(function () {
  209.                                 gtag('event', $(this).text(), {
  210.                                     'event_category': 'KLIKNUTO',
  211.                                     'event_label': $(this).text()
  212.                                 });
  213.                             })
  214.                         });
  215.                         $('#opremaStats').click(function () {
  216.                             gtag('event', 'Oprema', {
  217.                                 'event_category': 'KLIKNUTO',
  218.                                 'event_label': 'Oprema'
  219.                             });
  220.                         });
  221.                         $('#problemiStats').click(function () {
  222.                             gtag('event', 'Problemi', {
  223.                                 'event_category': 'KLIKNUTO',
  224.                                 'event_label': 'Problemi'
  225.                             });
  226.                         });
  227.                         $('#partneriStats').click(function () {
  228.                             gtag('event', 'Partneri', {
  229.                                 'event_category': 'KLIKNUTO',
  230.                                 'event_label': 'Partneri'
  231.                             });
  232.                         });
  233.                     }
  234.                 });
  235.             </script>
  236.         {% endblock %}
  237.     </body>
  238. </html>