worked on forgot password page

This commit is contained in:
reddishquill371 2024-10-23 18:12:27 -05:00
parent 3462fc966c
commit ac664eddf3
3 changed files with 69 additions and 2 deletions

View file

@ -0,0 +1,47 @@
:root {
--utsa-orange: #f15a22;
--utsa-blue: #0c2340;
}
html {
background-color: var(--utsa-orange);
}
#rform {
border-radius: 10px;
border: solid var(--utsa-orange) 2px;
margin: 100px;
padding: 30px;
background-color: white;
}
#formbg {
background-color: var(--utsa-orange);
}
#h3bg {
background-color: var(--utsa-blue);
}
h3 {
border-radius: 10px;
padding: 20px;
margin: 10px;
background-color: var(--utsa-blue);
color: var(--utsa-orange);
font-size: 40px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.form-label {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.form-control {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.form-text {
padding: 3px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}

View file

@ -10,6 +10,26 @@
<link href="./forgotpassword.css" rel="stylesheet">
</head>
<body>
<div id="h3bg" class="d-flex justify-content-center"><h3 id="r">UTSA Place</h3></div>
<div id="formbg" class="d-flex p-2 justify-content-center align-items-center">
<form id="rform" method="post">
<div class="d-flex justify-content-center fs-3">
Forgot Password
</div>
<br><br>
<div class="mb-3">
<label for="email" class="form-label">Email address</label>
<input type="email" class="form-control" id="email" name="email" aria-describedby="emailHelp" required>
<div id="emailHelp" class="form-text">Enter your email and we will send you a 6-digit recovery code.</div>
</div>
<input id="submit" type="submit" class="btn btn-primary" value="Send Code">
<br>
<div class="d-flex mt-2">
<small>
Click <a href="login.html">here</a> to go back to login.
</small>
</div>
</form>
</div>
</body>
</html>

View file

@ -35,7 +35,7 @@
</small>
<br><br>
<input id="submit" type="submit" class="btn btn-primary" value="Submit">
<input id="submit" type="submit" class="btn btn-primary" value="Send Code" onclick="window.location.href='confirmation.html';">
</form>
</div>
<script src="register.js"></script>