Changed reseting page added emailcode page and new password page will need to make more secure all just placeholders atm so its fine

This commit is contained in:
Jordan
2026-07-28 11:59:30 +12:00
parent b332df87d7
commit 1012c41c22
7 changed files with 69 additions and 29 deletions
+1 -23
View File
@@ -1,33 +1,11 @@
{% extends 'base.html' %}
{% block content %}
<style>
.sources {
background-color: gray;
color: white;
text-align: left;
height: 200px;
width: 1660px;
margin-top: auto;
}
.sourcescontent{
margin-left: 8px;
color:white;
}
.mainpart {
display: flex;
flex-direction: column;
min-height: 80vh;
}
</style>
<div class="mainpart">
<h1>Information on bivariate data Analysis</h1>
<div class="information">
<h2>information</h2>
</div>
<div class="formulas">
+27
View File
@@ -0,0 +1,27 @@
{% extends 'base.html' %}
{% block content %}
<style>
body{
margin-left: 500px;
margin-top: 80px;
margin-right: 500px;
border: 3px solid black;
padding: 10px;
border-radius: 4px;
}
.button{
margin-left: 250px;
}
.emailbox{
margin-left: 170px;
}
</style>
<h2>Enter your new password<h2>
<p style="color: gray; text-decoration: underline;">This page is just a placeholder at the moment not functional</p>
<p class="pass">Enter new password: <input required><br><br></p>
<p class="pass">Enter new password again <input required><br><br></p>
<a class="button" href="/" style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; border-color: gray; border-radius: 4px; border-width: 4px; border-style: solid; display: inline-block; text-decoration: none; padding: 8px 16px; color: black;">Change</a>
{% endblock %}
+2 -2
View File
@@ -11,7 +11,7 @@
border-radius: 4px;
}
button{
.button{
margin-left: 250px;
}
@@ -22,5 +22,5 @@
<h2>Forgotten you password just enter your email below and you'll be sent a link to reset your password</h2>
<p style="color: gray; text-decoration: underline;">This page is just a placeholder at the moment not functional</p>
<p class="emailbox">Enter email here: <input type="email" id="email" name="email" required><br><br></p>
<button type="resetpassword" style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; border-color: gray; border-radius: 4px; border-width: 4px;">Send reset email</button>
<a class="button" href="/resetpasscode" style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; border-color: gray; border-radius: 4px; border-width: 4px; border-style: solid; display: inline-block; text-decoration: none; padding: 8px 16px; color: black;">Send reset email</a>
{% endblock %}
+26
View File
@@ -0,0 +1,26 @@
{% extends 'base.html' %}
{% block content %}
<style>
body{
margin-left: 500px;
margin-top: 80px;
margin-right: 500px;
border: 3px solid black;
padding: 10px;
border-radius: 4px;
}
.button{
margin-left: 250px;
}
.emailbox{
margin-left: 170px;
}
</style>
<h2>Forgotten you password just enter the code that was sent to you via email<h2>
<p style="color: gray; text-decoration: underline;">This page is just a placeholder at the moment not functional</p>
<p class="emailcode">Enter code recieved in email: <input required><br><br></p>
<a class="button" href="/newpassword" style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; border-color: gray; border-radius: 4px; border-width: 4px; border-style: solid; display: inline-block; text-decoration: none; padding: 8px 16px; color: black;">Change</a>
{% endblock %}