whoops forgot to add the views #506

This commit is contained in:
reality 2013-06-19 20:02:24 +00:00
parent ce2f3c99d9
commit 410eb58c8a
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,10 @@
extends ../layout
block content
h3 Servers
div#backlink
a(href='/') « Home
ul#quotelist
-each server in servers
a(href='/warning/'+server)
li.quotes #{server}

10
views/warning/users.jade Normal file
View File

@ -0,0 +1,10 @@
extends ../layout
block content
h3 Users with warnings on #{server}
div#backlink
a(href='/warning')
ul#quotelist
-each user in users
a(href='/warning/'+server+'/'+user)
li.quotes #{user}

View File

@ -0,0 +1,18 @@
extends ../layout
block content
div#backlink
a(href='/warning/'+server)
div#profile_datatable
table.table.table-hover.data
thead
tr
th Date
th Warner
th Reason
tbody
for warning, key in warnings
tr
td #{new Date(warning.time)}
td #{warning.warner}
td #{warning.reason}