mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Redirect to Group Listing page after creating a Group.
This commit is contained in:
parent
d8a8f6adf7
commit
80a08a2744
@ -73,18 +73,7 @@
|
|||||||
<div class="wr-form">
|
<div class="wr-form">
|
||||||
<p class="page-sub-title">Group was created successfully.</p>
|
<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
|
<br>You will be redirected to the Group Listing page in a moment.
|
||||||
<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 Group 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>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -47,6 +47,9 @@ $(function () {
|
|||||||
if (resp.status == 201) {
|
if (resp.status == 201) {
|
||||||
$("#group-create-form").addClass("hidden");
|
$("#group-create-form").addClass("hidden");
|
||||||
$("#group-created-msg").removeClass("hidden");
|
$("#group-created-msg").removeClass("hidden");
|
||||||
|
setTimeout(function(){
|
||||||
|
window.location.href = "/devicemgt/groups";
|
||||||
|
}, 1000);
|
||||||
} else {
|
} else {
|
||||||
displayErrors(resp.status);
|
displayErrors(resp.status);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user