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
There was an error fetching the commit references. Please try again later.
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
f0877a3f
Commit
f0877a3f
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
misc responsive and margin adjustments for compounds display
Former-commit-id: 6d340ee80a4e8ef91955185fc3fcf516b6397a8a
parent
d080ac58
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ippisite/ippidb/templates/compound_abstract.html
+2
-2
2 additions, 2 deletions
ippisite/ippidb/templates/compound_abstract.html
ippisite/ippidb/templates/compound_list.html
+2
-2
2 additions, 2 deletions
ippisite/ippidb/templates/compound_list.html
with
4 additions
and
4 deletions
ippisite/ippidb/templates/compound_abstract.html
+
2
−
2
View file @
f0877a3f
<div
class=
"row m-2 border border-info bg-light"
>
<div
class=
"row m-2 border border-info bg-light"
>
<div
class=
"col-
5
bg-info"
>
<div
class=
"col-
sm-3
bg-info"
>
<div
id=
"{{ compound.id }}_smilesdisplay"
<div
id=
"{{ compound.id }}_smilesdisplay"
data-widget=
"Kekule.ChemWidget.Viewer2D"
data-auto-fit=
"true"
data-widget=
"Kekule.ChemWidget.Viewer2D"
data-auto-fit=
"true"
data-toolbar-evoke-modes=
"[0]"
style=
"width: 200px; height: 200px;"
>
data-toolbar-evoke-modes=
"[0]"
style=
"width: 200px; height: 200px;"
>
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
});
});
</script>
</script>
</div>
</div>
<div
class=
"col-
7
"
>
<div
class=
"col-
sm-9
"
>
<ul
class=
"list-group"
>
<ul
class=
"list-group"
>
{% if compound.common_name %}
{% if compound.common_name %}
<li
class=
"list-group-item"
>
Common name: {{ compound.common_name }}
</li>
<li
class=
"list-group-item"
>
Common name: {{ compound.common_name }}
</li>
...
...
This diff is collapsed.
Click to expand it.
ippisite/ippidb/templates/compound_list.html
+
2
−
2
View file @
f0877a3f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<div
class=
"row flex-xl-nowrap"
>
<div
class=
"row flex-xl-nowrap"
>
<div
class=
"col-12 col-md-3 col-xl-2 bd-sidebar"
>
<div
class=
"col-12 col-md-3 col-xl-2 bd-sidebar"
>
<form>
<form>
<fieldset
class=
"form-group row border border-info"
>
<fieldset
class=
"form-group row border border-info
m-2
"
>
<div
class=
"bg-info col-12"
><legend>
PPI
</legend></div>
<div
class=
"bg-info col-12"
><legend>
PPI
</legend></div>
{% for ppi in ppis|slice:":5" %}
{% for ppi in ppis|slice:":5" %}
<div
class=
"form-check col-12"
>
<div
class=
"form-check col-12"
>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</fieldset>
</fieldset>
</form>
</form>
</div>
</div>
<main
class=
"col-12 col-md-9 col-xl-10
py-md-3
pl-md-5 bd-content"
role=
"main"
>
<main
class=
"col-12 col-md-9 col-xl-10 pl-md-5 bd-content"
role=
"main"
>
{% if compounds %}
{% if compounds %}
{% for compound in compounds %}
{% for compound in compounds %}
{% include "compound_abstract.html" with compound=compound %}
{% include "compound_abstract.html" with compound=compound %}
...
...
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