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
8bcbd930
Commit
8bcbd930
authored
Feb 06, 2015
by
Mathieu Giraud
Committed by
Vidjil Team
Feb 06, 2015
Browse files
*.html: rewording
parent
f21907a4
Changes
5
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/controllers/admin.py
View file @
8bcbd930
...
...
@@ -87,5 +87,5 @@ def repair_missing_files():
size
=
os
.
path
.
getsize
(
seq_file
)
db
.
sequence_file
[
row
.
id
]
=
dict
(
size_file
=
size
)
res
=
{
"success"
:
"true"
,
"message"
:
"
path of
missing files have been removed from the database"
+
flist
}
res
=
{
"success"
:
"true"
,
"message"
:
"
references to
missing files have been removed from the database"
+
flist
}
return
gluon
.
contrib
.
simplejson
.
dumps
(
res
,
separators
=
(
','
,
':'
))
server/web2py/applications/vidjil/controllers/config.py
View file @
8bcbd930
...
...
@@ -13,13 +13,13 @@ def index():
query
=
db
((
auth
.
accessible_query
(
'read'
,
db
.
config
)
|
auth
.
accessible_query
(
'admin'
,
db
.
config
)
)
).
select
()
return
dict
(
message
=
T
(
'
c
onfig
_list
'
),
return
dict
(
message
=
T
(
'
C
onfig
s
'
),
query
=
query
,
isAdmin
=
auth
.
has_membership
(
"admin"
))
def
add
():
return
dict
(
message
=
T
(
'
a
dd config'
))
return
dict
(
message
=
T
(
'
A
dd config'
))
#TODO check data
...
...
server/web2py/applications/vidjil/controllers/group.py
View file @
8bcbd930
...
...
@@ -6,11 +6,11 @@ if request.env.http_origin:
## return group list
def
index
():
return
dict
(
message
=
T
(
'
g
roup
list
'
))
return
dict
(
message
=
T
(
'
G
roup
s
'
))
## return an html form to add a group
def
add
():
return
dict
(
message
=
T
(
'
n
ew group'
))
return
dict
(
message
=
T
(
'
N
ew group'
))
## create a group if the html form is complete
...
...
server/web2py/applications/vidjil/views/admin/index.html
View file @
8bcbd930
{{extend 'db_layout.html'}}
</br>
<h3>
Admin
</h3>
</br>
<a
class=
"button"
onclick=
"db.call('results_file/index');"
>
.vidjil file list
</a>
</br>
Database maintenace:
...
...
server/web2py/applications/vidjil/views/user/index.html
View file @
8bcbd930
...
...
@@ -2,7 +2,7 @@
{{import vidjil_utils}}
<div>
<h3>
User
info
</h3>
<h3>
User
s
</h3>
<div
id=
"db_table_container"
>
<table
class=
"db_table"
id=
"table"
>
...
...
@@ -10,7 +10,7 @@
<tr><td
class=
"column1"
>
user name
</td>
<td>
@
</td>
<td
class=
"colum1"
>
patients created
</td>
<td
class=
"colum1"
>
files
provi
ded
</td>
<td
class=
"colum1"
>
files
uploa
ded
</td>
</tr>
</thead>
...
...
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