aboutsummaryrefslogtreecommitdiff
path: root/lava_scheduler_app/templates/lava_scheduler_app/job_submit.html
diff options
context:
space:
mode:
authorGeorgy Redkozubov <georgy.redkozubov@linaro.org>2014-08-26 12:45:17 +0400
committerLinaro Code Review <review@review.linaro.org>2014-08-28 08:27:32 +0000
commite2a928f86b27eb65c8f0c7a746fca6ff642726dd (patch)
tree663c5bd44ca0e40605da099e42177bbab82da52c /lava_scheduler_app/templates/lava_scheduler_app/job_submit.html
parentc182225ac3f738e081687941d0092ca310014cc3 (diff)
Add ability to validate JSON job definition manually.
Add busy indicator while validating JSON job definition. Change-Id: I75d68305334d3adc1fbb3e7d0d8d387401d2c960
Diffstat (limited to 'lava_scheduler_app/templates/lava_scheduler_app/job_submit.html')
-rw-r--r--lava_scheduler_app/templates/lava_scheduler_app/job_submit.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/lava_scheduler_app/templates/lava_scheduler_app/job_submit.html b/lava_scheduler_app/templates/lava_scheduler_app/job_submit.html
index 084a05a76..10460e4a7 100644
--- a/lava_scheduler_app/templates/lava_scheduler_app/job_submit.html
+++ b/lava_scheduler_app/templates/lava_scheduler_app/job_submit.html
@@ -50,7 +50,10 @@
<form action="" method="post">
{% csrf_token %}
+ <div>
<textarea id="json-input" name="json-input" placeholder="Enter your job definition or link to a job definition here.">{{ json_input }}</textarea>
+ <div id="busyIndicator"></div>
+ <div>
<div id="json-valid-container">
</div>
<div>
@@ -59,6 +62,7 @@
</div>
<div id="submit-container">
<input type="hidden" name="is_resubmit" value="true">
+ <button class="btn btn-primary" id="validate" type="button">Validate</button>
<button class="btn btn-success" id="submit" type="submit" value="Submit">Submit</button>
</div>
</form>