[Station Profiles] Cleaned up the table information

pull/931/head
Peter Goodhall 2021-03-09 14:04:49 +00:00
rodzic c64228a992
commit 4f2a146e3b
1 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -43,8 +43,6 @@
<th scope="col">Station Callsign</th>
<th scope="col">Country</th>
<th scope="col">Gridsquare</th>
<th scope="col">City</th>
<th scope="col">QSOs</th>
<th></th>
<th scope="col"></th>
<th scope="col"></th>
@ -54,12 +52,12 @@
<tbody>
<?php foreach ($stations->result() as $row) { ?>
<tr>
<td><?php echo $row->station_profile_name;?> (#<?php echo $row->station_id;?>)</td>
<td>
<?php echo $row->station_profile_name;?><br>
</td>
<td><?php echo $row->station_callsign;?></td>
<td><?php echo $row->station_country;?></td>
<td><?php echo $row->station_gridsquare;?></td>
<td><?php echo $row->station_city;?></td>
<td><?php echo $row->qso_total;?></td>
<td style="text-align: center">
<?php if($row->station_active != 1) { ?>
<a href="<?php echo site_url('station/set_active/').$current_active."/".$row->station_id; ?>" class="btn btn-outline-secondary btn-sm" onclick="return confirm('Are you sure you want to make logbook <?php echo $row->station_profile_name; ?> the active logbook?');">Set Active</a>
@ -70,6 +68,9 @@
<?php if($is_there_qsos_with_no_station_id >= 1) { ?>
<a href="<?php echo site_url('station/reassign_profile/').$row->station_id; ?>" class="btn btn-outline-secondary btn-sm" onclick="return confirm('Are you sure you want to reassign QSOs to the <?php echo $row->station_profile_name; ?> profile?');">Reassign</a>
<?php } ?>
<br>
<span class="badge badge-info">ID: <?php echo $row->station_id;?></span>
<span class="badge badge-light"><?php echo $row->qso_total;?> QSOs</span>
</td>
<td>
<a href="<?php echo site_url('station/edit')."/".$row->station_id; ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-edit"></i> Edit</a>