Add browse button to cache path input and refine validation logic

This commit is contained in:
CakeLancelot
2024-10-05 20:59:13 -05:00
parent d8363b61a6
commit 1eee35b230
2 changed files with 39 additions and 9 deletions

View File

@@ -524,12 +524,22 @@
/>
<label for="editconfig-offlinecachelocation"
>Select Offline Cache Location:</label
><input
class="form-control form-row w-75"
id="editconfig-offlinecachelocation"
type="text"
oninput="validateCacheLocation()"
/>
>
<div class="form-row">
<input
class="form-control w-75"
id="editconfig-offlinecachelocation"
type="text"
oninput="validateCacheLocation()"
/>
<button
type="button"
class="btn btn-primary mb-2 ml-1"
onclick="browseOfflineCache()"
>
<i class="fas fa-folder"></i>
</button>
</div>
</form>
</div>
<div class="modal-footer">