File size: 4,328 Bytes
1434f10
2406314
 
 
 
76f23ad
467a744
 
1434f10
 
 
fc1d7ea
2406314
 
 
 
 
 
 
1434f10
 
 
 
 
2406314
 
 
 
 
 
 
 
1434f10
 
2406314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76f23ad
2406314
1434f10
2406314
 
 
 
 
 
76f23ad
2406314
 
ad2b9ae
 
 
2406314
 
 
 
 
 
 
76f23ad
2406314
 
 
76f23ad
59e06b1
1434f10
59e06b1
 
 
 
 
 
 
 
 
 
 
76f23ad
59e06b1
76f23ad
59e06b1
 
 
 
 
 
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Sign In - Explorer Consultant Bot</title>
  <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon.png?v=2" />
  <link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png?v=2" />
  <link rel="preconnect" href="https://fonts.googleapis.com" />
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=JetBrains+Mono:wght@400;500;600&family=Hanuman:wght@400;700&display=swap" rel="stylesheet" />
  <link rel="stylesheet" href="/static/style.css?v=20260510-row-delete" />
</head>
<body class="login-body">

  <!-- Minimal nav bar (logo only, no links) -->
  <nav class="top-nav">
    <div class="nav-inner">
      <a href="/" class="nav-brand">
        <img src="/assets/logo-transparent.png" alt="Explorer by SL" class="nav-logo-img" />
        <span class="nav-wordmark">
          <span class="w-main">Explorer</span>
          <span class="w-sub">by SL</span>
        </span>
      </a>
    </div>
  </nav>

  <div class="login-page">

    <!-- Hero -->
    <div class="hero" style="padding-top: 2.5rem; padding-bottom: 1.5rem;">
      <span class="hero-welcome">Welcome</span>
      <p class="hero-subtitle">Explorer Consultant Bot</p>
      <p class="hero-desc">Sign in below to access the AI consultant training tool.</p>
    </div>

    <!-- Login card -->
    <div class="login-card">
      <span class="form-label">SIGN IN</span>

      {% if error %}
      <div class="alert alert-error">{{ error }}</div>
      {% endif %}

      {% if success %}
      <div class="alert alert-success">{{ success }}</div>
      {% endif %}

      <form method="POST" action="/login" class="login-form">
        <div class="field">
          <label for="email">Email</label>
          <input id="email" name="email" type="email"
                 placeholder="your@email.com" required autocomplete="email" />
        </div>
        <div class="field">
          <label for="password">Password</label>
          <input id="password" name="password" type="password"
                 placeholder="Password" required autocomplete="current-password" />
        </div>
        <button type="submit" class="btn btn-primary btn-block" style="margin-top: 0.4rem;">SIGN IN</button>
      </form>

      <p class="login-hint">Contact your administrator to get access.</p>

      <!-- First-time password setup -->
      <details class="setup-details">
        <summary>First time? Create your password here</summary>
        <div class="setup-body">
          <p class="setup-caption">Only works for accounts that have never had a password set.</p>
          <p class="setup-caption" style="margin-top:0.4rem;font-size:0.75rem;color:var(--text-dim,#888);">
            Password requirements: 12+ characters, uppercase, lowercase, number, and a special character.
          </p>
          <form method="POST" action="/setup-password" class="login-form">
            <div class="field">
              <label for="su-email">Email</label>
              <input id="su-email" name="email" type="email" placeholder="your@email.com" required />
            </div>
            <div class="field">
              <label for="su-pw">New Password</label>
              <input id="su-pw" name="password" type="password" placeholder="New password" required />
            </div>
            <div class="field">
              <label for="su-pw2">Confirm Password</label>
              <input id="su-pw2" name="confirm" type="password" placeholder="Confirm password" required />
            </div>
            <button type="submit" class="btn btn-outline btn-block">Create Password</button>
          </form>
        </div>
      </details>
    </div>

  </div>

  <!-- Footer -->
  <footer class="page-footer">
    <div class="footer-inner">
      <span>Explorer by SL</span>
      <span class="footer-sep">·</span>
      <span>AI Chatbot for Customer Objection Solution</span>
      <span class="footer-sep">·</span>
      <span>Internal Training Tool</span>
    </div>
  </footer>

</body>
</html>