File size: 3,137 Bytes
9fc36aa
 
 
 
 
e3566c9
ae34acf
 
 
 
9fc36aa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e3566c9
9fc36aa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <title>Reset Password — AI Medical Intelligence Pipeline</title>
  <!-- Favicon -->
  <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}" />
  <link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicon-192.png') }}" />
  <link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='apple-touch-icon.png') }}" />
  <meta name="description" content="Set a new password for your account."/>
  <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&display=swap" rel="stylesheet"/>
  <link rel="stylesheet" href="{{ url_for('static', filename='css/base.css') }}"/>
  <link rel="stylesheet" href="{{ url_for('static', filename='css/auth.css') }}"/>
</head>
<body>
<div class="auth-page">
  <aside class="auth-brand">
    <div class="auth-brand-logo">
      <div class="auth-brand-icon">
        <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
          <path d="M22 12h-4l-3 9L9 3l-3 9H2"/>
        </svg>
      </div>
      <span class="auth-brand-name">AI Medical Intelligence Pipeline</span>
    </div>

    <div class="auth-headline">
      <h2>Almost <span class="grad">Back In</span></h2>
      <p>Choose a strong, unique password you haven't used before.</p>
    </div>
  </aside>

  <main class="auth-form-panel">
    <div class="auth-card">
      <div class="auth-card-header">
        <h2>Choose a new password</h2>
        <p>This link is single-use and expires in 30 minutes</p>
      </div>

      {% with messages = get_flashed_messages(with_categories=true) %}
        {% if messages %}
          <div class="auth-alerts">
            {% for category, message in messages %}
              <div class="alert alert-{{ category }}">{{ message }}</div>
            {% endfor %}
          </div>
        {% endif %}
      {% endwith %}

      <form method="POST" class="auth-form" id="resetPwForm">
        <div class="form-group">
          <label for="password">New Password</label>
          <div class="input-wrap">
            <input type="password" id="password" name="password" required class="has-toggle" minlength="8" autocomplete="new-password"/>
          </div>
        </div>

        <div class="form-group">
          <label for="confirm_password">Confirm New Password</label>
          <div class="input-wrap">
            <input type="password" id="confirm_password" name="confirm_password" required class="has-toggle" minlength="8" autocomplete="new-password"/>
          </div>
        </div>

        <button type="submit" class="btn-auth-submit">Save New Password</button>
      </form>

      <div class="auth-footer">
        Remembered it? <a href="{{ url_for('auth.login') }}">Back to sign in</a>
      </div>
    </div>
  </main>
</div>
</body>
</html>