From 6d82c2820b96757b933321d86b70e7ce23da447e Mon Sep 17 00:00:00 2001 From: Real-Gecko Date: Mon, 25 May 2020 17:32:36 +0600 Subject: [PATCH] Fix instance bottom bar overlapping main content --- instances/templates/bottom_bar.html | 31 +++++++++++++++++++++++++ instances/templates/instance.html | 36 ++++------------------------- static/css/webvirtcloud.css | 4 ++++ 3 files changed, 40 insertions(+), 31 deletions(-) create mode 100644 instances/templates/bottom_bar.html diff --git a/instances/templates/bottom_bar.html b/instances/templates/bottom_bar.html new file mode 100644 index 0000000..0678129 --- /dev/null +++ b/instances/templates/bottom_bar.html @@ -0,0 +1,31 @@ +{% load i18n %} + +
diff --git a/instances/templates/instance.html b/instances/templates/instance.html index f644e5a..a93dbf8 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -4,37 +4,6 @@ {% block title %}{% trans "Instance" %} - {{ vname }}{% endblock %} {% block content %} {% include 'pleasewaitdialog.html' %} - {% if bottom_bar %} - - {% endif %}
@@ -1690,6 +1659,11 @@
+ + {% if bottom_bar %} + {% include 'bottom_bar.html' %} + {% endif %} + {% endblock %} {% block script %} diff --git a/static/css/webvirtcloud.css b/static/css/webvirtcloud.css index 7789169..0bdbba5 100644 --- a/static/css/webvirtcloud.css +++ b/static/css/webvirtcloud.css @@ -150,4 +150,8 @@ p { .multipleselect-on { color:#ffffff; background-color:#000099; +} + +.bottom-bar-margin { + margin-top: 65px; } \ No newline at end of file