svg upload in floors ausgebaut

This commit is contained in:
2026-02-13 11:27:48 +01:00
parent 2b9726d362
commit 0a7505416e
2 changed files with 2 additions and 43 deletions

View File

@@ -38,7 +38,7 @@ if (!empty($floor['svg_path'])) {
<div class="floor-edit">
<h1><?php echo $pageTitle; ?></h1>
<form method="post" action="?module=floors&action=save" enctype="multipart/form-data" class="edit-form">
<form method="post" action="?module=floors&action=save" class="edit-form">
<?php if ($isEdit): ?>
<input type="hidden" name="id" value="<?php echo $floorId; ?>">
<?php endif; ?>
@@ -86,12 +86,6 @@ if (!empty($floor['svg_path'])) {
<fieldset>
<legend>Grundriss (SVG)</legend>
<div class="form-group">
<label for="svg_file">SVG-Datei hochladen</label>
<input type="file" id="svg_file" name="svg_file" accept=".svg">
<small>Optional. Wenn ein Zeichnungsinhalt im Editor erstellt wird, wird dieser beim Speichern bevorzugt.</small>
</div>
<textarea id="floor-svg-content" name="floor_svg_content" hidden><?php echo htmlspecialchars($existingSvgContent); ?></textarea>
<div id="floor-svg-editor" class="floor-svg-editor">
@@ -178,7 +172,6 @@ if (!empty($floor['svg_path'])) {
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
width: 100%;