|
|
@ -25,12 +25,13 @@
|
|
|
|
<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}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{#if permissions.USER_MGT_PERMITTED}}
|
|
|
|
<li><a><i class="fw fw-user"></i>User Management</a>
|
|
|
|
<li><a><i class="fw fw-user"></i>User Management</a>
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
{{#if permissions.LIST_USERS}}
|
|
|
|
{{#if permissions.LIST_USERS}}
|
|
|
|
<li><a href="{{@app.context}}/users"><i class="fw fw-user"></i>Users</a></li>
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/users"><i class="fw fw-user"></i>Users</a></li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
{{#if permissions.LIST_ROLES}}
|
|
|
|
{{#if permissions.LIST_ROLES}}
|
|
|
|
<li><a href="{{@app.context}}/roles"><i class="fw fw-bookmark"></i>Roles</a></li>
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/roles"><i class="fw fw-bookmark"></i>Roles</a></li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</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}}
|
|
|
|
|
|
|
|
{{#if permissions.CONFIG_MGT_PERMITTED}}
|
|
|
|
<li><a><i class="fw fw-settings"></i>Configuration Management</a>
|
|
|
|
<li><a><i class="fw fw-settings"></i>Configuration Management</a>
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
{{#if permissions.LIST_CONFIGURATION}}
|
|
|
|
{{#if permissions.LIST_PLATFORM_CONFIGURATIONS}}
|
|
|
|
<li><a href="{{@app.context}}/platform-configuration"><i class="fw fw-service"></i>Platform Configurations</a>
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/platform-configuration"><i class="fw fw-service"></i>Platform Configurations</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
<!-- todo change the permission and get the related permission -->
|
|
|
|
<!-- todo change the permission and get the related permission -->
|
|
|
|
{{#if permissions.LIST_CONFIGURATION}}
|
|
|
|
{{#if permissions.LIST_CERTIFICATES}}
|
|
|
|
<li><a href="{{@app.context}}/certificates"><i class="fw fw-security-policy"></i>Certificate Configurations</a>
|
|
|
|
<li><!--suppress HtmlUnknownTarget -->
|
|
|
|
|
|
|
|
<a href="{{@app.context}}/certificates"><i class="fw fw-security-policy"></i>Certificate Configurations</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
{{/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>
|
|
|
|