📦 EqualifyEverything / equalify-v2-dashboard-mocks

📄 11-pages-with_content.html · 185 lines
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pages - Equalify</title>
</head>
<body>
    <header>
        <nav aria-label="Main">
            <ul>
                <li><a href="#">Audits</a></li>
                <li><a aria-current="page">Pages</a></li>
                <li><a href="#">Logs</a></li>
                <li><a href="#">Account</a></li>
            </ul>
        </nav>
    </header>

    <main>
        <h1>Pages Added to Equalify</h1>
        <article>
            <h2>All Pages</h2>
            <input type="checkbox" name="toggle" id="toggle_view_options"  />
            <script>
                document.addEventListener("DOMContentLoaded", function () {
                    const viewOptions = document.getElementById("view_options");
                    const toggleViewOptions = document.getElementById("toggle_view_options");

                    // Hide view options by default
                    viewOptions.style.display = "none";
                    viewOptions.setAttribute("aria-hidden", "true");

                    // Toggle visibility on checkbox change
                    toggleViewOptions.addEventListener("change", function () {
                        if (toggleViewOptions.checked) {
                            viewOptions.style.display = "block";
                            viewOptions.setAttribute("aria-hidden", "false");
                        } else {
                            viewOptions.style.display = "none";
                            viewOptions.setAttribute("aria-hidden", "true");
                        }
                    });
                });
            </script>
            <label for="toggle_view_options">
                Show View Options
            </label>
            <section id="view_options">
                <h3>View Options</h3>
                <form>
                    <div role="group" aria-labelledby="search-group">
                        <h4 id="search-group">Search</h4>
                        <label for="search_source">Search In:</label>
                        <select id="search_source">
                            <option>Page Title</option>
                            <option>URL</option>
                            <option>Audit Name</option>
                        </select>
                        <label for="search">Keywords:</label>
                        <input type="text" id="search">
                    </div>
                    <div role="group" aria-labelledby="sort-group">
                        <h4 id="sort-group">Sort</h4>
                        <label>
                            <input name="sort" type="radio" checked> Added (Latest to Oldest)
                        </label>
                        <label>
                            <input name="sort" type="radio"> Added (Latest to Oldest)
                        </label>
                        <label>
                            <input name="sort" type="radio"> Page Title (A to Z)
                        </label>
                        <label>
                            <input name="sort" type="radio"> Page Title (Z to A)
                        </label>
                        <label>
                            <input name="sort" type="radio"> URL (A to Z)
                        </label>
                        <label>
                            <input name="sort" type="radio"> URL (Z to A)
                        </label>
                    </div>
                    <div role="group" aria-labelledby="group-pages">
                        <h4 id="group-pages">Group Pages By</h4>
                        <label>
                            <input name="group" type="radio" checked> None
                        </label>
                        <label>
                            <input name="group" type="radio"> Audit
                        </label>
                    </div>
                    <button>Save View Options</button>
                </form>
            </section>
            <section>
                <h3>All Pages</h3>
                <input id="all-pages" type="checkbox" class="select_all"> <label for="all-pages">Select All Pages</label>
                <table>
                    <thead>
                        <tr>
                            <th>Page Title</th>
                            <th>URL</th>
                            <th>Audits</th>
                            <th>Added</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <th role="rowheader"><input id="page-2" type="checkbox"> <label for="page-2"><a href="#">Library (Staging)</a></label></th>
                            <td><code>https://update.lib.berkeley.edu/</code></td>
                            <td>Lucy's Audit</td>
                            <td>12-1-2024 at 02:20:20</td>
                        </tr>
                        <tr>
                            <th role="rowheader"><input id="page-2" type="checkbox"> <label for="page-2"></label><a href="12-page_details.html">Berkeley Homepage (Staging)</a></label></th>
                            <td><code>https://www-stg.berkeley.edu</code></td>
                            <td>Lucy's Audit</td>
                            <td>12-1-2024 at 02:20:21</td>
                        </tr>
                    </tbody>
                </table>
                <script>
                    document.querySelectorAll('.select_all').forEach(selectAllCheckbox => {
                        selectAllCheckbox.addEventListener('change', function() {
                            const parent = this.closest('div, table, details, section');
                            const checkboxes = parent.querySelectorAll('input[type="checkbox"]:not(.select_all)');
                            checkboxes.forEach(checkbox => checkbox.checked = this.checked);
                        });
                    });
                </script>
                <nav aria-label="Pages Table">
                    <label for="item-count">Showing 2 of 2 Pages. Change Number of Pages Displayed:</label> 
                    <select id="item-count">
                        <option selected>Up to 5</option>
                    </select>
                    </nav> 
            </section>
            <section>
                <h3>Manage Selected Pages</h3>
                <nav aria-label="Manage Selected Pages">
                    <button>Delete Page(s)</button>
                </nav>
            </section>     
        </article>
        <article>
            <h2>Related Logs</h2>
            <table>
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>Summary</th>
                        <th>Trigger</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th role="rowheader"><a href="#">Log 12</a></th>
                        <td>Two pages added.</td>
                        <td>User: Lucy</td>
                    </tr>
                </tbody>
            </table> 
            <nav aria-label="Logs Table">
                <label for="item-count">Showing 1 of 1 Logs. Change Number of Logs Displayed:</label> 
                <select id="item-count">
                    <option selected>Up to 5</option>
                </select>
            </nav>
        </article>
    </main>

    <footer>
        <section>
            <h2>Scan Quota</h2>
            <p>0 free scans remaining. <a href="#">Upgrade</a>.</p>
        </section>
        <section>
            <h2>Need help?</h2>
            <p>Email <a href="#">support@equalify.app</a>.</p>
        </section>
    </footer>
</body>
</html>