index.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, user-scalable=no">
  6. <title>Diese Software braucht noch einen Namen!</title>
  7. <style type="text/css">
  8. .stroke-first {
  9. paint-order: stroke;
  10. }
  11. .tabs {
  12. list-style: none;
  13. display: flex;
  14. }
  15. .tabs li {
  16. flex: 1;
  17. text-align: center;
  18. padding: 0.5em;
  19. cursor: pointer;
  20. }
  21. .tabs li:hover {
  22. background: rgba(0, 0, 0, 0.03);
  23. color: #dc0067;
  24. }
  25. .tabs .visible {
  26. font-weight: bold;
  27. border-bottom: 2pt solid black;
  28. }
  29. .tab {
  30. display: none;
  31. }
  32. .tab.visible {
  33. display: block;
  34. }
  35. body {
  36. margin: 0;
  37. padding: 0;
  38. font-family: 'Roboto Slab', serif;
  39. font-size: 11pt;
  40. }
  41. th.sort-header::selection {
  42. background: transparent;
  43. }
  44. th.sort-header {
  45. cursor: pointer;
  46. }
  47. table th.sort-header:after {
  48. font-family: "ionicons";
  49. padding-left: 0.25em;
  50. content: '\f10d';
  51. visibility: hidden;
  52. }
  53. table th.sort-header:hover:after {
  54. visibility: visible;
  55. }
  56. table th.sort-up:after, table th.sort-down:after, table th.sort-down:hover:after {
  57. visibility: visible;
  58. opacity: 0.4;
  59. }
  60. table th.sort-up:after {
  61. content: '\f104';
  62. }
  63. table.attributes {
  64. width: auto !important;
  65. }
  66. table.attributes th {
  67. text-align: left;
  68. font-weight: bold;
  69. vertical-align: top;
  70. padding-right: 1em;
  71. white-space: nowrap;
  72. }
  73. table.attributes td {
  74. text-align: left !important;
  75. }
  76. .infobox .clients {
  77. font-family: "ionicons";
  78. color: #1566A9;
  79. word-spacing: -0.2em;
  80. }
  81. .infobox {
  82. position: relative;
  83. box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
  84. background: rgba(0, 0, 0, 0.02);
  85. padding: 0.25em 0;
  86. }
  87. button {
  88. -webkit-tap-highlight-color: transparent;
  89. font-family: "ionicons";
  90. box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
  91. border-radius: 0.9em;
  92. background: rgba(255, 255, 255, 0.7);
  93. border: none;
  94. cursor: pointer;
  95. height: 1.8em;
  96. width: 1.8em;
  97. font-size: 20pt;
  98. transition: box-shadow 0.5s, color 0.5s;
  99. outline: none;
  100. }
  101. button:hover {
  102. background: white;
  103. color: #dc0067;
  104. box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
  105. }
  106. button:active {
  107. box-shadow: inset 0px 5px 20px rgba(0, 0, 0, 0.19), inset 0px 3px 6px rgba(0, 0, 0, 0.23);
  108. }
  109. button.close {
  110. position: absolute;
  111. right: 0.7em;
  112. top: 0.7em;
  113. }
  114. button.close:after {
  115. content: "\f12a";
  116. }
  117. .sidebar h2, .sidebar h3 {
  118. padding: 0 10pt;
  119. }
  120. .sidebar p, .sidebar table, .sidebar pre, .sidebar ul {
  121. padding: 0 10pt 1em;
  122. }
  123. .sidebarhandle {
  124. position: absolute;
  125. right: -2.5em;
  126. top: 0.7em;
  127. z-index: 10;
  128. transition: right 0.5s, box-shadow 0.5s, color 0.5s, transform 0.5s;
  129. }
  130. .sidebarhandle:after {
  131. padding-right: 0.125em;
  132. content: "\f124";
  133. }
  134. .sidebar.hidden .sidebarhandle {
  135. transform: scale(-1, 1);
  136. }
  137. .hostname {
  138. }
  139. .online {
  140. color: #558020 !important;
  141. }
  142. .offline {
  143. color: #D43E2A !important;
  144. }
  145. .sidebar {
  146. z-index: 5;
  147. width: 40em;
  148. box-sizing: border-box;
  149. position: absolute;
  150. top: 0;
  151. left: 0;
  152. background: white;
  153. box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
  154. transition: left 0.5s;
  155. }
  156. .sidebar.hidden {
  157. left: -40em;
  158. }
  159. .sidebar .container {
  160. overflow: auto;
  161. box-sizing: border-box;
  162. }
  163. .sidebar .container, .map {
  164. height: 100vh;
  165. }
  166. .sidebar .icon {
  167. padding: 0 0.25em;
  168. }
  169. .sidebar table {
  170. width: 100%;
  171. }
  172. .sidebar table th {
  173. text-align: left;
  174. }
  175. .sidebar td:not(:first-child), .sidebar th:not(:first-child) {
  176. text-align: right;
  177. }
  178. .sidebar a {
  179. color: #1566A9;
  180. }
  181. .bar {
  182. display: block;
  183. height: 1.4em;
  184. background: rgba(85, 128, 32, 0.5);
  185. position: relative;
  186. }
  187. .bar span {
  188. display: inline-block;
  189. height: 1.4em;
  190. background: rgba(85, 128, 32, 0.8);
  191. }
  192. .bar label {
  193. font-weight: bold;
  194. white-space: nowrap;
  195. color: white;
  196. position: absolute;
  197. right: 0.5em;
  198. }
  199. .map .node-alert {
  200. -webkit-animation: blink 2s linear;
  201. -webkit-animation-iteration-count: infinite;
  202. animation: blink 2s linear;
  203. animation-iteration-count: infinite;
  204. }
  205. @-webkit-keyframes blink {
  206. 0% { opacity: 1.0; }
  207. 80% { opacity: 1.0; }
  208. 90% { opacity: 0.0; }
  209. }
  210. @keyframes blink {
  211. 0% { opacity: 1.0; }
  212. 80% { opacity: 1.0; }
  213. 90% { opacity: 0.0; }
  214. }
  215. @media screen and (max-width: 80em) {
  216. .sidebar {
  217. font-size: 0.8em;
  218. }
  219. }
  220. @media screen and (max-width: 60em) {
  221. .sidebar .container {
  222. overflow: visible;
  223. height: auto;
  224. padding-top: 1em;
  225. }
  226. .sidebarhandle {
  227. display: none;
  228. }
  229. .map {
  230. height: 60vh;
  231. }
  232. .sidebar {
  233. position: static;
  234. margin-left: 0em !important;
  235. width: auto;
  236. height: auto;
  237. }
  238. .sidebar.hidden {
  239. width: auto;
  240. }
  241. .sidebar.hidden .sidebar .container {
  242. display: block;
  243. }
  244. }
  245. </style>
  246. <link rel="stylesheet" href="bower_components/roboto-slab-fontface/roboto-slab-fontface.css">
  247. <link rel="stylesheet" href="bower_components/leaflet/dist/leaflet.css">
  248. <link rel="stylesheet" href="bower_components/Leaflet.label/dist/leaflet.label.css">
  249. <link rel="stylesheet" href="bower_components/ionicons/css/ionicons.min.css">
  250. <script src="bower_components/es6-shim/es6-shim.min.js"></script>
  251. <script src="bower_components/chroma-js/chroma.min.js"></script>
  252. <script src="bower_components/moment/min/moment-with-locales.min.js"></script>
  253. <script src="bower_components/leaflet/dist/leaflet.js"></script>
  254. <script src="bower_components/Leaflet.label/dist/leaflet.label.js"></script>
  255. <script src="bower_components/tablesort/tablesort.min.js"></script>
  256. <script src="bower_components/tablesort/src/sorts/tablesort.numeric.js"></script>
  257. <script src="bower_components/intl/Intl.complete.js"></script>
  258. <script src="helper.js"></script>
  259. <script src="bower_components/requirejs/require.js" data-main="lib/main"></script>
  260. </head>
  261. <body>
  262. </body>
  263. </html>