From 7fec796ae500313ddbbbedf32d4f7581985d41d4 Mon Sep 17 00:00:00 2001 From: Brandon Lo Date: Thu, 27 Jun 2019 15:43:55 -0400 Subject: Replace and change CSS Fix animation bugs Fix layout issues Replace custom CSS to bootstrap classes Remove unused files Change code to use es6 syntax Add dropdown styles Change-Id: Ie2ed31fa2e6763cf30d3b19e4bf9379019cbb0f5 Signed-off-by: Brandon Lo --- src/templates/resource/steps/meta_info.html | 26 +------ src/templates/resource/steps/pod_definition.html | 98 +++++------------------- 2 files changed, 23 insertions(+), 101 deletions(-) (limited to 'src/templates/resource/steps') diff --git a/src/templates/resource/steps/meta_info.html b/src/templates/resource/steps/meta_info.html index cebd343..62230dc 100644 --- a/src/templates/resource/steps/meta_info.html +++ b/src/templates/resource/steps/meta_info.html @@ -5,32 +5,10 @@ {% block content %} - -
{% csrf_token %} - - {{form}} +
+ {% bootstrap_form form field_class="px-4" label_class="px-4 mt-2" %}
{% endblock content %} diff --git a/src/templates/resource/steps/pod_definition.html b/src/templates/resource/steps/pod_definition.html index 5826ccb..1558780 100644 --- a/src/templates/resource/steps/pod_definition.html +++ b/src/templates/resource/steps/pod_definition.html @@ -13,85 +13,29 @@ {% block content %} -
-
+
+
+
+
+
+
+
+ +
- - -
-
- - -
-
-
- - - -
-
- +
+
+ +
+
+
+ +
+
    +
+
-
    -
-
{% csrf_token %} @@ -114,7 +58,7 @@ {% for host in hosts %} hosts.push({{host|safe}}); {% endfor %} - + let added_hosts = []; {% for host in added_hosts %} added_hosts.push({{host|safe}}); -- cgit 1.2.3-korg