Mercurial > code > home > repos > homeauto
diff service/environment/index.html @ 1243:b63c35e13e18
environment graph service standardization
Ignore-this: 3aeb86c03902af984a871c9c2d2dd7cd
darcs-hash:d609c91b384e6d59a76babb6666c109653e31dd8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 18 Apr 2019 09:12:26 -0700 |
parents | 5f56a8c96458 |
children | 6b80a6c58907 |
line wrap: on
line diff
--- a/service/environment/index.html Mon Apr 15 00:17:04 2019 -0700 +++ b/service/environment/index.html Thu Apr 18 09:12:26 2019 -0700 @@ -1,22 +1,41 @@ -<!DOCTYPE html> -<html - xmlns:dcterms="http://purl.org/dc/terms/" - xmlns:dev="http://projects.bigasterisk.com/device/" - xmlns:xs="http://www.w3.org/2001/XMLSchema#" - xmlns="http://projects.bigasterisk.com/room/" - > +<!doctype html> +<html> <head> + <title>environment</title> + <meta charset="utf-8" /> <script src="/lib/polymer/1.0.9/webcomponentsjs/webcomponents.min.js"></script> + <script src="/lib/require/require-2.3.3.js"></script> + <script src="/rdf/common_paths_and_ns.js"></script> + + <link rel="import" href="/rdf/streamed-graph.html"> <link rel="import" href="/lib/polymer/1.0.9/polymer/polymer.html"> - <link rel="import" href="/rdf/streamed-graph.html"> - <link rel="import" href="/rdf/graph-view.html"> + <meta name="mobile-web-app-capable" content="yes"> + <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> - <h1>env</h1> - <template is="dom-bind"> + <template id="t" is="dom-bind"> <streamed-graph url="graph/events" graph="{{graph}}"></streamed-graph> - <graph-view graph="{{graph}}"></graph-view> + <div id="out"></div> + <script type="module" src="/rdf/streamed_graph_view.js"></script> </template> + <style> + .served-resources { + margin-top: 4em; + border-top: 1px solid gray; + padding-top: 1em; + } + .served-resources a { + padding-right: 2em; + } + </style> + + <div class="served-resources"> + <a href="stats/">/stats/</a> + <a href="graph">/graph</a> + <a href="graph/events">/graph/events</a> + <a href="doc">/doc</a> + </div> + </body> </html>