|
|
@ -37,94 +37,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
{{#zone "content"}}
|
|
|
|
{{#zone "content"}}
|
|
|
|
{{#if canView}}
|
|
|
|
{{#if canView}}
|
|
|
|
{{#zone "contentTitle"}}
|
|
|
|
{{#zone "contentTitle"}}
|
|
|
|
<div class="row wr-device-board">
|
|
|
|
<div class="row wr-device-board">
|
|
|
|
<div class="col-lg-12 wr-secondary-bar">
|
|
|
|
<div class="col-lg-12 wr-secondary-bar">
|
|
|
|
<label class="device-id device-select" data-username="{{user.username}}">
|
|
|
|
<label class="device-id device-select" data-username="{{user.username}}">
|
|
|
|
{{#if user.firstname}}
|
|
|
|
{{#if user.firstname}}
|
|
|
|
{{user.firstname}} {{user.lastname}}
|
|
|
|
{{user.firstname}} {{user.lastname}}
|
|
|
|
{{else}}
|
|
|
|
{{else}}
|
|
|
|
{{user.username}}
|
|
|
|
{{user.username}}
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/zone}}
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row no-gutter add-padding-5x add-margin-top-5x" style="border: 1px solid #e4e4e4;">
|
|
|
|
<div class="row no-gutter add-padding-5x add-margin-top-5x" style="border: 1px solid #e4e4e4;">
|
|
|
|
<div class="media">
|
|
|
|
<div class="media">
|
|
|
|
<div class="media-left media-middle asset-image col-xs-2 col-sm-2 col-md-2 col-lg-2">
|
|
|
|
<div class="media-left media-middle asset-image col-xs-2 col-sm-2 col-md-2 col-lg-2">
|
|
|
|
<div class="thumbnail icon" style="margin-bottom: 43px"><i class="square-element text fw fw-user"></i>
|
|
|
|
<div class="thumbnail icon" style="margin-bottom: 43px"><i
|
|
|
|
|
|
|
|
class="square-element text fw fw-user"></i>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="media">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{#unless isCloud}}
|
|
|
|
|
|
|
|
{{#if editPermitted}}
|
|
|
|
|
|
|
|
<button class="wr-btn"
|
|
|
|
|
|
|
|
onclick="location.href='{{@app.context}}/users/edit-user?username={{user.username}}';"
|
|
|
|
|
|
|
|
id="sortUpdateBtn"
|
|
|
|
|
|
|
|
style="width: 100%; vertical-align: bottom; background-color: #7fa030;"><span><i
|
|
|
|
|
|
|
|
class="fw fw-edit"></i> Edit</span></button>
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{/unless}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="media">
|
|
|
|
<div class="media-body asset-desc add-padding-left-5x">
|
|
|
|
{{#if editPermitted}}
|
|
|
|
<div style="background: #11375B; color: #fff; padding: 10px; margin-bottom: 5px">Profile Overview
|
|
|
|
<button class="wr-btn"
|
|
|
|
</div>
|
|
|
|
onclick="location.href='{{@app.context}}/users/edit-user?username={{user.username}}';"
|
|
|
|
{{#defineZone "user-detail-properties"}}
|
|
|
|
id="sortUpdateBtn"
|
|
|
|
<table class="table table-responsive table-striped" id="members">
|
|
|
|
style="width: 100%; vertical-align: bottom; background-color: #7fa030;"><span><i
|
|
|
|
<tbody>
|
|
|
|
class="fw fw-edit"></i> Edit</span></button>
|
|
|
|
<tr role="row" class="even">
|
|
|
|
{{/if}}
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 7%;">Username</td>
|
|
|
|
|
|
|
|
<td style="padding:10px 15px;">{{user.username}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">First Name</td>
|
|
|
|
|
|
|
|
<td style="padding:10px 15px;">{{user.firstname}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr role="row" class="even">
|
|
|
|
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">Last Name</td>
|
|
|
|
|
|
|
|
<td style="padding:10px 15px;">{{user.lastname}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr role="row" class="even">
|
|
|
|
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">Email</td>
|
|
|
|
|
|
|
|
<td style="padding:10px 15px;">{{user.emailAddress}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr role="row" class="even">
|
|
|
|
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">Roles</td>
|
|
|
|
|
|
|
|
<td style="padding:10px 15px;">
|
|
|
|
|
|
|
|
{{#each userRoles}}
|
|
|
|
|
|
|
|
<option selected="selected">{{this}}</option>
|
|
|
|
|
|
|
|
{{/each}}
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{{/defineZone}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="media-body asset-desc add-padding-left-5x">
|
|
|
|
<div class="media">
|
|
|
|
<div style="background: #11375B; color: #fff; padding: 10px; margin-bottom: 5px">Profile Overview</div>
|
|
|
|
<div class="media-left col-xs-12 col-sm-2 col-md-2 col-lg-2">
|
|
|
|
{{#defineZone "user-detail-properties"}}
|
|
|
|
<ul class="list-group" role="tablist">
|
|
|
|
<table class="table table-responsive table-striped" id="members">
|
|
|
|
<li class="active"><a class="list-group-item" href="#enrolled_devices" role="tab"
|
|
|
|
<tbody>
|
|
|
|
data-toggle="tab" aria-controls="enrolled_devices">Enrolled Devices</a>
|
|
|
|
<tr role="row" class="even">
|
|
|
|
</li>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 7%;">Username</td>
|
|
|
|
</ul>
|
|
|
|
<td style="padding:10px 15px;">{{user.username}}</td>
|
|
|
|
</div>
|
|
|
|
</tr>
|
|
|
|
{{#defineZone "user-enrolled-devices"}}
|
|
|
|
<tr role="row" class="odd">
|
|
|
|
<div class="media-body add-padding-left-5x remove-padding-xs tab-content">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">First Name</td>
|
|
|
|
<div class="panel-group tab-content">
|
|
|
|
<td style="padding:10px 15px;">{{user.firstname}}</td>
|
|
|
|
<div class="panel panel-default tab-pane active" id="enrolled_devices"
|
|
|
|
</tr>
|
|
|
|
role="tabpanel" aria-labelledby="enrolled_devices">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<div class="panel-heading">Enrolled Devices by
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">Last Name</td>
|
|
|
|
{{#if user.firstname}}
|
|
|
|
<td style="padding:10px 15px;">{{user.lastname}}</td>
|
|
|
|
{{user.firstname}} {{user.lastname}}
|
|
|
|
</tr>
|
|
|
|
{{else}}
|
|
|
|
<tr role="row" class="even">
|
|
|
|
{{user.username}}
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">Email</td>
|
|
|
|
{{/if}}
|
|
|
|
<td style="padding:10px 15px;">{{user.emailAddress}}</td>
|
|
|
|
</div>
|
|
|
|
</tr>
|
|
|
|
<div class="panel-body">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<div id="enrolled_devices-container">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px;">Roles</td>
|
|
|
|
<div class="panel-body">
|
|
|
|
<td style="padding:10px 15px;">
|
|
|
|
{{#each devices}}
|
|
|
|
{{#each userRoles}}
|
|
|
|
<div class="wr-list-group wr-sortable policy-list">
|
|
|
|
<option selected="selected">{{this}}</option>
|
|
|
|
|
|
|
|
{{/each}}
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{{/defineZone}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="media">
|
|
|
|
|
|
|
|
<div class="media-left col-xs-12 col-sm-2 col-md-2 col-lg-2">
|
|
|
|
|
|
|
|
<ul class="list-group" role="tablist">
|
|
|
|
|
|
|
|
<li class="active"><a class="list-group-item" href="#enrolled_devices" role="tab"
|
|
|
|
|
|
|
|
data-toggle="tab" aria-controls="enrolled_devices">Enrolled Devices</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#defineZone "user-enrolled-devices"}}
|
|
|
|
|
|
|
|
<div class="media-body add-padding-left-5x remove-padding-xs tab-content">
|
|
|
|
|
|
|
|
<div class="panel-group tab-content">
|
|
|
|
|
|
|
|
<div class="panel panel-default tab-pane active" id="enrolled_devices"
|
|
|
|
|
|
|
|
role="tabpanel" aria-labelledby="enrolled_devices">
|
|
|
|
|
|
|
|
<div class="panel-heading">Enrolled Devices by
|
|
|
|
|
|
|
|
{{#if user.firstname}}
|
|
|
|
|
|
|
|
{{user.firstname}} {{user.lastname}}
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
|
|
|
|
{{user.username}}
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
|
|
|
<div id="enrolled_devices-container">
|
|
|
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
|
|
|
{{#each devices}}
|
|
|
|
|
|
|
|
<div class="wr-list-group wr-sortable policy-list">
|
|
|
|
|
|
|
|
<span class="list-group-item" id="{{id}}">
|
|
|
|
<span class="list-group-item" id="{{id}}">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-3 clearfix">
|
|
|
|
<div class="col-lg-3 clearfix">
|
|
|
@ -155,19 +160,19 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
{{/each}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br class="c-both"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br class="c-both"/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/defineZone}}
|
|
|
|
{{/defineZone}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
{{else}}
|
|
|
|
|
|
|
|
<h1 class="page-sub-title">
|
|
|
|
<h1 class="page-sub-title">
|
|
|
|
Permission Denied
|
|
|
|
Permission Denied
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
|