Refactor: Relocate public folder input and remove mobile upload bar
This commit is contained in:
@@ -24,6 +24,11 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="mt-4 text-sm text-gray-500 dark:text-gray-400">
|
||||
<label for="publicFolderName" class="font-medium">Optional folder name:</label>
|
||||
<input type="text" id="publicFolderName" name="publicFolderName" maxlength="64" class="mt-1 mx-auto w-full max-w-sm rounded-lg border border-gray-300 p-2 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500">
|
||||
</div>
|
||||
|
||||
<!-- Dropzone -->
|
||||
<section id="dropzone" class="rounded-2xl border-2 border-dashed p-8 md:p-10 text-center bg-white dark:bg-gray-800 dark:border-gray-600 transition-colors">
|
||||
<div id="dropHint" class="mx-auto h-12 w-12 opacity-70 hidden md:block">
|
||||
@@ -45,11 +50,6 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="mt-4 text-sm text-gray-500 dark:text-gray-400">
|
||||
<label for="publicFolderName" class="font-medium">Optional folder name:</label>
|
||||
<input type="text" id="publicFolderName" name="publicFolderName" maxlength="64" class="mt-1 mx-auto w-full max-w-sm rounded-lg border border-gray-300 p-2 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500">
|
||||
</div>
|
||||
|
||||
<!-- Queue summary -->
|
||||
<section id="summary" class="rounded-2xl border bg-white p-4 shadow-sm dark:bg-gray-800 dark:border-gray-700 transition-colors">
|
||||
<div class="flex flex-wrap items-end justify-between gap-2 text-sm">
|
||||
@@ -76,13 +76,6 @@
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<!-- Sticky mobile upload bar -->
|
||||
<div class="md:hidden fixed left-0 right-0 bottom-0 z-20 p-3 bg-white/90 dark:bg-gray-900/90 border-t border-gray-200 dark:border-gray-700 backdrop-blur" style="padding-bottom: calc(env(safe-area-inset-bottom) + 12px)">
|
||||
<div class="mx-auto max-w-4xl">
|
||||
<button id="btnMobilePick" class="w-full rounded-2xl bg-black text-white dark:bg-white dark:text-black px-5 py-3" aria-label="Choose files">Choose files</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user