aboutsummaryrefslogtreecommitdiff
path: root/views/register.ejs
blob: 8d45e62c44dd1b14eeceb1364c68d72a686aff73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!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><%= serverName %> Register</title>
</head>
<body>
    <div class="background"></div>
    <div class="container">
        <img src="/img/logo.png" alt="logo" width="200">
        <h1>Welcome to bnbSO!</h1>
        <p>You will be sending the following information to register your bnbSO account</p>
        <form method="post" action="/register">
            <label for="username">Username:</label>
            <input type="text" id="username" name="username">
            <label for="password">Password:</label>
            <input type="password" id="password" name="password">
            <label for="passwordconfirm">Confirm Password:</label>
            <input type="password" id="passwordconfirm" name="passwordconfirm">
            <button type="submit">Register</button>
        </form>
<!--        <a href="#">Link your bnbSO account</a>-->
        <% if (typeof error !== 'undefined') { %>
            <div class="error"><%= error %></div>
        <% } %>
    </div>
</body>
</html>