Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
855e8d0c
Commit
855e8d0c
authored
Mar 26, 2015
by
Marc Duez
Browse files
server : update views
parent
6155a06b
Changes
3
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/views/admin/index.html
View file @
855e8d0c
...
...
@@ -5,9 +5,12 @@
<a
class=
"button"
onclick=
"db.call('results_file/index');"
>
.vidjil file list
</a>
</br>
Database maintenace:
</br>
Database maintena
n
ce:
<a
class=
"button"
href=
"/vidjil/appadmin/index"
>
administration
</a>
<a
class=
"button"
onclick=
"db.call('admin/repair_missing_files');"
>
fix missing files
</a>
<a
class=
"button"
onclick=
"db.call('admin/repair');"
>
repair db
</a>
<a
class=
"button"
onclick=
"db.call('admin/make_backup');"
>
make backup
</a>
</br>
<hr>
...
...
server/web2py/applications/vidjil/views/default/user.html
View file @
855e8d0c
...
...
@@ -3,6 +3,15 @@
<h2>
{{=T( request.args(0).replace('_',' ').capitalize() )}}
</h2>
<div>
{{if db(db.auth_user.id > 0).count() == 0:}}
<a
class=
"button"
onclick=
"db.call('default/init_db');"
>
init database
</a>
<a
class=
"button"
onclick=
"db.call('default/init_from_csv');"
>
load backup
</a>
{{else:}}
{{form['_id'] ="login_form"}}
{{=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.
</p>
{{pass}}
{{pass}}
</div>
server/web2py/applications/vidjil/views/patient/info.html
View file @
855e8d0c
...
...
@@ -56,9 +56,8 @@
</tr>
</thead>
<tbody>
{{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 = '' }}
{{else:}}
{{status = db.scheduler_task[row.results_file.scheduler_task_id ].status }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment