Alan Lam 3 лет назад
Родитель
Сommit
97b4e30660
1 измененных файлов с 18 добавлено и 20 удалено
  1. 18 20
      views/map.php

+ 18 - 20
views/map.php

@@ -14,14 +14,7 @@ namespace App;
 </div>
 
 <div class="row">
-	<div class="col-lg-6">
-		<div class="mb-3" id="map" style="height: 480px; background: #eee;">
-
-		</div>
-	</div>
-	<div class="col-lg-6">
-		<h4><?=htmlspecialchars(__("Customers"))?></h4>
-
+	<div class="col-xl-3 col-lg-4">
 		<table id="customers-table" class="table table-bordered">
 			<colgroup>
 				<col style="width: 1%"/>
@@ -34,7 +27,7 @@ namespace App;
 					<input class="form-check-input" type="checkbox" id="all-items-checkbox" />
 				</th>
 				<th>
-					<?=htmlspecialchars(__("Name"))?>
+					<?=htmlspecialchars(__("Customer Name"))?>
 				</th>
 			</tr>
 			</thead>
@@ -42,21 +35,26 @@ namespace App;
 			<?php
 			foreach($customers as $customer) {
 				?>
-					<tr>
-						<td>
-							<!--suppress HtmlFormInputWithoutLabel -->
-							<input class="form-check-input" type="checkbox" name="customer_ids[]" value="<?=$customer->id?>" />
-						</td>
-						<td>
-							<a href="<?=htmlspecialchars($customer->getUrl())?>">
-								<?=htmlspecialchars($customer->name)?>
-							</a>
-						</td>
-					</tr>
+				<tr>
+					<td>
+						<!--suppress HtmlFormInputWithoutLabel -->
+						<input class="form-check-input" type="checkbox" name="customer_ids[]" value="<?=$customer->id?>" />
+					</td>
+					<td>
+						<a href="<?=htmlspecialchars($customer->getUrl())?>">
+							<?=htmlspecialchars($customer->name)?>
+						</a>
+					</td>
+				</tr>
 				<?php
 			}
 			?>
 			</tbody>
 		</table>
 	</div>
+	<div class="col-xl-9 col-lg-8">
+		<div class="mb-3" id="map" style="height: 75vh; background: #eee;">
+
+		</div>
+	</div>
 </div>