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

improve physicochemical filters table appearance

Former-commit-id: b18c0c2eb0dde8ca71fd0d20e7a2c09d1a8c2c14
parent 01b1144a
No related branches found
No related tags found
No related merge requests found
...@@ -97,51 +97,51 @@ ...@@ -97,51 +97,51 @@
<tbody> <tbody>
<tr> <tr>
<th scope="row">Global</th> <th scope="row">Global</th>
<td class="{% if compound.lipinsky_global %}bg-success{% else %}bg-danger{% endif %}"></td> <td class="{% if compound.lipinsky_global %}table-success{% else %}table-danger{% endif %}" title="at least 3 criteria ok"></td>
<td class="{% if compound.veber_global %}bg-success{% else %}bg-danger{% endif %}"></td> <td class="{% if compound.veber_global %}table-success{% else %}table-danger{% endif %}" title="RB and HBA+HBD or TPSA ok"></td>
<td class="{% if compound.pfizer_global %}bg-success{% else %}bg-danger{% endif %}"></td> <td class="{% if compound.pfizer_global %}table-success{% else %}table-danger{% endif %}" title="AlogP and TPSA ok"></td>
</tr> </tr>
<tr> <tr>
<th scope="row">MW</th> <th scope="row">MW</th>
<td class="{% if compound.lipinsky_mw %}bg-success{% else %}bg-danger{% endif %}" title="Molecular weight <= 500g/mol">{{ compound.molecular_weight }}g/mol</td> <td class="text-right {% if compound.lipinsky_mw %}table-success{% else %}table-danger{% endif %}" title="Molecular weight <= 500g/mol">{{ compound.molecular_weight }}g/mol</td>
<td class="bg-light"></td> <td class="table-light"></td>
<td class="bg-light"></td> <td class="table-light"></td>
</tr> </tr>
<tr> <tr>
<th scope="row">HBA</th> <th scope="row">HBA</th>
<td class="{% if compound.lipinsky_hba %}bg-success{% else %}bg-danger{% endif %}" title="HBA <= 10">{{ compound.nb_acceptor_h }}</td> <td class="text-right {% if compound.lipinsky_hba %}table-success{% else %}table-danger{% endif %}" title="HBA <= 10">{{ compound.nb_acceptor_h }}</td>
<td class="bg-light"></td> <td class="table-light"></td>
<td class="bg-light"></td> <td class="table-light"></td>
</tr> </tr>
<tr> <tr>
<th scope="row">HBD</th> <th scope="row">HBD</th>
<td class="{% if compound.lipinsky_hbd %}bg-success{% else %}bg-danger{% endif %}" title="HBD <= 5">{{ compound.nb_donor_h }}</td> <td class="text-right {% if compound.lipinsky_hbd %}table-success{% else %}table-danger{% endif %}" title="HBD <= 5">{{ compound.nb_donor_h }}</td>
<td class="bg-light"></td> <td class="table-light"></td>
<td class="bg-light"></td> <td class="table-light"></td>
</tr> </tr>
<tr> <tr>
<th scope="row">HBA + HBD</th> <th scope="row">HBA + HBD</th>
<td class="bg-light"></td> <td class="table-light"></td>
<td class="{% if compound.veber_hba_hbd %}bg-success{% else %}bg-danger{% endif %}" title="HBD + HBA <= 12">{{ compound.hba_hbd }}</td> <td class="text-right {% if compound.veber_hba_hbd %}table-success{% else %}table-danger{% endif %}" title="HBD + HBA <= 12">{{ compound.hba_hbd }}</td>
<td class="bg-light"></td> <td class="table-light"></td>
</tr> </tr>
<tr> <tr>
<th scope="row">AlogP</th> <th scope="row">AlogP</th>
<td class="{% if compound.lipinsky_a_log_p %}bg-success{% else %}bg-danger{% endif %}" title="AlogP <= 5">{{ compound.a_log_p }}</td> <td class="text-right {% if compound.lipinsky_a_log_p %}table-success{% else %}table-danger{% endif %}" title="AlogP <= 5">{{ compound.a_log_p }}</td>
<td class="bg-light"></td> <td class="table-light"></td>
<td class="{% if compound.pfizer_a_log_p %}bg-success{% else %}bg-danger{% endif %}" title="AlogP <= 3">{{ compound.a_log_p }}</td> <td class="text-right {% if compound.pfizer_a_log_p %}table-success{% else %}table-danger{% endif %}" title="AlogP <= 3">{{ compound.a_log_p }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">TPSA</th> <th scope="row">TPSA</th>
<td class="bg-light"></td> <td class="table-light"></td>
<td class="{% if compound.veber_tpsa %}bg-success{% else %}bg-danger{% endif %}" title="TPSA <= 140">{{ compound.tpsa }}</td> <td class="text-right {% if compound.veber_tpsa %}table-success{% else %}table-danger{% endif %}" title="TPSA <= 140">{{ compound.tpsa }}</td>
<td class="{% if compound.pfizer_tpsa %}bg-success{% else %}bg-danger{% endif %}" title="TPSA <= 75">{{ compound.tpsa }}</td> <td class="text-right {% if compound.pfizer_tpsa %}table-success{% else %}table-danger{% endif %}" title="TPSA <= 75">{{ compound.tpsa }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">RB</th> <th scope="row">RB</th>
<td class="bg-light"></td> <td class="table-light"></td>
<td class="{% if compound.veber_rb %}bg-success{% else %}bg-danger{% endif %}" title="RB <= 10">{{ compound.nb_rotatable_bonds }}</td> <td class="text-right {% if compound.veber_rb %}table-success{% else %}table-danger{% endif %}" title="RB <= 10">{{ compound.nb_rotatable_bonds }}</td>
<td class="bg-light"></td> <td class="table-light"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
......
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