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
035e1889
Commit
035e1889
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
replace molecule drawn using Kekule with img from PubChem
Former-commit-id: 8e7e9e1c7f4f2dcff688950699dacaf12b6186c8
parent
eb309aa9
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
-11
2 additions, 11 deletions
ippisite/ippidb/templates/compound_abstract.html
ippisite/ippidb/templates/compound_list.html
+0
-1
0 additions, 1 deletion
ippisite/ippidb/templates/compound_list.html
with
2 additions
and
12 deletions
ippisite/ippidb/templates/compound_abstract.html
+
2
−
11
View file @
035e1889
<div
class=
"row m-2 border border-info bg-light"
>
<div
class=
"col-sm-3 bg-info"
>
<div
id=
"{{ compound.id }}_smilesdisplay"
data-widget=
"Kekule.ChemWidget.Viewer2D"
data-auto-fit=
"true"
data-toolbar-evoke-modes=
"[0]"
style=
"width: 200px; height: 200px;"
>
</div>
<textarea
rows=
"10"
cols=
"50"
id=
"{{ compound.id }}_smilesvalue"
style=
"display:none;"
>
{{ compound.canonical_smile }}
</textarea>
<script>
$
(
window
).
on
(
'
load
'
,
function
(){
kekule_display
(
'
{{ compound.id }}_smilesvalue
'
,
'
{{ compound.id }}_smilesdisplay
'
)
});
</script>
<div
class=
"col-sm-3 border-info d-flex justify-content-center align-content-center"
>
<img
src=
"https://pubchem.ncbi.nlm.nih.gov/image/imagefly.cgi?cid={{ compound.pubchem_id }}&width=300&height=300"
style=
"width:300px;height:300px;"
/>
</div>
<div
class=
"col-sm-9"
>
<ul
class=
"list-group"
>
...
...
This diff is collapsed.
Click to expand it.
ippisite/ippidb/templates/compound_list.html
+
0
−
1
View file @
035e1889
...
...
@@ -5,7 +5,6 @@
{% block content %}
{% include "kekule_display.html" %}
<div
class=
"container-fluid"
>
<div
class=
"row flex-xl-nowrap"
>
<div
class=
"col-12 col-md-3 col-xl-2 bd-sidebar"
>
...
...
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