22< html lang ="en ">
33< head >
44 < meta charset ="utf-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
56 < title > Django Files</ title >
67 < link rel ="icon " href ="../media/logo16.png " sizes ="any ">
78 < link rel ="stylesheet " type ="text/css " href ="../dist/bootstrap/bootstrap.min.css ">
1415
1516< div id ="media-outer " class ="d-none position-fixed top-0 p-1 w-100 ">
1617 < img id ="media-image " src ="../media/loading.gif " alt ="" class ="d-block img-thumbnail rounded border-white mx-auto mw-100 ">
17- < div id ="media-error " class ="d-flex align-items-center justify-content-center d-none ">
18+ < div id ="media-error " class ="d-none d- flex align-items-center justify-content-center ">
1819 < div class ="alert alert-danger text-center d-inline-block " role ="alert ">
1920 < i class ="fa-solid fa-triangle-exclamation me-2 "> </ i > Error Loading Image!< br >
2021 Inspect Popup for More Details...
2324</ div >
2425
2526< div class ="container-fluid p-2 ">
26- < div class =" mb-1 ">
27- < div class ="form-check form-switch float-start form-select-lg me-2 pb-0 " style ="padding-top: 1px; "
27+
28+ < div class ="head mb-1 ">
29+ < div class ="form-check form-switch float-start form-select-lg pb-0 " style ="padding-top: 1px; "
2830 data-bs-title ="Disable/Enable Mouseover Preview. " data-bs-placement ="bottom " data-bs-toggle ="tooltip " data-bs-trigger ="hover ">
2931 < input class ="form-check-input " id ="popupPreview " type ="checkbox " role ="switch ">
3032 < label class ="form-check-label visually-hidden " for ="popupPreview " aria-describedby ="popupPreviewHelp "> Popup Preview</ label >
3133 </ div >
32- < a id ="always-auth " class ="d-none btn btn-sm btn-outline-warning float-start add-auth " role ="button "
34+ < a class ="btn btn-sm btn-outline-primary float-end ms-2 " role ="button " href ="../html/options.html " title ="Options ">
35+ < i class ="fa-solid fa-gears "> </ i > </ a >
36+ < a id ="always-auth " class ="d-none btn btn-sm btn-outline-warning float-end add-auth " role ="button "
3337 data-bs-title ="Update Authentication with Current Site. " data-bs-placement ="bottom " data-bs-toggle ="tooltip " data-bs-trigger ="hover ">
3438 < i class ="fa-solid fa-key "> </ i > </ a >
35- < a class ="btn btn-sm btn-outline-primary float-end " role ="button " href ="../html/options.html " title ="Options ">
36- < i class ="fa-solid fa-gears "> </ i > </ a >
3739 < div class ="d-flex align-items-center justify-content-center ">
38- < img src ="../media/logo32.png " class ="me-2 " height ="32 " width ="32 " alt ="Django Files " title =" Django Files " >
39- < h3 class ="my-0 "> Django Files</ h3 >
40+ < a class ="" href ="" > < img src ="../media/logo32.png " class ="me-1 " height ="32 " width ="32 " alt ="Django Files "> </ a >
41+ < h3 class ="my-0 "> < a role =" button " class =" link-body-emphasis text-decoration-none " href ="" > Django Files</ a > </ h3 >
4042 </ div >
4143 </ div >
4244
43- < div class ="d-grid g-2 gap-1 mb-1 ">
44- < div id ="django-files-links " class ="d-none btn-group btn-group-sm " role ="group " aria-label ="Django Files Links ">
45+ < div class ="mb-1 ">
46+ < div id ="django-files-links " class ="d-none btn-group btn-group-sm w-100 " role ="group " aria-label ="Django Files Links ">
4547 < a role ="button " class ="btn btn-outline-success " href ="" data-location ="/files/ ">
4648 < i class ="fa-regular fa-folder-open me-2 "> </ i > Files</ a >
4749 < a role ="button " class ="btn btn-outline-success " href ="" data-location ="/gallery/ ">
4850 < i class ="fa-regular fa-images me-2 "> </ i > Gallery</ a >
4951 < a role ="button " class ="btn btn-outline-success " href ="" data-location ="/uppy/ ">
5052 < i class ="fa-solid fa-upload me-2 "> </ i > Upload</ a >
5153 </ div >
52- < a id ="auth-button " class ="d-none btn btn-lg btn-success w-100 my-2 add-auth " role ="button ">
53- < i class ="fa-solid fa-key "> </ i > Add Auth from Current Site</ a >
5454 </ div >
5555
56- < div id ="error-alert " class ="d-none alert text-center my-2 " role ="alert "> </ div >
56+ < a id ="auth-button " class ="d-none btn btn-lg btn-success w-100 my-2 add-auth " role ="button ">
57+ < i class ="fa-solid fa-key "> </ i > Add Auth from Current Site</ a >
58+
59+ < div id ="error-alert " class ="d-none alert text-center p-1 my-2 " role ="alert "> </ div >
60+ < div id ="auth-alert " class ="d-none alert alert-success text-center p-1 my-2 " role ="alert ">
61+ < i class ="fa-solid fa-lightbulb me-2 "> </ i >
62+ To automatically authenticate, visit your Django Files Website, then check back here...
63+ </ div >
5764
5865 < table id ="files-table " class ="d-none table table-striped table-hover table-sm small align-middle mb-0 ">
5966 < caption class ="visually-hidden "> Recent Uploads</ caption >
@@ -77,7 +84,7 @@ <h3 class="my-0">Django Files</h3>
7784 < i class ="fa-solid fa-copy mx-1 "> </ i > </ a >
7885 < a role ="button " class ="link-body-emphasis copy-link clip " title ="Copy Link ">
7986 < i class ="fa-solid fa-copy mx-1 "> </ i > </ a >
80- < a role ="button " class ="link-body-emphasis ctx-button " title =" Open Menu " data-bs-toggle ="dropdown ">
87+ < a role ="button " class ="link-body-emphasis ctx-button " data-bs-toggle ="dropdown ">
8188 < i class ="fa-solid fa-bars "> </ i > </ a >
8289 </ div >
8390
@@ -88,11 +95,11 @@ <h3 class="my-0">Django Files</h3>
8895 < input id ="ctx-menu-row " type ="hidden " value ="">
8996
9097 < ul class ="dropdown-menu py-1 ">
91- < li class ="small "> < a class ="dropdown-item clip copy-link ">
98+ < li class ="small d-none "> < a class ="dropdown-item clip copy-link ">
9299 < i class ="fa-solid fa-copy link-body-emphasis me-3 "> </ i > Copy Share Link</ a > </ li >
93- < li class ="small "> < a class ="dropdown-item clip copy-raw ">
100+ < li class ="small d-none "> < a class ="dropdown-item clip copy-raw ">
94101 < i class ="fa-regular fa-copy link-body-emphasis me-3 "> </ i > Copy Raw Link</ a > </ li >
95- < li > < hr class ="dropdown-divider my-1 "> </ li >
102+ < li class =" d-none " > < hr class ="dropdown-divider my-1 "> </ li >
96103 < li class ="small "> < a class ="dropdown-item clip raw " href ="">
97104 < i class ="fa-solid fa-arrow-up-right-from-square link-body-emphasis me-3 "> </ i > Open Raw File</ a > </ li >
98105 < li class ="small "> < a class ="dropdown-item " data-action ="delete ">
@@ -109,16 +116,16 @@ <h3 class="my-0">Django Files</h3>
109116 < span class ="expr-text "> </ span > </ a >
110117 </ li >
111118 </ ul >
112- </ div > <!-- d-none -->
119+ </ div > <!-- d-none clone -->
113120
114121< div class ="modal fade " id ="delete-modal " tabindex ="-1 " aria-hidden ="true ">
115122< div class ="modal-dialog modal-dialog-centered ">
116123< div class ="modal-content ">
117- < div class ="modal-body text-center ">
118- < p > Are you sure you want to delete this file?</ p >
119- < p class ="text-break "> < kbd class ="file-name "> </ kbd > </ p >
124+ < div class ="modal-body text-center p-2 ">
125+ < p class =" mb-1 " > Are you sure you want to delete this file?</ p >
126+ < p class ="text-break mb-1 "> < kbd class ="file-name "> </ kbd > </ p >
120127 </ div >
121- < div class ="modal-footer ">
128+ < div class ="modal-footer p-2 ">
122129 < button type ="button " class ="btn btn-danger me-auto " id ="confirm-delete ">
123130 < i class ="fa-regular fa-trash-can me-2 "> </ i > Delete</ button >
124131 < button type ="button " class ="btn btn-secondary " data-bs-dismiss ="modal ">
@@ -131,21 +138,21 @@ <h3 class="my-0">Django Files</h3>
131138< div class ="modal fade " id ="expire-modal " tabindex ="-1 " aria-hidden ="true ">
132139< div class ="modal-dialog modal-dialog-centered ">
133140< div class ="modal-content ">
134- < div class ="modal-body ">
135- < p class ="text-center ">
141+ < div class ="modal-body p-2 ">
142+ < p class ="text-center mb-1 ">
136143 Set the file's expiration. < br >
137144 For examples, see
138145 < a href ="https://github.com/onegreyonewhite/pytimeparse2#pytimeparse2-time-expression-parser " target ="_blank " rel ="noopener ">
139146 this README.md</ a > .
140147 </ p >
141- < p class ="text-center text-break "> < kbd class ="file-name "> </ kbd > </ p >
148+ < p class ="text-center text-break mb-1 "> < kbd class ="file-name "> </ kbd > </ p >
142149 < form id ="expire-form ">
143150 < label for ="expire-input " class ="form-label "> < i class ="fa-solid fa-hourglass-start me-1 "> </ i > Expiration</ label >
144151 < input id ="expire-input " aria-describedby ="expire-input-help " class ="form-control " type ="text " autocomplete ="off ">
145152 < div class ="form-text " id ="expire-input-help " > File Expiration (Blank to Disable Expiration).</ div >
146153 </ form >
147154 </ div >
148- < div class ="modal-footer ">
155+ < div class ="modal-footer p-2 ">
149156 < button type ="submit " form ="expire-form " class ="btn btn-success me-auto ">
150157 < i class ="fa-regular fa-floppy-disk me-2 "> </ i > Save</ button >
151158 < button type ="button " class ="btn btn-secondary " data-bs-dismiss ="modal ">
@@ -158,16 +165,16 @@ <h3 class="my-0">Django Files</h3>
158165< div class ="modal fade " id ="password-modal " tabindex ="-1 " aria-hidden ="true ">
159166< div class ="modal-dialog modal-dialog-centered ">
160167< div class ="modal-content ">
161- < div class ="modal-body ">
162- < p class ="text-center "> Set the file's Password.</ p >
163- < p class ="text-center text-break "> < kbd class ="file-name "> </ kbd > </ p >
168+ < div class ="modal-body p-2 ">
169+ < p class ="text-center mb-1 "> Set the file's Password.</ p >
170+ < p class ="text-center text-break mb-1 "> < kbd class ="file-name "> </ kbd > </ p >
164171 < form id ="password-form ">
165172 < label for ="password-input " class ="form-label "> < i class ="fa-solid fa-key me-1 "> </ i > Password</ label >
166173 < input id ="password-input " aria-describedby ="password-input-help " class ="form-control " type ="text " autocomplete ="off ">
167174 < div class ="form-text " id ="password-input-help " > File Password (Blank to Disable Password).</ div >
168175 </ form >
169176 </ div >
170- < div class ="modal-footer ">
177+ < div class ="modal-footer p-2 ">
171178 < button type ="submit " form ="password-form " class ="btn btn-success me-auto ">
172179 < i class ="fa-regular fa-floppy-disk me-2 "> </ i > Save</ button >
173180 < button type ="button " class ="btn btn-secondary " data-bs-dismiss ="modal ">
0 commit comments