From: Paul Hänsch Date: Mon, 13 May 2024 18:57:59 +0000 (+0200) Subject: Merge commit 'de473d4e02928b374781a1930e052dfb215a6201' X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=efd5370cddd0cfc4a0e94e7f4ec1792abb7259c6;hp=785c5f7e7828e93a2c6629036d8808865a0eec11;p=confetti Merge commit 'de473d4e02928b374781a1930e052dfb215a6201' --- diff --git a/cgilite/cgilite.awk b/cgilite/cgilite.awk index f16ed6a..ebf4411 100644 --- a/cgilite/cgilite.awk +++ b/cgilite/cgilite.awk @@ -1,5 +1,7 @@ #!/bin/env awk -f +function debug(t) { printf "%s\n", t >>"/dev/stderr"; } + function PATH( str, seg, out ) { while ( str ) { seg = str; @@ -151,8 +153,9 @@ BEGIN { split("", _GET); split("", _POST); split("", _REF); split("", _HEADER); split("", _COOKIE); - if ( ENVIRON["REQUEST_METHOD"] ) + if ( ENVIRON["REQUEST_METHOD"] ) { _cgilite_headers(); - else + } else { _cgilite_request(); + } } diff --git a/cgilite/common.css b/cgilite/common.css index 30c3942..16e99f2 100644 --- a/cgilite/common.css +++ b/cgilite/common.css @@ -31,7 +31,7 @@ a { color: #068; word-break: break-word; } -a.button { +a.button, label.button { font-style: inherit; text-decoration: inherit; color: inherit; @@ -86,7 +86,7 @@ h1 { } h2 { font-size: 1.125em; } -select, input, button, textarea, a.button { +select, input, button, textarea, a.button, label.button { display: inline-block; color: #000; background-color: #FFF; border: .5pt solid; @@ -103,7 +103,7 @@ input[type=radio], input[type=checkbox] { } input[type=number] { text-align: right; padding-right: 0; } -button, input[type=button], a.button { +button, input[type=button], a.button, label.button { box-shadow: .125em .125em .25em; cursor: pointer; }