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:
@@ -15,7 +15,7 @@ $prev_page = (isset($_SESSION['origin']) && $_SESSION['origin'] == 'equipments')
|
||||
$page = 'servicereport';
|
||||
|
||||
//create backbutton to prev_origin
|
||||
$back_btn_orgin = ($prev_page != '')? '<a href="'.$prev_page.'" class="btn alt mar-right-2">'.$button_back.'</a>':'';
|
||||
$back_btn_orgin = ($prev_page != '')? '<a href="'.$prev_page.'" class="btn alt mar-right-2">←</a>':'';
|
||||
|
||||
|
||||
//Check if allowed
|
||||
@@ -44,6 +44,7 @@ $view = '
|
||||
</div>
|
||||
</div>
|
||||
'.$back_btn_orgin.'
|
||||
<a href="index.php?page=render_service_report&historyID='.$_GET['historyID'].'" class="btn"><i class="fa-solid fa-file-pdf"></i></a>
|
||||
</div>';
|
||||
|
||||
//Get all related service events
|
||||
@@ -59,6 +60,7 @@ if (empty($history)){
|
||||
$view .= '<div class="content-block">
|
||||
<div class="block-header">
|
||||
<i class="fa-solid fa-bars fa-sm"></i>'.$servicereport_details.' - '.$_GET['historyID'].'
|
||||
<a href="index.php?page=render_service_report&historyID='.$_GET['historyID'].'" class="btn"></a>
|
||||
</div>
|
||||
'.$service_events.'
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user