admin: display publication confirmation; show an alert when empty scene

This commit is contained in:
nemunaire 2017-11-21 22:23:49 +01:00 committed by Pierre-Olivier Mercier
commit eefac93091
2 changed files with 19 additions and 6 deletions

View file

@ -2,6 +2,10 @@
<h2>Interface publique<a ng-click="clearScene()" class="pull-right btn btn-danger"><span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> Vider la scène</a><a ng-click="addScene()" class="pull-right btn btn-primary" style="margin-right: 10px"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Ajouter un élément</a><button type="submit" style="margin-right: 10px" class="pull-right btn btn-success"><span class="glyphicon glyphicon-save" aria-hidden="true"></span> Publier cette scène</button>
</h2>
<div class="alert alert-info" ng-if="!scenes.length">
<strong ng-if="!someUpdt">Aucun contenu n'est actuellement affiché.</strong>
<strong ng-if="someUpdt">Aucun contenu à afficher.</strong>
</div>
<div class="well" ng-repeat="scene in scenes">
<div class="form-group">
<div class="col-sm-offset-2 col-sm-6">