Initial commit

This commit is contained in:
Benjamyn Love committed 2020-01-31 09:13:26 +11:00
commit f702e7a004
13 files changed
+382

No files matched your search

+57
View File
@@ -0,0 +1,57 @@
.sidebar {
background-color: #2a2a2a;
position: fixed;
top: 0px;
left: 0px;
width: 15em;
height: 100%;
border-right: 1px dashed black;
}
.navbutton {
text-align: center;
padding-left: 2px;
border-left: 1px solid dimgray;
border-right: 1px solid dimgray;
}
#navbar {
position: absolute;
bottom: 0;
}
.content {
padding-left: 16em;
padding-right: 1em;
padding-top: 6em;
width: 100%;
}
.header {
position: fixed;
top: 0px;
left: 15em;
width: 100%;
height: 5em;
background-color: #2a2a2a;
}
.std {
color: azure;
background-color: #2a2a2a;
}
.fixed{
position:fixed;
top:0px;
left: 15em;
width:100px;
}
#header {
border-top: 1px solid azure;
}
body {
background-color: slategray;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

+11
View File
@@ -0,0 +1,11 @@
function makeCall(btn) {
let makePost = new XMLHttpRequest();
postData = { "button": btn };
makePost.onreadystatechange = function () {
if (makePost.readyState === 4) {
document.getElementById("content").innerHTML = makePost.response;
}
}
makePost.open("POST", window.location.href, true);
makePost.send(JSON.stringify(postData));
}