diff --git a/create_account.php b/create_account.php
index fbe5e88..7a8053c 100644
--- a/create_account.php
+++ b/create_account.php
@@ -44,6 +44,15 @@ try { // Try opening the SQL database connection
+
USER CREATION FORM
diff --git a/scripts/user_management.js b/scripts/user_management.js
index 8fff5a2..74a3b78 100644
--- a/scripts/user_management.js
+++ b/scripts/user_management.js
@@ -121,13 +121,13 @@ function usernameConfirm() {
} else if (listOfUsers.includes(username)) {
document.getElementById("confirmUsername").style.visibility = "visible";
document.getElementById("confirmUsername").style.color = "red";
- document.getElementById("confirmUsername").innerHTML = "Name Taken";
+ document.getElementById("confirmUsername").innerHTML = "Taken";
document.getElementById("username").style.border = "2px solid red";
return false; // we return false for a match - a match is not what we want!
} else if (!listOfUsers.includes(username)) {
document.getElementById("confirmUsername").style.visibility = "visible";
document.getElementById("confirmUsername").style.color = "green";
- document.getElementById("confirmUsername").innerHTML = "Name Available!";
+ document.getElementById("confirmUsername").innerHTML = "";
document.getElementById("username").style.border = "1px solid green";
return true; // this means the user does not already exist and is good to go
}
diff --git a/styles/user_management.css b/styles/user_management.css
index 02bf997..c18e4ab 100644
--- a/styles/user_management.css
+++ b/styles/user_management.css
@@ -311,29 +311,3 @@
width: 350px;
margin: auto;
}
-
-
-@media only screen and (min-width: 360px) and (max-width: 1024px) {
-
- #createAccountPanel {
- width: 275px;
- }
-
- #createAccountBody {
- width: 275px;
- }
-
- #userForm input[type="password"] {
- margin: 2% 2%;
- width: 170px;
- }
- #userForm input[type="text"] {
- margin: 2% 2%;
- width: 170px;
- }
-
- #displayPassword {
- padding: 0 0 0 5px;
- }
-
-}
diff --git a/styles/user_management_mobile.css b/styles/user_management_mobile.css
new file mode 100644
index 0000000..bf02cf4
--- /dev/null
+++ b/styles/user_management_mobile.css
@@ -0,0 +1,31 @@
+#createAccountPanel {
+ width: 275px;
+}
+
+#createAccountBody {
+ width: 275px;
+}
+
+#userForm input[type="password"] {
+ margin: 2% 2%;
+ width: 170px;
+}
+#userForm input[type="text"] {
+ margin: 2% 2%;
+ width: 170px;
+}
+
+#displayPassword {
+ padding: 0 0 0 5px;
+}
+
+#matchingPasswords {
+ visibility: hidden !important;
+ height: 0;
+ width: 0;
+}
+#matchingPasswordsText {
+ visibility: hidden !important;
+ height: 0;
+ width: 0;
+}
\ No newline at end of file
diff --git a/user/account.php b/user/account.php
index b8c2c83..a13c147 100644
--- a/user/account.php
+++ b/user/account.php
@@ -64,6 +64,15 @@ try { // Try opening the SQL database connection
+
User Account Management