diff options
| author | root <root@frank.tg14.gathering.org> | 2014-04-18 00:33:54 +0200 | 
|---|---|---|
| committer | root <root@frank.tg14.gathering.org> | 2014-04-18 00:33:54 +0200 | 
| commit | d8d6bc3429eef98d8921948bdeaf1a8088dc44b0 (patch) | |
| tree | 7a4d8da042d2dd42c3d0d75012c7a366fb8a36cc /web | |
| parent | e686370341e95830125fc1d3b40c9a61a5e8aed4 (diff) | |
Add realtime traffic map.
Diffstat (limited to 'web')
| -rw-r--r-- | web/nms.gathering.org/index.html | 6 | ||||
| -rw-r--r-- | web/nms.gathering.org/ping2.html | 20 | 
2 files changed, 26 insertions, 0 deletions
| diff --git a/web/nms.gathering.org/index.html b/web/nms.gathering.org/index.html index 62dba88..77fea82 100644 --- a/web/nms.gathering.org/index.html +++ b/web/nms.gathering.org/index.html @@ -93,6 +93,12 @@        <li><a href="ping.html">Ping-kart</a>          <br /><i>Pinger alle bokser hvert sekund, samt posisjonsredigering</i>        </li> + +      <br /> + +      <li><a href="ping2.html">Realtime trafikkart</a> +        <br /><i>Som nettkartet, men oppdateres hele tiden</i> +      </li>      </ul>    </body>  </html> diff --git a/web/nms.gathering.org/ping2.html b/web/nms.gathering.org/ping2.html new file mode 100644 index 0000000..0fc6b43 --- /dev/null +++ b/web/nms.gathering.org/ping2.html @@ -0,0 +1,20 @@ +<html> +  <head> +    <title>Ping? Pong!</title> +  </head> +  <body> +    <link rel="stylesheet" href="/ping.css"> +    <p id="playground"> +      <svg id="lines" width="1280" height="736" style="position: absolute; top: 0; left: 0; z-index: 1"> +      </svg> +      <img src="tg14-salkart.png" alt="" id="map" /> +    </p> +    <script> +      // These are used by ping.js, below. +      var switches_url = "/switches-json.pl"; +      var ping_url = "/nettkart-json.pl"; +      var draw_linknets = false; +    </script> +    <script type="text/javascript" src="ping.js"></script> +  </body> +</html> | 
