Started main page ui

This commit is contained in:
chopster44 committed 2023-07-17 20:14:00 +01:00
1 parent 3761fc1b1e
commit f24dcae19f
3 files changed
+16 -2

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
.loginSpacer {
height: 33%;
}
#menu {
width: 100%;
padding: 5%;
}
+10 -1
View File
@@ -25,7 +25,16 @@
<div class="fourth two-fifth-1000"></div>
</div>
<div id="mainPage" style="display: none;">
<p>Main Page</p>
<div id="content">
<div id="tasks"></div>
<div id="history"></div>
<div id="addTask"></div>
</div>
<div id="menu" class="flex three">
<button class="third">Tasks</button>
<button class="third">History</button>
<button class="third">Add Task</button>
</div>
</div>
</body>
</html>
+1 -1
View File
@@ -16,7 +16,7 @@ async function login() {
});
// if failed red button
// else switch screen
if (response.status != 200) {
if (response.status !== 200) {
document.getElementById("loginSubmit").classList.add("error");
} else {
// switch screen