initial commit
This commit is contained in:
15 files changed
+401
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>2537 Assignment 1</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
<link rel="stylesheet" href="/static/css/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
<% if (authenticated) { %>
|
||||
<h1>Welcome <%= username %></h1>
|
||||
<a href="/members">Go to members page</a>
|
||||
<a style="background-color: grey; margin-top: 12pt;" href="/logout">Logout</a>
|
||||
<% } else { %>
|
||||
<a href="/login">Login</a>
|
||||
<p>or</p>
|
||||
<a href="/signup">Signup</a>
|
||||
<% } %>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user