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

@@ -57,9 +57,10 @@ require_once 'inc/header.php'; ?>
<div class="row justify-content-center">
<div class="col-md-8 col-lg-6">
<div class="card shadow">
<div class="card-header bg-primary-subtle text-secondary">
<h4 class="mb-0">Profil bearbeiten</h4>
</div>
<div class="card-body">
<h2 class="card-title text-center mb-4">Profil bearbeiten</h2>
<?php if ($message) : ?>
<div id="status-message" class="alert alert-<?php echo $message_type; ?> alert-dismissible fade show" role="alert">
<?php echo htmlspecialchars($message); ?>
@@ -80,8 +81,8 @@ require_once 'inc/header.php'; ?>
<label for="role" class="form-label fw-bold">Rolle</label>
<input type="text" class="form-control" id="role" name="role" value="<?php echo htmlspecialchars($current_role); ?>" disabled readonly>
</div>
<button type="submit" class="btn btn-primary">Änderungen speichern</button>
<a href="index.php" class="btn btn-secondary">Abbrechen</a>
<button type="submit" class="btn btn-sm btn-outline-primary">Speichern</button>
<a href="index.php" class="btn btn-sm btn-outline-secondary">Abbrechen</a>
</form>
</div>
</div>