hopglass/index.html

316 lines
7.1 KiB
HTML
Raw Normal View History

2015-03-20 09:46:24 +01:00
<!DOCTYPE html>
<html>
<head>
2015-03-22 00:08:26 +01:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
2015-03-20 09:46:24 +01:00
<style type="text/css">
2015-03-25 02:14:56 +01:00
.stroke-first {
paint-order: stroke;
}
2015-03-26 00:33:11 +01:00
.tabs {
list-style: none;
display: flex;
}
.tabs li {
flex: 1;
text-align: center;
padding: 0.5em;
cursor: pointer;
}
.tabs li:hover {
background: rgba(0, 0, 0, 0.03);
color: #dc0067;
}
.tabs .visible {
font-weight: bold;
border-bottom: 2pt solid black;
}
.tab {
display: none;
}
.tab.visible {
display: block;
}
2015-03-20 09:46:24 +01:00
body {
margin: 0;
padding: 0;
font-family: 'Roboto Slab', serif;
font-size: 11pt;
}
2015-03-22 20:23:57 +01: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 11:19:30 +01: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-23 13:23:12 +01:00
.infobox .clients {
2015-03-22 11:19:30 +01:00
font-family: "ionicons";
color: #1566A9;
word-spacing: -0.2em;
}
2015-03-23 13:23:12 +01:00
.infobox {
2015-03-21 16:32:17 +01: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 11:19:30 +01:00
padding: 0.25em 0;
2015-03-21 16:32:17 +01:00
}
button {
2015-03-21 19:14:06 +01:00
-webkit-tap-highlight-color: transparent;
2015-03-21 16:32:17 +01:00
font-family: "ionicons";
2015-03-21 18:05:45 +01: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 16:32:17 +01: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 18:05:45 +01:00
transition: box-shadow 0.5s, color 0.5s;
outline: none;
2015-03-21 16:32:17 +01:00
}
button:hover {
2015-03-21 18:05:45 +01:00
background: white;
2015-03-21 16:32:17 +01:00
color: #dc0067;
2015-03-21 18:05:45 +01: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 16:32:17 +01:00
}
button.close {
position: absolute;
right: 0.7em;
top: 0.7em;
}
button.close:after {
content: "\f12a";
}
2015-03-23 13:36:35 +01:00
.sidebar h2, .sidebar h3 {
2015-03-21 16:32:17 +01:00
padding: 0 10pt;
}
2015-03-23 13:36:35 +01:00
.sidebar p, .sidebar table, .sidebar pre, .sidebar ul {
2015-03-21 16:32:17 +01:00
padding: 0 10pt 1em;
}
2015-03-23 13:36:35 +01:00
.sidebarhandle {
2015-03-20 13:30:28 +01:00
position: absolute;
right: -2.5em;
top: 0.7em;
2015-03-20 13:30:28 +01:00
z-index: 10;
2015-03-21 18:05:45 +01:00
transition: right 0.5s, box-shadow 0.5s, color 0.5s, transform 0.5s;
2015-03-20 17:42:43 +01:00
}
2015-03-23 13:36:35 +01:00
.sidebarhandle:after {
padding-right: 0.125em;
content: "\f124";
2015-03-20 17:42:43 +01:00
}
2015-03-23 13:36:35 +01:00
.sidebar.hidden .sidebarhandle {
2015-03-21 18:05:45 +01:00
transform: scale(-1, 1);
2015-03-20 13:30:28 +01:00
}
2015-03-20 09:46:24 +01:00
.hostname {
}
2015-03-22 11:19:30 +01:00
.online {
2015-03-20 22:55:23 +01:00
color: #558020 !important;
2015-03-20 09:46:24 +01:00
}
2015-03-22 11:19:30 +01:00
.offline {
2015-03-20 22:55:23 +01:00
color: #D43E2A !important;
2015-03-20 09:46:24 +01:00
}
2015-03-23 13:36:35 +01:00
.sidebar {
2015-03-20 17:42:43 +01:00
z-index: 5;
2015-03-24 15:53:12 +01:00
width: 40em;
2015-03-20 13:30:28 +01:00
box-sizing: border-box;
2015-03-21 19:08:51 +01:00
position: absolute;
top: 0;
left: 0;
background: white;
2015-03-20 17:42:43 +01:00
box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
2015-03-21 19:08:51 +01:00
transition: left 0.5s;
2015-03-20 13:30:28 +01:00
}
2015-03-23 13:36:35 +01:00
.sidebar.hidden {
2015-03-24 15:53:12 +01:00
left: -40em;
2015-03-20 13:30:28 +01:00
}
2015-03-23 13:36:35 +01:00
.sidebar .container {
2015-03-20 09:46:24 +01:00
overflow: auto;
box-sizing: border-box;
}
2015-03-23 13:36:35 +01:00
.sidebar .container, .map {
2015-03-20 09:46:24 +01:00
height: 100vh;
}
2015-03-23 13:36:35 +01:00
.sidebar .icon {
2015-03-22 23:54:35 +01:00
padding: 0 0.25em;
}
2015-03-23 13:36:35 +01:00
.sidebar table {
2015-03-20 09:46:24 +01:00
width: 100%;
}
2015-03-23 13:36:35 +01:00
.sidebar table th {
2015-03-22 20:23:57 +01:00
text-align: left;
}
2015-03-23 13:36:35 +01:00
.sidebar td:not(:first-child), .sidebar th:not(:first-child) {
2015-03-20 09:46:24 +01:00
text-align: right;
}
2015-03-23 13:36:35 +01:00
.sidebar a {
2015-03-20 22:55:23 +01:00
color: #1566A9;
}
2015-03-22 11:19:30 +01:00
.bar {
2015-03-25 21:31:44 +01:00
display: block;
2015-03-22 11:19:30 +01:00
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-25 10:29:41 +01:00
.map .node-alert {
-webkit-animation: blink 2s linear;
-webkit-animation-iteration-count: infinite;
animation: blink 2s linear;
animation-iteration-count: infinite;
}
@-webkit-keyframes blink {
0% { opacity: 1.0; }
80% { opacity: 1.0; }
90% { opacity: 0.0; }
}
@keyframes blink {
0% { opacity: 1.0; }
80% { opacity: 1.0; }
90% { opacity: 0.0; }
}
2015-03-20 09:46:24 +01:00
@media screen and (max-width: 80em) {
2015-03-23 13:36:35 +01:00
.sidebar {
2015-03-20 09:46:24 +01:00
font-size: 0.8em;
}
}
@media screen and (max-width: 60em) {
2015-03-23 13:36:35 +01:00
.sidebar .container {
2015-03-20 13:30:28 +01:00
overflow: visible;
2015-03-20 17:42:43 +01:00
height: auto;
2015-03-26 00:30:26 +01:00
padding-top: 1em;
2015-03-20 13:30:28 +01:00
}
2015-03-23 13:36:35 +01:00
.sidebarhandle {
2015-03-20 13:30:28 +01:00
display: none;
}
2015-03-23 13:25:52 +01:00
.map {
2015-03-20 09:46:24 +01:00
height: 60vh;
}
2015-03-23 13:36:35 +01:00
.sidebar {
2015-03-21 19:08:51 +01:00
position: static;
2015-03-20 17:42:43 +01:00
margin-left: 0em !important;
width: auto;
2015-03-20 09:46:24 +01:00
height: auto;
}
2015-03-20 13:30:28 +01:00
2015-03-23 13:36:35 +01:00
.sidebar.hidden {
2015-03-20 13:30:28 +01:00
width: auto;
}
2015-03-23 13:36:35 +01:00
.sidebar.hidden .sidebar .container {
2015-03-20 13:30:28 +01:00
display: block;
}
2015-03-20 09:46:24 +01:00
}
</style>
2015-03-29 01:14:02 +01:00
<link rel="stylesheet" href="bower_components/roboto-slab-fontface/roboto-slab-fontface.css">
2015-03-29 01:09:21 +01:00
<link rel="stylesheet" href="bower_components/leaflet/dist/leaflet.css">
<link rel="stylesheet" href="bower_components/Leaflet.label/dist/leaflet.label.css">
2015-03-29 01:33:10 +01:00
<link rel="stylesheet" href="bower_components/ionicons/css/ionicons.min.css">
<script src="bower_components/es6-shim/es6-shim.min.js"></script>
<script src="bower_components/chroma-js/chroma.min.js"></script>
<script src="bower_components/moment/min/moment-with-locales.min.js"></script>
<script src="bower_components/leaflet/dist/leaflet.js"></script>
<script src="bower_components/Leaflet.label/dist/leaflet.label.js"></script>
<script src="bower_components/tablesort/tablesort.min.js"></script>
2015-03-29 01:09:21 +01:00
<script src="bower_components/tablesort/src/sorts/tablesort.numeric.js"></script>
<script src="bower_components/intl/Intl.complete.js"></script>
2015-03-23 15:46:19 +01:00
<script src="helper.js"></script>
2015-03-29 01:09:21 +01:00
<script src="bower_components/requirejs/require.js" data-main="lib/main"></script>
2015-03-20 09:46:24 +01:00
</head>
<body>
</body>
</html>