admin: add confirmation message box on error and some success

This commit is contained in:
nemunaire 2017-11-10 20:38:31 +01:00 committed by Pierre-Olivier Mercier
commit 67bdab73fc
3 changed files with 53 additions and 9 deletions

View file

@ -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>