Tidy up stray style="" elements that were used in templates, either use a Bootstrap class or create a new util class in style.css as necessary.

This commit is contained in:
Ian Renton
2026-05-21 21:07:35 +01:00
parent c939a5c1a1
commit 4f56809da7
10 changed files with 71 additions and 41 deletions

View File

@@ -21,11 +21,11 @@
<form class="row g-3">
<div class="col-auto">
<label for="dx-call" class="form-label">DX Call *</label>
<input type="text" class="form-control" id="dx-call" placeholder="N0CALL" style="max-width: 8em;">
<input type="text" class="form-control input-narrow" id="dx-call" placeholder="N0CALL">
</div>
<div class="col-auto">
<label for="freq" class="form-label">Frequency (kHz) *</label>
<input type="text" class="form-control" id="freq" placeholder="e.g. 14100" style="max-width: 8em;">
<input type="text" class="form-control input-narrow" id="freq" placeholder="e.g. 14100">
</div>
<div class="col-auto">
<label for="mode" class="form-label">Mode</label>
@@ -41,22 +41,22 @@
</div>
<div class="col-auto">
<label for="sig-ref" class="form-label">SIG Reference</label>
<input type="text" class="form-control" id="sig-ref" placeholder="e.g. GB-0001" style="max-width: 8em;">
<input type="text" class="form-control input-narrow" id="sig-ref" placeholder="e.g. GB-0001">
</div>
<div class="col-auto">
<label for="dx-grid" class="form-label">DX Grid</label>
<input type="text" class="form-control" id="dx-grid" placeholder="e.g. AA00aa" style="max-width: 8em;">
<input type="text" class="form-control input-narrow" id="dx-grid" placeholder="e.g. AA00aa">
</div>
<div class="col-auto">
<label for="comment" class="form-label">Comment</label>
<input type="text" class="form-control" id="comment" placeholder="e.g. 59 TNX QSO 73" style="max-width: 12em;">
<input type="text" class="form-control input-medium" id="comment" placeholder="e.g. 59 TNX QSO 73">
</div>
<div class="col-auto">
<label for="de-call" class="form-label">Your Call *</label>
<input type="text" class="form-control storeable-text" id="de-call" placeholder="N0CALL" style="max-width: 8em;">
<input type="text" class="form-control storeable-text input-narrow" id="de-call" placeholder="N0CALL">
</div>
<div class="col-auto">
<button type="button" class="btn btn-primary" style="margin-top: 2em;" onclick="addSpot();">Spot</button>
<button type="button" class="btn btn-primary mt-2em" onclick="addSpot();">Spot</button>
</div>
</form>
@@ -69,8 +69,8 @@
</div>
<script src="/js/common.js?v=1779393248"></script>
<script src="/js/add-spot.js?v=1779393248"></script>
<script src="/js/common.js?v=1779394055"></script>
<script src="/js/add-spot.js?v=1779394055"></script>
<script>$(document).ready(function() { $("#nav-link-add-spot").addClass("active"); }); <!-- highlight active page in nav --></script>
{% end %}