Remove unneeded base

This commit is contained in:
Greg Shuflin 2025-02-01 20:04:21 -08:00
parent 22edb9aac9
commit 7c53550895
3 changed files with 25 additions and 37 deletions

View File

@ -1,12 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RSS Reader Login</title>
<link rel="stylesheet" href="/static/css/style.css">
</head>
<body class="{% block body_class %}{% endblock %}">
{% block content %}{% endblock %}
</body>
</html>

View File

@ -1,8 +1,3 @@
{% extends "base" %}
{% block body_class %}with-sidebar{% endblock %}
{% block content %}
<!DOCTYPE html>
<html lang="en">
<head>
@ -11,7 +6,7 @@
<title>RSS Reader</title>
<link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
<body class="with-sidebar">
<div class="sidebar">
<h2>Navigation</h2>
<ul>
@ -26,4 +21,3 @@
</div>
</body>
</html>
{% endblock %}

View File

@ -1,18 +1,24 @@
{% extends "base" %}
{% block content %}
<div class="login-container">
<form class="login-form">
<h1>Login</h1>
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
</div>
<button type="submit">Log In</button>
</form>
</div>
{% endblock %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RSS Reader Login</title>
<link rel="stylesheet" href="/static/css/style.css">
</head>
<div class="login-container">
<form class="login-form">
<h1>Login</h1>
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
</div>
<button type="submit">Log In</button>
</form>
</div>
</body>
</html>