-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andre Souza Bonon Borges
committed
Aug 27, 2016
1 parent
c7de5df
commit f9066ef
Showing
6 changed files
with
103 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,40 @@ | ||
extends layout | ||
|
||
block content | ||
h1(style='text-align: center;') Camisetas | ||
nav.navbar.navbar-default.navbar-fixed | ||
.container-fluid | ||
.navbar-header | ||
button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#bs-example-navbar-collapse-1', aria-expanded='false') | ||
span.sr-only Toggle navigation | ||
span.icon-bar | ||
span.icon-bar | ||
span.icon-bar | ||
a.navbar-brand(href='#') SPOTIBUY | ||
ul.nav.navbar-nav.navbar-right | ||
li(style='margin: 10px;') #{user.display_name} | ||
li | ||
img.img-circle(src=user.images.length ? user.images[0].url : '', height='44px') | ||
.container | ||
.row.text-center | ||
for result in results | ||
div.item.item-wrapper.col-lg-3.col-md-4.col-xs-6 | ||
div | ||
div.img-wrapper | ||
img(src=result.thumbnail.replace('-I', '-O'), alt=result.title) | ||
div.details | ||
p #{result.title} | ||
h1.text-center Camisetas | ||
.container | ||
.row.text-center | ||
if !results.length | ||
h2 Cara! Você é Hipster demais! | ||
h2 A sua banda não é popular o suficiente. | ||
h2 Tente outra banda. =) | ||
h3 | ||
a(href="/") Voltar | ||
|
||
|
||
for result in results | ||
div.item.item-wrapper.col-lg-3.col-md-4.col-xs-6 | ||
div | ||
div.img-wrapper | ||
img(src=result.thumbnail.replace('-I', '-O'), alt=result.title) | ||
div.details | ||
p #{result.title} | ||
div.data | ||
p R$ #{result.price.toFixed(2).replace('.', ',')} | ||
div.data | ||
p R$ #{result.price.toFixed(2).replace('.', ',')} | ||
div.data | ||
a(href=result.permalink) | ||
button(class="btn btn-success") Comprar | ||
a(href=result.permalink) | ||
button(class="btn btn-success") Comprar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,44 @@ | ||
extends layout | ||
|
||
block content | ||
h1.text-center Ingressos | ||
div(class="container") | ||
div(class="row") | ||
for result in results | ||
div(class="col-lg-3 col-md-4 col-xs-6 item", style="margin-bottom:10px;") | ||
div | ||
div(style="margin-bottom: 15px;") | ||
img(src='http://s3-eu-west-1.amazonaws.com/statictb.net/categoria/'+result.genreId+'.jpg', style="width:100%;height:148px;") | ||
div(style="margin-left: 10px;") | ||
div(class="details") | ||
a(href=result.url) | ||
p #{result.name} | ||
div(class="details") | ||
p Localização: #{result.venue} | ||
div(class="details") | ||
p Data: #{result.dateFormatted} | ||
div(class="data") | ||
a(href=result.pub_url) | ||
button(class="btn btn-success") Comprar Ingresso | ||
nav.navbar.navbar-default.navbar-fixed | ||
.container-fluid | ||
.navbar-header | ||
button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#bs-example-navbar-collapse-1', aria-expanded='false') | ||
span.sr-only Toggle navigation | ||
span.icon-bar | ||
span.icon-bar | ||
span.icon-bar | ||
a.navbar-brand(href='#') SPOTIBUY | ||
ul.nav.navbar-nav.navbar-right | ||
li(style='margin: 10px;') #{user.display_name} | ||
li | ||
img.img-circle(src=user.images.length ? user.images[0].url : '', height='44px') | ||
.container | ||
h1.text-center Ingressos | ||
div(class="container") | ||
.row.text-center | ||
if !results.length | ||
h2 Amigo, sua banda não está com nada! =P | ||
h2 Não encontramos nenhum show programado. | ||
h2 Tente outra banda. =) | ||
h3 | ||
a(href="/") Voltar | ||
|
||
|
||
for result in results | ||
div(class="col-lg-3 col-md-4 col-xs-6 item", style="margin-bottom:10px;") | ||
div | ||
div(style="margin-bottom: 15px;") | ||
img(src='http://s3-eu-west-1.amazonaws.com/statictb.net/categoria/'+result.genreId+'.jpg', style="width:100%;height:148px;") | ||
div(style="margin-left: 10px;") | ||
div(class="details") | ||
a(href=result.url) | ||
p #{result.name} | ||
div(class="details") | ||
p Localização: #{result.venue} | ||
div(class="details") | ||
p Data: #{result.dateFormatted} | ||
div(class="data") | ||
a(href=result.pub_url) | ||
button(class="btn btn-success") Comprar Ingresso |