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:
@@ -58,11 +58,11 @@ template_header('Cartest', 'cartest', 'view');
|
||||
$view = '
|
||||
<div class="content-title responsive-flex-wrap responsive-pad-bot-3">
|
||||
<h2 class="responsive-width-100">'.$cartest_h2.' - '.$_GET['rowID'].'</h2>
|
||||
<a href="index.php?page=cartests" class="btn alt mar-right-2">'.$button_cancel.'</a>
|
||||
<a href="index.php?page=cartests" class="btn alt mar-right-2">←</a>
|
||||
';
|
||||
|
||||
if ($update_allowed === 1 && $version != 0){
|
||||
$view .= '<a href="index.php?page=cartest_manage&rowID='.$_GET['rowID'].'" class="btn">Edit</a>';
|
||||
$view .= '<a href="index.php?page=cartest_manage&rowID='.$_GET['rowID'].'" class="btn">✏️</a>';
|
||||
}
|
||||
|
||||
$view .= '</div>';
|
||||
|
||||
Reference in New Issue
Block a user