Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
7aa0a047
Commit
7aa0a047
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
add number of chiral centers in compounds list table view
cf #43 Former-commit-id: f19a9cd22835967ed5d1b216a4fc7393929a6aa6
parent
15174077
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/templates/compound_t_list.html
+7
-0
7 additions, 0 deletions
ippisite/ippidb/templates/compound_t_list.html
with
7 additions
and
0 deletions
ippisite/ippidb/templates/compound_t_list.html
+
7
−
0
View file @
7aa0a047
...
...
@@ -15,6 +15,7 @@
{% include "compound_t_colhead.html" with col_id="nb_rotatable_bonds" col_name="number of rotatable bonds" %}
{% include "compound_t_colhead.html" with col_id="nb_aromatic_sssr" col_name="number of aromatic SSSR" %}
{% include "compound_t_colhead.html" with col_id="families" col_name="PPI families" %}
{% include "compound_t_colhead.html" with col_id="nb_chiral_centers" col_name="Number of chiral centerrs" %}
<button
type=
"button"
class=
"btn btn-primary float-right"
style=
"width: inherit!important"
data-toggle=
"modal"
data-target=
"#selectColumns"
>
<i
class=
"fa fa-columns"
title=
"customize columns"
></i>
</button>
...
...
@@ -63,6 +64,9 @@
{% if "families" in fields %}
<th
scope=
"col"
>
{% for family in compound.families %}{{ family.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
</th>
{% endif %}
{% if "nb_chiral_centers" in fields %}
<th
scope=
"col"
>
{{ compound.nb_chiral_centers }}
</th>
{% endif %}
</tr>
{% endfor %}
</tbody>
...
...
@@ -118,6 +122,9 @@
<div
class=
"row"
>
<label><input
type=
"checkbox"
name=
"field"
value=
"families"
class=
"mr-1"
{%
if
'
families
'
in
fields
%}
checked=
"checked"
{%
endif
%}
/>
PPI families
</label>
</div>
<div
class=
"row"
>
<label><input
type=
"checkbox"
name=
"field"
value=
"nb_chiral_centers"
class=
"mr-1"
{%
if
'
nb_chiral_centers
'
in
fields
%}
checked=
"checked"
{%
endif
%}
/>
Number of chiral centers
</label>
</div>
</div>
<div
class=
"modal-footer"
>
<script>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment