hugvey/www/timeline.html

138 lines
2.5 KiB
HTML
Raw Normal View History

2019-04-25 17:08:27 +00:00
<html>
<head>
<title>Pillow Talk - Timeline</title>
<link rel="stylesheet" href="/css/vis.min.css"></link>
<script src="/js/reconnecting-websocket.js"></script>
<script src="/js/moment.min.js"></script>
2019-04-25 17:08:27 +00:00
<script src="/js/vis.min.js"></script>
<style type="text/css">
body{
margin:0;
background: #333;
color:#999;
font-family:sans-serif;
overflow-x: hidden;
}
#line{
width: 180%;
}
.vis-item{
2019-05-15 14:03:51 +00:00
color:#ccc;
2019-04-25 17:08:27 +00:00
}
.vis-item.message {
background: lightgray;
2019-04-30 19:15:38 +00:00
color:rgb(85, 87, 83);
2019-04-25 17:08:27 +00:00
}
.vis-item.message.vis-range{
background-color: darkgray;
2019-04-30 19:15:38 +00:00
border-color: black;
border:none 0px;
2019-04-25 17:08:27 +00:00
}
2019-08-29 08:15:33 +00:00
2019-04-25 17:08:27 +00:00
.vis-item.speech {
background-color: greenyellow;
border-color: green;
border:none 0px;
2019-08-29 08:15:33 +00:00
color: greenyellow;
2019-04-25 17:08:27 +00:00
}
2019-05-11 16:17:06 +00:00
2019-04-25 17:08:27 +00:00
.vis-text,.vis-labelset .vis-label {
2019-05-15 14:03:51 +00:00
color: #ccc;
2019-04-25 17:08:27 +00:00
}
.vis-time-axis .vis-text{
2019-05-15 14:03:51 +00:00
color: #ccc;
2019-04-25 17:08:27 +00:00
}
.vis-grid, .vis-foreground .vis-group{
border-color:#666 !important;
2019-04-26 17:01:33 +00:00
font-size: 4.5pt;
2019-04-25 17:08:27 +00:00
}
2019-05-16 14:16:44 +00:00
.vis-item-content{
height: 5px !important;
overflow:hidden;
}
2019-04-25 17:08:27 +00:00
2019-04-27 14:56:54 +00:00
.vis-dot.INFO{
}
.vis-dot.WARNING{
width: 10px;
height:10px;
background:yellow;
border-color:yellow;
border-radius:15px;
}
.vis-dot.ERROR{
width: 20px;
height:20px;
background:orange;
border-color:orangered;
border-radius:15px;
}
.vis-dot.CRITICAL{
width: 30px;
height:30px;
background:red;
border-color:darkred;
border-radius:15px;
}
#follow_button{
background: #669;
border-radius: 2px;
position: absolute;
2019-11-11 14:35:33 +00:00
right:10px;
top: 10px;
z-index: 99999;
padding: 5px;
}
2019-05-16 14:16:44 +00:00
.vis-tooltip{
font-size: 20pt;
}
2019-05-15 14:03:51 +00:00
.vis-group{
transition: background-color 1s;
}
.status-gone{
background-color: #774d00;
}
.status-blocked{
background-color:gray;
}
.status-available{
background-color: #660;
}
.status-running.is-available{
/* When running in a loop, Hugvey is listening while available */
background-color: #246f6f !important;
}
2019-05-15 14:03:51 +00:00
.status-running.lang-en-GB{
background-color: #02547e;
2019-08-29 08:15:33 +00:00
2019-05-15 14:03:51 +00:00
}
.status-running.lang-fr-FR{
background: #5a434d;
}
.status-running.lang-de-DE{
background: slategray;
}
2019-11-11 14:34:11 +00:00
.vis-label .vis-inner div.title{
display:inline-block;
padding-top:0;
}
.vis-label .vis-inner div.times{
float:right;
font-size: 50%;line-height:1;
}
.vis-label .vis-inner div.times span{
display:block;
padding: 0 5px;
}
2019-04-25 17:08:27 +00:00
</style>
</head>
<body id='timeline'>
<label id='follow_button'><input id="follow_checkbox" type="checkbox" name="follow" value="follow" checked> Follow timeline</label>
2019-04-25 17:08:27 +00:00
<div id='line'></div>
2019-05-11 16:17:06 +00:00
2019-04-25 17:08:27 +00:00
<script type='application/javascript' src="/js/hugvey_timeline.js"></script>
</body>
2019-05-11 16:17:06 +00:00
</html>