working base site setup with gatekeeping working
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<!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>
|
||||
|
||||
{% 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>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user