templates\base.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="utf-8" />
  5. {#    <link rel="apple-touch-icon" sizes="76x76" href="/public/img/apple-icon.png">#}
  6. {#    <link rel="icon" type="image/png" sizes="96x96" href="/public/img/favicon.png">#}
  7.     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  8.     <title>NEEMA OPTICIANS</title>
  9.     <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
  10.     <meta name="viewport" content="width=device-width" />
  11.     {% block styles %}
  12.         {{ encore_entry_link_tags('app') }}
  13.     {% endblock %}
  14. </head>
  15. <body>
  16. {#<div class="se-pre-con"></div>#}
  17. <div class="wrapper">
  18.     {% block sidebar %}
  19.         <div class="sidebar" data-background-color="white" data-active-color="danger">
  20.             <!--
  21.                 Tip 1: you can change the color of the sidebar's background using: data-background-color="white | black"
  22.                 Tip 2: you can change the color of the active button using the data-active-color="primary | info | success | warning | danger"
  23.             -->
  24.             <div class="sidebar-wrapper">
  25.                 <div class="logo">
  26.                     <a href="/" class="simple-text">
  27.                         <img src="{{ asset('img/neema_opticians.png') }}" alt="">
  28.                         <p>{{ app.session.get('branch_name') | upper }}</p>
  29.                     </a>
  30.                 </div>
  31.                 <br>
  32.                 <ul class="nav">
  33.                     {% block li_dashboard %}
  34.                         <li class="">
  35.                             <a href="/">
  36.                                 <i class="ti-panel"></i>
  37.                                 <p>Dashboard</p>
  38.                             </a>
  39.                         </li>
  40.                     {% endblock %}
  41.                     {% block li_mpesa %}
  42.                         <li>
  43.                             <a data-toggle="collapse" href="#componentsMpesa" class="" aria-expanded="true">
  44.                                 <i class="ti-package"></i>
  45.                                 <p>M-Pesa<b class="caret"></b></p>
  46.                             </a>
  47.                             <div class="sub-menu collapse" id="componentsMpesa" aria-expanded="true" style="">
  48.                                 <ul class="nav">
  49.                                     <li>  <a href="{{ path('mpesaHomeRoute') }}">
  50.                                     <span class="sidebar-normal">
  51.                                         <i class="fas fa-arrow-circle-right"></i> ALL</span>
  52.                                         </a>
  53.                                     </li>
  54.                                     <li>
  55.                                         <a href="{{ path('mpesaManualRoute') }}"><span class="sidebar-normal"><i class="fas fa-arrow-circle-right"></i>MANUALLY ADDED</span></a>
  56.                                     </li>
  57.                                 </ul>
  58.                             </div>
  59.                         </li>
  60.                     {% endblock %}
  61.                     {% block li_marketing %}
  62.                         <li>
  63.                             <a data-toggle="collapse" href="#componentMarketing" class="" aria-expanded="true">
  64.                                 <i class="ti-files"></i>
  65.                                 <p>Marketing<b class="caret"></b></p>
  66.                             </a>
  67.                             <div class="sub-menu collapse" id="componentMarketing" aria-expanded="true" style="">
  68.                                 <ul class="nav">
  69.                                     <li>
  70.                                         <a href="{{ path('marketingHomeRoute') }}">
  71.                                             <span class="sidebar-normal"><i class="fas fa-arrow-circle-right"></i>Users</span>
  72.                                         </a>
  73.                                     </li>
  74.                                     <li>
  75.                                         <a href="{{ path('marketingPatientsHomeRoute') }}">
  76.                                             <span class="sidebar-normal"> <i class="fas fa-arrow-circle-right"></i>Patients</span>
  77.                                         </a>
  78.                                     </li>
  79.                                 </ul>
  80.                             </div>
  81.                         </li>
  82.                     {% endblock %}
  83.                     {% if not is_granted('ROLE_WEB_BRANCH') %}
  84.                     {% block li_system_users %}
  85.                         <li>
  86.                             <a data-toggle="collapse" href="#componentSystemUsers" class="" aria-expanded="true">
  87.                                 <i class="ti-user"></i>
  88.                                 <p>System Users<b class="caret"></b></p>
  89.                             </a>
  90.                             <div class="sub-menu collapse" id="componentSystemUsers" aria-expanded="true" style="">
  91.                                 <ul class="nav">
  92.                                     <li>
  93.                                         <a href="{{ path('systemUsersHomeRoute') }}">
  94.                                     <span class="sidebar-normal">
  95.                                         <i class="fas fa-arrow-circle-right"></i>Users</span>
  96.                                         </a>
  97.                                     </li>
  98.                                 </ul>
  99.                             </div>
  100.                         </li>
  101.                     {% endblock %}
  102.                     {% endif %}
  103.                     {#{% block li_transactions %}
  104.                         <li class="">
  105.                             <a href="/admin/companies">
  106.                                 <i class="ti-pulse"></i>
  107.                                 <p>Transactions</p>
  108.                             </a>
  109.                         </li>
  110.                     {% endblock %}#}
  111. {#                    {% block li_insurancec %}#}
  112. {#                        <li class="">#}
  113. {#                            <a href="/admin/companies">#}
  114. {#                                <i class="ti-bookmark"></i>#}
  115. {#                                <p>Insurance</p>#}
  116. {#                            </a>#}
  117. {#                        </li>#}
  118. {#                    {% endblock %}#}
  119.                    {# {% block li_customers %}
  120.                         <li class="">
  121.                             <a href="/admin/companies">
  122.                                 <i class="fas fa-users"></i>
  123.                                 <p>Customers</p>
  124.                             </a>
  125.                         </li>
  126.                     {% endblock %}#}
  127.                     {% if not is_granted('ROLE_WEB_BRANCH') %}
  128.                         {% block li_sms %}
  129.                             <li class="">
  130.                                 <a href="/web/sms">
  131.                                     <i class="ti-comments"></i>
  132.                                     <p>SMS</p>
  133.                                 </a>
  134.                             </li>
  135.                         {% endblock %}
  136.                     {% endif %}
  137. {#                    {% block li_discounts %}#}
  138. {#                        <li class="">#}
  139. {#                            <a href="/admin/discounts">#}
  140. {#                                <i class="ti-bookmark"></i>#}
  141. {#                                <p>Discounts</p>#}
  142. {#                            </a>#}
  143. {#                        </li>#}
  144. {#                    {% endblock %}#}
  145.                 </ul>
  146.             </div>
  147.         </div>
  148.     {% endblock %}
  149.     {% block mainpanel %}
  150.     <div class="main-panel">
  151.         <nav class="navbar navbar-default">
  152.             <div class="container-fluid">
  153.                 <div class="navbar-header">
  154.                     <button type="button" class="navbar-toggle">
  155.                         <span class="sr-only">Toggle navigation</span>
  156.                         <span class="icon-bar bar1"></span>
  157.                         <span class="icon-bar bar2"></span>
  158.                         <span class="icon-bar bar3"></span>
  159.                     </button>
  160.                     {% block heading %}
  161.                         <a class="navbar-brand" href="#">Dashboard</a>
  162.                     {% endblock %}
  163.                 </div>
  164.                 <div class="collapse navbar-collapse">
  165.                     <ul class="nav navbar-nav navbar-right">
  166.                         <li class="dropdown">
  167.                             <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  168.                                 <p>{{ app.user.systemUser.staffName }}</p>
  169.                                 <i class="fas fa-user-circle fa-2x"></i>
  170.                                 <b class="caret" style="margin-top: -15px;"></b>
  171.                             </a>
  172.                             <ul class="dropdown-menu">
  173.                                 <li><a href="/logout">Logout</a></li>
  174.                             </ul>
  175.                         </li>
  176.                     </ul>
  177.                 </div>
  178.             </div>
  179.         </nav>
  180.         {% endblock %}
  181.         <div class="content">
  182.             {% block main %}
  183.             {% endblock %}
  184.         </div>
  185.         <footer class="footer">
  186.             <div class="container-fluid">
  187.                 <nav class="pull-left">
  188.                 </nav>
  189.                 <div class="copyright pull-right">
  190.                     &copy; <script>document.write(new Date().getFullYear())</script>, powered by <a href="ohau.co.ke">Ohau Technologies ltd</a>
  191.                 </div>
  192.             </div>
  193.         </footer>
  194.     </div>
  195. </div>
  196. </body>
  197. {% block scripts %}
  198.     {{ encore_entry_script_tags('app') }}
  199.     {{ encore_entry_script_tags('bootstrap-js') }}
  200.     {{ encore_entry_script_tags('bootstrap-switch') }}
  201.     {{ encore_entry_script_tags('theme') }}
  202. {% endblock %}
  203. <script>
  204.     /*window.setTimeout(function() {
  205.         $(".se-pre-con").fadeTo(500, 0).slideUp(500, function(){
  206.              // $(this).style.display = 'none';
  207.         });
  208.     }, 500);*/
  209. </script>
  210. </html>