From b59244c191d96e15e0d62996eadba11f77fa1353 Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 25 Oct 2023 09:30:40 +0200 Subject: [PATCH] Mark invalid time and date with red border --- application/views/qso/index.php | 4 ++-- assets/css/general.css | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/application/views/qso/index.php b/application/views/qso/index.php index e8ef6e16..3cdae502 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -54,12 +54,12 @@
- > + required pattern="[0-3][0-9]-[0-1][0-9]-[0-9]{4}">
- > + required pattern="[0-2][0-9]:[0-5][0-9]">
diff --git a/assets/css/general.css b/assets/css/general.css index 03f4cae7..e51bbc42 100644 --- a/assets/css/general.css +++ b/assets/css/general.css @@ -543,4 +543,8 @@ div#station_logbooks_linked_table_paginate { } #awardInfoButton h2 { margin-right: 30px; -} \ No newline at end of file +} + +input:invalid { + border-color: red; +}