Merge pull request #1888 from AndreasK79/station_locations_view_tweak

[Station locations] Tweaked the table a little bit
pull/1896/head
Peter Goodhall 2023-01-02 13:34:43 +00:00 zatwierdzone przez GitHub
commit c4cddf1249
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 11 dodań i 8 usunięć

Wyświetl plik

@ -38,7 +38,7 @@
<?php } ?>
<div class="table-responsive">
<table id="station_locations_table" class="table table-striped">
<table id="station_locations_table" class="table table-sm table-striped">
<thead>
<tr>
<th scope="col">Profile Name</th>
@ -46,9 +46,10 @@
<th scope="col">Country</th>
<th scope="col">Gridsquare</th>
<th></th>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col">Edit</th>
<th scope="col">Copy</th>
<th scope="col">Empty Log</th>
<th scope="col">Delete</th>
</tr>
</thead>
<tbody>
@ -78,15 +79,17 @@
<?php if($row->user_id == "") { ?>
<a href="<?php echo site_url('station/claim_user')."/".$row->station_id; ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-user-plus"></i> Claim Ownership</a>
<?php } ?>
<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/copy')."/".$row->station_id; ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-copy"></i> Copy</a>
<a href="<?php echo site_url('station/edit')."/".$row->station_id; ?>" title="Edit" class="btn btn-outline-primary btn-sm"><i class="fas fa-edit"></i></a>
</td>
<td>
<a href="<?php echo site_url('station/copy')."/".$row->station_id; ?>" title="Copy" class="btn btn-outline-primary btn-sm"><i class="fas fa-copy"></i></a>
</td>
<td>
<a href="<?php echo site_url('station/deletelog')."/".$row->station_id; ?>" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure you want to delete all QSOs within this station profile?');"><i class="fas fa-trash-alt"></i> Empty Log</a></td>
<a href="<?php echo site_url('station/deletelog')."/".$row->station_id; ?>" class="btn btn-danger btn-sm" title="Empty Log" onclick="return confirm('Are you sure you want to delete all QSOs within this station profile?');"><i class="fas fa-trash-alt"></i></a></td>
</td>
<td>
<?php if($row->station_active != 1) { ?>
<a href="<?php echo site_url('station/delete')."/".$row->station_id; ?>" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure you want delete station profile <?php echo $row->station_profile_name; ?> this will delete all QSOs within this station profile?');"><i class="fas fa-trash-alt"></i> Delete Profile</a>
<a href="<?php echo site_url('station/delete')."/".$row->station_id; ?>" class="btn btn-danger btn-sm" title="Delete" onclick="return confirm('Are you sure you want delete station profile <?php echo $row->station_profile_name; ?> this will delete all QSOs within this station profile?');"><i class="fas fa-trash-alt"></i></a>
<?php } ?>
</td>
</tr>