[QSO][Edit] Swapped the Delete and Save Changes buttons to conform to standard ux

pull/798/head 1.9.2
Peter Goodhall 2021-01-02 19:33:59 +00:00
rodzic e8a116abce
commit 6a42641f9d
2 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -579,8 +579,8 @@
<input type="hidden" name="id" value="<?php echo $qso->COL_PRIMARY_KEY; ?>" />
<div class="actions">
<button id="show" type="button" name="download" class="btn btn-primary" onclick="qso_save();">Save changes</button>
<a class="btn btn-danger float-right" href="javascript:qso_delete(<?php echo $qso->COL_PRIMARY_KEY; ?>, '<?php echo $qso->COL_CALL; ?>')"><i class="fas fa-trash-alt"></i> Delete QSO</a>
<a class="btn btn-danger" href="javascript:qso_delete(<?php echo $qso->COL_PRIMARY_KEY; ?>, '<?php echo $qso->COL_CALL; ?>')"><i class="fas fa-trash-alt"></i> Delete QSO</a>
<button id="show" type="button" name="download" class="btn btn-primary float-right" onclick="qso_save();"><i class="fas fa-save"></i> Save changes</button>
</div>
</div>
</div>

Wyświetl plik

@ -93,7 +93,6 @@
<div class="card-body">
<div class="form-group">
<label>Stylesheet</label>
<select class="custom-select" id="user_stylesheet" name="user_stylesheet" required>
<option value='default' <?php if($user_stylesheet == "default") { echo "selected=\"selected\""; } ?>>Default</option>
<option value='blue' <?php if($user_stylesheet == "blue") { echo "selected=\"selected\""; } ?>>Blue</option>