mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 03:23:42 -05:00
c4652d82e2
* Updates spade.js vendor file, adds a sublime-project for developers to use * Moves server logic away from handlers * Moves session update logic to middleware, sets up server schema to autorender IDs as ObjectIDs * Modernizes the supermodel loading scheme and switches from constructor to initalize
22 lines
499 B
Text
22 lines
499 B
Text
extends /templates/base
|
|
|
|
block content
|
|
#codelogs-view
|
|
#codelogtable
|
|
table.table.table-striped
|
|
tr
|
|
th date
|
|
th userID
|
|
th levelSlug
|
|
th
|
|
if view.codelogs
|
|
for codelog in view.codelogs.models
|
|
+codeLogRow(codelog)
|
|
|
|
mixin codeLogRow(codelog)
|
|
tr
|
|
td= codelog.get('created')
|
|
td= codelog.get('userID')
|
|
td= codelog.get('levelSlug')
|
|
td
|
|
button.button.playback(data-codelog=codelog.get('log')) Playback
|