From 4ed7271b1eca560fbad60c240cad23e85ac286f8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 29 Jun 2012 10:36:01 +0200 Subject: o Adding examples from the specification. --- views/index.jade | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/index.jade b/views/index.jade index af774d4..86cfffa 100644 --- a/views/index.jade +++ b/views/index.jade @@ -3,8 +3,19 @@ extends layout block content h1 Collection+JSON Explorer - form(action="/render") + h2 Explore your own collection + form(action='/render') p label URL: - input(name="url", value="http://p2k12.bitraf.no/checkins-trygvis.php") - input(type="submit", value="Render") + input(name='url', value='http://p2k12.bitraf.no/checkins-trygvis.php') + input(type='submit', value='Render') + + h2 Examples + + p Taken from + a(url='http://amundsen.com/media-types/collection/examples/') Mike Admundsen's examples + + each example in examples + form(action='/render') + input(name='url', type='hidden', value='http://#{host}/examples/from-spec/#{example}.collection+json') + input(type='submit', value='#{example}') -- cgit v1.2.3