Initial commit: Arr Summary source from server

This commit is contained in:
mattie726 2026-08-25 22:59:31 -07:00 committed by Barely Removable
commit c1e30bc8f0
37 changed files with 11661 additions and 0 deletions

203
login.html Normal file
View file

@ -0,0 +1,203 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Greendale Media Centre — Login</title>
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link href="https://fonts.googleapis.com/css2?family=Special+Elite&family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root {
--gold: #e8b84b;
--gold-dk: #c49a2a;
--teal: #2a9d8f;
--teal-lt: #3dbdb0;
--navy: #1b2a3b;
--navy-lt: #243447;
--navy-mid:#1e3050;
--panel: #192433;
--border: #2e4460;
--text: #d8e4f0;
--muted: #7a93b0;
--red: #e84b4b;
--green: #27c98f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', sans-serif;
background: var(--navy);
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
}
.login-wrap {
width: 100%;
max-width: 400px;
}
/* ── Logo / brand ── */
.brand {
text-align: center;
margin-bottom: 2rem;
}
.brand .logo-badge {
display: inline-block;
background: var(--gold);
color: var(--navy);
font-family: 'Special Elite', cursive;
font-size: 1.3rem;
font-weight: 700;
padding: 0.5rem 1.2rem;
border-radius: 8px;
letter-spacing: 1px;
margin-bottom: 0.85rem;
}
.brand h1 {
font-family: 'Special Elite', cursive;
font-size: 1.6rem;
color: var(--gold);
letter-spacing: 1px;
}
.brand p {
font-size: 0.8rem;
color: var(--muted);
margin-top: 0.3rem;
font-style: italic;
}
/* ── Card ── */
.login-card {
background: var(--panel);
border: 1px solid var(--border);
border-top: 3px solid var(--gold);
border-radius: 12px;
padding: 2rem 2rem 1.75rem;
}
.login-card h2 {
font-family: 'Special Elite', cursive;
font-size: 1rem;
color: var(--muted);
text-align: center;
margin-bottom: 1.5rem;
letter-spacing: 0.5px;
}
/* ── Form fields ── */
.field { margin-bottom: 1.1rem; }
.field label {
display: block;
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.6px;
color: var(--muted);
margin-bottom: 0.4rem;
}
.field input {
width: 100%;
background: var(--navy-lt);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.7rem 1rem;
font-size: 0.95rem;
color: var(--text);
font-family: 'Inter', sans-serif;
outline: none;
transition: border-color 0.2s;
}
.field input:focus { border-color: var(--gold); }
.field input::placeholder { color: var(--muted); }
/* ── Error ── */
.error-msg {
background: rgba(232,75,75,0.1);
border: 1px solid rgba(232,75,75,0.4);
border-radius: 8px;
padding: 0.7rem 1rem;
color: #ff8080;
font-size: 0.83rem;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
/* ── Submit button ── */
.btn-login {
width: 100%;
background: var(--gold);
color: var(--navy);
border: none;
border-radius: 8px;
padding: 0.8rem;
font-size: 0.95rem;
font-weight: 700;
font-family: 'Special Elite', cursive;
letter-spacing: 0.5px;
cursor: pointer;
transition: opacity 0.15s, transform 0.1s;
margin-top: 0.4rem;
}
.btn-login:hover { opacity: 0.88; }
.btn-login:active { transform: scale(0.98); }
/* ── Footer quote ── */
.login-footer {
text-align: center;
margin-top: 1.5rem;
font-family: 'Special Elite', cursive;
font-size: 0.72rem;
color: var(--muted);
font-style: italic;
}
</style>
</head>
<body>
<div class="login-wrap">
<div class="brand">
<img src="{{ url_for('static', filename='logo.png') }}" alt="Greendale Community College" style="width:90px; height:90px; object-fit:contain; margin-bottom:0.75rem; filter:drop-shadow(0 2px 8px rgba(0,0,0,0.4));">
<h1>Greendale Media Centre</h1>
<p>Human beings welcome. Robots too.</p>
</div>
<div class="login-card">
<h2>🔒 &nbsp;Study Room F — Access Required</h2>
{% if error %}
<div class="error-msg">⚠️ {{ error }}</div>
{% endif %}
<form method="POST" action="{{ url_for('login', next=request.args.get('next', '')) }}">
<div class="field">
<label for="password">Password</label>
<input
type="password"
id="password"
name="password"
placeholder="Enter password"
autofocus
autocomplete="current-password"
>
</div>
<button type="submit" class="btn-login">Enter Study Room →</button>
</form>
</div>
<div class="login-footer">
"I discovered at a young age that I have… a gift." — Jeff Winger
</div>
</div>
</body>
</html>