updated Gate

This commit is contained in:
JakeBreath
2026-08-05 11:38:05 -05:00
parent 3d15d1b8f2
commit 26e9179be4
3 changed files with 61 additions and 28 deletions
+22 -28
View File
@@ -1,30 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Packs Site - Restricted{% endblock %}</title>
{% load static %}
<link rel="stylesheet" href="{% static 'css/style.css' %}">
<link rel="icon" type="image/png" href="{% static 'Logo.png' %}">
</head>
<body>
<main class="gate-main">
<div class="gate-card">
<img src="{% static 'Logo.png' %}" alt="Packs" height="64">
<h1>Restricted Access</h1>
<p>This site is private. Enter the master password to continue.</p>
{% extends 'base.html' %}
{% load static %}
{% if error %}
<p class="gate-error">{{ error }}</p>
{% endif %}
{% block title %}Restricted - Packs Site{% endblock %}
<form method="post" action="{% url 'landing:gate' %}">
{% csrf_token %}
<input type="password" name="password" placeholder="Master password" autofocus required>
<button type="submit">Enter</button>
</form>
</div>
</main>
</body>
</html>
{% block content %}
<div class="gate-main">
<div class="gate-card">
<img src="{% static 'stop-it.gif' %}" alt="Stop" height="256">
<h1>Restricted Access</h1>
<p>This site is private. Enter the master password to continue.</p>
{% if error %}
<p class="gate-error">{{ error }}</p>
{% endif %}
<form method="post" action="{% url 'landing:gate' %}">
{% csrf_token %}
<input type="password" name="password" placeholder="Master password" autofocus required>
<button type="submit">Enter</button>
</form>
</div>
</div>
{% endblock %}