admin: add confirmation message box on error and some success
This commit is contained in:
parent
7fa490aadf
commit
67bdab73fc
3 changed files with 53 additions and 9 deletions
|
|
@ -45,6 +45,9 @@ const indextpl = `<!DOCTYPE html>
|
|||
</nav>
|
||||
|
||||
<div class="container">
|
||||
<div class="row" ng-controller="DIWEBoxController">
|
||||
<div ng-repeat="box in boxes" class="alert alert-{{"{{ box.kind }}"}}" ng-cloak><strong ng-if="box.title">{{"{{ box.title }}"}}</strong> {{"{{ box.msg }}"}}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12" ng-view></div>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue