consistent styling

This commit is contained in:
2025-07-27 12:59:57 +02:00
parent 2cb55b1304
commit 9361bd333f
2 changed files with 17 additions and 58 deletions

View File

@@ -42,15 +42,15 @@
<button id="toggleFileManagerButton" onclick="toggleFileManager()">Toggle File Manager</button>
<button id="toggleFileManagerButton" class="action-btn" onclick="toggleFileManager()">Toggle File Manager</button>
<div id="fileManager" style="display:none; margin-top:20px;">
<h2>File Manager</h2>
<h2>Upload File</h2>
<form id="uploadForm" method="POST" action="/upload" enctype="multipart/form-data">
<h3>Upload File</h3>
<form id="uploadForm" class="form" method="POST" action="/upload" enctype="multipart/form-data">
<input type="file" name="data" id="uploadFile" accept=".mp3,.wav,.flac,.m4a,.ogg"/>
<input type="submit" name="upload" value="Upload" title="Upload Audio File" id="uploadButton"/>
<input type="submit" name="upload" value="Upload" title="Upload Audio File" id="uploadButton" class="action-btn"/>
<div id="uploadStatus"></div>
<div id="uploadProgress" style="display: none;">
<div class="progress-bar">
@@ -61,25 +61,28 @@
</form>
<h3>Edit RFID Mapping</h3>
<form id="editMappingForm">
<form id="editMappingForm" class="form">
<label for="rfid">RFID:</label>
<input type="text" id="rfid" name="rfid" required><br>
<label for="song">Song:</label>
<input type="text" id="song" name="song" required><br>
<button type="button" onclick="editMapping()">Update Mapping</button>
<button type="button" class="action-btn" onclick="editMapping()">Update Mapping</button>
</form>
<h3>Move / Rename File</h3>
<form class="form">
<label for="moveFrom">From:</label>
<input type="text" id="moveFrom" placeholder="/oldname.mp3"/>
<label for="moveTo">To:</label>
<input type="text" id="moveTo" placeholder="/newname.mp3"/>
<button onclick="moveFile()">Move/Rename</button>
<button class="action-btn" onclick="moveFile()">Move/Rename</button>
</form>
<form class="form">
<h3>Delete File</h3>
<label for="deleteFile">Filename:</label>
<input type="text" id="deleteFile" placeholder="/song.mp3"/>
<button onclick="deleteFile()">Delete</button>
<button class="action-btn" onclick="deleteFile()">Delete</button>
</form>
</div>
<script src="/script.js"></script>