summaryrefslogtreecommitdiff
path: root/popup/popup.html
blob: 657a1a70f049979ccea747939cb77513ca48991f (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
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="popup.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>

<body>
  <div class="container">
    <header class="app-header">
      <div class="logo-container">
        <img src="../assets/images/logo_48.png" alt="ZenInternet Logo" class="logo-img">
        <h1 class="app-title">ZenInternet</h1>
      </div>
      <div class="author">by <a href="https://www.sameerasw.com/" target="_blank">@sameerasw</a></div>
    </header>

    <main class="app-content">
      <div class="toggle-container">
        <label class="toggle-switch">
          <input type="checkbox" id="enable-styling">
          <span class="slider round"></span>
        </label>
        <span class="toggle-label">Enable Styling</span>
      </div>

      <!-- Current Site Features Section -->
      <div id="current-site-features" class="features-container">
        <h2 class="section-title">Current Site Features</h2>
        <div id="current-site-toggles" class="features-list"></div>
      </div>

      <!-- All Websites Section (Collapsible) -->
      <div class="websites-container">
        <button class="collapsible-button" id="toggle-websites">
          <span>All Websites</span>
          <i class="fas fa-chevron-down"></i>
        </button>
        <div id="websites-list" class="websites-list collapsed"></div>
      </div>

      <div class="actions">
        <button id="refetch-css" class="action-button primary">
          <i class="fas fa-sync-alt"></i> Refetch latest styles
        </button>
      </div>
    </main>

    <footer class="app-footer">
      <a href="https://sameerasw.github.io/my-internet/" class="footer-link" target="_blank">
        <i class="fas fa-book"></i> Styles Repository
      </a>
      <div class="footer-divider"></div>
      <a href="https://github.com/sameerasw/zeninternet/" class="footer-link" target="_blank">
        <i class="fa-brands fa-github"></i> Github Repository
      </a>
    </footer>
  </div>
  <script src="popup.js"></script>
</body>

</html>