-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from RPI-ITWS/bug-fix
update signup
- Loading branch information
Showing
3 changed files
with
131 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
body { | ||
margin: 0; | ||
background-color: #a0c9bf; | ||
color: #000000; | ||
font-family: Arial, sans-serif; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.navbar { | ||
background-color: #333; | ||
border-bottom: 5px solid #00ffc3; | ||
padding: 10px 20px; | ||
width: 100%; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
z-index: 1000; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.logo-container { | ||
margin-top: 150px; | ||
text-align: center; | ||
} | ||
|
||
.logo-container img { | ||
width: 235px; | ||
height: auto; | ||
} | ||
|
||
.signup-title { | ||
font-family: "Arial Black", sans-serif; | ||
font-size: 35px; | ||
font-style: italic; | ||
font-weight: bold; | ||
color: #333; | ||
text-align: center; | ||
margin-top: -35px; | ||
} | ||
|
||
.form-container { | ||
width: 400px; | ||
padding: 2rem; | ||
border: 2px solid #00ffc3; | ||
border-radius: 8px; | ||
background-color: #D3D3D3; | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
label { | ||
font-size: 1rem; | ||
font-weight: bold; | ||
color: #000000; | ||
margin-bottom: 0.5rem; | ||
display: block; | ||
} | ||
|
||
input[type="email"], | ||
input[type="password"], | ||
input[type="text"] { | ||
width: 100%; | ||
padding: 10px; | ||
margin-bottom: 1rem; | ||
border: 2px solid #00ffc3; | ||
border-radius: 5px; | ||
background-color: #FFFFFF; | ||
font-size: 1rem; | ||
color: #000000; | ||
} | ||
|
||
input[type="email"]:focus, | ||
input[type="password"]:focus, | ||
input[type="text"]:focus { | ||
outline: none; | ||
border-color: #00b28e; | ||
} | ||
|
||
button[type="submit"] { | ||
width: 100%; | ||
padding: 10px; | ||
font-size: 1rem; | ||
font-weight: bold; | ||
font-style: italic; | ||
color: #333; | ||
background-color: #00ffc3; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
button[type="submit"]:hover { | ||
background-color: #00b28e; | ||
color: #FFFFFF; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,34 +50,40 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Signup</title> | ||
<link rel="stylesheet" href="../../assets/navbar.css"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> | ||
</head> | ||
<body> | ||
|
||
<?php include '../../php/header.php'; ?> | ||
<link rel="stylesheet" href="../../assets/MainPage.css"> | ||
<link rel="stylesheet" href="../../assets/navbar.css"> | ||
<link rel="stylesheet" href="signup.css"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity_no="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> | ||
|
||
<div class="d-flex vh-100 justify-content-center align-items-center"> | ||
<div class="form-container"> | ||
<form id="signupForm"> | ||
<div class="mb-3"> | ||
<label for="name" class="form-label">Name</label> | ||
<input type="text" class="form-control" id="name" name="name" required> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="email" class="form-label">Email address</label> | ||
<input type="email" class="form-control" id="email" name="email" required> | ||
<div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="password" class="form-label">Password</label> | ||
<input type="password" class="form-control" id="password" name="password" required> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</form> | ||
</div> | ||
</head> | ||
<body> | ||
<?php include '../../php/header.php'; ?> | ||
<div class="logo-container text-center"> | ||
<img src="../../assets/Photos/logo2_processed.png" alt="WinShare Logo" class="mb-3"> | ||
<h1 class="display-4 signup-title">Sign Up</h1> | ||
</div> | ||
<div class="d-flex vh-100 justify-content-center align-items-center"> | ||
<div class="form-container"> | ||
<form id="signupForm"> | ||
<div class="mb-3"> | ||
<label for="name" class="form-label">Name</label> | ||
<input type="text" class="form-control" id="name" name="name" required> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="email" class="form-label">Email address</label> | ||
<input type="email" class="form-control" id="email" name="email" required> | ||
<div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="password" class="form-label">Password</label> | ||
<input type="password" class="form-control" id="password" name="password" required> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<script src="signup.js"></script> | ||
<script src="signup.js"></script> | ||
</body> | ||
</html> |
Empty file.