/
home
/
obinna
/
html
/
boaz2
/
var
/
cache
/
dev
/
twig
/
0d
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* users/base.html.twig.save */ class __TwigTemplate_2482d43b7985e80722560ecddd9394dce65e876a38ee1126c13a66a798a33bf1 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'sidemenu' => [$this, 'block_sidemenu'], 'content' => [$this, 'block_content'], 'javascript' => [$this, 'block_javascript'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "users/base.html.twig.save")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "users/base.html.twig.save")); // line 1 echo "<!doctype html> <html lang=\"en\"> <head> <meta charset=\"utf-8\" /> <link rel=\"icon\" type=\"image/png\" href=\""; // line 5 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/favicon.ico"), "html", null, true); echo "\"> <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" /> <title>Boaz Commodities</title> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> <meta name=\"viewport\" content=\"width=device-width\" /> <!-- Bootstrap core CSS --> <link href=\""; // line 15 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap.min.css"), "html", null, true); echo "\" rel=\"stylesheet\" /> <!-- Animation library for notifications --> <link href=\""; // line 18 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/animate.min.css"), "html", null, true); echo "\" rel=\"stylesheet\"/> <!-- Light Bootstrap Table core CSS --> <link href=\""; // line 21 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/light-bootstrap-dashboard.css"), "html", null, true); echo "\" rel=\"stylesheet\"/> <!-- CSS for Demo Purpose, don't include it in your project --> <link href=\""; // line 25 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/demo.css"), "html", null, true); echo "\" rel=\"stylesheet\" /> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 27 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/jqueryui.css"), "html", null, true); echo "\"> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 28 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/style.css"), "html", null, true); echo "\"> <!-- Fonts and icons --> <link href=\"//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css\" rel=\"stylesheet\"> "; // line 34 echo " <link href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/pe-icon-7-stroke.css"), "html", null, true); echo "\" rel=\"stylesheet\" /> <link rel=\"stylesheet\" type=\"text/css\" href=\""; // line 36 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/dataTables.css"), "html", null, true); echo "\"> <script src=\"//code.jquery.com/jquery-3.1.1.min.js\"></script> <script src=\""; // line 40 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jqueryui.js"), "html", null, true); echo "\"></script> <script src=\""; // line 41 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/dataTables.js"), "html", null, true); echo "\"></script> <style type=\"text/css\"> @media (max-width: 768px){ ul#subCargo li a { padding-right: 20px; } } @media (min-width: 992px) { .navbar .navbar-collapse.collapse { display: none !important; } } @media (max-width: 991px) { .navbar .navbar-collapse.collapse.in { display: block !important; text-align: center; } } </style> </head> <body style=\"overflow: hidden;\"> <script> \$( function() { \$(\"#datepicker\").datepicker(); \$(\"#datepicker\").datepicker(\"option\", \"dateFormat\", 'mm/dd/yy'); \$(\"#to\").datepicker(); }); </script> <div class=\"wrapper\"> <div class=\"sidebar\" data-color=\"purple\" id=\"navigation-example-2\" style=\"z-index: 999;\"> <!-- Tip 1: you can change the color of the sidebar using: data-color=\"blue | azure | green | orange | red | purple\" Tip 2: you can also add an image using data-image tag --> <div class=\"sidebar-wrapper\"> <div class=\"logo\"> <a href=\""; // line 83 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home"); echo "\" class=\"simple-text\"> Boaz Commodities </a> </div> <ul class=\"nav\"> "; // line 89 $this->displayBlock('sidemenu', $context, $blocks); // line 145 echo " </ul> </div> </div> <div class=\"main-panel\"> <nav class=\"navbar navbar-default navbar-fixed\"> <div class=\"container-fluid\"> <div class=\"navbar-header\"> <button type=\"button\" class=\"navbar-toggle collapsed\" data-toggle=\"collapse\" data-target=\"#navigations\"> <span class=\"sr-only\">Toggle navigation</span> <span class=\"icon-bar\"></span> <span class=\"icon-bar\"></span> <span class=\"icon-bar\"></span> </button> <a class=\"navbar-brand\" href=\"#\">"; // line 159 echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 159, $this->source); })()), "html", null, true); echo "</a> </div> <div class=\"collapse navbar-collapse\" id=\"navigations\"> <!-- <ul class=\"nav navbar-nav navbar-left\"> <li> <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"> <i class=\"fa fa-dashboard\"></i> </a> </li> </ul> --> <ul class=\"nav navbar-nav\"> <li class=\"active\"><a href=\"#\">Home</a></li> <li><a href=\"#about\">About</a></li> <li><a href=\"#contact\">Contact</a></li> <li class=\"dropdown\"> <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Dropdown <span class=\"caret\"></span></a> <ul class=\"dropdown-menu\"> <li><a href=\"#\">Action</a></li> <li><a href=\"#\">Another action</a></li> <li><a href=\"#\">Something else here</a></li> <li role=\"separator\" class=\"divider\"></li> <li class=\"dropdown-header\">Nav header</li> <li><a href=\"#\">Separated link</a></li> <li><a href=\"#\">One more separated link</a></li> </ul> </li> </ul> "; // line 187 if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "user", [], "any", false, false, false, 187)) { // line 188 echo " <ul class=\"nav navbar-nav navbar-right\"> <li> <a href=\""; // line 190 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("change"); echo "\"> Change Password </a> </li> <li> <a href=\""; // line 196 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("logout"); echo "\"> Log out </a> </li> </ul> "; } // line 202 echo " </div> </div> </nav> "; // line 207 $this->displayBlock('content', $context, $blocks); // line 210 echo " </div> </div> <!-- Core JS Files --> <!-- <script src=\""; // line 217 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-1.10.2.js"), "html", null, true); echo "\" type=\"text/javascript\"></script> --> <script src=\""; // line 218 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/bootstrap.min.js"), "html", null, true); echo "\" type=\"text/javascript\"></script> <!-- Charts Plugin --> <script src=\""; // line 221 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/chartist.min.js"), "html", null, true); echo "\"></script> "; // line 223 $this->displayBlock('javascript', $context, $blocks); // line 267 echo " </body> </html> "; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 89 public function block_sidemenu($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidemenu")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidemenu")); // line 90 echo " <li id=\"home\"> <a href=\""; // line 91 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home"); echo "\"> <p>Home</p> </a> </li> <li id=\"newcargo\"> <a href=\""; // line 96 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("addCargo"); echo "\"> <p>Enter New Cargo</p> </a> </li> <li id=\"viewcargo\"> <a href=\"#\" data-toggle=\"collapse\" data-target=\"#subCargo\"> <p>View Cargo</p> </a> <ul id=\"subCargo\"> <li> <a href=\""; // line 106 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewCargo", ["product" => "AGO"]); echo "\">AGO</a> <a href=\""; // line 107 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewCargo", ["product" => "PMS"]); echo "\">PMS</a> <a href=\""; // line 108 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewCargo", ["product" => "DPK"]); echo "\">DPK</a> </li> </ul> </li> <li id=\"generate\"> <a href=\""; // line 113 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("generate"); echo "\"> <p>Generate Release Order</p> </a> </li> <li id=\"today\"> <a href=\""; // line 118 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewReleaseToday"); echo "\"> <p>Today's Release Orders</p> </a> </li> <li id=\"allrelease\"> <a href=\""; // line 123 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewRelease"); echo "\"> <p>All Release Orders</p> </a> </li> <!-- <li id=\"loading\"> <a href=\""; // line 128 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("loadList"); echo "\"> <p>Loading Details</p> </a> </li> --> "; // line 132 if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 132, $this->source); })()), "user", [], "any", false, false, false, 132) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 132, $this->source); })()), "user", [], "any", false, false, false, 132), "role", [], "any", false, false, false, 132), "MANAGEMENT")))) { // line 133 echo " <li id=\"register\"> <a href=\""; // line 134 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register"); echo "\"> <p>Register New User</p> </a> </li> <li id=\"register\"> <a href=\""; // line 139 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reset"); echo "\"> <p>Reset User Password</p> </a> </li> "; } // line 144 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } // line 207 public function block_content($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); // line 208 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } // line 223 public function block_javascript($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript")); // line 224 echo " <script type=\"text/javascript\"> \$(document).ready(function(){ var d = '"; // line 226 echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 226, $this->source); })()), "html", null, true); echo "'; \$('ul.nav li').removeClass('active'); switch(d){ case 'Dashboard': \$('#home').addClass('active'); break; case 'Enter Cargo Details': \$('#newcargo').addClass('active'); break; case 'Cargo List': \$('#viewcargo').addClass('active'); break; case 'Cargo Details': \$('#viewcargo').addClass('active'); break; case 'Generate Release Order': \$('#generate').addClass('active'); break; case 'Release Order Today': \$('#today').addClass('active'); break; case 'Release Order': \$('#allrelease').addClass('active'); break; case 'Transactions': \$('#loading').addClass('active'); break; case 'Registration': \$('#register').addClass('active'); break; default: \$('#home').addClass('active'); break; } \$(document).ready(function() { \$('.table').DataTable(); } ); }); </script> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } public function getTemplateName() { return "users/base.html.twig.save"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 443 => 226, 439 => 224, 429 => 223, 418 => 208, 408 => 207, 398 => 144, 390 => 139, 382 => 134, 379 => 133, 377 => 132, 370 => 128, 362 => 123, 354 => 118, 346 => 113, 338 => 108, 334 => 107, 330 => 106, 317 => 96, 309 => 91, 306 => 90, 296 => 89, 280 => 267, 278 => 223, 273 => 221, 267 => 218, 263 => 217, 254 => 210, 252 => 207, 245 => 202, 236 => 196, 227 => 190, 223 => 188, 221 => 187, 190 => 159, 174 => 145, 172 => 89, 163 => 83, 118 => 41, 114 => 40, 107 => 36, 101 => 34, 93 => 28, 89 => 27, 84 => 25, 77 => 21, 71 => 18, 65 => 15, 52 => 5, 46 => 1,); } public function getSourceContext() { return new Source("<!doctype html> <html lang=\"en\"> <head> <meta charset=\"utf-8\" /> <link rel=\"icon\" type=\"image/png\" href=\"{{ asset('img/favicon.ico') }}\"> <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" /> <title>Boaz Commodities</title> <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> <meta name=\"viewport\" content=\"width=device-width\" /> <!-- Bootstrap core CSS --> <link href=\"{{ asset('css/bootstrap.min.css') }}\" rel=\"stylesheet\" /> <!-- Animation library for notifications --> <link href=\"{{ asset('css/animate.min.css') }}\" rel=\"stylesheet\"/> <!-- Light Bootstrap Table core CSS --> <link href=\"{{ asset('css/light-bootstrap-dashboard.css') }}\" rel=\"stylesheet\"/> <!-- CSS for Demo Purpose, don't include it in your project --> <link href=\"{{ asset('css/demo.css') }}\" rel=\"stylesheet\" /> <link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('css/jqueryui.css') }}\"> <link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('css/style.css') }}\"> <!-- Fonts and icons --> <link href=\"//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css\" rel=\"stylesheet\"> {# <link href='//fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'> #} <link href=\"{{ asset('css/pe-icon-7-stroke.css') }}\" rel=\"stylesheet\" /> <link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('css/dataTables.css') }}\"> <script src=\"//code.jquery.com/jquery-3.1.1.min.js\"></script> <script src=\"{{ asset('js/jqueryui.js') }}\"></script> <script src=\"{{ asset('js/dataTables.js') }}\"></script> <style type=\"text/css\"> @media (max-width: 768px){ ul#subCargo li a { padding-right: 20px; } } @media (min-width: 992px) { .navbar .navbar-collapse.collapse { display: none !important; } } @media (max-width: 991px) { .navbar .navbar-collapse.collapse.in { display: block !important; text-align: center; } } </style> </head> <body style=\"overflow: hidden;\"> <script> \$( function() { \$(\"#datepicker\").datepicker(); \$(\"#datepicker\").datepicker(\"option\", \"dateFormat\", 'mm/dd/yy'); \$(\"#to\").datepicker(); }); </script> <div class=\"wrapper\"> <div class=\"sidebar\" data-color=\"purple\" id=\"navigation-example-2\" style=\"z-index: 999;\"> <!-- Tip 1: you can change the color of the sidebar using: data-color=\"blue | azure | green | orange | red | purple\" Tip 2: you can also add an image using data-image tag --> <div class=\"sidebar-wrapper\"> <div class=\"logo\"> <a href=\"{{ path('home') }}\" class=\"simple-text\"> Boaz Commodities </a> </div> <ul class=\"nav\"> {% block sidemenu %} <li id=\"home\"> <a href=\"{{ path('home') }}\"> <p>Home</p> </a> </li> <li id=\"newcargo\"> <a href=\"{{ path('addCargo') }}\"> <p>Enter New Cargo</p> </a> </li> <li id=\"viewcargo\"> <a href=\"#\" data-toggle=\"collapse\" data-target=\"#subCargo\"> <p>View Cargo</p> </a> <ul id=\"subCargo\"> <li> <a href=\"{{ path('viewCargo', {'product': 'AGO'}) }}\">AGO</a> <a href=\"{{ path('viewCargo', {'product': 'PMS'}) }}\">PMS</a> <a href=\"{{ path('viewCargo', {'product': 'DPK'}) }}\">DPK</a> </li> </ul> </li> <li id=\"generate\"> <a href=\"{{ path('generate') }}\"> <p>Generate Release Order</p> </a> </li> <li id=\"today\"> <a href=\"{{ path('viewReleaseToday') }}\"> <p>Today's Release Orders</p> </a> </li> <li id=\"allrelease\"> <a href=\"{{ path('viewRelease') }}\"> <p>All Release Orders</p> </a> </li> <!-- <li id=\"loading\"> <a href=\"{{ path('loadList') }}\"> <p>Loading Details</p> </a> </li> --> {% if app.user and app.user.role == 'MANAGEMENT' %} <li id=\"register\"> <a href=\"{{ path('register') }}\"> <p>Register New User</p> </a> </li> <li id=\"register\"> <a href=\"{{ path('reset') }}\"> <p>Reset User Password</p> </a> </li> {% endif %} {% endblock %} </ul> </div> </div> <div class=\"main-panel\"> <nav class=\"navbar navbar-default navbar-fixed\"> <div class=\"container-fluid\"> <div class=\"navbar-header\"> <button type=\"button\" class=\"navbar-toggle collapsed\" data-toggle=\"collapse\" data-target=\"#navigations\"> <span class=\"sr-only\">Toggle navigation</span> <span class=\"icon-bar\"></span> <span class=\"icon-bar\"></span> <span class=\"icon-bar\"></span> </button> <a class=\"navbar-brand\" href=\"#\">{{ title }}</a> </div> <div class=\"collapse navbar-collapse\" id=\"navigations\"> <!-- <ul class=\"nav navbar-nav navbar-left\"> <li> <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"> <i class=\"fa fa-dashboard\"></i> </a> </li> </ul> --> <ul class=\"nav navbar-nav\"> <li class=\"active\"><a href=\"#\">Home</a></li> <li><a href=\"#about\">About</a></li> <li><a href=\"#contact\">Contact</a></li> <li class=\"dropdown\"> <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Dropdown <span class=\"caret\"></span></a> <ul class=\"dropdown-menu\"> <li><a href=\"#\">Action</a></li> <li><a href=\"#\">Another action</a></li> <li><a href=\"#\">Something else here</a></li> <li role=\"separator\" class=\"divider\"></li> <li class=\"dropdown-header\">Nav header</li> <li><a href=\"#\">Separated link</a></li> <li><a href=\"#\">One more separated link</a></li> </ul> </li> </ul> {% if app.user %} <ul class=\"nav navbar-nav navbar-right\"> <li> <a href=\"{{ path('change') }}\"> Change Password </a> </li> <li> <a href=\"{{ path('logout') }}\"> Log out </a> </li> </ul> {% endif %} </div> </div> </nav> {% block content %} {% endblock %} </div> </div> <!-- Core JS Files --> <!-- <script src=\"{{ asset('js/jquery-1.10.2.js') }}\" type=\"text/javascript\"></script> --> <script src=\"{{ asset('js/bootstrap.min.js') }}\" type=\"text/javascript\"></script> <!-- Charts Plugin --> <script src=\"{{ asset('js/chartist.min.js') }}\"></script> {% block javascript %} <script type=\"text/javascript\"> \$(document).ready(function(){ var d = '{{ title }}'; \$('ul.nav li').removeClass('active'); switch(d){ case 'Dashboard': \$('#home').addClass('active'); break; case 'Enter Cargo Details': \$('#newcargo').addClass('active'); break; case 'Cargo List': \$('#viewcargo').addClass('active'); break; case 'Cargo Details': \$('#viewcargo').addClass('active'); break; case 'Generate Release Order': \$('#generate').addClass('active'); break; case 'Release Order Today': \$('#today').addClass('active'); break; case 'Release Order': \$('#allrelease').addClass('active'); break; case 'Transactions': \$('#loading').addClass('active'); break; case 'Registration': \$('#register').addClass('active'); break; default: \$('#home').addClass('active'); break; } \$(document).ready(function() { \$('.table').DataTable(); } ); }); </script> {% endblock %} </body> </html> ", "users/base.html.twig.save", "/var/www/html/boaz2/templates/users/base.html.twig.save"); } }