user page style now similar to login
This commit is contained in:
parent
00e5ed3c21
commit
c05c5d47e0
@ -4,10 +4,14 @@
|
||||
|
||||
body {
|
||||
background-color: black;
|
||||
color: white;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 18px;
|
||||
margin: 10px;
|
||||
@ -18,7 +22,7 @@ button {
|
||||
}
|
||||
|
||||
#bio {
|
||||
color:white;
|
||||
color:black;
|
||||
font-size: 20px;
|
||||
background-color: black;
|
||||
border: 0px solid black;
|
||||
@ -26,6 +30,16 @@ button {
|
||||
}
|
||||
|
||||
.bio {
|
||||
color:white;
|
||||
color:black;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 75vh;
|
||||
width: 100%;
|
||||
background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Mountains-1412683.svg/1280px-Mountains-1412683.svg.png) no-repeat center center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
@ -15,7 +15,12 @@
|
||||
<li><a href="/user">Profile</a></li>
|
||||
<li><a href="/posts">Posts</a></li>
|
||||
</ul>
|
||||
<header>
|
||||
<h1>Welcome Back!</h1>
|
||||
</header>
|
||||
<main>
|
||||
<form id="login_form" class="form_class" action="login" method="post">
|
||||
<div class="info_div">
|
||||
<h2 id="user">User: USER</h2>
|
||||
<br>
|
||||
<span class="bio">Bio: <input type="text" id="bio" disabled placeholder="wow such empty"></span>
|
||||
@ -24,6 +29,9 @@
|
||||
<button onclick="location.assign('/changePW')">Want to change your password?</button>
|
||||
<br>
|
||||
<button onclick="location.assign('/posts')">Want to chat with some cool fellas?</button>
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
<script>
|
||||
async function setuser() {
|
||||
let user = await (await fetch("/api/getuser")).json();
|
||||
|
Loading…
x
Reference in New Issue
Block a user