minor fix: builtin override in dbadmin
This commit is contained in:
parent
e129d24968
commit
e6bee6865f
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue