Files
Student-Management-System-I…/templates/login/reset_options.html
T

156 lines
4.0 KiB
HTML

{% extends "base.html" %}
{% load static %}
{% block content %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reset Password - Student Management System</title>
<style>
:root {
--primary-color: #4285f4;
--secondary-color: #34a853;
--accent-color: #ea4335;
--background-color: #f8f9fa;
--text-color: #202124;
--light-text: #5f6368;
--error-color: #ea4335;
--border-radius: 8px;
--box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
body {
font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
background-color: var(--background-color);
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: var(--text-color);
}
.reset-container {
background: white;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
width: 380px;
padding: 40px;
text-align: center;
}
.logo {
margin-bottom: 30px;
width: 80px;
height: 80px;
}
h1 {
font-size: 24px;
font-weight: 500;
margin-bottom: 20px;
}
p {
margin-bottom: 30px;
color: var(--light-text);
line-height: 1.5;
text-align: left;
}
.options {
display: flex;
flex-direction: column;
gap: 15px;
margin: 30px 0;
}
.option-btn {
display: flex;
align-items: center;
background-color: white;
border: 1px solid #ddd;
border-radius: var(--border-radius);
padding: 15px;
cursor: pointer;
transition: all 0.3s;
text-decoration: none;
color: var(--text-color);
}
.option-btn:hover {
border-color: var(--primary-color);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.option-icon {
font-size: 24px;
margin-right: 15px;
color: var(--primary-color);
}
.option-text {
text-align: left;
}
.option-text h3 {
margin: 0 0 5px 0;
font-size: 16px;
}
.option-text p {
margin: 0;
font-size: 14px;
color: var(--light-text);
}
.back-link {
margin-top: 25px;
}
.back-link a {
color: var(--primary-color);
text-decoration: none;
font-size: 14px;
}
.back-link a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="reset-container">
<img src="{% static 'img/logo.png' %}" alt="Logo" class="logo">
<h1>Reset Password</h1>
<p>Select how you would like to reset your password:</p>
<div class="options">
<a href="{% url 'phone_reset_password' %}" class="option-btn">
<div class="option-icon">📱</div>
<div class="option-text">
<h3>Reset via SMS</h3>
<p>Receive a verification code on your phone number</p>
</div>
</a>
<a href="{% url 'email_reset_password' %}" class="option-btn">
<div class="option-icon">✉️</div>
<div class="option-text">
<h3>Reset via Email</h3>
<p>Receive a reset link on your email address</p>
</div>
</a>
</div>
<div class="back-link">
<a href="{% url 'login' %}">Back to login</a>
</div>
</div>
</body>
</html>
{% endblock %}