|
|
@ -22,15 +22,16 @@
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "navMenu-items"}}
|
|
|
|
{{#zone "navMenu-items"}}
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<a href="{{@app.context}}">
|
|
|
|
<a href="{{@app.context}}">
|
|
|
|
<i class="fw fw-dashboard"></i>
|
|
|
|
<i class="fw fw-dashboard"></i>
|
|
|
|
Admin Dashboard
|
|
|
|
Resource Dashboard
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
{{#if permissions.LIST_DEVICES}}
|
|
|
|
{{#if permissions.LIST_DEVICES}}
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<a href="{{@app.context}}/devices">
|
|
|
|
<a href="{{@app.context}}/devices">
|
|
|
|
<i class="fw fw-mobile"></i>
|
|
|
|
<i class="fw fw-mobile"></i>
|
|
|
|
Device Management
|
|
|
|
Device Management
|
|
|
@ -38,33 +39,41 @@
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
<li><a><i class="fw fw-user"></i>User Management</a>
|
|
|
|
{{#if permissions.USER_MGT_PERMITTED}}
|
|
|
|
<ul>
|
|
|
|
<li><a><i class="fw fw-user"></i>User Management</a>
|
|
|
|
{{#if permissions.LIST_USERS}}
|
|
|
|
<ul>
|
|
|
|
<li><a href="{{@app.context}}/users"><i class="fw fw-user"></i>Users</a></li>
|
|
|
|
{{#if permissions.LIST_USERS}}
|
|
|
|
{{/if}}
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/users"><i class="fw fw-user"></i>Users</a></li>
|
|
|
|
{{#if permissions.LIST_ROLES}}
|
|
|
|
{{/if}}
|
|
|
|
<li><a href="{{@app.context}}/roles"><i class="fw fw-bookmark"></i>Roles</a></li>
|
|
|
|
{{#if permissions.LIST_ROLES}}
|
|
|
|
{{/if}}
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
</ul>
|
|
|
|
<a href="{{@app.context}}/roles"><i class="fw fw-bookmark"></i>Roles</a></li>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
{{#if permissions.LIST_POLICIES}}
|
|
|
|
{{#if permissions.LIST_POLICIES}}
|
|
|
|
<li><a href="{{@app.context}}/policies"><i class="fw fw-policy"></i>Policy Management</a></li>
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/policies"><i class="fw fw-policy"></i>Policy Management</a></li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if permissions.CONFIG_MGT_PERMITTED}}
|
|
|
|
|
|
|
|
<li><a><i class="fw fw-settings"></i>Configuration Management</a>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
{{#if permissions.LIST_PLATFORM_CONFIGURATIONS}}
|
|
|
|
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/platform-configuration"><i class="fw fw-service"></i>Platform Configurations</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<!-- todo change the permission and get the related permission -->
|
|
|
|
|
|
|
|
{{#if permissions.LIST_CERTIFICATES}}
|
|
|
|
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/certificates"><i class="fw fw-security-policy"></i>Certificate Configurations</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
<li><a><i class="fw fw-settings"></i>Configuration Management</a>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
{{#if permissions.LIST_CONFIGURATION}}
|
|
|
|
|
|
|
|
<li><a href="{{@app.context}}/platform-configuration"><i class="fw fw-service"></i>Platform Configurations</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<!-- todo change the permission and get the related permission -->
|
|
|
|
|
|
|
|
{{#if permissions.LIST_CONFIGURATION}}
|
|
|
|
|
|
|
|
<li><a href="{{@app.context}}/certificates"><i class="fw fw-security-policy"></i>Certificate Configurations</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "navbarCollapsableRightItems"}}
|
|
|
|
{{#zone "navbarCollapsableRightItems"}}
|
|
|
@ -83,6 +92,7 @@
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
{{#zone "sidePanes"}}
|
|
|
|
{{#zone "sidePanes"}}
|
|
|
|
|
|
|
|
<!--suppress HtmlUnknownAttribute -->
|
|
|
|
<div class="sidebar-wrapper" id="right-sidebar" is-authorized="{{permissions.LIST_NOTIFICATIONS}}"
|
|
|
|
<div class="sidebar-wrapper" id="right-sidebar" is-authorized="{{permissions.LIST_NOTIFICATIONS}}"
|
|
|
|
data-side="right" data-width="320" data-sidebar-fixed="true" data-fixed-offset="50" data-spy="affix"
|
|
|
|
data-side="right" data-width="320" data-sidebar-fixed="true" data-fixed-offset="50" data-spy="affix"
|
|
|
|
data-offset-top="80">
|
|
|
|
data-offset-top="80">
|
|
|
@ -92,6 +102,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
{{#zone "bottomJs"}}
|
|
|
|
{{#zone "bottomJs"}}
|
|
|
|
|
|
|
|
<!--suppress HtmlUnknownTarget -->
|
|
|
|
<script id="notifications" data-current-user="{{currentUser.username}}"
|
|
|
|
<script id="notifications" data-current-user="{{currentUser.username}}"
|
|
|
|
data-image-resource="{{@unit.publicUri}}/images/" src="{{@unit.publicUri}}/templates/notifications.hbs"
|
|
|
|
data-image-resource="{{@unit.publicUri}}/images/" src="{{@unit.publicUri}}/templates/notifications.hbs"
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|
type="text/x-handlebars-template"></script>
|
|
|
|