From c3ed044bbf7292bf2e0047b98e16d1e4f2f142b7 Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 28 Dec 2022 22:58:21 +0100 Subject: [PATCH] Make search input field transform to upper case --- assets/css/general.css | 6 +++++- assets/js/sections/oqrs.js | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/css/general.css b/assets/css/general.css index cd44917a..4099020e 100644 --- a/assets/css/general.css +++ b/assets/css/general.css @@ -135,6 +135,10 @@ thead > tr > td { text-transform: uppercase; } +.stationinfo #oqrssearch:valid { + text-transform: uppercase; +} + .workedGrid { border-color: green; } @@ -407,4 +411,4 @@ div#station_logbooks_linked_table_paginate { .dropdown-menu { z-index: 2000; -} \ No newline at end of file +} diff --git a/assets/js/sections/oqrs.js b/assets/js/sections/oqrs.js index cca4083f..42fc1004 100644 --- a/assets/js/sections/oqrs.js +++ b/assets/js/sections/oqrs.js @@ -8,7 +8,7 @@ function loadStationInfo() { success: function (data) { if (data.count > 0) { $(".stationinfo").append('
' + data.count + ' Qsos logged between ' + data.mindate + ' and ' + data.maxdate + '.

'); - $(".stationinfo").append('
'); + $(".stationinfo").append('
'); // Get the input field var input = document.getElementById("oqrssearch"); @@ -264,4 +264,4 @@ function markOqrsLineAsDone(id) { $(".oqrsid_"+id).remove(); } }); -} \ No newline at end of file +}