X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=django_simple%2Ftodo%2Ftemplates%2Fdetails.html;h=9fd9a036e9bde2cd2f25831955d43241a76d3e70;hb=4c5318f2d2b714d84576c5493f9678122d6875a2;hp=28e640ea35bd009baa2bbc2fd6dfaba3c9758618;hpb=6a2764586c4c00b5c0cba0c27385b5531795b376;p=django_unres.git diff --git a/django_simple/todo/templates/details.html b/django_simple/todo/templates/details.html index 28e640e..9fd9a03 100644 --- a/django_simple/todo/templates/details.html +++ b/django_simple/todo/templates/details.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" %}
@@ -60,6 +61,9 @@ Created {{ task.created_date }} {{ task.running }}% + {% if task.running == 100 %} + postprocessing + {% endif %} {% else %} {% endif %} @@ -77,6 +81,12 @@ Created {{ task.created_date }}
type
{{ task.type }}
+ +
  • +
    pbsjob
    +
    {{ task.pbsjob }}
    +
  • +
  • force field
    @@ -253,6 +263,10 @@ Created {{ task.created_date }}
    pdb code2
    {{ task.pdbcode2 }}
  • +
  • +
    dock_peptide
    +
    {{ task.dock_peptide }}
    +
  • {% endif %}
  • @@ -369,6 +383,12 @@ Created {{ task.created_date }} {{ task.jobdirname }} + {% if task.done %} +   + + Download as zip + {% endif %}
  • @@ -617,188 +637,45 @@ Created {{ task.created_date }} - + + {% for iii in "12345" %} + + {% 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 - {% if not task.damino %} - after conversion to allatom - {% endif %} - {{ task.remd_model1|linebreaks }} - NGL viewer
    -
    -
    -
  • -
  • -
    - {% if task.md_pdbref %} - - {% endif %} - - Download -
    -
  • - -
    -
    - -
  • -
    model2 - {% if not task.damino %} - after conversion to allatom - {% endif %} - {{ task.remd_model2|linebreaks }} - NGL viewer
    -
    -
    -
  • -
  • -
    - {% if task.md_pdbref %} - - {% endif %} - - Download -
    -
  • - - -
    -
    - -
  • -
    model3 - {% if not task.damino %} - after conversion to allatom - {% endif %} - {{ task.remd_model3|linebreaks }} - NGL viewer
    -
    -
    -
  • -
  • -
    - {% if task.md_pdbref %} - - {% endif %} - - Download -
    -
  • - -
    -
    - -
  • -
    model4 - {% if not task.damino %} - after conversion to allatom - {% endif %} - {{ task.remd_model4|linebreaks }} - NGL viewer
    -
    -
    -
  • -
  • -
    - {% if task.md_pdbref %} - - {% endif %} - - Download -
    -
  • - -
    -
    -
  • -
    model5 +
    model {{ iii }} {% if not task.damino %} after conversion to allatom {% endif %} - {{ task.remd_model5|linebreaks }} + {{ remd_models|index:forloop.counter|linebreaks }} NGL viewer
    -
  • {% if task.md_pdbref %} - + {% endif %} - + Download + href="/myfiles/download-file/{{task.jobdirname}}/{{MODELi}}">Download
  • -
    + {% endwith %} + {% endwith %} + {% endwith %} + {% endwith %} + {% endwith %} + {% endfor %} + {% endif %} {% endif %} @@ -821,8 +698,9 @@ $('.majorpointslegend').click(function(){ {% if task.type == "remd" or task.type == "dock" %}