diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-08 15:29:09 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-08 15:29:09 +0300 |
| commit | 076b0acfa4222a85f484052abbeaa26abdd5a557 (patch) | |
| tree | e311ca0290fd8225dc6996bddab2ac1b9b7b6b95 | |
| parent | 4d61df35d965f307d921d5c1a7f796fd112ce171 (diff) | |
migration to justfile
| -rw-r--r-- | f3s/anki-sync-server/Justfile | 5 | ||||
| -rw-r--r-- | f3s/anki-sync-server/Makefile | 5 | ||||
| -rw-r--r-- | f3s/audiobookshelf/Justfile | 5 | ||||
| -rw-r--r-- | f3s/audiobookshelf/Makefile | 5 | ||||
| -rw-r--r-- | f3s/example-apache-volume-claim/Justfile | 5 | ||||
| -rw-r--r-- | f3s/example-apache-volume-claim/Makefile | 5 | ||||
| -rw-r--r-- | f3s/example-apache/Justfile | 5 | ||||
| -rw-r--r-- | f3s/example-apache/Makefile | 5 | ||||
| -rw-r--r-- | f3s/miniflux/Justfile | 12 | ||||
| -rw-r--r-- | f3s/registry/Justfile | 5 | ||||
| -rw-r--r-- | f3s/registry/Makefile | 5 | ||||
| -rw-r--r-- | f3s/syncthing/Justfile | 5 | ||||
| -rw-r--r-- | f3s/syncthing/Makefile | 5 | ||||
| -rw-r--r-- | f3s/wallabag/Justfile | 5 | ||||
| -rw-r--r-- | f3s/wallabag/Makefile | 5 | ||||
| -rw-r--r-- | frontends/scripts/foostats.pl | 74 |
16 files changed, 84 insertions, 72 deletions
diff --git a/f3s/anki-sync-server/Justfile b/f3s/anki-sync-server/Justfile new file mode 100644 index 0000000..5f5f777 --- /dev/null +++ b/f3s/anki-sync-server/Justfile @@ -0,0 +1,5 @@ +apply: + helm install anki-sync-server ./helm-chart --namespace services --create-namespace + +delete: + helm uninstall anki-sync-server --namespace services diff --git a/f3s/anki-sync-server/Makefile b/f3s/anki-sync-server/Makefile deleted file mode 100644 index 036bdfd..0000000 --- a/f3s/anki-sync-server/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -apply: - helm install anki-sync-server ./helm-chart --namespace services --create-namespace - -delete: - helm uninstall anki-sync-server --namespace services
\ No newline at end of file diff --git a/f3s/audiobookshelf/Justfile b/f3s/audiobookshelf/Justfile new file mode 100644 index 0000000..d160ec4 --- /dev/null +++ b/f3s/audiobookshelf/Justfile @@ -0,0 +1,5 @@ +apply: + helm install audiobookshelf ./helm-chart --namespace services --create-namespace + +delete: + helm uninstall audiobookshelf --namespace services diff --git a/f3s/audiobookshelf/Makefile b/f3s/audiobookshelf/Makefile deleted file mode 100644 index 49ec90c..0000000 --- a/f3s/audiobookshelf/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -apply: - helm install audiobookshelf ./helm-chart --namespace services --create-namespace - -delete: - helm uninstall audiobookshelf --namespace services diff --git a/f3s/example-apache-volume-claim/Justfile b/f3s/example-apache-volume-claim/Justfile new file mode 100644 index 0000000..a3439c8 --- /dev/null +++ b/f3s/example-apache-volume-claim/Justfile @@ -0,0 +1,5 @@ +apply: + helm install example-apache-volume-claim ./helm-chart --namespace test --create-namespace + +delete: + helm uninstall example-apache-volume-claim --namespace test diff --git a/f3s/example-apache-volume-claim/Makefile b/f3s/example-apache-volume-claim/Makefile deleted file mode 100644 index e202f6c..0000000 --- a/f3s/example-apache-volume-claim/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -apply: - helm install example-apache-volume-claim ./helm-chart --namespace test --create-namespace - -delete: - helm uninstall example-apache-volume-claim --namespace test diff --git a/f3s/example-apache/Justfile b/f3s/example-apache/Justfile new file mode 100644 index 0000000..ef13e2d --- /dev/null +++ b/f3s/example-apache/Justfile @@ -0,0 +1,5 @@ +apply: + helm install example-apache ./helm-chart --namespace test --create-namespace + +delete: + helm uninstall example-apache --namespace test diff --git a/f3s/example-apache/Makefile b/f3s/example-apache/Makefile deleted file mode 100644 index 2936d22..0000000 --- a/f3s/example-apache/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -apply: - helm install example-apache ./helm-chart --namespace test --create-namespace - -delete: - helm uninstall example-apache --namespace test
\ No newline at end of file diff --git a/f3s/miniflux/Justfile b/f3s/miniflux/Justfile new file mode 100644 index 0000000..387af0a --- /dev/null +++ b/f3s/miniflux/Justfile @@ -0,0 +1,12 @@ +NAMESPACE := "services" +RELEASE_NAME := "miniflux" +CHART_PATH := "./helm-chart" + +install: + helm install {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} --create-namespace + +upgrade: + helm upgrade {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} + +uninstall: + helm uninstall {{RELEASE_NAME}} --namespace {{NAMESPACE}} diff --git a/f3s/registry/Justfile b/f3s/registry/Justfile new file mode 100644 index 0000000..86156af --- /dev/null +++ b/f3s/registry/Justfile @@ -0,0 +1,5 @@ +apply: + helm install registry ./helm-chart --namespace infra --create-namespace + +delete: + helm uninstall registry --namespace infra diff --git a/f3s/registry/Makefile b/f3s/registry/Makefile deleted file mode 100644 index 1625001..0000000 --- a/f3s/registry/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -apply: - helm install registry ./helm-chart --namespace infra --create-namespace - -delete: - helm uninstall registry --namespace infra diff --git a/f3s/syncthing/Justfile b/f3s/syncthing/Justfile new file mode 100644 index 0000000..6263214 --- /dev/null +++ b/f3s/syncthing/Justfile @@ -0,0 +1,5 @@ +apply: + helm install syncthing ./helm-chart --namespace services --create-namespace + +delete: + helm uninstall syncthing --namespace services diff --git a/f3s/syncthing/Makefile b/f3s/syncthing/Makefile deleted file mode 100644 index d4d339e..0000000 --- a/f3s/syncthing/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -apply: - helm install syncthing ./helm-chart --namespace services --create-namespace - -delete: - helm uninstall syncthing --namespace services
\ No newline at end of file diff --git a/f3s/wallabag/Justfile b/f3s/wallabag/Justfile new file mode 100644 index 0000000..ed667b5 --- /dev/null +++ b/f3s/wallabag/Justfile @@ -0,0 +1,5 @@ +apply: + helm install wallabag ./helm-chart --namespace services --create-namespace + +delete: + helm uninstall wallabag --namespace services diff --git a/f3s/wallabag/Makefile b/f3s/wallabag/Makefile deleted file mode 100644 index 1a2dbe6..0000000 --- a/f3s/wallabag/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -apply: - helm install wallabag ./helm-chart --namespace services --create-namespace - -delete: - helm uninstall wallabag --namespace services diff --git a/frontends/scripts/foostats.pl b/frontends/scripts/foostats.pl index 7dbc26d..7418a98 100644 --- a/frontends/scripts/foostats.pl +++ b/frontends/scripts/foostats.pl @@ -926,55 +926,55 @@ package Foostats::Reporter { <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>$title</title> <style> - body { - font-family: monospace; - line-height: 1.6; - max-width: 80ch; - margin: 0 auto; - padding: 1em; - background: white; - color: black; + /* Compact, full-width layout */ + :root { + --pad: 8px; + } + html, body { + height: 100%; } - h1, h2, h3 { - font-weight: bold; - margin-top: 1em; - margin-bottom: 0.5em; + body { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + line-height: 1.3; + margin: 0; + padding: var(--pad); + background: #fff; + color: #000; } - h1 { font-size: 1.2em; } - h2 { font-size: 1.1em; } - h3 { font-size: 1em; } + /* Headings: smaller and tighter */ + h1, h2, h3 { margin: 0.5em 0 0.25em; font-weight: 600; } + h1 { font-size: 1em; } + h2 { font-size: 0.95em; } + h3 { font-size: 0.9em; } + /* Paragraphs and lists: minimal vertical rhythm */ + p { margin: 0.2em 0; } + ul { margin: 0.3em 0; padding-left: 1.2em; } + li { margin: 0.1em 0; } + /* Code blocks and tables */ pre { overflow-x: auto; white-space: pre; - font-family: monospace; + margin: 0.3em 0; } table { border-collapse: collapse; - margin: 1em 0; + table-layout: auto; /* size columns by content */ + width: auto; /* do not stretch to full width */ + max-width: 100%; + margin: 0.5em 0; + font-size: 0.95em; + display: inline-table; /* keep as compact as content allows */ } th, td { - padding: 0.25em 0.5em; + padding: 0.1em 0.3em; text-align: left; + white-space: nowrap; /* avoid wide columns caused by wrapping */ } - a { - color: blue; - text-decoration: underline; - } - a:visited { - color: purple; - } - hr { - border: none; - border-top: 1px solid #ccc; - margin: 1em 0; - } - ul { - margin: 0.5em 0; - padding-left: 2em; - } - li { - margin: 0.25em 0; - } + /* Links */ + a { color: #06c; text-decoration: underline; } + a:visited { color: #639; } + /* Rules */ + hr { border: none; border-top: 1px solid #ccc; margin: 0.5em 0; } </style> </head> <body> |
