kopia lustrzana https://github.com/magicbug/Cloudlog
[Station Profiles] Cleaned up the table information
rodzic
c64228a992
commit
4f2a146e3b
|
@ -43,8 +43,6 @@
|
||||||
<th scope="col">Station Callsign</th>
|
<th scope="col">Station Callsign</th>
|
||||||
<th scope="col">Country</th>
|
<th scope="col">Country</th>
|
||||||
<th scope="col">Gridsquare</th>
|
<th scope="col">Gridsquare</th>
|
||||||
<th scope="col">City</th>
|
|
||||||
<th scope="col">QSOs</th>
|
|
||||||
<th></th>
|
<th></th>
|
||||||
<th scope="col"></th>
|
<th scope="col"></th>
|
||||||
<th scope="col"></th>
|
<th scope="col"></th>
|
||||||
|
@ -54,12 +52,12 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($stations->result() as $row) { ?>
|
<?php foreach ($stations->result() as $row) { ?>
|
||||||
<tr>
|
<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_callsign;?></td>
|
||||||
<td><?php echo $row->station_country;?></td>
|
<td><?php echo $row->station_country;?></td>
|
||||||
<td><?php echo $row->station_gridsquare;?></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">
|
<td style="text-align: center">
|
||||||
<?php if($row->station_active != 1) { ?>
|
<?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>
|
<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) { ?>
|
<?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>
|
<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 } ?>
|
<?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>
|
||||||
<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>
|
<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>
|
||||||
|
|
Ładowanie…
Reference in New Issue