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:
@@ -101,7 +101,6 @@ $view .= '
|
||||
<th>'.($products_attribute_group_name_internal ?? 'Internal name').'</th>
|
||||
<th>'.($products_attribute_group_type ?? 'type').'</th>
|
||||
<th class="responsive-hidden">'.$general_created.'</th>
|
||||
<th>'.$general_actions.'</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -117,14 +116,13 @@ $view .= '
|
||||
else {
|
||||
foreach ($responses as $response){
|
||||
$view .= '
|
||||
<tr>
|
||||
<tr onclick="window.location.href=\'index.php?page=products_attributes_manage&rowID='.$response['rowID'].'\'" style="cursor: pointer;">
|
||||
<td>'.$response['group_id'].'</td>
|
||||
<td>'.${'general_status_'.$response['group_status']}.'</td>
|
||||
<td>'.(${$response['group_name']} ?? $response['group_name']).'</td>
|
||||
<td>'.(${$response['group_name_internal']} ?? $response['group_name_internal']).'</td>
|
||||
<td>'.(${'general_form_'.$response['group_type']} ?? $response['group_type'] ).'</td>
|
||||
<td class="responsive-hidden">'.getRelativeTime($response['created']).'</td>
|
||||
<td><a href="index.php?page=products_attributes_manage&rowID='.$response['rowID'].'" class="btn_link">'.$general_view .'</a></td>
|
||||
</tr>';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user