X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=django_simple%2Ftodo%2Ftemplates%2Fdetails1.html;h=8494d963286d5643a6cfe52e68c674d1ed2dc087;hb=1b9e4cd5192fafe2213b582fadd19556fb2ecf3a;hp=eec9c50ba91fc0237ad446aa1ba080acf8a2d8a5;hpb=9ed732a162468afe926d1982efa882468c5178a3;p=django_unres.git
diff --git a/django_simple/todo/templates/details1.html b/django_simple/todo/templates/details1.html
index eec9c50..8494d96 100644
--- a/django_simple/todo/templates/details1.html
+++ b/django_simple/todo/templates/details1.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
+{% load index %}
{% load i18n lazysignup_tags %}
{% block content %}
@@ -43,7 +44,7 @@ Created {{ task.created_date }}
{% if task.done %}
- {% if task.type == "md" or task.type == "remd" %}
+ {% if task.type == "md" or task.type == "remd" or task.type == "dock" %}
-
+
+ {% for iii in range %}
+
+ {% with istr=forloop.counter|stringformat:"s" %}
+ {% with MODELi="MODEL"|add:istr|add:".pdb" %}
+ {% with viewporti="viewport_M"|add:istr %}
+ {% with toggleRefi="toggleRefM"|add:istr %}
+ {% with toggleSidechainsi="toggleSidechainsM"|add:istr %}
+
-
- model1
+
model {{ iii }}
{% if not task.damino %}
after conversion to allatom
{% endif %}
- {{ task.remd_model1|linebreaks }}
- NGL viewer
-
-
-
-
-
- {% if task.md_pdbref %}
-
Reference structure on/off
- {% endif %}
-
Side-chains on/off
-
Download
-
-
-
-
-
-
-
- model2
- {% if not task.damino %}
- after conversion to allatom
- {% endif %}
- {{ task.remd_model2|linebreaks }}
+ {{ remd_models|index:iii|linebreaks }}
NGL viewer
-
{% if task.md_pdbref %}
-
Reference structure on/off
+
Reference structure on/off
{% endif %}
-
Side-chains on/off
+
Side-chains on/off
Download
+ href="/myfiles/download-file/{{task.jobdirname}}/{{MODELi}}">Download
-
-
-
-
-
-
- model3
- {% if not task.damino %}
- after conversion to allatom
- {% endif %}
- {{ task.remd_model3|linebreaks }}
- NGL viewer
-
-
-
-
-
- {% if task.md_pdbref %}
-
Reference structure on/off
- {% endif %}
-
Side-chains on/off
-
Download
-
-
-
-
-
-
-
- model4
- {% if not task.damino %}
- after conversion to allatom
- {% endif %}
- {{ task.remd_model4|linebreaks }}
- NGL viewer
-
-
-
-
-
- {% if task.md_pdbref %}
-
Reference structure on/off
- {% endif %}
-
Side-chains on/off
-
Download
-
-
-
-
-
-
-
- model5
- {% if not task.damino %}
- after conversion to allatom
- {% endif %}
- {{ task.remd_model5|linebreaks }}
- NGL viewer
-
-
-
-
-
- {% if task.md_pdbref %}
-
Reference structure on/off
- {% endif %}
-
Side-chains on/off
-
Download
-
-
-
+ {% endwith %}
+ {% endwith %}
+ {% endwith %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+
{% endif %}
{% endif %}
@@ -819,10 +711,11 @@ $('.majorpointslegend').click(function(){
});
-{% if task.type == "remd" %}
+{% if task.type == "remd" or task.type == "dock" %}