Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
2cd5bd3b
Commit
2cd5bd3b
authored
1 year ago
by
Fabien MAREUIL
Browse files
Options
Downloads
Patches
Plain Diff
add a focus on result
parent
85857638
No related branches found
No related tags found
No related merge requests found
Pipeline
#132160
failed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/templates/targetcentric.html
+29
-16
29 additions, 16 deletions
ippisite/ippidb/templates/targetcentric.html
with
29 additions
and
16 deletions
ippisite/ippidb/templates/targetcentric.html
+
29
−
16
View file @
2cd5bd3b
...
...
@@ -154,7 +154,7 @@
</div>
</div>
{% if pdb_list %}
<div
class=
"card"
>
<div
id=
"results"
class=
"card"
>
<div
class=
"card-header"
>
<div
class=
"row "
>
<div
class=
"col-md-11"
>
...
...
@@ -177,14 +177,17 @@
<div
class=
"mb-3 card {% if forloop.counter == 1 %} border-primary {% else %} border-info {% endif %} border_card"
id=
"card_{{ forloop.counter }}"
>
<div
class=
"card-header text-center"
>
<a
class=
"submithref"
href=
"{% url 'cavities' %}?pdbsearch={{ pdb.code }}"
><strong>
{{ pdb.code }}
</strong></a>
<a
class=
"submithref"
href=
"{% url 'cavities' %}?pdbsearch={{ pdb.code }}"
><strong>
{{
pdb.code }}
</strong></a>
</div>
<div
class=
"card-body text-nowrap"
>
{% for chain in pdb.chain_set.all %}
Chain {{ chain.pdb_chain_id }}
<a
class=
"submithref"
href=
"{% url 'cavities' %}?uniprotid={{ chain.protein.uniprot_id }}"
>
{{ chain.protein.uniprot_id }}
</a>
href=
"{% url 'cavities' %}?uniprotid={{ chain.protein.uniprot_id }}"
>
{{
chain.protein.uniprot_id }}
</a>
<a
class=
"submithref"
href=
"{% url 'cavities' %}?organism={{ chain.protein.organism.name }}"
>
{{ chain.protein.organism.name }}
</a>
href=
"{% url 'cavities' %}?organism={{ chain.protein.organism.name }}"
>
{{
chain.protein.organism.name }}
</a>
</br>
{% endfor %}
</div>
...
...
@@ -263,7 +266,8 @@ Comparison and druggability prediction of protein-ligand binding sites from phar
<tr>
{% for td in avg_std|make_list %}
{% if forloop.first %}
<td
style=
"background-color:rgb({{ td|get_color }})"
title=
"{{ td }}"
>
{{ td|floatformat:2|intcomma }}
</td>
<td
style=
"background-color:rgb({{ td|get_color }})"
title=
"{{ td }}"
>
{{
td|floatformat:2|intcomma }}
</td>
{% elif forloop.last %}
<td
style=
"direction: rtl;background-color:rgb({{ td|get_color }})"
title=
"{{ td }}"
>
{{ td|floatformat:2|intcomma }}
</td>
...
...
@@ -382,7 +386,8 @@ Comparison and druggability prediction of protein-ligand binding sites from phar
{% with chaincount=forloop.counter %}
{% for cavity in cavities %}
{% with cavcount=forloop.counter %}
{% include "targetcentric_cavity_row.html" with chaincount=chaincount cavcount=cavcount %}
{% include "targetcentric_cavity_row.html" with chaincount=chaincount cavcount=cavcount
%}
<tr
class=
"collapse out collapseme{{ chaincount }}_{{ cavcount }} asnyc-construction"
data-cavity-id=
"{{cavity.id}}"
data-cavcount=
"{{cavcount}}"
data-chaincount=
"{{chaincount}}"
>
...
...
@@ -503,7 +508,8 @@ Comparison and druggability prediction of protein-ligand binding sites from phar
If available, overlay existing protein-ligand systems for this system.
</li>
<li>
View and adjust the interactibility or druggability zones determined by our InDeep tool. InDeep
View and adjust the interactibility or druggability zones determined by our InDeep tool.
InDeep
can also be used through the
<a
href=
"https://indeep-net.gpu.pasteur.cloud"
>
InDeep-Net
application
</a>
.
</li>
...
...
@@ -563,6 +569,13 @@ Comparison and druggability prediction of protein-ligand binding sites from phar
</script>
{% endif %}
<script>
$
(
document
).
ready
(
function
()
{
if
(
$
(
"
#results
"
).
length
)
{
$
(
'
html, body
'
).
animate
({
scrollTop
:
$
(
"
#results
"
).
offset
().
top
},
1000
);
// 1000 ms = 1 seconde
}
});
$
(
document
).
ready
(
function
()
{
var
completionlist
=
{{
completionlist
|
safe
}};
var
completionlistpdb
=
{{
completionlistpdb
|
safe
}};
...
...
@@ -577,15 +590,15 @@ Comparison and druggability prediction of protein-ligand binding sites from phar
$
(
"
#id_ligandcode
"
).
autocomplete
({
source
:
completionlistligand
,
minLength
:
1
});
$
(
"
#id_organism
"
).
autocomplete
({
source
:
completionlistorganism
,
minLength
:
3
});
//autocomplete(document.getElementById("id_search"), completionlist);
//autocomplete(document.getElementById("id_pdbsearch"), completionlistpdb);
//autocomplete(document.getElementById("id_proteinsearch"), completionlistprotein);
//autocomplete(document.getElementById("id_uniprotid"), completionlistuniprot);
//autocomplete(document.getElementById("id_ligandcode"), completionlistligand);
//autocomplete(document.getElementById("id_organism"), completionlistorganism);
$
(
'
.submithref
'
).
click
(
function
()
{
$
(
'
#waitingmodal
'
).
modal
(
'
show
'
);
});
//autocomplete(document.getElementById("id_search"), completionlist);
//autocomplete(document.getElementById("id_pdbsearch"), completionlistpdb);
//autocomplete(document.getElementById("id_proteinsearch"), completionlistprotein);
//autocomplete(document.getElementById("id_uniprotid"), completionlistuniprot);
//autocomplete(document.getElementById("id_ligandcode"), completionlistligand);
//autocomplete(document.getElementById("id_organism"), completionlistorganism);
$
(
'
.submithref
'
).
click
(
function
()
{
$
(
'
#waitingmodal
'
).
modal
(
'
show
'
);
});
});
</script>
{% endblock %}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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