compound_grid_item.html 1.2 KB
Newer Older
1
2
3
<div class="card m-2 border border-info" style="width: 300px">
        <a href="/compound/{{ compound.id }}">{% include "pubchem_img.html" %}</a>
        <div class="card-body" style="overflow:hidden; word-wrap:break-word;">
4
5
6
            <span class="badge badge-dark"><a href="/compound/{{ compound.id }}">{{ compound.id }}</a></span>
            <p>{% for pfam_id in compound.pfam_ids %}{{ pfam_id }}{% endfor %}</p>
            <p>Molecular Weight: {{ compound.molecular_weight }} g/mol</p>
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
        </div>
</div>
<!--
<div class="col-md-4 border border-info bg-light">
  <div class="row border-info d-flex justify-content-center align-content-center">
    <a href="/compound/{{ compound.id }}">{% include "pubchem_img.html" %}</a>
  </div>
  <div class="row">
    <ul class="list-group">
      {% if compound.common_name %}
      <li class="list-group-item">Common name: {{ compound.common_name }}</li>
      {% endif %}
      {% if compound.canonical_smile %}
      <li class="list-group-item">Canonical SMILES: {{ compound.canonical_smile }}</li>
      {% endif %}
      {% if compound.iupac_name %}
      <li class="list-group-item">IUPAC name: {{ compound.iupac_name }}</li>
      {% endif %}
    </ul>
  </div>
</div>
-->