summaryrefslogtreecommitdiff
path: root/views/header.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/header.ejs')
-rw-r--r--views/header.ejs36
1 files changed, 0 insertions, 36 deletions
diff --git a/views/header.ejs b/views/header.ejs
deleted file mode 100644
index 66f0f2e..0000000
--- a/views/header.ejs
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
-<% if (typeof refresh !== 'undefined' && refresh > 0) { -%>
-<meta http-equiv="refresh" content="<%= refresh %>">
-<% } -%>
-<title><%= title %></title>
-<link rel="icon" href="/favicon.svg">
-<link rel="stylesheet" href="/fonts/fonts.css">
-<link rel="stylesheet" href="/style.css">
-</head>
-<body>
-<header>
-<a href="/"><img src="/images/rally-the-troops.svg" width="48" height="48"></a>
-<nav>
-<a href="/about">About</a>
-<a href="/forum">Forum</a>
-<% if (user) { -%>
-<% if (user.unread > 0) { -%>
-<a href="/inbox">Inbox (<%= unread %>)</a>
-<% } else { -%>
-<a href="/inbox">Inbox</a>
-<% } -%>
-<a href="/profile">Profile (<%= user.name %>)</a>
-<% } else { -%>
-<a href="/signup">Signup</a>
-<a href="/login">Login</a>
-<% } -%>
-</nav>
-</header>
-<article>
-<h1><%= title %></h1>
-<% if (typeof flash !== 'undefined' && flash.length > 0) { -%>
-<p class="error"><%= flash %></p>
-<% } -%>