Change with Rich group object

merge-requests/1/head
charithag 9 years ago
parent d92205db42
commit c63257785b

@ -18,7 +18,7 @@
<div class="ctrl-info-panel col-md-6 col-centered"> <div class="ctrl-info-panel col-md-6 col-centered">
<h2>You don't have any Groups registered at the moment.</h2> <h2>You don't have any Groups registered at the moment.</h2>
<p> <p>
<a href="#" class="cu-btn add-group-link"> <a href="/iotserver/groups/add-group" class="cu-btn add-group-link">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>

@ -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">

Loading…
Cancel
Save