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

View File

@ -1,7 +1,12 @@
{% extends "base" %} <!DOCTYPE html>
<html lang="en">
{% block content %} <head>
<div class="login-container"> <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"> <form class="login-form">
<h1>Login</h1> <h1>Login</h1>
<div class="form-group"> <div class="form-group">
@ -14,5 +19,6 @@
</div> </div>
<button type="submit">Log In</button> <button type="submit">Log In</button>
</form> </form>
</div> </div>
{% endblock %} </body>
</html>