Commit 855e8d0c authored by Marc Duez's avatar Marc Duez
Browse files

server : update views

parent 6155a06b
......@@ -5,9 +5,12 @@
<a class="button" onclick="'results_file/index');">.vidjil file list</a>
</br>Database maintenace:
</br>Database maintenance:
<a class="button" href="/vidjil/appadmin/index">administration</a>
<a class="button" onclick="'admin/repair_missing_files');">fix missing files</a>
<a class="button" onclick="'admin/repair');">repair db</a>
<a class="button" onclick="'admin/make_backup');">make backup</a>
......@@ -3,6 +3,15 @@
<h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
{{if db( > 0).count() == 0:}}
<a class="button" onclick="'default/init_db');">init database</a>
<a class="button" onclick="'default/init_from_csv');">load backup</a>
{{form['_id'] ="login_form"}}
......@@ -52,6 +61,7 @@ This software is for research use only and comes with no warranty.
concerning storage and processing of health-related personal data.
......@@ -56,9 +56,8 @@
{{for row in query :}}
{{if row.results_file.scheduler_task_id is None :}}
{{if row.results_file.scheduler_task_id is None or db.scheduler_task[row.results_file.scheduler_task_id ] is None:}}
{{status = '' }}
{{status = db.scheduler_task[row.results_file.scheduler_task_id ].status }}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment