aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/dashboard.ejs20
-rw-r--r--views/index.ejs5
-rw-r--r--views/password.ejs (renamed from views/login.ejs)2
-rw-r--r--views/register.ejs1
-rw-r--r--views/success.ejs2
5 files changed, 26 insertions, 4 deletions
diff --git a/views/dashboard.ejs b/views/dashboard.ejs
new file mode 100644
index 0000000..b50f0e0
--- /dev/null
+++ b/views/dashboard.ejs
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="stylesheet" href="/css/style.css">
+ <title>bnbSO Dashboard</title>
+</head>
+<body>
+ <div class="background"></div>
+ <div class="container">
+ <img src="img/logo.png" alt="logo" width="200">
+ <p>Welcome, <%= username %>!</p>
+ <p>FreeSO Username:</p>
+ <a href="#" class="button">Change Password</a>
+ <a href="#" class="button">Download bnbSO Client</a>
+ <a href="/logout" class="button logout">Logout</a>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/views/index.ejs b/views/index.ejs
index d46a61a..dc893d4 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -10,8 +10,9 @@
<div class="background"></div>
<div class="container">
<img src="img/logo.png" alt="logo" width="200">
- <p>You must be a member of the bits & Bytes Discord server to join bnbSO.</p>
- <a class="discord" href="/auth/discord">Login with Discord</a>
+ <p>Log into your Discord account to get access to bnbSO.</p>
+ <p><i>You must be a bits & Bytes member to join.</i></p>
+ <a class="button discord" href="/auth/discord">Login with Discord</a>
</div>
</body>
</html> \ No newline at end of file
diff --git a/views/login.ejs b/views/password.ejs
index a5a51ae..2e24399 100644
--- a/views/login.ejs
+++ b/views/password.ejs
@@ -14,7 +14,7 @@
<form method="post" action="/login">
<label for="username">Username:</label>
<input type="text" id="username" name="username">
- <label for="password">Password:</label>
+ <label for="password">Current Password:</label>
<input type="password" id="password" name="password">
<button type="submit">Login</button>
</form>
diff --git a/views/register.ejs b/views/register.ejs
index fcff088..66058c3 100644
--- a/views/register.ejs
+++ b/views/register.ejs
@@ -13,6 +13,7 @@
<h1>Welcome to bnbSO!</h1>
<p>You will be sending the following information to register your bnbSO account</p>
<p>Please verify that the following information is correct. You can only change this <b>once</b>.</p>
+ <p>Note: You can change your username and email if you want to change it.<br>It is there as your Discord account are using these credentials.</p>
<form method="post" action="/register">
<label for="username">Username:</label>
<input type="text" id="username" name="username" value="<%= username %>">
diff --git a/views/success.ejs b/views/success.ejs
index c967d24..224b260 100644
--- a/views/success.ejs
+++ b/views/success.ejs
@@ -12,7 +12,7 @@
<img src="img/logo.png" alt="logo" width="200">
<p>Created account successfully!</p>
<p>Check on your inbox for the confirmation code.</p>
- <a href="/">Home</a>
+ <a href="/">Dashboard</a>
</div>
</body>
</html> \ No newline at end of file