Refactor UI elements for consistency and clarity

- Updated action buttons across multiple files to use icons (e.g., "Save" to "💾+", "Delete" to "X").
- Replaced "Cancel" button text with a left arrow (←) for a more intuitive navigation experience.
- Removed unnecessary action columns from tables to streamline the interface.
- Enhanced table rows to be clickable for better user interaction, redirecting to relevant management pages.
- Adjusted font sizes and styles in CSS for improved readability and aesthetics.
- Standardized back button functionality to use a left arrow across various pages.
This commit is contained in:
“VeLiTi”
2025-12-15 17:08:44 +01:00
parent bdb460c046
commit ec20d44267
67 changed files with 153 additions and 216 deletions

View File

@@ -99,14 +99,14 @@ $view ='
<form action="" method="post">
<div class="content-title responsive-flex-wrap responsive-pad-bot-3">
<h2 class="responsive-width-100">'.$communication_h2.'</h2>
<a href="index.php?page=communications" class="btn alt mar-right-2">'.$button_cancel.'</a>
<a href="index.php?page=communications" class="btn alt mar-right-2"></a>
';
if ($delete_allowed === 1){
$view .= '<input type="submit" name="delete" value="Delete" class="btn red mar-right-2" onclick="return confirm(\'Are you sure you want to delete this communication?\')">';
$view .= '<input type="submit" name="delete" value="X" class="btn red mar-right-2" onclick="return confirm(\'Are you sure you want to delete this communication?\')">';
}
if ($update_allowed === 1){
$view .= '<input type="submit" name="submit" value="Save" class="btn">';
$view .= '<input type="submit" name="submit" value="💾+" class="btn">';
}
$view .= '</div>';