Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 28 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,46 @@
<title>Pingwatch</title>
<script src="dygraph.min.js"></script>
<style>
body {
body {
font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,'Nimbus Sans L',sans-serif;
}
.dygraph-legend, form#options {
float: right;
}
div#legend span.highlight {
}
.dygraph-legend, form#options {
#float: right;
}
div#legend span.highlight {
background-color: #dddddd;
}
div#ping {
}
div#ping {
width: 95vw;
height: 50vh;
}
}
@media (min-width: 1080px) {
div#legend {
width: 20vw;
height: 88vh;
float: right;
}
div#optionsform {
width: 20vw;
height: 10vh;
float: right;
}
div#ping {
width: 75vw;
height: 98vh;
float: left;
}
}
</style>
</head>
<body>
<div id="ping"></div>
<div id="optionsform">
<form id="options">
<label for="autoscroll">Autoscroll</label>
<input type="checkbox" id="autoscroll" checked>
</form>
</div>
<div id="legend"></div>
<script defer src="/initial"></script>
<script id="update"></script>
Expand Down