summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-06-09 17:24:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-06-09 17:24:59 +0000
commitf96012fae9a106228ad80671a8c66476834a50db (patch)
tree530cb98a14268da5710b21b070b21e1428b8a5e9 /src/templates
parent945bfa360ed4c30f8a9b684dd49441afeeb4c9c1 (diff)
parent1fec02fd0a4d7af8a89beb91d8d751a23e5086e0 (diff)
Merge "Allow not setting image for multi-node pods"
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()