From 1a71184bcbf714d266e80d186fd666d393ed5981 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 19 Nov 2021 02:45:51 +0100 Subject: Clean up stylesheets. Don't show options in game lists. --- views/header.ejs | 61 ++++++++++++++++++++++++++------------------------------ 1 file changed, 28 insertions(+), 33 deletions(-) (limited to 'views/header.ejs') diff --git a/views/header.ejs b/views/header.ejs index c8337fc..2628f8d 100644 --- a/views/header.ejs +++ b/views/header.ejs @@ -2,40 +2,35 @@ -<% if (typeof refresh !== 'undefined' && refresh > 0) { %><% } %> - +<% if (typeof refresh !== 'undefined' && refresh > 0) { _%> + +<% } _%> <%= title %> - + + + -
-
-
-About -Forum -<% - if (user) { - let unread = user.unread | 0; - if (unread > 0) { - %>Inbox (<%= unread %>)<% - } else { - %>Inbox<% - } - %>Profile (<%= user.name %>)<% - } else { - %>Signup<% - %>Login<% - } -%> -
-
-
+
+ + +
+

<%= title %>

-<% - if (typeof flash !== 'undefined' && flash.length > 0) { - %>

<%= Array.isArray(flash) ? flash.join("\n") : flash %>

<% - } -%> +<%_ if (typeof flash !== 'undefined' && flash.length > 0) { _%> +

<%= flash %>

+<%_ } _%> -- cgit v1.2.3