Updated steam api example

pull/2/head
Sahat Yalkabov 2014-06-05 12:15:52 -04:00
parent a23cb870bc
commit 9019711968
1 changed files with 5 additions and 8 deletions

View File

@ -5,7 +5,6 @@ block content
h2 h2
i.fa.fa-steam-square i.fa.fa-steam-square
| Steam Web API | Steam Web API
.btn-group.btn-group-justified .btn-group.btn-group-justified
a.btn.btn-primary(href='https://developer.valvesoftware.com/wiki/Steam_Web_API', target='_blank') a.btn.btn-primary(href='https://developer.valvesoftware.com/wiki/Steam_Web_API', target='_blank')
i.fa.fa-check-square-o i.fa.fa-check-square-o
@ -14,8 +13,8 @@ block content
br br
.alert.alert-info .alert.alert-info
strong Steam ID h4 Steam ID
p Displaying public information for Steam ID #{playerSummary.steamid}. p Displaying public information for Steam ID: #{playerSummary.steamid}.
h3 Profile Information h3 Profile Information
.row .row
@ -38,9 +37,7 @@ block content
li.text-success= achievement.name li.text-success= achievement.name
h3 Owned Games h3 Owned Games
ul.list-unstyled.list-inline for game in ownedGames
for game in ownedGames a(href='http://store.steampowered.com/app/#{game.appid}/')
li.thumb img.thumbnail(src='http://media.steampowered.com/steamcommunity/public/images/apps/#{game.appid}/#{game.img_logo_url}.jpg' width=92)
a(href='http://store.steampowered.com/app/#{game.appid}/')
img(src='http://media.steampowered.com/steamcommunity/public/images/apps/#{game.appid}/#{game.img_logo_url}.jpg' width="92")