forked from GitHub/dbot
whoops forgot to add the views #506
This commit is contained in:
parent
ce2f3c99d9
commit
410eb58c8a
10
views/warning/servers.jade
Normal file
10
views/warning/servers.jade
Normal 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
10
views/warning/users.jade
Normal 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}
|
18
views/warning/warnings.jade
Normal file
18
views/warning/warnings.jade
Normal 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}
|
Loading…
Reference in New Issue
Block a user