From 710b68aa2bcb9e2f552ab61e0e842f46501d75db Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 6 Apr 2023 11:51:08 +0200 Subject: Some cleanups. Clean up stats page. Remove user list page. Remove duplicate remove contact page. Fix silly bug. oops! --- views/stats.pug | 4 +--- views/user.pug | 4 ++-- views/user_list.pug | 23 ----------------------- 3 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 views/user_list.pug (limited to 'views') diff --git a/views/stats.pug b/views/stats.pug index 65649b3..4d275b0 100644 --- a/views/stats.pug +++ b/views/stats.pug @@ -22,9 +22,7 @@ html th a(href="/"+row.title_id)= row.title_name unless row.scenario === "Standard" - | , #{row.scenario} - unless row.options === "None" - | , #{row.options} + | – #{row.scenario} th= row.total tbody - for (let i=0; i 0 - a(href="/contact/remove-user/"+who.name) Remove from friends + a(href="/contact/remove/"+who.name) Remove from friends else if relation < 0 - a(href="/contact/remove-user/"+who.name) Remove from blacklist + a(href="/contact/remove/"+who.name) Remove from blacklist else a(href="/contact/add-friend/"+who.name) Add to friends br diff --git a/views/user_list.pug b/views/user_list.pug deleted file mode 100644 index 703ee4d..0000000 --- a/views/user_list.pug +++ /dev/null @@ -1,23 +0,0 @@ -//- vim:ts=4:sw=4: -doctype html -html - head - include head - title User List - body - include header - article - h1 User List - - table - thead - tr - th Name - th Member since - th Last seen - tbody - each row in user_list - tr - td.name: a(href="/user/"+row.name)= row.name - td= row.ctime - td= row.atime -- cgit v1.2.3