codecombat/app/templates/admin/codelogs-view.jade
Josh Callebaut c4652d82e2 Implements the SPADE logger into the SpellView
* 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
2016-04-26 09:56:30 -07:00

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