summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-08-01 21:16:57 +0000
committerIan C <ianc@noddybox.co.uk>2018-08-01 21:16:57 +0000
commit6fd82c0ff0b8ab230cd2bbf8efa0d4bbc088e3e8 (patch)
treefafba874216ae8137ae115c32e6d6ba114324355 /www
parent17983d86e1b905f8ae4ca46d0b59939bb7eed957 (diff)
Made header a fixed div.
Diffstat (limited to 'www')
-rw-r--r--www/css/main.css24
-rw-r--r--www/index.html3
-rw-r--r--www/scripts/main.js1
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 @@
</head>
<body>
+<div class="header">
<table>
<tr>
<td class="headertext">Passphrase:</td>
@@ -54,8 +55,8 @@
</td>
</tr>
</table>
-
<hr>
+</div>
<table id="DataTable" class="datatable"></table>
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 = "";
}
}