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 class="responsive-hidden">'.($orders_method ?? 'Method').'</td>
|
||||
<td class="responsive-hidden">'.($orders_status ?? 'Status').'</td>
|
||||
<td class="responsive-hidden">'.($orders_created ?? 'Created').'</td>
|
||||
<td>'.$general_actions.'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
@@ -106,14 +105,13 @@ $view .= '
|
||||
$payment_method = 'payment_method_'.$order['payment_method'];
|
||||
|
||||
$view .= '
|
||||
<tr>
|
||||
<tr onclick="window.location.href=\'index.php?page=order&id='.$order['id'].'\'" style="cursor: pointer;">
|
||||
<td>'.$order['id'].'</td>
|
||||
<td>'.$order['first_name'].' '.$order['last_name'].'</td>
|
||||
<td>'.number_format($order['payment_amount'], 2).'</td>
|
||||
<td class="responsive-hidden">'.(${$payment_method} ?? $order['payment_method']).'</td>
|
||||
<td class="responsive-hidden">'.(${$payment_status} ?? $order['payment_status']).'</td>
|
||||
<td class="responsive-hidden">'.getRelativeTime($order['created']).'</td>
|
||||
<td><a href="index.php?page=order&id='.$order['id'].'" class="btn_link">'.$general_view.'</a></td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user