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:
@@ -1812,7 +1812,6 @@ function serviceEvents ($messages,$page){
|
||||
<th>'.$equipment_label3.'</th>
|
||||
<th>'.$general_createdby.'</th>
|
||||
<th>'.$general_created.'</th>
|
||||
<th>'.$view_asset_actions.'</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
@@ -1852,15 +1851,13 @@ function serviceEvents ($messages,$page){
|
||||
$service_status = '<span class="status warranty">'.$service_report_outcome_good.'</span>';
|
||||
}
|
||||
|
||||
$view_data .= '<tr>
|
||||
$view_data .= '<tr onclick="window.location.href=\'index.php?page=servicereport&equipmentID='.$message->equipmentID.'&historyID='.$message->historyID.'\'" style="cursor: pointer;">
|
||||
<td>'.$TETS->serialnumber.'</td>
|
||||
<td>'.$service_date.'</td>
|
||||
<td>'.$service_renewal_date.'</td>
|
||||
<td>'.$service_status.'</td>
|
||||
<td>'.$message->createdby.'</td>
|
||||
<td>'.getRelativeTime($message->created).'</td>
|
||||
<td><a href="index.php?page=servicereport&equipmentID='.$message->equipmentID.'&historyID='.$message->historyID.'" class="btn_link">'.$general_view.'</a></td>
|
||||
<td><a href="index.php?page=render_service_report&historyID='.$message->historyID.'" class="btn_link">PDF</a></td>
|
||||
</tr>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user