Skip to content

Commit

Permalink
Update john.moon
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Oct 27, 2016
1 parent 4aacd80 commit 6aba8f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions john.moon
Expand Up @@ -21,12 +21,12 @@ class extends lapis.Application
input type: "text", name: "john"
br!
input type: "submit", class: "pure-button"
JOHNS = Johns\paginated "* ORDER BY score DESC", per_page: 10
JOHNS = Johns\paginated "* ORDER BY score DESC", per_page: 20
unless page
page = 1
Johnny = JOHNS\get_page page
if #Johnny > 0
p "Recent Johns:"
p "Top Johns:"
element "table", class: "pure-table pure-table-striped", ->
for j in *Johnny
tr ->
Expand Down

0 comments on commit 6aba8f3

Please sign in to comment.