diff --git a/templates/repo/cloudbrain/new.tmpl b/templates/repo/cloudbrain/new.tmpl index 8b8f23c4c..409ae01bb 100755 --- a/templates/repo/cloudbrain/new.tmpl +++ b/templates/repo/cloudbrain/new.tmpl @@ -80,6 +80,10 @@ -webkit-transform: scaleY(1.0); } } + + .inline.required.field.cloudbrain_benchmark { + display: none; + }
@@ -110,25 +114,30 @@
- +
+ {{range .images}} + + {{end}} +
+
+ {{range .attachments}} + + {{end}} +
+
@@ -141,7 +150,7 @@
-
+
@@ -175,4 +184,17 @@ document.getElementById("mask").style.display = "none" } } + + $('select.dropdown') + .dropdown(); + + $(function() { + $("#cloudbrain_job_type").change(function() { + if ($(this).val() == 'BENCHMARK') { + $(".cloudbrain_benchmark").show(); + } else { + $(".cloudbrain_benchmark").hide(); + } + }) + }) \ No newline at end of file