Generated a transparent PNG set from the source icon (a JPEG with a baked-in checkerboard) by keying out the background on saturation — the arrow is strongly saturated (0.47-0.68) while the grey/white background is 0.00, so the cutout is clean. Produced static/logo.png (top-bar, natural aspect), static/favicon.png (32px), and static/apple-touch-icon.png (180px). Wired favicon + apple-touch links into all three page heads (feed, settings, login) and placed the logo next to the "AgentFeed" title in the top bar. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
46 lines
1.3 KiB
HTML
46 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Log in — AgentFeed</title>
|
|
<link rel="icon" type="image/png" href="/static/favicon.png">
|
|
<link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
|
|
<link rel="stylesheet" href="/static/daybook.css">
|
|
<script>
|
|
// Set the theme before first paint so dark-mode users never see a light flash.
|
|
(function () {
|
|
try {
|
|
if (localStorage.getItem("daybook.theme") === "dark") {
|
|
document.documentElement.setAttribute("data-theme", "dark");
|
|
}
|
|
} catch (e) {}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<main class="login-page">
|
|
<form method="post" class="login-card">
|
|
{% csrf_token %}
|
|
<h1>AgentFeed</h1>
|
|
{% if form.non_field_errors %}
|
|
<p class="login-error">{{ form.non_field_errors|join:" " }}</p>
|
|
{% endif %}
|
|
<label>
|
|
<span>Username</span>
|
|
{{ form.username }}
|
|
</label>
|
|
<label>
|
|
<span>Password</span>
|
|
{{ form.password }}
|
|
</label>
|
|
<label class="login-remember">
|
|
{{ form.remember_me }}
|
|
<span>Remember me</span>
|
|
</label>
|
|
<button type="submit">Log in</button>
|
|
<input type="hidden" name="next" value="{{ next }}">
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|