initial commit

This commit is contained in:
SowinskiBraeden committed 2025-05-05 10:17:17 -07:00
commit da746fc04f
15 files changed
+401

No files matched your search

+23
View File
@@ -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>
+31
View File
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>2537 Assignment 1</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<link rel="stylesheet" href="/static/css/index.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css">
</head>
<body>
<div class="center">
<form action="/login" method="POST">
<label for="username">
<i class="fas fa-envelope"></i>
</label>
<input type="email" name="email" placeholder="Email" id="email" required>
<label for="password">
<i class="fas fa-lock"></i>
</label>
<input type="password" name="password" placeholder="Password" id="password" required>
<input id="login" type="submit" value="Login">
<h3 id="flash-msg" class="flash-msg"><%= message %></h3>
</form>
</div>
<script src="/static/scripts/loadFlash.js"></script>
</body>
</html>
+18
View File
@@ -0,0 +1,18 @@
<!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>
</head>
<body style="padding: 12pt;">
<h3>Hello <%= username %></h3>
<figure>
<img style="width: 400pt;" src="/static/images/<%= name %>.png">
<figcaption><%= name %></figcaption>
</figure>
<br>
<a style="background-color: grey; padding: 6px; margin-top: 12pt;" href="/logout">Logout</a>
</body>
</html>
+13
View File
@@ -0,0 +1,13 @@
<!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>
</head>
<body>
<h1>404 - Not found</h1>
<a href="/">Home</a>
</body>
</html>
+40
View File
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>2537 Assignment 1</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<link rel="stylesheet" href="/static/css/index.css">
<link rel="stylesheet" href="/static/css/login.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css">
</head>
<body>
<div class="background"></div>
<div class="center">
<form action="/signup" method="POST">
<label for="name">
<i class="fas fa-user"></i>
</label>
<input type="text" name="name" placeholder="Peter Venkman" id="name" required>
<label for="email">
<i class="fas fa-envelope"></i>
</label>
<input type="email" name="email" placeholder="peter_v@ghostbusters.com" id="email" required>
<label for="password">
<i class="fas fa-lock"></i>
</label>
<input type="password" name="password" placeholder="Password" id="password" required>
<input id="login" type="submit" value="Sign Up">
<h3 id="flash-msg" class="flash-msg"><%= message %></h3>
</form>
</div>
<script src="/static/scripts/loadFlash.js"></script>
</body>
</html>