mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Refactoring notifications side-pane - UI
This commit is contained in:
parent
ce1a063688
commit
6fea974c90
@ -57,7 +57,7 @@
|
||||
<br><br>
|
||||
<div>
|
||||
<input id="new-password" type="password" class="form-control modal-input"
|
||||
placeholder="[ Password should be in minimum 5 characters long. Should not include any whitespaces ]"/>
|
||||
placeholder="[ Password should be in minimum 5 characters long and should not include any whitespaces ]"/>
|
||||
</div>
|
||||
<br><br>
|
||||
Reconfirm your new password *
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
data-offset-top="80">
|
||||
<ul class="sidebar-messages">
|
||||
</ul>
|
||||
<div class="text-center"><a href="{{appContext}}notification-listing" class="btn btn-primary">Show all notifications</a></div>
|
||||
<div class="text-center"><a href="{{appContext}}notification-listing" class="btn btn-primary">Show All Notifications</a></div>
|
||||
</div>
|
||||
{{/zone}}
|
||||
{{#zone "bottomJs"}}
|
||||
|
||||
@ -102,7 +102,12 @@ function loadNewNotifications() {
|
||||
if (responsePayload.count > 0) {
|
||||
$(messageSideBar).html(template(viewModel));
|
||||
} else {
|
||||
$(messageSideBar).html("<h4 class='text-center'>No new notifications found</h4>");
|
||||
$(messageSideBar).html(
|
||||
"<h4 class='text-center'>No New Notifications</h4>" +
|
||||
"<h5 class='text-center text-muted'>" +
|
||||
"Check this section for error notifications<br>related to device operations" +
|
||||
"</h5>"
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$(messageSideBar).html("<h4 class ='message-danger text-center'>Unexpected error occurred while loading new notifications</h4>");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user