compound_db_links.html 1.05 KB
Newer Older
1
    {%if compound.pubchem_id or compound.chembl_id or compound.chemspider_id %}
2
    <div class="row">
3
      {% if compound.pubchem_id %}
4
      <span class="col-sm-4"><a href="https://pubchem.ncbi.nlm.nih.gov/compound/{{ compound.pubchem_id }}" target="_blank"><img src="/static/images/Other/Pubchemlogo.png" style="height: 1.5em;" title="PubChem ID: {{ compound.pubchem_id }}" /></a></span>
5
6
      {% endif %}
      {% if compound.chembl_id %}
7
      <span class="col-sm-4"><a href="https://www.ebi.ac.uk/chembldb/compound/inspect/{{ compound.chembl_id }}" target="_blank"><img src="/static/images/Other/Chembl_logo.png" style="height: 1.5em;" title="ChEMBL ID: {{ compound.pubchem_id }}" /></a></span>
8
9
      {% endif %}
      {% if compound.chemspider_id %}
10
      <span class="col-sm-4"><a href="http://www.chemspider.com/Chemical-Structure.{{ compound.chemspider_id}}.html" target="_blank"><img src="/static/images/Other/ChemSpider_Logo.png" style="height: 1.5em;" title="ChemSpider ID: {{ compound.chemspider_id }}" /></a></span>
11
      {% endif %}
12
    </div>
13
    {% endif %}