Commit 035e1889 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

replace molecule drawn using Kekule with img from PubChem

Former-commit-id: 8e7e9e1c7f4f2dcff688950699dacaf12b6186c8
parent eb309aa9
<div class="row m-2 border border-info bg-light">
<div class="col-sm-3 bg-info">
<div id="{{ }}_smilesdisplay"
data-widget="Kekule.ChemWidget.Viewer2D" data-auto-fit="true"
data-toolbar-evoke-modes="[0]" style="width: 200px; height: 200px;">
<textarea rows="10" cols="50" id="{{ }}_smilesvalue" style="display:none;">{{ compound.canonical_smile }}</textarea>
$(window).on('load', function(){
kekule_display('{{ }}_smilesvalue','{{ }}_smilesdisplay')
<div class="col-sm-3 border-info d-flex justify-content-center align-content-center">
<img src="{{ compound.pubchem_id }}&width=300&height=300" style="width:300px;height:300px;"/>
<div class="col-sm-9">
<ul class="list-group">
......@@ -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">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment