Skip to content
Snippets Groups Projects
Commit f37b06cc authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

add links to Drugbank and icon for PDB Ligand link

parent 3dc5e25c
No related branches found
No related tags found
No related merge requests found
ippisite/ippidb/static/images/Other/DrugBankLogo.ico

24.3 KiB

ippisite/ippidb/static/images/Other/PDBLogo.ico

2.19 KiB

...@@ -2,24 +2,29 @@ ...@@ -2,24 +2,29 @@
<table class="table mb-0"> <table class="table mb-0">
<tbody> <tbody>
<tr class="row"> <tr class="row">
<td scope="col" class="col-3"> <td scope="col" class="col-2">
{% if compound.pubchem_id %} {% if compound.pubchem_id %}
<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> <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>
{% endif %} {% endif %}
</td> </td>
<td scope="col" class="col-3"> <td scope="col" class="col-2">
{% if compound.chembl_id %} {% if compound.chembl_id %}
<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> <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>
{% endif %} {% endif %}
</td> </td>
<td scope="col" class="col-3"> <td scope="col" class="col-2">
{% if compound.chemspider_id %} {% if compound.chemspider_id %}
<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> <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>
{% endif %} {% endif %}
</td> </td>
<td scope="col" class="col-3"> <td scope="col" class="col-2">
{% if compound.ligand_id %} {% if compound.ligand_id %}
<a href="https://www.rcsb.org/ligand/{{ compound.ligand_id}}" target="_blank">{{compound.ligand_id}}</a> <a href="https://www.rcsb.org/ligand/{{ compound.ligand_id}}" target="_blank"><img src="/static/images/Other/PDBLogo.ico" style="height: 1.5em;" title="DrugBank ID: {{ compound.ligand_id }}" /></a>
{% endif %}
</td>
<td scope="col" class="col-2">
{% if compound.drugbank_id %}
<a href="https://www.drugbank.ca/drugs/{{ compound.drugbank_id}}" target="_blank"><img src="/static/images/Other/DrugBankLogo.ico" style="height: 1.5em;" title="DrugBank ID: {{ compound.drugbank_id }}" /></a>
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment