mirror of
/repos/Prototyper.git
synced 2026-02-27 16:12:00 +01:00
added icons to navigation
This commit is contained in:
@@ -76,10 +76,13 @@
|
||||
<script type="text/html" id="links_nav_sub">
|
||||
<li data-bind="css: { 'dropdown-submenu': $data.hasOwnProperty('links')}">
|
||||
<!-- ko ifnot: $data.hasOwnProperty('links') -->
|
||||
<a href="#" data-bind="attr: { href: $data.url(), title: $data.title() }, click: $root._openLink, text: $data.title()"></a>
|
||||
<a href="#" data-bind="attr: { href: $data.url(), title: $data.title() }, click: $root._openLink">
|
||||
<span data-bind="attr: { class: $data.icon_class && $data.icon_class() || 'icon-eye-open' }"></span>
|
||||
<span data-bind="text: $data.title()"></span>
|
||||
</a>
|
||||
<!-- /ko --><!-- ko if: $data.hasOwnProperty('links') -->
|
||||
<a href="#" data-bind="text: $data.title()"></a>
|
||||
<ul data-bind="attr: { 'class': 'dropdown-menu' }, template: {name: 'links_nav_sub', foreach: links }"></ul>
|
||||
<ul class="dropdown-menu" data-bind="template: {name: 'links_nav_sub', foreach: links }"></ul>
|
||||
<!-- /ko -->
|
||||
</li>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user