X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjob_new.html;h=966c5d293e8c16418aafe698b68dc282e4d30e25;hb=5456abffdf1fee64a216e7a8a6d09ba3fd01b3bd;hp=79297498303017725fc1fc002ee8ab7edf4101d8;hpb=d0c4e22c88d0509418e5dbb092d6cfda5bbb81ae;p=qcg-portal.git diff --git a/qcg/templates/qcg/job_new.html b/qcg/templates/qcg/job_new.html index 7929749..966c5d2 100644 --- a/qcg/templates/qcg/job_new.html +++ b/qcg/templates/qcg/job_new.html @@ -9,8 +9,74 @@ + {% include 'filex/source.js.html' %} + {% endblock %} @@ -78,6 +132,14 @@ {% block container %}

{% block title %}Zleć zadanie{% endblock %}

+ {% if errors %} +
+ Uwaga! Formularz zawiera błędy. + {{ form.non_field_errors }} + {{ env_formset.non_field_errors }} +
+ {% endif %} +
{% csrf_token %} @@ -94,22 +156,16 @@
{% bootstrap_field form.application layout="horizontal" %} -
-
- {# TODO grid ftp #} - wybierz plik główny » -
-
- + {% bootstrap_field form.master_file layout="horizontal" %} {% bootstrap_field form.executable layout="horizontal" form_group_class="form-group collapse" %} {% bootstrap_field form.script layout="horizontal" form_group_class="form-group collapse" %} {% bootstrap_field form.arguments layout="horizontal" %} {% bootstrap_field form.note layout="horizontal" %} - {% bootstrap_field form.grant layout="horizontal" %} + {% bootstrap_field form.grant layout="horizontal" form_group_class="form-group collapse" %}
- {% bootstrap_field form.host layout="horizontal" %} + {% bootstrap_field form.hosts layout="horizontal" %} {% bootstrap_field form.queue layout="horizontal" %} {% bootstrap_field form.properties layout="horizontal" form_group_class="form-group collapse" %} {% bootstrap_field form.modules layout="horizontal" form_group_class="form-group collapse" %} @@ -124,7 +180,7 @@
{% bootstrap_field form.input layout="horizontal" %} {% bootstrap_field form.stage_in layout="horizontal" %} - {% bootstrap_field form.stage_out layout="horizontal" form_group_class="form-group collapse" %} +{# {% bootstrap_field form.stage_out layout="horizontal" form_group_class="form-group collapse" %}#}
@@ -157,7 +213,7 @@ {% endfor %}
@@ -181,7 +237,7 @@ {% endfor %} @@ -208,7 +264,7 @@ {% endfor %} @@ -235,7 +291,7 @@ {% endfor %} @@ -270,4 +326,22 @@
+ + {% endblock %}