-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreateUser.html
112 lines (97 loc) · 4.13 KB
/
createUser.html
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Matter of Mind - Create User</title>
<!-- StyleSheets -->
<link rel="stylesheet" href="styleJournal.css" type="text/css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" rel="stylesheet">
<script src="scriptJournal.js" type = "text/javascript" defer ></script>
</head>
<body>
<!-- Current User -->
<div id = "listedUser">
<p class = "subtitle is-size-5 has-text-left"> Current User: Nobody is Logged In Currently </p>
</div>
<!-- CHAT POP UP
<div class="chat-popup" id="myForm">
<form action="/action_page.php" class="form-container">
<h1>Chat</h1>
<label for="msg"><b>Message</b></label>
<textarea placeholder="Type message.." name="msg" required></textarea>
<button type="submit" class="btn">Send</button>
<button type="button" class="btn cancel" onclick="closeForm()">Close</button>
</form>
</div> -->
<!-- Header -->
<div id = "header">
<br>
<p class="title is-size-1 has-text-centered">Matter of Mind</p>
</div>
<!-- Menu -->
<nav id="menu">
<div class="menu-item">
<div class="menu-text">
<a href="./index.html">Home</a>
</div>
</div>
<div class="menu-item highlight">
<div class="menu-text">
<a href="./quiz.html">Quiz</a>
</div>
</div>
<div class="menu-item highlight">
<div class="menu-text">
<a href="./journal.html">Journal</a>
</div>
</div>
<div class="menu-item">
<div class="menu-text">
<a href="./resources.html">Resources</a>
</div>
</div>
<div class="menu-item">
<div class="menu-text">
<div id = "loginButton">Login</div>
</div>
</div>
</nav>
<!-- Login Modal -->
<div id="login" class="modal">
<form class="modal-content animate" action="/action_page.php" method="post" onsubmit = "return false">
<div class="container">
<label for="uname" ><b>Username*</b></label>
<input type="text" placeholder="Enter Username" name="uname" id="uname" required>
<label for="psw"><b>Password*</b></label>
<input type="password" placeholder="Enter Password" name="psw" id = "psw" required>
<button class="button" style ="text-align=right;" type="submit" onclick="Login()">Login</button>
</div>
<div id = "bottom">
<button type="button" id="close" class="cancelbtn">Cancel</button>
<span class="psw">Forgot <a href="./forgetPassword.html" target = "_self">password?</a></span>
<br><br>
<span class="psw"><a href="./createUser.html" target = "_self" > Create Account</a></span>
</div>
</form>
</div>
<!-- Create Account Form -->
<p class = "subtitle is-size-5 has-text-centered"> Please enter your username or email address.</p>
<form id = "form">
<label for="FirstName"><b>First Name</b></label>
<input type="text" placeholder="First Name" name="FirstName" required>
<label for="LastName" ><b>Last Name</b></label>
<input type="text" placeholder="Last Name" name="LastName" required>
<label for="email"><b>Email</b></label>
<input type="text" placeholder="Email" name="email" id = "newEmail" required>
<label for="pass" ><b>Password</b></label>
<input type="text" placeholder="Password" name="pass" id = "newPsw" required>
<button class="button" style="text-align = right;" type="submit" onclick="CreateAccount()">Create Account</button>
</form>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
</html>