|
|
|
@ -21,11 +21,18 @@
|
|
|
|
|
|
|
|
|
|
{{#zone "content"}}
|
|
|
|
|
<div class="container container-bg white-bg">
|
|
|
|
|
<div class="col-md-12 col-lg-6 col-centered wr-content wr-login col-centered sign-panel">
|
|
|
|
|
<div class="col-md-12 col-lg-6 col-centered wr-content wr-login col-centered sign-panel" id="group-create-form">
|
|
|
|
|
|
|
|
|
|
<p class="page-sub-title">Add New Group</p>
|
|
|
|
|
|
|
|
|
|
<p>Create new device group on IoT Server</p>
|
|
|
|
|
<p>Create new device group on
|
|
|
|
|
{{#if isCloud}}
|
|
|
|
|
Device Cloud
|
|
|
|
|
{{else}}
|
|
|
|
|
IoT Server
|
|
|
|
|
{{/if}}
|
|
|
|
|
.
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<!-- validation -->
|
|
|
|
|
<span class="wr-validation-summary hidden center-block col-centered">
|
|
|
|
@ -51,12 +58,34 @@
|
|
|
|
|
|
|
|
|
|
<div class="wr-input-control">
|
|
|
|
|
<button class="wr-btn" id="add-group-btn">
|
|
|
|
|
Add</button>
|
|
|
|
|
Add
|
|
|
|
|
</button>
|
|
|
|
|
<button class="wr-btn" onclick="window.location = '{{@app.context}}/groups';return false;">
|
|
|
|
|
Cancel</button>
|
|
|
|
|
Cancel
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="group-created-msg" class="container col-centered wr-content hidden">
|
|
|
|
|
<div class="wr-form">
|
|
|
|
|
<p class="page-sub-title">Group was created successfully.</p>
|
|
|
|
|
|
|
|
|
|
<br>Please click <b>"Add Another Group"</b>, if you wish to add another group or click
|
|
|
|
|
<b>"View Group List"</b> to complete the process and go back to the group list.
|
|
|
|
|
<hr/>
|
|
|
|
|
<button class="wr-btn" onclick="window.location.href='{{@app.context}}/groups'">View User List
|
|
|
|
|
</button>
|
|
|
|
|
<a href="{{@app.context}}/group/add" class="cu-btn-inner">
|
|
|
|
|
<span class="fw-stack">
|
|
|
|
|
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
|
|
|
|
<i class="fw fw-add fw-stack-1x"></i>
|
|
|
|
|
</span>
|
|
|
|
|
Add Another Group
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{{/zone}}
|
|
|
|
|
{{#zone "bottomJs"}}
|
|
|
|
|