File size: 3,091 Bytes
9e7b45f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>FaceMark Pro App</title>
  <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
  <script src="https://unpkg.com/htmx.org@1.9.12"></script>
</head>
<body class="light">
  <div class="fade-overlay" id="fadeOverlay"></div>

  <div class="theme-toggle-container">
    <label class="theme-switch">
      <input type="checkbox" class="theme-switch__checkbox">
      <div class="theme-switch__container">
        <div class="theme-switch__clouds"></div>
        <div class="theme-switch__stars-container">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 55" fill="none">
            <path fill-rule="evenodd" clip-rule="evenodd" fill="currentColor"></path>
          </svg>
        </div>
        <div class="theme-switch__circle-container">
          <div class="theme-switch__sun-moon-container">
            <div class="theme-switch__moon">
              <div class="theme-switch__spot"></div>
              <div class="theme-switch__spot"></div>
              <div class="theme-switch__spot"></div>
            </div>
          </div>
        </div>
      </div>
    </label>
  </div>

  <div class="login-container" style="max-width: 1100px; width: 95%;">
    <div class="brand">FaceMark Pro</div>
    <div style="display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px;">
      <button
        hx-get="/multilogin"
        hx-target="#content"
        hx-push-url="true"
        hx-select="body"
        style="background-color:#4facfe;color:#fff;border:none;padding:10px 12px;border-radius:6px;cursor:pointer;">
        Multilogin
      </button>
      <button
        hx-get="/dashboard"
        hx-target="#content"
        hx-push-url="true"
        hx-select="body"
        style="background-color:#4facfe;color:#fff;border:none;padding:10px 12px;border-radius:6px;cursor:pointer;">
        Faculty Dashboard
      </button>
      <button
        hx-get="/attendance"
        hx-target="#content"
        hx-push-url="true"
        hx-select="body"
        style="background-color:#4facfe;color:#fff;border:none;padding:10px 12px;border-radius:6px;cursor:pointer;">
        Attendance
      </button>
      <button
        hx-get="/students"
        hx-target="#content"
        hx-push-url="true"
        hx-select="body"
        style="background-color:#4facfe;color:#fff;border:none;padding:10px 12px;border-radius:6px;cursor:pointer;">
        Students
      </button>
      <button
        hx-get="/student/dashboard"
        hx-target="#content"
        hx-push-url="true"
        hx-select="body"
        style="background-color:#4facfe;color:#fff;border:none;padding:10px 12px;border-radius:6px;cursor:pointer;">
        Student Dashboard
      </button>
    </div>

    <div id="content" style="min-height:60vh; background:#fff; border-radius:12px; padding:8px; overflow:auto;"></div>
  </div>

  <script src="{{ url_for('static', filename='script.js') }}"></script>
</body>
</html>