diff options
author | Brandon Lo <lobrandon1217@gmail.com> | 2019-07-01 15:29:07 -0400 |
---|---|---|
committer | Brandon Lo <lobrandon1217@gmail.com> | 2019-07-02 09:43:53 -0400 |
commit | 661a309cdd609d514abf4b8f8d9c98021b6b9759 (patch) | |
tree | 6e23ab9b18d6c7ac49bd8e52f479468352642f18 /src/templates/workflow/viewport-element.html | |
parent | 8149a888fe6f7c1c3b1b3be2b3996c6d225d5a53 (diff) |
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 <lobrandon1217@gmail.com>
Diffstat (limited to 'src/templates/workflow/viewport-element.html')
-rw-r--r-- | src/templates/workflow/viewport-element.html | 12 |
1 files changed, 3 insertions, 9 deletions
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 %} - <div id="wrapper" class="h-100"> - <!-- Page Content --> - <div id="page-wrapper" class="h-100"> - {% block content %} - {% endblock content %} - </div> - </div> + {% block content %} + {% endblock content %} {% block vport_comm %} <script type="text/javascript"> var step_count = {{ step_number|default:0 }}; @@ -49,7 +43,7 @@ {% endblock validate_step %} <script> - function step_on_leave() { + step_on_leave = function() { {% block onleave %} alert("override onleave"); {% endblock %} |