Fix: Verstecke ToDo-Feld bei Vorlagen, bereinige JS Reste und nutze volle Hoehe in der Verwaltung
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 40s

This commit is contained in:
Gemini
2026-05-13 20:09:10 +00:00
parent 8cd81846c9
commit 0ba5399c86
2 changed files with 1 additions and 46 deletions

View File

@@ -332,39 +332,4 @@ document.addEventListener('DOMContentLoaded', function() {
<?php echo render_backpack_modal_script($user_backpacks_json, $all_assigned_backpack_ids); ?>
<?php require_once 'footer.php'; ?> if (val > 0) {
if (selected.includes(val)) {
hasDuplicate = true;
}
selected.push(val);
}
}
}
});
if (hasDuplicate) {
warning.classList.remove('d-none');
submitBtn.disabled = true;
} else {
warning.classList.add('d-none');
submitBtn.disabled = false;
}
}
// Also listen to participation checkboxes
document.querySelectorAll('.participation-check').forEach(chk => {
chk.addEventListener('change', validateBackpacks);
});
document.body.addEventListener('hidden.bs.modal', function (event) {
validateBackpacks();
});
// Initial check
toggleParticipants();
});
</script>
<?php echo render_backpack_modal_script($user_backpacks_json, $all_assigned_backpack_ids); ?>
<?php require_once 'footer.php'; ?>

View File

@@ -242,7 +242,7 @@ $conn->close();
</div>
</div>
<div class="row g-2 flex-nowrap" style="height: 75vh; min-height: 600px; overflow-x: auto;" id="main-panes-container">
<div class="row g-2 flex-nowrap" style="height: calc(100vh - 220px); min-height: 600px; overflow-x: auto;" id="main-panes-container">
<!-- LAGER -->
<div class="<?php echo $col_class_lager; ?> h-100" id="pane-lager">
<div class="card h-100">
@@ -1075,14 +1075,4 @@ $conn->close();
}
</script>
<?php require_once 'footer.php'; ?>city = '0'; }, 1500);
}
return json;
} catch(error) {
console.error(error);
return Promise.reject(error);
}
}
</script>
<?php require_once 'footer.php'; ?>