diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-29 09:27:22 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-29 09:27:22 +0200 |
commit | c04cb305f45e39b71a7bdd51f91e8076eae86481 (patch) | |
tree | 9a1351ea2092d5863698519e138a76aad658f5e4 /views | |
parent | e81f24cc6e2de2ed314a1c912c4cb4853b4c13fe (diff) | |
download | collection-json-explorer-c04cb305f45e39b71a7bdd51f91e8076eae86481.tar.gz collection-json-explorer-c04cb305f45e39b71a7bdd51f91e8076eae86481.tar.bz2 collection-json-explorer-c04cb305f45e39b71a7bdd51f91e8076eae86481.tar.xz collection-json-explorer-c04cb305f45e39b71a7bdd51f91e8076eae86481.zip |
o Showing doc.uri and doc.version.
Diffstat (limited to 'views')
-rw-r--r-- | views/data.jade | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/views/data.jade b/views/data.jade index cb181f3..8fbd05e 100644 --- a/views/data.jade +++ b/views/data.jade @@ -7,11 +7,18 @@ block content form(action="/render") p label URL: - input(name="url", value="http://p2k12.bitraf.no/checkins-trygvis.php") + input(name="url", value="#{url}") input(type="submit", value="Render") + form(action="http://redbot.org/?") + p + input(name="uri", value="#{url}", type="hidden") + input(type="submit", value="Check with redbot.org") + ul li + a(href="#meta") Meta + li a(href="#items") Items li a(href="#headers") Headers @@ -20,6 +27,22 @@ block content li a(href="#formatted-body") Formatted body + a(id="meta") + h1 + a(href="#meta") Meta + + table + tr + td Version + td #{doc.version} + tr + td URI + td + if typeof doc.uri == 'string' + a(href="#{doc.uri}") #{doc.uri} + else + span No URI + a(id="items") h1 a(href="#items") Items @@ -36,9 +59,11 @@ block content h1 a(href="#headers") Headers pre - each value, key in headers - span #{key}: #{value} - br + table + each value, key in headers + tr + td #{key}: + td #{value} a(id="body") h1 |