meshviewer/history.html

306 lines
7.1 KiB
HTML
Raw Normal View History

2015-03-20 08:46:24 +00:00
<!DOCTYPE html>
<html>
<head>
2015-03-21 23:08:26 +00:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
2015-03-20 08:46:24 +00:00
<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-22 19:23:57 +00:00
th.sort-header::selection {
background: transparent;
}
th.sort-header {
cursor: pointer;
}
table th.sort-header:after {
font-family: "ionicons";
padding-left: 0.25em;
content: '\f10d';
visibility: hidden;
}
table th.sort-header:hover:after {
visibility: visible;
}
table th.sort-up:after, table th.sort-down:after, table th.sort-down:hover:after {
visibility: visible;
opacity: 0.4;
}
table th.sort-up:after {
content: '\f104';
}
2015-03-22 10:19:30 +00:00
table.attributes {
width: auto !important;
}
table.attributes th {
text-align: left;
font-weight: bold;
vertical-align: top;
padding-right: 1em;
white-space: nowrap;
}
table.attributes td {
text-align: left !important;
}
2015-03-22 15:20:12 +00:00
#infobox .clients {
2015-03-22 10:19:30 +00:00
font-family: "ionicons";
color: #1566A9;
word-spacing: -0.2em;
}
2015-03-22 15:20:12 +00:00
#infobox {
2015-03-21 15:32:17 +00:00
position: relative;
box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
background: rgba(0, 0, 0, 0.02);
2015-03-22 10:19:30 +00:00
padding: 0.25em 0;
2015-03-21 15:32:17 +00:00
}
2015-03-22 15:20:12 +00:00
#infobox.hidden {
2015-03-21 15:32:17 +00:00
display: none;
}
button {
2015-03-21 18:14:06 +00:00
-webkit-tap-highlight-color: transparent;
2015-03-21 15:32:17 +00:00
font-family: "ionicons";
2015-03-21 17:05:45 +00:00
box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
2015-03-21 15:32:17 +00:00
border-radius: 0.9em;
background: rgba(255, 255, 255, 0.7);
border: none;
cursor: pointer;
height: 1.8em;
width: 1.8em;
font-size: 20pt;
2015-03-21 17:05:45 +00:00
transition: box-shadow 0.5s, color 0.5s;
outline: none;
2015-03-21 15:32:17 +00:00
}
button:hover {
2015-03-21 17:05:45 +00:00
background: white;
2015-03-21 15:32:17 +00:00
color: #dc0067;
2015-03-21 17:05:45 +00:00
box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
}
button:active {
box-shadow: inset 0px 5px 20px rgba(0, 0, 0, 0.19), inset 0px 3px 6px rgba(0, 0, 0, 0.23);
2015-03-21 15:32:17 +00:00
}
button.close {
position: absolute;
right: 0.7em;
top: 0.7em;
}
button.close:after {
content: "\f12a";
}
2015-03-22 10:19:30 +00:00
#sidebar h2, #sidebar h3 {
2015-03-21 15:32:17 +00:00
padding: 0 10pt;
}
2015-03-22 10:19:30 +00:00
#sidebar p, #sidebar table, #sidebar pre, #sidebar ul {
2015-03-21 15:32:17 +00:00
padding: 0 10pt 1em;
}
2015-03-20 12:30:28 +00:00
#sidebarhandle {
position: absolute;
right: -2.5em;
top: 0.7em;
2015-03-20 12:30:28 +00:00
z-index: 10;
2015-03-21 17:05:45 +00:00
transition: right 0.5s, box-shadow 0.5s, color 0.5s, transform 0.5s;
2015-03-20 16:42:43 +00:00
}
2015-03-21 17:05:45 +00:00
#sidebarhandle:after {
padding-right: 0.125em;
content: "\f124";
2015-03-20 16:42:43 +00:00
}
2015-03-21 17:05:45 +00:00
#sidebar.hidden #sidebarhandle {
transform: scale(-1, 1);
2015-03-20 12:30:28 +00:00
}
2015-03-20 08:46:24 +00:00
.hostname {
}
2015-03-22 10:19:30 +00:00
.online {
2015-03-20 21:55:23 +00:00
color: #558020 !important;
2015-03-20 08:46:24 +00:00
}
2015-03-22 10:19:30 +00:00
.offline {
2015-03-20 21:55:23 +00:00
color: #D43E2A !important;
2015-03-20 08:46:24 +00:00
}
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;
2015-03-21 18:08:51 +00:00
position: absolute;
top: 0;
left: 0;
background: white;
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-21 18:08:51 +00:00
transition: left 0.5s;
2015-03-20 12:30:28 +00:00
}
#sidebar.hidden {
2015-03-21 18:08:51 +00:00
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;
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-22 19:23:57 +00:00
#sidebardata table th {
text-align: left;
}
#sidebardata td:not(:first-child), #sidebardata th: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-22 10:19:30 +00:00
.bar {
display: inline-block;
width: 100%;
height: 1.4em;
background: rgba(85, 128, 32, 0.5);
position: relative;
}
.bar span {
display: inline-block;
height: 1.4em;
background: rgba(85, 128, 32, 0.8);
}
.bar label {
font-weight: bold;
white-space: nowrap;
color: white;
position: absolute;
right: 0.5em;
}
2015-03-20 08:46:24 +00:00
@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) {
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-21 18:08:51 +00:00
position: static;
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">
2015-03-21 23:58:19 +00:00
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab:700,400">
2015-03-20 14:03:15 +00:00
<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">
2015-03-22 10:00:06 +00:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.27.1/es6-shim.min.js"></script>
2015-03-20 14:03:15 +00:00
<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-with-locales.min.js"></script>
2015-03-20 14:03:15 +00:00
<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-22 19:23:57 +00:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/tablesort/3.0.2/tablesort.min.js"></script>
<script src="vendor/tablesort.numeric.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">
2015-03-21 17:05:45 +00:00
<button id="sidebarhandle">
</button>
2015-03-21 08:48:25 +00:00
<div id="sidebardata">
2015-03-22 15:20:12 +00:00
<div id="infobox" class="hidden">
2015-03-21 15:32:17 +00:00
</div>
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
2015-03-22 18:43:28 +00:00
<h2>Verbindungen</h2>
2015-03-20 19:08:28 +00:00
<table>
2015-03-22 18:43:28 +00:00
<tbody id="links">
2015-03-20 19:08:28 +00:00
</tbody>
</table>
2015-03-20 12:30:28 +00:00
</div>
2015-03-20 08:46:24 +00:00
</div>
</div>
</body>
</html>