summaryrefslogtreecommitdiff
path: root/templates/login.html
blob: c1645312ec52ef64caa3cd76354c3a52f833a309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{% extends "base.html" %}

{% block title %}Login - Lumière{% endblock %}

{% block content %}
<div style="max-width: 320px; margin: 60px auto; padding: 0 20px;">
  <div style="text-align: center; margin-bottom: 40px;">
    <h1 style="margin: 0; font-size: 32px; color: var(--text);">Lumière</h1>
    <p style="color: var(--muted); margin: 8px 0 0 0;">Film Diary</p>
  </div>

  <form method="post" style="display: flex; flex-direction: column; gap: 16px;">
    {% if error %}
    <div style="
      background: rgba(223, 110, 98, 0.1);
      border: 1px solid rgba(223, 110, 98, 0.4);
      color: #ffc7c0;
      padding: 12px;
      border-radius: 6px;
      font-size: 14px;
    ">{{ error }}</div>
    {% endif %}

    <div style="display: flex; flex-direction: column; gap: 6px;">
      <label for="password" style="font-weight: 500; font-size: 14px; color: var(--text);">Password</label>
      <input
        type="password"
        id="password"
        name="password"
        required
        autofocus
        style="
          padding: 11px 12px;
          border: 1px solid var(--line);
          border-radius: 6px;
          font-size: 16px;
          background: #11100e;
          color: var(--text);
        "
      />
    </div>

    <button
      type="submit"
      style="
        padding: 11px 12px;
        background: var(--accent);
        color: #0e0a04;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
      "
    >
      Sign In
    </button>
  </form>
</div>
{% endblock %}