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:
@@ -89,7 +89,6 @@ $view .= '
|
||||
<td>'.($dealers_name ?? 'Name').'</td>
|
||||
<td class="responsive-hidden"></td>
|
||||
<td class="responsive-hidden">'.($dealers_created ?? 'Created').'</td>
|
||||
<td>'.$general_actions.'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
@@ -105,13 +104,12 @@ $view .= '
|
||||
$dealer_status = 'general_status_'.$dealer['status'];
|
||||
|
||||
$view .= '
|
||||
<tr>
|
||||
<tr onclick="window.location.href=\'index.php?page=dealer&id='.$dealer['rowID'].'\'" style="cursor: pointer;">
|
||||
<td>'.$dealer['rowID'].'</td>
|
||||
<td>'.(${$dealer_status} ?? $dealer_status).'</td>
|
||||
<td>'.$dealer['name'].'</td>
|
||||
<td class="responsive-hidden">'.(($dealer['full_path'] !='')?'<img style="border-radius: 4px;height: 50px;" src="'.$dealer['full_path'].'" alt="">' : '').'</td>
|
||||
<td class="responsive-hidden">'.getRelativeTime($dealer['created']).'</td>
|
||||
<td><a href="index.php?page=dealer&id='.$dealer['rowID'].'" class="btn_link">'.$general_view.'</a></td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user