X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjob_new.html;h=6f829d099a4a659e09f11f825d052331d03e9f79;hb=eb0c9af5b8eb444d8db3e8759d3a83e8c6d41ee1;hp=d5b7344f488da749afe80d7571e3495b0d115fd9;hpb=7c9392626226b7d859c5bc321ab15326fa1a17c6;p=qcg-portal.git diff --git a/qcg/templates/qcg/job_new.html b/qcg/templates/qcg/job_new.html index d5b7344..6f829d0 100644 --- a/qcg/templates/qcg/job_new.html +++ b/qcg/templates/qcg/job_new.html @@ -3,19 +3,77 @@ {% block extra_css %} - {% endblock %} {% block extra_js %} - - - + + {% include 'filex/source.js.html' %} {% endblock %} @@ -87,6 +128,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 +152,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" %} - {% include 'qcg/time_range_field.html' with field_name='wall_time' field=form.wall_time %} + {% 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" %} @@ -133,7 +176,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" %}#}
@@ -166,7 +209,7 @@ {% endfor %}
@@ -190,7 +233,7 @@ {% endfor %} @@ -217,7 +260,7 @@ {% endfor %} @@ -244,7 +287,7 @@ {% endfor %} @@ -279,4 +322,22 @@
+ + {% endblock %}