Set grid view option to be selected

merge-requests/1/head
charithag 9 years ago
parent 2be17aaa8d
commit a7104d6437

@ -64,7 +64,7 @@ $(document).ready(function () {
return $("#content-filter-types").html(); return $("#content-filter-types").html();
} }
}); });
changeGroupView('grid', this); changeGroupView('grid', $('a.ctrl-filter-grid'));
}); });
/* /*

@ -9,7 +9,7 @@
<input type="hidden" name="users" value="{{users}}"> <input type="hidden" name="users" value="{{users}}">
</form> </form>
<div class="ctrl-wr-asset view-group-link" data-groupid="{{id}}"> <div href="#" 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,18 +17,18 @@
</label> </label>
</div> </div>
<div class="itm-ast"> <div class="itm-ast">
<div class="ast-img"><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"> <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: {{deviceCount}}</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>
</div> </div>
<div class="ast-model"> <div class="ast-model">
<span class="ast-ver">Shared with: {{users}}</span>
<div href="#" class="ast-btn-group"> <div class="ast-btn-group">
<a class="view-group-link" data-groupid="{{id}}"> <a href="#" data-groupid="{{id}}">
<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-view fw-stack-1x"></i> <i class="fw fw-view fw-stack-1x"></i>

Loading…
Cancel
Save