Added the list of quotes sorted by last and best with a correct design.

The design has been verified to be responsive and compatible with the dark theme
This commit is contained in:
Scott
2018-01-17 23:30:55 +01:00
parent 9eb4d1a234
commit c51cb4743b
11 changed files with 268 additions and 12 deletions

23
mixins/Quote.pixy Normal file
View File

@ -0,0 +1,23 @@
component Quote(quote *arn.Quote)
.quote.mountable(id=quote.ID)
QuoteContent(quote)
QuoteFooter(quote)
component QuoteContent(quote *arn.Quote)
.quote-content
a.quotation.ajax(href="/quote/" + quote.ID)
blockquote
p
q= quote.Description
if quote.Character() != nil
footer.quote-character
span= "by"
a.ajax(href="/character/" + quote.Character().ID)= quote.Character().Name
CharacterSmall(quote.Character())
component QuoteFooter(quote *arn.Quote)
.quote-footer
span posted
span.utc-date(data-date=quote.Created)
span by
a.ajax(href=quote.Creator().Link())= quote.Creator().Nick + " "