File size: 4,916 Bytes
d70361b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>My Profile — Vedangsoft Change Detection</title>
  <link rel="stylesheet" href="/static/css/style.css?v=34" />
  <link rel="stylesheet" href="/static/css/dda.css?v=47" />
</head>
<body>
  <div class="app dda-app">
    {% include "partials/navbar_dda.html" %}

    <div class="dda-main-col">
      {% include "partials/alerts_dda.html" %}

      <section id="tab-profile" class="dda-panel active" role="tabpanel">
        <div class="dda-hero">
          <h1>My Profile</h1>
          <p class="sub">View and update your account information.</p>
        </div>

        <div class="dda-admin-2col dda-admin-2col-roles">
          <div class="card">
            <div class="dda-profile-summary">
              <span id="profile-avatar" class="dda-profile-avatar" aria-hidden="true"></span>
              <h3 id="profile-name">&nbsp;</h3>
              <p class="dim" id="profile-email">&nbsp;</p>
              <span id="profile-role-badge" class="dda-profile-badge"></span>
              <div class="dda-profile-meta">
                <div>
                  <span class="dda-profile-meta-label">Account status</span>
                  <span class="dda-profile-meta-value">Active</span>
                </div>
                <div>
                  <span class="dda-profile-meta-label">Last login</span>
                  <span class="dda-profile-meta-value" id="profile-last-login">&mdash;</span>
                </div>
              </div>
            </div>
          </div>

          <div style="display:flex; flex-direction:column; gap:1rem;">
            <div class="card">
              <div class="card-header"><h3>Personal Information</h3></div>
              <div id="profile-error" class="alert alert-error hidden"></div>
              <div id="profile-success" class="alert alert-success hidden"></div>
              <form id="profile-form">
                <div class="location-row">
                  <div class="form-group">
                    <label for="profile-full-name">Full name</label>
                    <input type="text" id="profile-full-name" required />
                  </div>
                  <div class="form-group">
                    <label for="profile-email-field">Email <span class="dim">(sign-in identity, not editable here)</span></label>
                    <input type="email" id="profile-email-field" disabled />
                  </div>
                </div>
                <div class="form-group">
                  <label for="profile-phone">Mobile number</label>
                  <div class="dda-phone-input">
                    <select id="profile-country-code" class="dda-country-select" aria-label="Country code"></select>
                    <input type="tel" id="profile-phone" autocomplete="tel-national" inputmode="numeric" maxlength="15" placeholder="Mobile number" required />
                  </div>
                </div>
                <button type="submit" class="btn btn-primary">Save changes</button>
              </form>
            </div>

            <div class="card">
              <div class="card-header"><h3>Change Password</h3></div>
              <div id="password-error" class="alert alert-error hidden"></div>
              <div id="password-success" class="alert alert-success hidden"></div>
              <form id="password-form">
                <div class="form-group">
                  <label for="current-password">Current password</label>
                  <input type="password" id="current-password" autocomplete="current-password" required />
                </div>
                <div class="location-row">
                  <div class="form-group">
                    <label for="new-password">New password</label>
                    <input type="password" id="new-password" autocomplete="new-password" required />
                    <div class="field-hint" style="color:var(--text-dim); font-size:0.78rem; margin-top:0.35rem;">At least 8 characters</div>
                  </div>
                  <div class="form-group">
                    <label for="confirm-new-password">Confirm new password</label>
                    <input type="password" id="confirm-new-password" autocomplete="new-password" required />
                  </div>
                </div>
                <button type="submit" class="btn btn-primary">Change password</button>
              </form>
            </div>
          </div>
        </div>
      </section>
    </div>
  </div>

  <script src="/static/js/dda/shared.js?v=7"></script>
  <script src="/static/js/dda/countries.js?v=1"></script>
  <script src="/static/js/dda/app.js?v=29"></script>
  <script src="/static/js/dda/notifications.js?v=5"></script>
  <script src="/static/js/dda/profile.js?v=5"></script>
</body>
</html>