2015-03-20 08:46:24 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no" />
|
|
|
|
<title>Neue und verschwundene Knoten</title>
|
|
|
|
<style type="text/css">
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: 'Roboto Slab', serif;
|
|
|
|
font-size: 11pt;
|
|
|
|
}
|
|
|
|
|
2015-03-20 12:30:28 +00:00
|
|
|
#sidebarhandle {
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: sans;
|
2015-03-20 16:42:43 +00:00
|
|
|
font-size: 20pt;
|
2015-03-20 12:30:28 +00:00
|
|
|
position: absolute;
|
2015-03-20 22:18:14 +00:00
|
|
|
right: 1.0em;
|
|
|
|
top: 0.7em;
|
2015-03-20 12:30:28 +00:00
|
|
|
z-index: 10;
|
2015-03-20 22:18:14 +00:00
|
|
|
background: rgba(255, 255, 255, 0.7);
|
2015-03-20 16:42:43 +00:00
|
|
|
height: 1.8em;
|
|
|
|
width: 1.8em;
|
|
|
|
border-radius: 0.9em;
|
|
|
|
box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
|
2015-03-20 12:30:28 +00:00
|
|
|
text-align: center;
|
2015-03-20 16:42:43 +00:00
|
|
|
display: table;
|
|
|
|
transition: right 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar.hidden #sidebarhandle {
|
|
|
|
right: -2.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarhandle span {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-family: "ionicons";
|
|
|
|
transition: transform 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarhandle span:after {
|
2015-03-20 22:18:14 +00:00
|
|
|
content: "\f12a";
|
2015-03-20 16:42:43 +00:00
|
|
|
}
|
|
|
|
|
2015-03-20 22:18:14 +00:00
|
|
|
#sidebar.hidden #sidebarhandle span:after {
|
|
|
|
padding-left: 0.125em;
|
|
|
|
content: "\f125";
|
2015-03-20 12:30:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarhandle:hover {
|
2015-03-20 16:42:43 +00:00
|
|
|
background: white;
|
|
|
|
color: #dc0067;
|
2015-03-20 12:30:28 +00:00
|
|
|
}
|
|
|
|
|
2015-03-20 08:46:24 +00:00
|
|
|
.hostname {
|
|
|
|
}
|
|
|
|
|
|
|
|
.hostname.online {
|
2015-03-20 21:55:23 +00:00
|
|
|
color: #558020 !important;
|
2015-03-20 08:46:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.hostname.offline {
|
2015-03-20 21:55:23 +00:00
|
|
|
color: #D43E2A !important;
|
2015-03-20 08:46:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#map {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2015-03-20 12:30:28 +00:00
|
|
|
#sidebar {
|
2015-03-20 16:42:43 +00:00
|
|
|
z-index: 5;
|
|
|
|
width: 50em;
|
2015-03-20 12:30:28 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
2015-03-20 16:42:43 +00:00
|
|
|
box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
|
2015-03-20 12:30:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar.hidden {
|
2015-03-20 16:42:43 +00:00
|
|
|
position: relative;
|
|
|
|
margin-left: -50em;
|
2015-03-20 12:30:28 +00:00
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebardata {
|
2015-03-20 08:46:24 +00:00
|
|
|
overflow: auto;
|
|
|
|
padding: 0 1em 1em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebardata .icon {
|
2015-03-20 19:36:49 +00:00
|
|
|
padding: 0 0.25em;
|
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebardata, #map {
|
2015-03-20 08:46:24 +00:00
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebardata table {
|
2015-03-20 08:46:24 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebardata td:not(:first-child) {
|
2015-03-20 08:46:24 +00:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebardata a {
|
2015-03-20 21:55:23 +00:00
|
|
|
color: #1566A9;
|
|
|
|
}
|
|
|
|
|
2015-03-20 08:46:24 +00:00
|
|
|
#container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 80em) {
|
2015-03-20 12:30:28 +00:00
|
|
|
#sidebar {
|
2015-03-20 08:46:24 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 60em) {
|
|
|
|
#container {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebardata {
|
2015-03-20 12:30:28 +00:00
|
|
|
overflow: visible;
|
2015-03-20 16:42:43 +00:00
|
|
|
height: auto;
|
2015-03-20 12:30:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarhandle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-03-20 08:46:24 +00:00
|
|
|
#map {
|
|
|
|
height: 60vh;
|
|
|
|
}
|
|
|
|
|
2015-03-20 12:30:28 +00:00
|
|
|
#sidebar {
|
2015-03-20 16:42:43 +00:00
|
|
|
margin-left: 0em !important;
|
|
|
|
width: auto;
|
2015-03-20 08:46:24 +00:00
|
|
|
height: auto;
|
|
|
|
}
|
2015-03-20 12:30:28 +00:00
|
|
|
|
|
|
|
#sidebar.hidden {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2015-03-21 08:48:25 +00:00
|
|
|
#sidebar.hidden #sidebardata {
|
2015-03-20 12:30:28 +00:00
|
|
|
display: block;
|
|
|
|
}
|
2015-03-20 08:46:24 +00:00
|
|
|
}
|
|
|
|
</style>
|
2015-03-20 14:03:15 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css">
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab">
|
|
|
|
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css">
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/0.6.3/chroma.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
|
2015-03-20 13:01:25 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.min.js"></script>
|
2015-03-20 08:46:24 +00:00
|
|
|
<script src="history.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
|
|
|
<div id="map">
|
|
|
|
</div>
|
2015-03-20 12:30:28 +00:00
|
|
|
<div id="sidebar">
|
|
|
|
<div id="sidebarhandle">
|
2015-03-20 16:42:43 +00:00
|
|
|
<span></span>
|
2015-03-20 12:30:28 +00:00
|
|
|
</div>
|
2015-03-21 08:48:25 +00:00
|
|
|
<div id="sidebardata">
|
2015-03-20 12:30:28 +00:00
|
|
|
<p>
|
|
|
|
Zeigt Knoten an, die in den letzten 14 Tagen dazu gekommen oder verschwunden sind.
|
|
|
|
Funktioniert nur in wirklich modernen Browsern.
|
|
|
|
</p>
|
|
|
|
|
2015-03-21 09:40:58 +00:00
|
|
|
<h2>Meshdaten</h2>
|
|
|
|
<p id="meshstats">
|
|
|
|
</p>
|
|
|
|
|
2015-03-20 12:30:28 +00:00
|
|
|
<h2>Neue Knoten</h2>
|
|
|
|
<table>
|
|
|
|
<tbody id="newnodes">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2>Verschwundene Knoten</h2>
|
|
|
|
<table>
|
|
|
|
<tbody id="lostnodes">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-03-20 19:08:28 +00:00
|
|
|
|
|
|
|
<h2>Längste Verbindungen</h2>
|
|
|
|
<table>
|
|
|
|
<tbody id="longlinks">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-03-20 12:30:28 +00:00
|
|
|
</div>
|
2015-03-20 08:46:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|