|
16 | 16 | <!-- <source src="/media/loop.mp4" type="video/mp4">--> |
17 | 17 | </video> <!-- video --> |
18 | 18 |
|
19 | | -<div class="container-fluid g-0 h-100"> |
20 | | -<div class="d-flex align-items-center h-100"> |
21 | | -<div class="col-xl-8 col-lg-10 col-12 m-auto"> |
22 | | -<div class="options-wrapper p-3 ms-2 mt-2 mb-3 me-3 rounded rounded-4"> |
| 19 | +<div class="d-flex align-items-center justify-content-center pt-3 px-1 px-sm-3 h-100"> |
| 20 | +<div class="m-auto"> |
| 21 | +<div id="options-wrapper" class="rounded rounded-4 p-3 mb-3 w-100"> |
| 22 | + |
23 | 23 | <div class="d-flex justify-content-center align-items-center"> |
24 | 24 | <img src="../media/logo48.png" class="me-2" height="48" width="48" |
25 | 25 | alt="Django Files Extension" title="Django Files Extension"> |
26 | | - <h1>Django Files Options</h1> |
| 26 | + <h2>Django Files Options</h2> |
27 | 27 | </div> |
28 | 28 | <div class="clearfix"></div> |
29 | 29 | <p class="text-center lead">v<span id="version"></span></p> |
30 | 30 | <div id="table-wrapper" class="rounded rounded-3 p-2 mb-3 d-none"> |
31 | | - <table id="keyboard-shortcuts" class="table table-sm table-borderless table-hover mb-0"> |
32 | | - <caption class="visually-hidden">Keyboard Shortcuts</caption> |
33 | | - <thead class="visually-hidden"><tr><th>Description</th><th>Shortcut</th></tr></thead> |
34 | | - <tbody> |
35 | | - <tr class="d-none"> |
36 | | - <td class="bg-transparent"><i class="fa-regular fa-keyboard me-1"></i> <span class="description"></span></td> |
37 | | - <td class="bg-transparent text-end" title="Keyboard Shortcut"><kbd>Unknown</kbd></td> |
38 | | - </tr> |
39 | | - </tbody> |
40 | | - </table> |
| 31 | + <table id="keyboard-shortcuts" class="table table-sm table-borderless table-hover mb-0"> |
| 32 | + <caption class="visually-hidden">Keyboard Shortcuts</caption> |
| 33 | + <thead class="visually-hidden"><tr><th>Description</th><th>Shortcut</th></tr></thead> |
| 34 | + <tbody> |
| 35 | + <tr class="d-none"> |
| 36 | + <td class="bg-transparent"><i class="fa-regular fa-keyboard me-1"></i> <span class="description"></span></td> |
| 37 | + <td class="bg-transparent text-end" title="Keyboard Shortcut"><kbd>Unknown</kbd></td> |
| 38 | + </tr> |
| 39 | + </tbody> |
| 40 | + </table> |
41 | 41 | </div> |
42 | 42 |
|
43 | 43 | <form id="options-form" class="options"> |
44 | 44 | <div class="row"> |
45 | 45 | <label for="siteUrl" class="form-label"><i class="fa-solid fa-globe me-2"></i> Django Files URL</label> |
46 | | - <div class="input-group col-12 "> |
| 46 | + <div class="input-group col-12"> |
47 | 47 | <input id="siteUrl" aria-describedby="siteUrlHelp" type="text" class="form-control" autocomplete="off"> |
48 | | - <button class="btn btn-outline-primary clip" data-clipboard-target="#siteUrl" type="button" data-bs-toggle="tooltip" |
49 | | - data-bs-placement="bottom" data-bs-trigger="hover" data-bs-title="Copy to Clipboard."> |
| 48 | + <button class="btn btn-outline-primary" type="button" data-bs-toggle="tooltip" |
| 49 | + data-copy-input="#authToken" data-copy-text="Site URL Copied to Clipboard." |
| 50 | + data-bs-placement="bottom" data-bs-trigger="hover" data-bs-title="Copy Site URL."> |
50 | 51 | <i class="fa-solid fa-copy"></i> |
51 | 52 | </button> |
52 | 53 | </div> |
53 | 54 | <div class="form-text mb-3" id="siteUrlHelp" >The Full URL to your Django Files server.</div> |
54 | 55 |
|
55 | 56 | <label for="authToken" class="form-label"><i class="fa-solid fa-key me-2"></i> Auth Token</label> |
56 | | - <div class="input-group col-12 "> |
| 57 | + <div class="input-group col-12"> |
57 | 58 | <input id="authToken" aria-describedby="authTokenHelp" type="password" class="form-control" autocomplete="off"> |
58 | | - <button class="btn btn-outline-success show-hide" type="button" data-bs-toggle="tooltip" data-selector="#authToken" |
| 59 | + <button class="btn btn-outline-success" type="button" data-bs-toggle="tooltip" data-show-hide="#authToken" |
59 | 60 | data-bs-placement="bottom" data-bs-trigger="hover" data-bs-title="Show/Hide Auth Token."> |
60 | 61 | <i class="fa-regular fa-eye"></i> |
61 | 62 | </button> |
62 | | - <button id="authTokenCopy" class="btn btn-outline-primary copy-password" type="button" data-selector="#authToken" |
63 | | - data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-trigger="hover" data-bs-title="Copy to Clipboard."> |
| 63 | + <button id="authTokenCopy" class="btn btn-outline-primary" type="button" |
| 64 | + data-copy-input="#authToken" data-copy-text="Auth Token Copied to Clipboard." |
| 65 | + data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-trigger="hover" data-bs-title="Copy Auth Token."> |
64 | 66 | <i class="fa-solid fa-copy"></i> |
65 | 67 | </button> |
66 | 68 | </div> |
@@ -181,20 +183,19 @@ <h1>Django Files Options</h1> |
181 | 183 | <div class="form-check form-switch mb-2"> |
182 | 184 | <input class="form-check-input" id="ctxSidePanel" type="checkbox" role="switch"> |
183 | 185 | <label class="form-check-label" for="ctxSidePanel" aria-describedby="ctxSidePanelHelp"> |
184 | | - Show Open Side Panel in Menu |
| 186 | + Show Open Side Panel |
185 | 187 | <span data-bs-toggle="tooltip" data-bs-title="Show Side Panel in Menu."> |
186 | | - <i class="fa-solid fa-circle-info ms-1"></i> |
187 | | - </span> |
| 188 | + <i class="fa-solid fa-circle-info ms-1"></i> |
| 189 | + </span> |
188 | 190 | </label> |
189 | 191 | </div> |
190 | 192 | <div class="d-flex align-items-center"> |
191 | 193 | <button id="reloadAlbums" class="btn btn-sm btn-outline-info" type="button" |
192 | | - data-bs-toggle="tooltip" data-bs-title="Requires Django Files >= 0.15.0. Errors are only show in the console (Ctrl+Shift+I)."> |
| 194 | + data-bs-trigger="hover" data-bs-toggle="tooltip" data-bs-title="Requires Django Files >=0.15.0 and errors are only shown in the console (Ctrl+Shift+I)."> |
193 | 195 | <i class="fa-solid fa-arrows-rotate"></i> Reload Albums |
194 | 196 | </button> |
195 | 197 | <span id="albumsUpdated" class="text-success" style="display: none;"> |
196 | | - <i class="fa-regular fa-circle-check fa-xl ms-3"></i> |
197 | | - Updated |
| 198 | + <i class="fa-regular fa-circle-check fa-xl fw-bold ms-3"></i> |
198 | 199 | </span> |
199 | 200 | </div> |
200 | 201 | </div> <!-- #reloadMenu --> |
@@ -258,25 +259,26 @@ <h5 class="mb-2"> |
258 | 259 | </form> <!-- options-form --> |
259 | 260 |
|
260 | 261 | <p class="fst-italic small mt-3"> |
261 | | - <a id="copy-support" href="#0">Copy Support Information</a> for issue reporting. |
| 262 | + <a id="copy-support" class="link-offset-2-hover link-underline link-underline-opacity-0 link-underline-opacity-75-hover" href="#0"> |
| 263 | + Copy Support Information</a> for issue reporting. |
262 | 264 | </p> |
263 | 265 |
|
264 | 266 | <hr class="mt-0"> |
265 | 267 |
|
266 | 268 | <div class="text-center"> |
267 | 269 | <a class="link-body-emphasis text-decoration-none" target="_blank" rel="noopener" |
268 | | - href="https://github.com/django-files/web-extension?tab=readme-ov-file#readme">Get Help</a> |
| 270 | + href="https://django-files.github.io/extension/">Get Help</a> |
269 | 271 | <span class="mx-2">•</span> |
270 | 272 | <a class="link-body-emphasis text-decoration-none" target="_blank" rel="noopener" |
271 | 273 | href="https://github.com/django-files/web-extension/issues">Open Issue</a> |
272 | 274 | <span class="mx-2">•</span> |
273 | 275 | <a class="link-body-emphasis text-decoration-none" target="_blank" rel="noopener" |
274 | 276 | href="https://django-files.github.io/">Django Files</a> |
275 | 277 | </div> |
| 278 | + |
276 | 279 | </div> <!-- options-wrapper --> |
277 | | -</div> <!-- col --> |
278 | | -</div> <!-- flex --> |
279 | | -</div> <!-- container --> |
| 280 | +</div> <!-- m-auto --> |
| 281 | +</div> <!-- d-flex --> |
280 | 282 |
|
281 | 283 | <div aria-live="polite" aria-atomic="true" class=""> |
282 | 284 | <div id="toast-container" class="toast-container position-fixed bottom-0 end-0 p-3"></div> |
|
0 commit comments