minor fix: builtin override in dbadmin

This commit is contained in:
boyska 2017-01-03 20:23:08 +01:00
parent e129d24968
commit e6bee6865f
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ def home():
@db.route('/list')
def list():
def events_list():
model = current_app.larigira.controller.monitor.model
alarms = tuple(model.get_all_alarms())
events = [(alarm, model.get_actions_by_alarm(alarm))

View file

@ -38,7 +38,7 @@ $(function() {
<div class="collapse navbar-collapse" id="bs-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="{{url_for('db.list')}}">List</a></li>
<li><a href="{{url_for('db.events_list')}}">List</a></li>
<li><a href="{{url_for('db.addtime')}}">Add time</a></li>
<li><a href="{{url_for('db.addaudio')}}">Add audio</a></li>
</ul>