X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjob_new.html;h=eb3d9736deadc28137ade419a4eacfd2e122e912;hb=73e8a4e152c693adff71a4252d8e623419be31c7;hp=ad5652f7a82e2bd7b3b66643ceeb9daa1a483e59;hpb=cc336624de8fa227d247f0e71bd24f829802deb6;p=qcg-portal.git diff --git a/qcg/templates/qcg/job_new.html b/qcg/templates/qcg/job_new.html index ad5652f..eb3d973 100644 --- a/qcg/templates/qcg/job_new.html +++ b/qcg/templates/qcg/job_new.html @@ -3,19 +3,35 @@ {% block extra_css %} - {% endblock %} {% block extra_js %} - - - + + {% include 'filex/source.js.html' %} {% endblock %} @@ -87,6 +86,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 %} @@ -103,28 +110,22 @@
{% 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" %} {% bootstrap_field form.procs layout="horizontal" %} {% bootstrap_field form.nodes layout="horizontal" form_group_class="form-group collapse" %} - {% bootstrap_field form.wall_time layout="horizontal" %} + {% bootstrap_field form.wall_time layout="horizontal" form_group_class="form-group timerange" %} {% bootstrap_field form.memory layout="horizontal" form_group_class="form-group collapse" %} {% bootstrap_field form.memory_per_slot layout="horizontal" form_group_class="form-group collapse" %} {% bootstrap_field form.reservation layout="horizontal" form_group_class="form-group collapse" %} @@ -166,7 +167,7 @@ {% endfor %}
@@ -190,7 +191,7 @@ {% endfor %} @@ -217,7 +218,7 @@ {% endfor %} @@ -244,7 +245,7 @@ {% endfor %} @@ -279,4 +280,18 @@
+ + {% endblock %}