add nodejs express project with basic navigation

This commit is contained in:
Tim Wundenberg
2021-07-28 11:42:39 +02:00
parent 25f02ed8a5
commit b3ba65db5a
17 changed files with 1167 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
module.exports = {
title: 'PointCloudWeb'
};

View File

@@ -0,0 +1,9 @@
function onClickMain() {
window.location.href = "/";
}
function onClickScanner() {
window.location.href = "/scanner";
}
function onClickMap() {
window.location.href = "/map";
}

View File

@@ -0,0 +1,52 @@
* {
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
}
body {
font-size: 15px;
padding: 0;
margin: 0;
}
a {
color: #00B7FF;
}
.content {
padding: 50px;
}
.navbar {
padding: 10px;
height: 2em;
border-bottom: 1px solid rgb(161, 161, 161);
color: rgb(145, 145, 145);
}
.navbar h1 {
font-size: 2em;
display: inline;
}
.navbar div {
float: right;
}
.navbar button {
display: inline;
width: 100px;
height: 2em;
margin-left: 5px;
border-top: 0px;
border-bottom: 0px;
border-left: 0px;
border-right: 0px;
background: none;
cursor: pointer;
color: inherit;
font-size: inherit;
}
#navbar-caption {
font-size: 2em;
height: auto;
}