diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-29 11:24:09 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-29 11:24:09 +0200 |
commit | 6293830fe485918fdc152b923675f5d2ee56e068 (patch) | |
tree | 2856b47f8a8ab7561f410f1ac90eca795cf25d79 | |
parent | 4ed7271b1eca560fbad60c240cad23e85ac286f8 (diff) | |
download | collection-json-explorer-6293830fe485918fdc152b923675f5d2ee56e068.tar.gz collection-json-explorer-6293830fe485918fdc152b923675f5d2ee56e068.tar.bz2 collection-json-explorer-6293830fe485918fdc152b923675f5d2ee56e068.tar.xz collection-json-explorer-6293830fe485918fdc152b923675f5d2ee56e068.zip |
o Prettier example links.
-rw-r--r-- | views/index.jade | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/views/index.jade b/views/index.jade index 86cfffa..caf2954 100644 --- a/views/index.jade +++ b/views/index.jade @@ -12,10 +12,11 @@ block content h2 Examples - p Taken from - a(url='http://amundsen.com/media-types/collection/examples/') Mike Admundsen's examples + p Taken from + a(href='http://amundsen.com/media-types/collection/examples/') Mike Admundsen's examples + ul 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}') + li + - var u='http://' + host + '/render?url=' + encodeURIComponent('http://' + host + '/examples/from-spec/' + example + '.collection+json') + a(href='#{u}') #{example} |