From 6ade73617ae6ed7668819817ddb121445820708e Mon Sep 17 00:00:00 2001 From: augustin64 Date: Fri, 12 Apr 2024 20:01:34 +0200 Subject: [PATCH] Make console resizable --- Flask/static/css/vnc-post.css | 17 +++++++++++++++++ Flask/templates/vnc_post.html | 12 ++++++------ 2 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 Flask/static/css/vnc-post.css diff --git a/Flask/static/css/vnc-post.css b/Flask/static/css/vnc-post.css new file mode 100644 index 0000000..6e22ed8 --- /dev/null +++ b/Flask/static/css/vnc-post.css @@ -0,0 +1,17 @@ +#console { + height: 100%; + width: 20%; + float: left; + resize: horizontal; + overflow: auto; +} + +#vnc-container { + height: 100%; + width: 80%; + float: left; +} + +.container { + height: 100%; +} \ No newline at end of file diff --git a/Flask/templates/vnc_post.html b/Flask/templates/vnc_post.html index 75dbaae..aaea0ac 100644 --- a/Flask/templates/vnc_post.html +++ b/Flask/templates/vnc_post.html @@ -6,19 +6,19 @@ {% if not current_user.is_authenticated %} {% else %} + -
- -
- -
+
+
+
+ width="100%" height="100%" frameborder="0"> +