|
|
@ -1,5 +1,5 @@
|
|
|
|
{{#each groups}}
|
|
|
|
{{#each groups}}
|
|
|
|
{{groupMap this}}
|
|
|
|
{{groupMap this}}
|
|
|
|
<form id="group-data-form-{{id}}" action="/iotserver/group/{{id}}" method="POST">
|
|
|
|
<form id="group-data-form-{{id}}" action="/iotserver/group/{{id}}" method="POST">
|
|
|
|
<input type="hidden" name="name" value="{{name}}">
|
|
|
|
<input type="hidden" name="name" value="{{name}}">
|
|
|
|
<input type="hidden" name="deviceCount" value="{{deviceCount}}">
|
|
|
|
<input type="hidden" name="deviceCount" value="{{deviceCount}}">
|
|
|
@ -9,7 +9,7 @@
|
|
|
|
<input type="hidden" name="users" value="{{users}}">
|
|
|
|
<input type="hidden" name="users" value="{{users}}">
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
<div href="#" class="ctrl-wr-asset" data-groupid="{{id}}">
|
|
|
|
<div class="ctrl-wr-asset" data-groupid="{{id}}">
|
|
|
|
<div class="itm-select">
|
|
|
|
<div class="itm-select">
|
|
|
|
<label class="wr-input-control checkbox">
|
|
|
|
<label class="wr-input-control checkbox">
|
|
|
|
<input type="checkbox"/>
|
|
|
|
<input type="checkbox"/>
|
|
|
@ -17,13 +17,16 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="itm-ast">
|
|
|
|
<div class="itm-ast">
|
|
|
|
<div class="ast-img view-group-link" data-groupid="{{id}}"><img src="{{../imageLocation}}group-icon.png"/></div>
|
|
|
|
<div class="ast-img view-group-link" data-groupid="{{id}}"><img src="{{../imageLocation}}group-icon.png"/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="ast-desc">
|
|
|
|
<div class="ast-desc">
|
|
|
|
<div class="ast-title view-group-link" data-groupid="{{id}}">
|
|
|
|
<div class="ast-title view-group-link" data-groupid="{{id}}">
|
|
|
|
<h3 class="ast-name">{{name}}</h3>
|
|
|
|
<h3 class="ast-name">{{name}}</h3>
|
|
|
|
<span class="ast-auth">Device Count: {{deviceCount}}</span>
|
|
|
|
<span class="ast-auth">Device Count: {{devices.length}}</span>
|
|
|
|
<span class="ast-auth">Created On: <span class="formatDate">{{dateOfCreation}}</span></span>
|
|
|
|
<span class="ast-auth">Created On: <span class="formatDate">{{dateOfCreation}}</span></span>
|
|
|
|
<span class="ast-ver">Shared with: {{users}}</span>
|
|
|
|
<span class="ast-ver">Owner: {{owner}}</span>
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<span class="ast-ver">Shared with: {{#each users}}{{username}}, {{/each}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ast-model">
|
|
|
|
<div class="ast-model">
|
|
|
|
|
|
|
|
|
|
|
@ -80,4 +83,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
{{/each}}
|
|
|
|
{{/each}}
|
|
|
|
|
|
|
|
|
|
|
|
<br class="c-both"/>
|
|
|
|
<br class="c-both"/>
|