Scott c51cb4743b 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
2018-02-25 01:36:22 +01:00

24 lines
636 B
Plaintext

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 + " "