From 410eb58c8afe2cd7f4478957b3f7c8cece4ababb Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 19 Jun 2013 20:02:24 +0000 Subject: [PATCH] whoops forgot to add the views #506 --- views/warning/servers.jade | 10 ++++++++++ views/warning/users.jade | 10 ++++++++++ views/warning/warnings.jade | 18 ++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 views/warning/servers.jade create mode 100644 views/warning/users.jade create mode 100644 views/warning/warnings.jade diff --git a/views/warning/servers.jade b/views/warning/servers.jade new file mode 100644 index 0000000..146fe12 --- /dev/null +++ b/views/warning/servers.jade @@ -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} diff --git a/views/warning/users.jade b/views/warning/users.jade new file mode 100644 index 0000000..30104cc --- /dev/null +++ b/views/warning/users.jade @@ -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} diff --git a/views/warning/warnings.jade b/views/warning/warnings.jade new file mode 100644 index 0000000..75304a2 --- /dev/null +++ b/views/warning/warnings.jade @@ -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}