Browse Source

move /site to /public

main
Robey 1 year ago
parent
commit
9ede01b1c5
  1. 3
      .gitignore
  2. 0
      public/demo.html
  3. 0
      public/icon-latency.png
  4. 68
      site/farnsworth.html

3
.gitignore

@ -1,5 +1,4 @@
*.code-workspace
/dist/
/lib/
/node_modules/
/site/netgraph.js
/site/dygraph.min.js

0
site/demo.html → public/demo.html

0
site/icon-latency.png → public/icon-latency.png

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

68
site/farnsworth.html

@ -1,68 +0,0 @@
<!doctype html>
<html>
<head>
<link rel="icon" type="image/png" href="icon-latency.png"></link>
<script src="dygraph.min.js"></script>
<script src="netgraph.js"></script>
<style type="text/css">
h1, h2, h3, h4 {
font-family: sans-serif;
}
.netgraph-group {
display: flex;
flex-direction: row;
margin-top: 1em;
margin-bottom: 1em;
width: 100%;
height: 15em;
}
.netgraph {
display: flex;
flex: 1 1 auto;
width: 100%;
margin-left: 1em;
margin-right: 1em;
font-family: mono;
}
</style>
<rrd name="ping" path="collectd/ping/ping-8.8.8.8.rrd" data="value:MAX"></rrd>
<rrd name="dropped" path="collectd/ping/ping_droprate-8.8.8.8.rrd" data="value:MAX"></rrd>
<rrd name="comcast-ping" path="/outpost-collectd/data/ping/ping-96.120.88.157.rrd" data="value:MAX"></rrd>
<rrd name="comcast-dropped" path="/outpost-collectd/data/ping/ping_droprate-96.120.88.157.rrd" data="value:MAX"></rrd>
<rrd name="modem-ping" path="/outpost-collectd/data/ping/ping-10.1.13.1.rrd" data="value:MAX"></rrd>
<rrd name="modem-dropped" path="/outpost-collectd/data/ping/ping_droprate-10.1.13.1.rrd" data="value:MAX"></rrd>
<rrd name="nat-ping" path="/outpost-collectd/data/ping/ping-10.1.10.1.rrd" data="value:MAX"></rrd>
<rrd name="nat-dropped" path="/outpost-collectd/data/ping/ping_droprate-10.1.10.1.rrd" data="value:MAX"></rrd>
</head>
<body>
<h3> Latency to 8.8.8.8 </h3>
<div class="netgraph-group" line="ping" error="dropped" error-threshold="0.5" unit="ms" colors="red, orange">
<div class="netgraph" timespan="hour"></div>
<div class="netgraph" timespan="day"></div>
<div class="netgraph" timespan="week"></div>
</div>
<h3> Latency to comcast (96.120.88.157) </h3>
<div class="netgraph-group" line="comcast-ping" error="comcast-dropped" error-threshold="0.5" unit="ms" colors="red, orange">
<div class="netgraph" timespan="hour"></div>
<div class="netgraph" timespan="day"></div>
<div class="netgraph" timespan="week"></div>
</div>
<h3> Latency to modem </h3>
<div class="netgraph-group" line="modem-ping" error="modem-dropped" error-threshold="0.5" unit="ms" colors="red, orange">
<div class="netgraph" timespan="hour"></div>
<div class="netgraph" timespan="day"></div>
<div class="netgraph" timespan="week"></div>
</div>
<h3> Latency to NAT </h3>
<div class="netgraph-group" line="nat-ping" error="nat-dropped" error-threshold="0.5" unit="ms" colors="red, orange">
<div class="netgraph" timespan="hour"></div>
<div class="netgraph" timespan="day"></div>
<div class="netgraph" timespan="week"></div>
</div>
</body>
</html>
Loading…
Cancel
Save