]> git.plutz.net Git - invoices/commitdiff
use _DATA and _BASE variables
authorPaul Hänsch <paul@plutz.net>
Fri, 1 Dec 2023 14:51:37 +0000 (15:51 +0100)
committerPaul Hänsch <paul@plutz.net>
Fri, 1 Dec 2023 14:51:37 +0000 (15:51 +0100)
doclist.sh
form.sh

index 41948a9029c22e1b29e74d749a82000525016a44..7cad858cd9609ddbb5cf562f1b78dc7cead64bba 100755 (executable)
@@ -39,8 +39,8 @@ list_status() {
 "$_EXEC/cgilite/html-sh.sed" <<EOF
 [html [head
   [meta name="viewport" content="width=device-width"]
-  [link rel="stylesheet" type="text/css" href="/cgilite/common.css"]
-  [link rel="stylesheet" type="text/css" href="/doclist.css"]
+  [link rel="stylesheet" type="text/css" href="$_BASE/cgilite/common.css"]
+  [link rel="stylesheet" type="text/css" href="$_BASE/doclist.css"]
   [title $(_ Invoices)]
 ] [body
   [section #open   [h2 . $(_ Open)]
diff --git a/form.sh b/form.sh
index 1c563d339111f61e672f06de3b57ceb308df47d6..106b9f7a4cbe4c1a4a30810318046bb5c5ad09fd 100755 (executable)
--- a/form.sh
+++ b/form.sh
@@ -7,7 +7,7 @@ yield_form() {
   "$_EXEC/cgilite/html-sh.sed" <<-EOF
 [html [head
   [meta name="viewport" content="width=device-width"]
-  [link rel="stylesheet" type="text/css" href="/cgilite/common.css"]
+  [link rel="stylesheet" type="text/css" href="$_BASE/cgilite/common.css"]
   [title $(_ Invoices)]
 ] [body
   [a href="${_BASE}" . &lt;--]