aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-06-03 13:05:29 -0400
committerSawyer Bergeron <sbergeron@iol.unh.edu>2020-06-04 15:49:23 -0400
commit1fec02fd0a4d7af8a89beb91d8d751a23e5086e0 (patch)
tree628204d724fad0eeb7711029a329ca30fd5dedfd /src/templates
parent530271c247a4ce538e3aa69fd3893481fada44ab (diff)
Allow not setting image for multi-node pods
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ieee0802291901b4b14d756781fb2182bff9afae6 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/akraino/booking/quick_deploy.html8
-rw-r--r--src/templates/base/booking/quick_deploy.html2
2 files changed, 10 insertions, 0 deletions
diff --git a/src/templates/akraino/booking/quick_deploy.html b/src/templates/akraino/booking/quick_deploy.html
index 80354d9..af9b3d3 100644
--- a/src/templates/akraino/booking/quick_deploy.html
+++ b/src/templates/akraino/booking/quick_deploy.html
@@ -17,3 +17,11 @@
</div>
</div>
{% endblock collab %}
+
+{% block image_script %}
+ <script type="text/javascript">
+ document.getElementById("id_image").disabled = true;
+ document.getElementById("id_image").style.display = 'none';
+ document.getElementById("id_image").previousElementSibling.style.display = 'none';
+ </script>
+{% endblock image_script %}
diff --git a/src/templates/base/booking/quick_deploy.html b/src/templates/base/booking/quick_deploy.html
index 70b9869..e4b9431 100644
--- a/src/templates/base/booking/quick_deploy.html
+++ b/src/templates/base/booking/quick_deploy.html
@@ -55,6 +55,8 @@
</div>
</div>
</form>
+{% block image_script %}
+{% endblock image_script %}
<script type="text/javascript">
function submit_form()