summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
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()