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:
“VeLiTi”
2025-12-15 17:08:44 +01:00
parent bdb460c046
commit ec20d44267
67 changed files with 153 additions and 216 deletions

View File

@@ -15,7 +15,7 @@ $prev_page = (isset($_SESSION['origin']) && $_SESSION['origin'] == 'equipments')
$page = 'communications';
//create backbutton to prev_origin
$back_btn_orgin = ($prev_page != '')? '<a href="'.$prev_page.'" class="btn alt mar-right-2">'.$button_back.'</a>':'';
$back_btn_orgin = ($prev_page != '')? '<a href="'.$prev_page.'" class="btn alt mar-right-2"></a>':'';
//Check if allowed
@@ -124,7 +124,6 @@ $view .= '
<th>'.$communication_firmware.'</th>
<th>'.$communication_service.'</th>
<th>'.$communication_marketing.'</th>
<th>'.$general_actions.'</th>
</tr>
</thead>
<tbody>
@@ -144,7 +143,7 @@ $view .= '
$type = 'coms_type_'.$response->coms_type;
$view .= '
<tr>
<tr onclick="window.location.href=\'index.php?page=communication&id='.$response->rowID.'\'" style="cursor: pointer;">
<td>'.(($response->status == 1)? '<span class="status enabled">'.$$status:'<span class="status">'.$$status).'</td>
<td>'.$$type.'</td>
<td>'.$response->partnerID.'</td>
@@ -152,7 +151,6 @@ $view .= '
<td><input type="checkbox" '.($response->type_1 == 1 ?' checked':'').'/></td>
<td><input type="checkbox" '.($response->type_2 == 1 ?' checked':'').'/></td>
<td><input type="checkbox" '.($response->type_3 == 1 ?' checked':'').'/></td>
<td><a href="index.php?page=communication&id='.$response->rowID.'" class="btn_link">'.$general_view .'</a></td>
</tr>
';
}