|
|
|
@ -37,94 +37,99 @@
|
|
|
|
|
|
|
|
|
|
{{#zone "content"}}
|
|
|
|
|
{{#if canView}}
|
|
|
|
|
{{#zone "contentTitle"}}
|
|
|
|
|
<div class="row wr-device-board">
|
|
|
|
|
<div class="col-lg-12 wr-secondary-bar">
|
|
|
|
|
<label class="device-id device-select" data-username="{{user.username}}">
|
|
|
|
|
{{#if user.firstname}}
|
|
|
|
|
{{user.firstname}} {{user.lastname}}
|
|
|
|
|
{{else}}
|
|
|
|
|
{{user.username}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
</label>
|
|
|
|
|
{{#zone "contentTitle"}}
|
|
|
|
|
<div class="row wr-device-board">
|
|
|
|
|
<div class="col-lg-12 wr-secondary-bar">
|
|
|
|
|
<label class="device-id device-select" data-username="{{user.username}}">
|
|
|
|
|
{{#if user.firstname}}
|
|
|
|
|
{{user.firstname}} {{user.lastname}}
|
|
|
|
|
{{else}}
|
|
|
|
|
{{user.username}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/zone}}
|
|
|
|
|
{{/zone}}
|
|
|
|
|
|
|
|
|
|
<div class="row no-gutter add-padding-5x add-margin-top-5x" style="border: 1px solid #e4e4e4;">
|
|
|
|
|
<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="thumbnail icon" style="margin-bottom: 43px"><i class="square-element text fw fw-user"></i>
|
|
|
|
|
<div class="row no-gutter add-padding-5x add-margin-top-5x" style="border: 1px solid #e4e4e4;">
|
|
|
|
|
<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="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 class="media">
|
|
|
|
|
{{#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}}
|
|
|
|
|
<div class="media-body asset-desc add-padding-left-5x">
|
|
|
|
|
<div style="background: #11375B; color: #fff; padding: 10px; margin-bottom: 5px">Profile Overview
|
|
|
|
|
</div>
|
|
|
|
|
{{#defineZone "user-detail-properties"}}
|
|
|
|
|
<table class="table table-responsive table-striped" id="members">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr role="row" class="even">
|
|
|
|
|
<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 class="media-body asset-desc add-padding-left-5x">
|
|
|
|
|
<div style="background: #11375B; color: #fff; padding: 10px; margin-bottom: 5px">Profile Overview</div>
|
|
|
|
|
{{#defineZone "user-detail-properties"}}
|
|
|
|
|
<table class="table table-responsive table-striped" id="members">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr role="row" class="even">
|
|
|
|
|
<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 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">
|
|
|
|
|
<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}}">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-3 clearfix">
|
|
|
|
@ -155,19 +160,19 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
<br class="c-both"/>
|
|
|
|
|
</div>
|
|
|
|
|
<br class="c-both"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/defineZone}}
|
|
|
|
|
{{/defineZone}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{else}}
|
|
|
|
|
{{else}}
|
|
|
|
|
<h1 class="page-sub-title">
|
|
|
|
|
Permission Denied
|
|
|
|
|
</h1>
|
|
|
|
|