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;
|
|
|
|
font-size: 18pt;
|
|
|
|
position: absolute;
|
|
|
|
right: -1.4em;
|
|
|
|
top: 2em;
|
|
|
|
z-index: 10;
|
|
|
|
background: rgba(255, 255, 255, 0.6);
|
|
|
|
width: 1.5em;
|
|
|
|
padding: 0.25em 0;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 0 0.5em 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarhandle:hover {
|
|
|
|
background: rgba(255, 255, 255, 1);
|
|
|
|
}
|
|
|
|
|
2015-03-20 08:46:24 +00:00
|
|
|
.hostname {
|
|
|
|
}
|
|
|
|
|
|
|
|
.hostname.online {
|
2015-03-20 13:01:25 +00:00
|
|
|
color: #558020;
|
2015-03-20 08:46:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.hostname.offline {
|
2015-03-20 13:01:25 +00:00
|
|
|
color: #D43E2A;
|
2015-03-20 08:46:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#map {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2015-03-20 12:30:28 +00:00
|
|
|
#sidebar {
|
2015-03-20 08:46:24 +00:00
|
|
|
max-width: 50em;
|
2015-03-20 12:30:28 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar.hidden {
|
|
|
|
width: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar.hidden #lists {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lists {
|
2015-03-20 08:46:24 +00:00
|
|
|
overflow: auto;
|
|
|
|
padding: 0 1em 1em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lists, #map {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lists table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lists td:nth-child(2) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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
|
|
|
max-width: 50vw;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 60em) {
|
|
|
|
#container {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2015-03-20 12:30:28 +00:00
|
|
|
#lists {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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 08:46:24 +00:00
|
|
|
max-width: none;
|
|
|
|
height: auto;
|
|
|
|
}
|
2015-03-20 12:30:28 +00:00
|
|
|
|
|
|
|
#sidebar.hidden {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar.hidden #lists {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-03-20 08:46:24 +00:00
|
|
|
}
|
|
|
|
</style>
|
2015-03-20 13:01:25 +00:00
|
|
|
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css">
|
2015-03-20 08:46:24 +00:00
|
|
|
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
|
2015-03-20 13:01:25 +00:00
|
|
|
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css">
|
|
|
|
<link href='https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css' rel='stylesheet' type='text/css'>
|
2015-03-20 08:46:24 +00:00
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js"></script>
|
|
|
|
<script src="http://cdn.leafletjs.com/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">
|
|
|
|
✕
|
|
|
|
</div>
|
|
|
|
<div id="lists">
|
|
|
|
<p>
|
|
|
|
Zeigt Knoten an, die in den letzten 14 Tagen dazu gekommen oder verschwunden sind.
|
|
|
|
Funktioniert nur in wirklich modernen Browsern.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<h2>Neue Knoten</h2>
|
|
|
|
<table>
|
|
|
|
<tbody id="newnodes">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2>Verschwundene Knoten</h2>
|
|
|
|
<table>
|
|
|
|
<tbody id="lostnodes">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-03-20 08:46:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|