Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
aed42d73
Commit
aed42d73
authored
Apr 20, 2015
by
Julien Furrer
Browse files
Merge branch 'dev' into django-18
parents
9c41ed37
71f75d30
Changes
4
Hide whitespace changes
Inline
Side-by-side
adim_app/static/_src/less/adim.css
View file @
aed42d73
...
...
@@ -198,8 +198,9 @@ body {
padding-top
:
33%
;
}
body
,
#page-loader
{
background
:
repeating-linear-gradient
(
-45deg
,
#424242
,
#424242
19px
,
#5c5c5c
20px
,
#4a4a4a
21px
,
#4a4a4a
20px
,
#4a4a4a
36px
,
#353535
38px
,
#4a4a4a
40px
);
#page-loader
,
#home-container
{
background
:
repeating-linear-gradient
(
-45deg
,
#424242
,
#424242
19px
,
#5c5c5c
20px
,
#4a4a4a
21px
,
#4a4a4a
20px
,
#4a4a4a
36px
,
#353535
38px
,
#4a4a4a
40px
)
!important
;
}
.theme-light
#page-loader
{
background-color
:
#f2f2f2
;
...
...
adim_app/static/_src/less/adim.less
View file @
aed42d73
...
...
@@ -94,7 +94,7 @@ html, body {
// ============================================================================
// ============================================================================
// DEV DEV DEV
body, #page-loader {
body, #page-loader
, #home-container
{
background: repeating-linear-gradient(
-45deg,
@x-bodyBg,
...
...
@@ -105,7 +105,7 @@ body, #page-loader {
lighten(@x-bodyBg, 3%) 36px,
darken(@x-bodyBg, 5%) 38px,
lighten(@x-bodyBg, 3%) 40px
);
)
!important
;
}
// ============================================================================
// ============================================================================
...
...
adim_app/templates/adim_app/annotation_new.html
View file @
aed42d73
...
...
@@ -60,7 +60,7 @@ window.ADIM_CONFIG = {
<span
class=
"glyphicon glyphicon-plus"
></span>
<span>
Nouvelle image
</span>
<input
id=
"fileupload"
type=
"file"
name=
"image_file"
data-url=
"{% url "
adim.app:upload_file
"
%}"
accept=
"image/png,image/jpg"
>
accept=
"image/png,image/jpg
,image/jpeg
"
>
</span>
</p>
...
...
adim_app/templates/adim_app/base_annotation.html
View file @
aed42d73
...
...
@@ -16,7 +16,7 @@
<span
class=
"glyphicon glyphicon-plus"
></span>
<span>
Nouvelle image
</span>
<form
action=
"{% url "
adim.app:upload_file
"
%}"
method=
"post"
enctype=
"multipart/form-data"
>
{% csrf_token %}
<input
id=
"fileupload-alt"
type=
"file"
name=
"image_file"
data-url=
"{% url "
adim.app:upload_file
"
%}"
accept=
"image/png,image/jpg"
>
<input
id=
"fileupload-alt"
type=
"file"
name=
"image_file"
data-url=
"{% url "
adim.app:upload_file
"
%}"
accept=
"image/png,image/jpg
,image/jpeg
"
>
</form>
</span>
</li>
...
...
Write
Preview
Supports
Markdown
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