Browse Source

added timeout for alerts

master
Sebastian Rieger 8 years ago
parent
commit
59a1322d59
  1. 6
      index.html

6
index.html

@ -15,8 +15,8 @@
.alerts { .alerts {
position:absolute; position:absolute;
right:0px;
top:50px;
right:20px;
top:70px;
max-width:500px; max-width:500px;
z-index:99999; z-index:99999;
} }
@ -32,7 +32,7 @@
<div class="alerts"> <div class="alerts">
<div uib-alert ng-repeat="alert in alerts" ng-class="'alert-' + (alert.type || 'warning')" close="closeAlert($index)">{{alert.msg}}</div>
<div uib-alert dismiss-on-timeout="5000" ng-repeat="alert in alerts" ng-class="'alert-' + (alert.type || 'warning')" close="closeAlert($index)">{{alert.msg}}</div>
</div> </div>

Loading…
Cancel
Save