yes
This commit is contained in:
@@ -140,6 +140,23 @@ body {
|
||||
background: #1db954;
|
||||
}
|
||||
|
||||
/* New Input Styling for Custom Format Fields */
|
||||
.config-item input[type="text"] {
|
||||
width: 100%;
|
||||
padding: 0.8rem;
|
||||
background: #2a2a2a;
|
||||
border: 1px solid #404040;
|
||||
border-radius: 8px;
|
||||
color: #ffffff;
|
||||
font-size: 0.95rem;
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.config-item input[type="text"]:focus {
|
||||
outline: none;
|
||||
border-color: #1db954;
|
||||
}
|
||||
|
||||
/* Improved Toggle Switches */
|
||||
.switch {
|
||||
position: relative;
|
||||
|
||||
@@ -300,8 +300,8 @@ function loadConfig() {
|
||||
document.getElementById('deezerQualitySelect').value = saved.deezerQuality || 'MP3_128';
|
||||
document.getElementById('realTimeToggle').checked = !!saved.realTime;
|
||||
// Load the new formatting settings. If not set, you can choose to default to an empty string or a specific format.
|
||||
document.getElementById('customDirFormat').value = saved.customDirFormat || '';
|
||||
document.getElementById('customTrackFormat').value = saved.customTrackFormat || '';
|
||||
document.getElementById('customDirFormat').value = saved.customDirFormat || '%ar_album%/%album%';
|
||||
document.getElementById('customTrackFormat').value = saved.customTrackFormat || '%tracknum%. %music%';
|
||||
}
|
||||
|
||||
function showConfigError(message) {
|
||||
|
||||
Reference in New Issue
Block a user