Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
dfae7102
Commit
dfae7102
authored
7 years ago
by
Rachel TORCHET
Browse files
Options
Downloads
Patches
Plain Diff
tiny changes into form steps
Former-commit-id: a740b6c54380d162c8bbb2f86c748a70e0e13a3a
parent
88d26fdf
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ippisite/ippidb/forms.py
+2
-2
2 additions, 2 deletions
ippisite/ippidb/forms.py
ippisite/ippidb/static/css/ippidb.css
+1
-21
1 addition, 21 deletions
ippisite/ippidb/static/css/ippidb.css
ippisite/ippidb/templates/IdForm.html
+1
-1
1 addition, 1 deletion
ippisite/ippidb/templates/IdForm.html
with
4 additions
and
24 deletions
ippisite/ippidb/forms.py
+
2
−
2
View file @
dfae7102
...
@@ -17,14 +17,14 @@ class BibliographyForm(ModelForm):
...
@@ -17,14 +17,14 @@ class BibliographyForm(ModelForm):
model
=
Bibliography
model
=
Bibliography
exclude
=
[
'
authors_list
'
,
'
biblio_year
'
]
exclude
=
[
'
authors_list
'
,
'
biblio_year
'
]
widgets
=
{
widgets
=
{
'
source
'
:
forms
.
Selec
t
(
attrs
=
{
'
disabled
'
:
'
disabled
'
,
'
class
'
:
'
readonly
'
}),
'
source
'
:
forms
.
TextInpu
t
(
attrs
=
{
'
readonly
'
:
'
readonly
'
,
'
class
'
:
'
readonly
'
}),
'
id_source
'
:
forms
.
TextInput
(
attrs
=
{
'
readonly
'
:
'
readonly
'
,
'
class
'
:
'
readonly
'
}),
'
id_source
'
:
forms
.
TextInput
(
attrs
=
{
'
readonly
'
:
'
readonly
'
,
'
class
'
:
'
readonly
'
}),
'
title
'
:
forms
.
TextInput
(
attrs
=
{
'
readonly
'
:
'
readonly
'
,
'
class
'
:
'
readonly
'
}),
'
title
'
:
forms
.
TextInput
(
attrs
=
{
'
readonly
'
:
'
readonly
'
,
'
class
'
:
'
readonly
'
}),
'
journal_name
'
:
forms
.
TextInput
(
attrs
=
{
'
readonly
'
:
'
readonly
'
,
'
class
'
:
'
readonly
'
}),
'
journal_name
'
:
forms
.
TextInput
(
attrs
=
{
'
readonly
'
:
'
readonly
'
,
'
class
'
:
'
readonly
'
}),
}
}
class
PDBForm
(
forms
.
Form
):
class
PDBForm
(
forms
.
Form
):
pdb_id
=
forms
.
CharField
(
label
=
"
PDB ID
"
,
max_length
=
100
,
widget
=
forms
.
TextInput
(
attrs
=
{
'
placeholder
'
:
'
e.g 4HHB
'
}))
pdb_id
=
forms
.
CharField
(
label
=
"
PDB ID
"
,
max_length
=
4
,
widget
=
forms
.
TextInput
(
attrs
=
{
'
placeholder
'
:
'
e.g 4HHB
'
}))
class
ProteinForm
(
ModelForm
):
class
ProteinForm
(
ModelForm
):
class
Meta
:
class
Meta
:
...
...
This diff is collapsed.
Click to expand it.
ippisite/ippidb/static/css/ippidb.css
+
1
−
21
View file @
dfae7102
...
@@ -619,27 +619,6 @@ form {
...
@@ -619,27 +619,6 @@ form {
div
label
input
{
div
label
input
{
margin-right
:
100px
;
margin-right
:
100px
;
display
:
none
;
}
#id_IdForm-source
{
list-style
:
none
;
}
ul
#id_IdForm-source
li
{
display
:
inline
;
}
ul
#id_IdForm-source
li
label
{
text-align
:
center
;
padding
:
5px
;
background-color
:
rgb
(
255
,
255
,
255
);
color
:
rgb
(
45
,
150
,
250
);
border
:
1px
solid
rgb
(
45
,
150
,
250
);
font-family
:
"Roboto"
;
font-weight
:
bold
;
width
:
33%
;
margin
:
5px
;
}
}
body
{
body
{
...
@@ -672,6 +651,7 @@ body {
...
@@ -672,6 +651,7 @@ body {
#ck-button
label
input
{
#ck-button
label
input
{
position
:
absolute
;
position
:
absolute
;
top
:
-20px
;
top
:
-20px
;
display
:
none
;
}
}
#ck-button
input
:hover
+
span
{
#ck-button
input
:hover
+
span
{
...
...
This diff is collapsed.
Click to expand it.
ippisite/ippidb/templates/IdForm.html
+
1
−
1
View file @
dfae7102
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
{{ form }}
{{ form }}
{% endfor %}
{% endfor %}
{% else %}
{% else %}
{{ wizard.form}}
{{ wizard.form
}}
{% endif %}
{% endif %}
</table>
</table>
<input
type=
"submit"
value=
"{% trans "
Next
step
"
%}"
/>
<input
type=
"submit"
value=
"{% trans "
Next
step
"
%}"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment