-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLeftMenu.tpl
37 lines (33 loc) · 1.24 KB
/
LeftMenu.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{assign var="PGLOCATIONS" value=$MODULE->getPgLocations()}
<!-- Left Slidebar -->
<div class="sb-slidebar sb-left">
<nav>
<!-- Lists in Slidebars -->
<ul class="sb-menu">
<li>
<a href="#"><img alt="" src="app/Layouts/resources/img/logo.png"></a>
</li>
{foreach item=locations from=$PGLOCATIONS key=city}
<li><a class="sb-toggle-submenu" href="#"> {$city} <span class="sb-caret"></span></a>
<ul class="sb-submenu">
{foreach item=location from=$locations}
<li><a href="#">{$location->getValue('location')}</a></li>
{/foreach}
</ul>
</li>
{/foreach}
</ul>
</nav>
</div><!-- /.sb-slidebar .sb-left -->
<!-- Slidebars -->
<script src="app/Layouts/resources/libs/jquery/slidebars/slidebars.min.js"></script>
<script>
(function($) {
$(document).ready(function() {
$.slidebars();
});
}) (jQuery);
</script>
<!-- Slidebars Theme JS
This should be included after you have initiated Slidebars. -->
<script src="app/Layouts/resources/libs/jquery/slidebars/theme/slidebars-theme.js"></script>