hugvey/www/timeline.html

124 lines
2.2 KiB
HTML

<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>
<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{
color:#ccc;
}
.vis-item.message {
background: lightgray;
color:rgb(85, 87, 83);
}
.vis-item.message.vis-range{
background-color: darkgray;
border-color: black;
border:none 0px;
}
.vis-item.speech {
background-color: greenyellow;
border-color: green;
border:none 0px;
}
.vis-text,.vis-labelset .vis-label {
color: #ccc;
}
.vis-time-axis .vis-text{
color: #ccc;
}
.vis-grid, .vis-foreground .vis-group{
border-color:#666 !important;
font-size: 4.5pt;
}
.vis-item-content{
height: 5px !important;
overflow:hidden;
}
.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;
left:10px;
top: 10px;
z-index: 99999;
padding: 5px;
}
.vis-tooltip{
font-size: 20pt;
}
.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;
}
.status-running.lang-en-GB{
background-color: #02547e;
}
.status-running.lang-fr-FR{
background: #5a434d;
}
.status-running.lang-de-DE{
background: slategray;
}
</style>
</head>
<body id='timeline'>
<label id='follow_button'><input id="follow_checkbox" type="checkbox" name="follow" value="follow" checked> Follow timeline</label>
<div id='line'></div>
<script type='application/javascript' src="/js/hugvey_timeline.js"></script>
</body>
</html>