Small UI/UX update used mt-1 for better spaceing than <br> made export an outline button and cleaned up the small font in clients listing page

This commit is contained in:
johnnyq
2023-08-19 13:25:15 -04:00
parent 3652e9da08
commit c02448dff2

View File

@@ -58,7 +58,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
</div> </div>
<div class="col-md-8"> <div class="col-md-8">
<div class="float-right"> <div class="float-right">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#exportClientModal"><i class="fa fa-fw fa-download mr-2"></i>Export</button> <button type="button" class="btn btn-outline-secondary" data-toggle="modal" data-target="#exportClientModal"><i class="fa fa-fw fa-download mr-2"></i>Export</button>
</div> </div>
</div> </div>
</div> </div>
@@ -202,20 +202,26 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
?> ?>
<tr> <tr>
<td> <td>
<strong><a href="client_overview.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?></a></strong> <a class="font-weight-bold" href="client_overview.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?></a></strong>
<?php <div class="mt-1">
if (!empty($client_type)) { <?php
?> if (!empty($client_type)) {
<br> ?>
<small class="text-secondary"><?php echo $client_type; ?></small> <div class="text-secondary">
<?php } ?> <?php echo $client_type; ?>
<?php </div>
if (!empty($client_tags_display)) { ?> <?php } ?>
<br> <?php
<?php echo $client_tags_display; ?> if (!empty($client_tags_display)) { ?>
<?php } ?> <div class="mt-1">
<br> <?php echo $client_tags_display; ?>
<small class="text-secondary"><strong>Created:</strong> <?php echo $client_created_at; ?></small> </div>
<?php } ?>
<div class="mt-1 text-secondary">
<strong>Created:</strong> <?php echo $client_created_at; ?>
</div>
</div>
</td> </td>
<td><?php echo $location_address_display; ?></td> <td><?php echo $location_address_display; ?></td>
<td> <td>
@@ -249,13 +255,18 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
<!-- Show Billing for Admin/Accountant roles only and if accounting module is enabled --> <!-- Show Billing for Admin/Accountant roles only and if accounting module is enabled -->
<?php if ($session_user_role == 3 || $session_user_role == 1 && $config_module_enable_accounting == 1) { ?> <?php if ($session_user_role == 3 || $session_user_role == 1 && $config_module_enable_accounting == 1) { ?>
<td class="text-right"> <td class="text-right">
<span class="text-secondary">Balance</span> <span class="<?php echo $balance_text_color; ?>"><?php echo numfmt_format_currency($currency_format, $balance, $session_company_currency); ?></span> <div class="mt-1">
<br> <span class="text-secondary">Balance</span> <span class="<?php echo $balance_text_color; ?>"><?php echo numfmt_format_currency($currency_format, $balance, $session_company_currency); ?></span>
<span class="text-secondary">Paid</span> <?php echo numfmt_format_currency($currency_format, $amount_paid, $session_company_currency); ?> </div>
<br> <div class="mt-1">
<span class="text-secondary">Monthly</span> <?php echo numfmt_format_currency($currency_format, $recurring_monthly, $session_company_currency); ?> <span class="text-secondary">Paid</span> <?php echo numfmt_format_currency($currency_format, $amount_paid, $session_company_currency); ?>
<br> </div>
<span class="text-secondary">Hourly Rate</span> <?php echo numfmt_format_currency($currency_format, $client_rate, $session_company_currency); ?> <div class="mt-1">
<span class="text-secondary">Monthly</span> <?php echo numfmt_format_currency($currency_format, $recurring_monthly, $session_company_currency); ?>
</div>
<div class="mt-1">
<span class="text-secondary">Hourly Rate</span> <?php echo numfmt_format_currency($currency_format, $client_rate, $session_company_currency); ?>
</div>
</td> </td>
<?php } ?> <?php } ?>