Historytermine jetzt auch editierbar
This commit is contained in:
11
history.php
11
history.php
@@ -171,14 +171,13 @@ include('inc/header.php');
|
||||
<?php else: ?>
|
||||
<?php foreach ($all_meetings as $meeting_id => $meeting): ?>
|
||||
<div class="card shadow mb-4">
|
||||
<div class="card-header d-flex justify-content-between align-items-center" style="background-color: rgba(<?= hexToRgb($meeting['hex_code']) ?>, 0.25);">
|
||||
<div class="mb-0 fs-6 fs-md-5 fw-bold" style="color: <?= get_readable_text_color($meeting['hex_code']) ?>;">
|
||||
<span class="fw-normal me-2">am</span>
|
||||
<?= date('d.m.y', strtotime($meeting['date'])) ?>
|
||||
<div class="card-header d-flex justify-content-between bg-secondary bg-opacity-25 text-dark align-items-center">
|
||||
<div class="mb-0 fs-6 fs-md-5 fw-bold">
|
||||
<span class="fw-normal me-2">am</span><?= date('d.m.y', strtotime($meeting['date'])) ?>
|
||||
</div>
|
||||
<div>
|
||||
<a href="admin/participant.php?id=<?= $meeting_id ?>" style="text-decoration: none; border: none; outline: none;">
|
||||
<span class="material-symbols-outlined" style="color: <?= get_readable_text_color($meeting['hex_code']) ?>;">edit_calendar</span>
|
||||
<a href="admin/participant.php?id=<?= $meeting_id ?>&source=history" style="text-decoration: none; border: none; outline: none;">
|
||||
<span class="material-symbols-outlined text-dark">edit_calendar</span>
|
||||
</a>
|
||||
<a href="history.php?action=delete&id=<?= $meeting_id ?>" class="ms-1" style="text-decoration: none; border: none; outline: none;" onclick="return confirm('Möchtest du diesen Termin wirklich löschen?');">
|
||||
<span class="material-symbols-outlined text-danger">delete_outline</span>
|
||||
|
||||
Reference in New Issue
Block a user