Refactoring Navigation Bar

4.x.x
dilanua 8 years ago
parent 99aca9b90a
commit 7d9cde3cfb

@ -27,14 +27,14 @@
</li> </li>
<li> <li>
<a href="{{@app.context}}/users"> <a href="{{@app.context}}/users">
Users USERS
</a> </a>
</li> </li>
{{/zone}} {{/zone}}
{{#zone "navbarActions"}} {{#zone "navbarActions"}}
<li> <li>
<a href="{{@app.context}}/user/add" class="cu-btn"> <a href="{{@app.context}}/user/add">
<span class="icon fw-stack"> <span class="icon fw-stack">
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>

@ -16,38 +16,58 @@
under the License. under the License.
}} }}
{{#zone "navMenu-icon"}} {{#zone "navMenu-icon"}}
<span class="icon fw-stack"><i class="fw fw-tiles fw-stack-1x"></i></span> <span class="icon fw-stack">
<i class="fw fw-tiles fw-stack-1x toggle-icon-up"></i>
</span>
{{/zone}} {{/zone}}
{{~#zone "navMenu-items"}} {{#zone "navMenu-items"}}
{{#if permissions.VIEW_DASHBOARD}} {{#if permissions.VIEW_DASHBOARD}}
<li> <li>
<a href="{{@app.context}}"><i class="fw fw-dashboard"></i>Admin Dashboard</a> <a href="{{@app.context}}">
<i class="fw fw-dashboard"></i>
Admin Dashboard
</a>
</li> </li>
{{/if}} {{/if}}
{{#if permissions.LIST_OWN_DEVICES}} {{#if permissions.LIST_OWN_DEVICES}}
<li> <li>
<a href="{{@app.context}}/devices"><i class="fw fw-mobile"></i>Device Management</a> <a href="{{@app.context}}/devices">
<i class="fw fw-mobile"></i>
Device Management
</a>
</li> </li>
{{/if}} {{/if}}
{{#if permissions.LIST_GROUPS}} {{#if permissions.LIST_GROUPS}}
<li> <li>
<a href="{{@app.context}}/groups"><i class="fw fw-grouping"></i>Group Management</a> <a href="{{@app.context}}/groups">
<i class="fw fw-grouping"></i>
Group Management
</a>
</li> </li>
{{/if}} {{/if}}
{{#if permissions.ADD_USER}} {{#if permissions.ADD_USER}}
<li> <li>
<a href="{{@app.context}}/users"><i class="fw fw-user"></i>User Management</a> <a href="{{@app.context}}/users">
<i class="fw fw-user"></i>
User Management
</a>
</li> </li>
{{/if}} {{/if}}
{{#if permissions.ADD_ROLE}} {{#if permissions.ADD_ROLE}}
<li> <li>
<a href="{{@app.context}}/roles"><i class="fw fw-bookmark"></i>Role Management</a> <a href="{{@app.context}}/roles">
<i class="fw fw-bookmark"></i>
Role Management
</a>
</li> </li>
{{/if}} {{/if}}
{{#if permissions.ADD_POLICY}} {{#if permissions.ADD_POLICY}}
<li> <li>
<a href="{{@app.context}}/policies"><i class="fw fw-policy"></i>Policy Management</a> <a href="{{@app.context}}/policies">
<i class="fw fw-policy"></i>
Policy Management
</a>
</li> </li>
{{/if}} {{/if}}
{{#if permissions.TENANT_CONFIGURATION}} {{#if permissions.TENANT_CONFIGURATION}}

Loading…
Cancel
Save