Alan Lam 8 лет назад
Родитель
Сommit
0a95f33ddb
2 измененных файлов с 8 добавлено и 8 удалено
  1. 3 3
      views/location_list.php
  2. 5 5
      views/project_list.php

+ 3 - 3
views/location_list.php

@@ -1,7 +1,7 @@
-<table class="table table-hover">
+<table class="table table-sm table-hover">
 	<thead>
 		<tr>
-			<th>ID</th>
+			<th class="text-right pr-3">ID</th>
 			<th>Name / Address</th>
 			<th></th>
 		</tr>
@@ -11,7 +11,7 @@
 	foreach($locations as $location) {
 		?>
 		<tr>
-			<td class="text-right">
+			<td class="text-right pr-3">
 				<?=$location->id?>
 			</td>
 			<td>

+ 5 - 5
views/project_list.php

@@ -1,7 +1,7 @@
-<table class="table table-hover">
+<table class="table table-sm table-hover">
 	<thead>
 		<tr>
-			<th>ID</th>
+			<th class="text-right pr-3">ID</th>
 			<th>Name</th>
 			<th>Deadline</th>
 			<th></th>
@@ -13,13 +13,13 @@
 		$date_deadline = explode(" ", $project->dts_deadline)[0];
 		?>
 		<tr>
-			<td class="text-right">
+			<td class="text-right pr-3 align-middle">
 				<?=$project->id?>
 			</td>
-			<td>
+			<td class="align-middle">
 				<a href="/account/projects/<?=$project->id?>"><?=htmlspecialchars($project->name)?></a>
 			</td>
-			<td>
+			<td class="align-middle">
 				<?=$date_deadline?>
 			</td>
 			<td class="text-right align-middle">