From 68ac9a2005fe8d95dd2f672295cdf9b134c7adc7 Mon Sep 17 00:00:00 2001 From: Scott Alfter Date: Thu, 11 Aug 2022 13:36:18 -0700 Subject: [PATCH] customization: dark theme, auto-refresh back to index 5 s after submit --- .gitignore | 2 +- global.inc | 2 +- search.php | 2 +- submitreq-run.php | 8 ++++---- venuestyle.css | 23 +++++++++++++---------- 5 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 98e6ef6..b25c15b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -*.db +*~ diff --git a/global.inc b/global.inc index 1011664..c9aefef 100644 --- a/global.inc +++ b/global.inc @@ -40,7 +40,7 @@ function navbar($backurl) $backurl = index.php; global $screensize; echo "
Back"; } diff --git a/search.php b/search.php index 514d180..dae03cd 100644 --- a/search.php +++ b/search.php @@ -14,7 +14,7 @@ if (strlen($_GET['q']) < 3) die(); } -echo '

Search Results
Tap a song to submit it

'; +echo '

Search Results
Click a song to submit it

'; $terms = explode(' ',$_GET['q']); $no = count($terms); diff --git a/submitreq-run.php b/submitreq-run.php index 4e1f593..9015d08 100644 --- a/submitreq-run.php +++ b/submitreq-run.php @@ -1,6 +1,6 @@ prepare("INSERT INTO requests (singer,artist,title) VALUES(:singer, $stmt->execute(array(":singer" => $singer, ":artist" => $artist, ":title" => $title)); newSerial(); echo "

Song: $artist - $title

-

Submitted for singer: $singer

-

Please press back to return to the main screen

-"; +

Submitted for singer: $singer

"; +//

Please press back to return to the main screen

+//"; sitefooter(); ?> diff --git a/venuestyle.css b/venuestyle.css index 0bf21d2..9bb15f8 100644 --- a/venuestyle.css +++ b/venuestyle.css @@ -7,17 +7,19 @@ body font-family: 'Scada', sans-serif; font-size: 1.2em; font-weight: bold; - background-color: white; - color: black; + background-color: #202020; + color: white; padding-top: 60px; } input[type=text] { - border: 2px solid black; + border: 2px solid #202020; padding-top: 5px; padding-bottom: 5px; margin-right: 5px; font-size: 1.2em; font-weight: bold; + color: white; + background-color: #404040; } p.info { @@ -35,15 +37,15 @@ div.navbar padding-bottom: 5px; padding-right: 5px width: 100%; - background-color: white; - color: black; + background-color: #202020; + color: white; text-align: left; border-style: solid; border-width: 0px 0px 2px 0px; } a.navbar { - color: white; + color: #202020;; text-decoration: none; } div.spacer @@ -61,7 +63,8 @@ table } td.result { - color: black; + color: white; + background-color: #202020; font-size: 1.6em; font-weight: bold; text-align: left; @@ -72,12 +75,12 @@ td.result } input[type=button], input[type=submit], input[type=reset], a.button { - background-color: white; + background-color: #202020; border: 2px; border-style: solid; - border-color: black; + border-color: white; font-weight: bold; - color: black; + color: white; padding: 8px 20px; margin-top: 12px; text-decoration: none;