summaryrefslogtreecommitdiff
path: root/views/index.jade
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.jade')
-rw-r--r--views/index.jade12
1 files changed, 8 insertions, 4 deletions
diff --git a/views/index.jade b/views/index.jade
index 5625546..cd12e4a 100644
--- a/views/index.jade
+++ b/views/index.jade
@@ -3,19 +3,23 @@ extends layout
block content
h1 Collection+JSON Explorer
+ div This is a simple/dumb explorer for the
+ a(href='http://amundsen.com/media-types/collection/') Collection+JSON Hypermedia
+ | .
+
h2 Explore your own collection
form(action='/render')
p
label URL:
- input(name='url', value='http://p2k12.bitraf.no/checkins-trygvis.php')
+ input(name='url', size='100', value='http://example-collection-json-db.herokuapp.com/')
input(type='submit', value='Render')
h2 Examples
-
- p Taken from:
- a(href='http://amundsen.com/media-types/collection/examples/') Mike Amundsen's examples
+ p Taken from:
+ a(href='http://amundsen.com/media-types/collection/examples/') Mike Amundsen's examples
ul
+ - var examples = examples || []
each example in examples
li
- var u='http://' + host + '/render?url=' + encodeURIComponent('http://' + host + '/examples/from-spec/' + example + '.collection+json')