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:
@@ -111,7 +111,6 @@ $view .= '
|
||||
<th>'.$product_parttype.'</th>
|
||||
<th class="responsive-hidden"></th>
|
||||
<th>'.$product_name.'</th>
|
||||
<th>'.$general_actions.'</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -128,7 +127,7 @@ $view .= '
|
||||
foreach ($responses as $response){
|
||||
|
||||
$view .= '
|
||||
<tr>
|
||||
<tr onclick="window.location.href=\'index.php?page=product&rowID='.$response->rowID.'\'" style="cursor: pointer;">
|
||||
<td>'.$response->productcode.'</td>
|
||||
<td>'.${'part_type'.$response->parttype}.'</td>
|
||||
<td>'.${'product_category'.$response->product_category}.'</td>
|
||||
@@ -136,7 +135,6 @@ $view .= '
|
||||
'.(($response->full_path !='')?'<img style="border-radius: 4px;height: 50px;" src="'.$response->full_path.'" alt="">' : '').'
|
||||
</td>
|
||||
<td>'.(${$response->productname} ?? $response->productname).'</td>
|
||||
<td><a href="index.php?page=product&rowID='.$response->rowID.'" class="btn_link">'.$general_view .'</a></td>
|
||||
</tr>
|
||||
';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user