Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
a12faec9
Commit
a12faec9
authored
5 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
Improving UI
WIP #63
parent
f557d4c0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ippisite/ippidb/static/css/admin-session.css
+8
-10
8 additions, 10 deletions
ippisite/ippidb/static/css/admin-session.css
ippisite/ippidb/templates/compound_form_content.html
+14
-9
14 additions, 9 deletions
ippisite/ippidb/templates/compound_form_content.html
with
22 additions
and
19 deletions
ippisite/ippidb/static/css/admin-session.css
+
8
−
10
View file @
a12faec9
...
...
@@ -245,15 +245,6 @@ Description: IPPI-DB Theme
padding-bottom
:
1%
;
}
.smiles-inpout-and-edit
{
display
:
flex
;
}
.smiles-inpout-and-edit
>*
:first-child
{
flex
:
1
auto
;
margin-right
:
0.5em
;
}
.form-group.form-check
,
.compound
.input_field
input
{
text-align
:
left
;
}
...
...
@@ -1515,7 +1506,7 @@ Description: IPPI-DB Theme
text-decoration
:
none
;
}
[
type
=
"reset"
],
[
type
=
"submit"
],
button
:not
(
.multiselect-native-select
)
:not
(
.multiselect-clear-filter
)
{
[
type
=
"reset"
],
[
type
=
"submit"
],
:not
(
.input-group-append
)>
button
:not
(
.multiselect-native-select
)
:not
(
.multiselect-clear-filter
)
{
-webkit-appearance
:
button
;
margin-top
:
5px
;
border-radius
:
0px
;
...
...
@@ -1524,6 +1515,13 @@ Description: IPPI-DB Theme
color
:
#fff
;
}
[
type
=
"reset"
],
[
type
=
"submit"
],
.input-group-append
>
button
{
-webkit-appearance
:
button
;
background-color
:
#2d96fa
;
border
:
none
;
color
:
#fff
;
}
.add-button
{
border
:
none
;
color
:
initial
;
...
...
This diff is collapsed.
Click to expand it.
ippisite/ippidb/templates/compound_form_content.html
+
14
−
9
View file @
a12faec9
...
...
@@ -38,15 +38,20 @@
<!-- {{ form.common_name|bootstrap }}-->
{{ form.compound_name|bootstrap }}
{{ form.is_macrocycle|bootstrap }}
<div
class=
"form-group smiles-inpout-and-edit"
>
<div>
{{ form.molecule_smiles|bootstrap }}
</div>
<div>
<button
class=
"btn btn-primary"
onclick=
"showModalFromMe(this);return false;"
>
<i
class=
"fas fa-pencil-alt"
></i>
</button>
</div>
<div
class=
"input-group smiles-inpout-and-edit"
>
<textarea
type=
"text"
name=
"{{form.molecule_smiles.html_name}}"
{%
if
form.molecule_smiles.value
%}
value=
"{{form.molecule_smiles.value}}"
{%
endif
%}
class=
"molecule-composition form-control"
cols=
"40"
rows=
"1"
{%
if
form.fields.common_name.required
%}
required
{%
endif
%}
id=
"{{form.molecule_smiles.id_for_label}}"
></textarea>
<label
class=
"form-control-placeholder"
for=
"{{form.molecule_smiles.id_for_label}}"
>
{{form.molecule_smiles.label}}
</label>
<div
class=
"input-group-append"
>
<button
class=
"btn btn-outline-secondary"
onclick=
"showModalFromMe(this);return false;"
><i
class=
"fas fa-pencil-alt"
></i></button>
</div>
</div>
{{ form.molecule_iupac|bootstrap }}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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