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:
@@ -96,7 +96,6 @@ $view .= '
|
||||
<td class="responsive-hidden">'.($shipping_price ?? 'Price Range').'</td>
|
||||
<td class="responsive-hidden">'.($shipping_weight ?? 'Weight Range').'</td>
|
||||
<td>'.($shipping_price_total ?? 'Total price').'</td>
|
||||
<td>'.$general_actions.'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
@@ -117,15 +116,14 @@ $view .= '
|
||||
}
|
||||
|
||||
$view .= '
|
||||
<tr>
|
||||
<tr onclick="window.location.href=\'index.php?page=shipping_manage&id='.$shipment['id'].'\'" style="cursor: pointer;">
|
||||
<td>'.$shipment['id'].'</td>
|
||||
<td>'.$shipment['name'].'</td>
|
||||
<td>'.($shipment['type'] == 0 ? ($shipping_type_standard ?? 'Standard' ) : ($shipping_type_express ?? 'Express')).'</td>
|
||||
<td class="responsive-hidden" style="max-width:300px">'.$shipping_countries.'</td>
|
||||
<td class="responsive-hidden">'.number_format($shipment['price_from'], 2).' - '.number_format($shipment['price_to'], 2).'</td>
|
||||
<td class="responsive-hidden">'.number_format($shipment['price_from'], 2).' - '.number_format($shipment['price_to'], 2).' kg</td>
|
||||
<td class="responsive-hidden">'.number_format($shipment['weight_from'], 2).' kg - '.number_format($shipment['weight_to'], 2).' kg</td>
|
||||
<td><?=currency_code?>'.number_format($shipment['price'], 2).'</td>
|
||||
<td><a href="index.php?page=shipping_manage&id='.$shipment['id'].'" class="btn_link">'.$general_view.'</a></td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user