Layout vereinheitlicht

This commit is contained in:
Borgal
2025-08-13 11:55:20 +02:00
parent 935790b29b
commit bc816cfd2e
7 changed files with 25 additions and 26 deletions

View File

@@ -88,7 +88,7 @@ require_once '../inc/header.php';
<?php endif; ?>
<div class="card shadow mb-4">
<div class="card-header bg-primary text-white">
<div class="card-header bg-primary-subtle text-secondary">
<h4 class="mb-0"><?php echo $edit_mode ? 'Farbe bearbeiten' : 'Neue Farbe hinzufügen'; ?></h4>
</div>
<div class="card-body">
@@ -108,11 +108,11 @@ require_once '../inc/header.php';
<div class="form-text" style="visibility: hidden;">&nbsp;</div>
</div>
<div class="col-12 d-flex justify-content-start">
<button type="submit" class="btn btn-<?php echo $edit_mode ? 'success' : 'primary'; ?> w-auto me-2">
<button type="submit" class="btn btn-sm btn-outline-<?php echo $edit_mode ? 'success' : 'primary'; ?> w-auto me-2 d-flex align-items-center">
<?php echo $edit_mode ? 'Speichern' : 'Hinzufügen'; ?>
</button>
<?php if ($edit_mode): ?>
<a href="colors.php" class="btn btn-secondary w-auto">Abbrechen</a>
<a href="colors.php" class="btn btn-sm btn-outline-secondary w-auto d-flex align-items-center">Abbrechen</a>
<?php endif; ?>
</div>
</div>
@@ -121,7 +121,7 @@ require_once '../inc/header.php';
</div>
<div class="card shadow">
<div class="card-header bg-secondary text-white">
<div class="card-header bg-secondary bg-opacity-50 text-secondary">
<h4 class="mb-0">Aktuelle Farben</h4>
</div>
<div class="card-body">