Skip to content

Commit

Permalink
Fleshed out usage/dashboard examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Sep 8, 2013
1 parent 7bdb7a7 commit 270c05c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
4 changes: 4 additions & 0 deletions examples/with_express/public/stylesheets/style.css
Expand Up @@ -5,4 +5,8 @@ body {

a {
color: #00B7FF;
}

div {
margin: 2em 0 0 1em;
}
23 changes: 21 additions & 2 deletions examples/with_express/views/dashboard.jade
@@ -1,10 +1,29 @@
extends layout

block content
h1 Example Dashboard
h2 Usage Examples

ul

li: a(href='/deezer/search/artist?q=eminem') Search for artists with "eminem" in their name

li: a(href='/deezer/me') Get information on the currently logged-in user
li: a(href='/deezer/me') Get information on the currently logged-in user

div
h3 Want more?

p
span You can also access any of the API calls documented on
a(href='developers.deezer.com') developers.deezer.com
span .

h5 For example:
strong: a(href='http://localhost:3000/deezer/search/artist?q=modest%20mouse') http://localhost:3000/deezer/search/artist?q=modest%20mouse
br
span or:
strong: a(href='http://localhost:3000/deezer/search/artist?q=death%20cab') http://localhost:3000/deezer/search/artist?q=death%20cab

form(action='/deezer/search/artist')
h5 Try your own artist search:
strong http://localhost:3000/deezer/search/artist/
input(value='foo' name='q')

0 comments on commit 270c05c

Please sign in to comment.