From 6fd82c0ff0b8ab230cd2bbf8efa0d4bbc088e3e8 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 1 Aug 2018 21:16:57 +0000 Subject: Made header a fixed div. --- www/css/main.css | 24 +++++++++++++++++------- www/index.html | 3 ++- www/scripts/main.js | 1 + 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/www/css/main.css b/www/css/main.css index e1420c6..1bc30bc 100644 --- a/www/css/main.css +++ b/www/css/main.css @@ -1,7 +1,23 @@ body { font-family: sans-serif; - font-size: large; +} + +div.header +{ + position: fixed; + top: 0; + width: 100%; + background: white; + height: 150px; +} + +table.datatable +{ + margin-top: 150px; + width: 100%; + max-width: 1000px; + z-index: -10; } .smalltext @@ -69,11 +85,5 @@ td.commands max-width: 100px; } -table.datatable -{ - width: 100%; - max-width: 1000px; -} - /* vim: sw=4 ts=4 */ diff --git a/www/index.html b/www/index.html index ce53bb4..00098aa 100644 --- a/www/index.html +++ b/www/index.html @@ -13,6 +13,7 @@ +
@@ -54,8 +55,8 @@
Passphrase:
-
+
diff --git a/www/scripts/main.js b/www/scripts/main.js index 53027aa..3023ec6 100644 --- a/www/scripts/main.js +++ b/www/scripts/main.js @@ -515,6 +515,7 @@ function DoChangePassphrase() ); } + document.getElementById("PassPhrase").value = newphrase; document.getElementById("NewPassPhrase").value = ""; } } -- cgit v1.2.3