From 661a309cdd609d514abf4b8f8d9c98021b6b9759 Mon Sep 17 00:00:00 2001 From: Brandon Lo Date: Mon, 1 Jul 2019 15:29:07 -0400 Subject: Reduce forms to required content Change iframe to div and ajax as a workaround Add css and js to avoid errors in parent locations Change-Id: I22a17ad5e5e04ff7112bd4e6ed98ba63d150fc15 Signed-off-by: Brandon Lo --- src/templates/workflow/viewport-base.html | 27 ++++++++++++++------------- src/templates/workflow/viewport-element.html | 12 +++--------- 2 files changed, 17 insertions(+), 22 deletions(-) (limited to 'src/templates/workflow') diff --git a/src/templates/workflow/viewport-base.html b/src/templates/workflow/viewport-base.html index d219386..ed367c7 100644 --- a/src/templates/workflow/viewport-base.html +++ b/src/templates/workflow/viewport-base.html @@ -80,14 +80,13 @@
- +
{% csrf_token %} - +
diff --git a/src/templates/workflow/viewport-element.html b/src/templates/workflow/viewport-element.html index b87013a..2c917e1 100644 --- a/src/templates/workflow/viewport-element.html +++ b/src/templates/workflow/viewport-element.html @@ -1,16 +1,10 @@ -{% extends "layout.html" %} {% load bootstrap4 %} {% load staticfiles %} {% block basecontent %} -
- -
- {% block content %} - {% endblock content %} -
-
+ {% block content %} + {% endblock content %} {% block vport_comm %}