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

@@ -69,11 +69,11 @@ template_header('RMA', 'rma','manage');
$view = '
<div class="content-title responsive-flex-wrap responsive-pad-bot-3">
<h2 class="responsive-width-100">'.($rma_h2 ?? 'Return Material Request').' - '.$_GET['rowID'].'</h2>
<a href="index.php?page=rmas" class="btn alt mar-right-2">'.$button_cancel.'</a>
<a href="index.php?page=rmas" class="btn alt mar-right-2"></a>
';
if ($update_allowed === 1){
$view .= '<a href="index.php?page=rma_manage&rowID='.$_GET['rowID'].'" class="btn">Edit</a>';
$view .= '<a href="index.php?page=rma_manage&rowID='.$_GET['rowID'].'" class="btn">✏️</a>';
}
$view .= '</div>';
@@ -126,7 +126,7 @@ $view .= ' <div class="content-block order-details">
$view .='
<div class="order-detail">
<h3>'.$servicereport_details.'</h3>
<p><a href="index.php?page=servicereport&equipmentID='.$rma_questions['equipmentID'].'&historyID='.$rma_questions['historyID'].'" class="btn_link">'.$general_view.'</a></p>
<p><span onclick="window.location.href=\'index.php?page=servicereport&equipmentID='.$rma_questions['equipmentID'].'&historyID='.$rma_questions['historyID'].'\'" style="cursor: pointer;" class="btn_link">'.$general_view.'</span></p>
</div>
';
}