Add database import in progress message

This commit is contained in:
JonnyWong16 2020-05-24 01:10:52 -07:00
parent 2ef40a6a1c
commit fbcf59abf0
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
6 changed files with 35 additions and 7 deletions

View file

@ -1720,7 +1720,11 @@ class WebInterface(object):
@cherrypy.expose
@requireAuth()
def history(self, **kwargs):
return serve_template(templatename="history.html", title="History")
config = {
"database_is_importing": database.IS_IMPORTING,
}
return serve_template(templatename="history.html", title="History", config=config)
@cherrypy.expose
@cherrypy.tools.json_out()