summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-30 09:10:45 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-30 09:10:45 +0100
commita40c31c2da22d155da49f8fc2e79aece004e601f (patch)
treed08ab79e626ed0cf93d93b32f9b220d65b647886 /examples
parent6bf66bb291daa4cb924185231e67ecaccf250337 (diff)
examples: call them images, not panoramas
Any gipfel-annotated photo works, plain or stitched; the user-facing wording and comments should not imply panoramas specifically.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
-rwxr-xr-xexamples/gipfel2html10
-rw-r--r--examples/style.css4
3 files changed, 8 insertions, 8 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 668f1f2..88812c1 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,5 +1,5 @@
# gipfelweb: static, CSS-only web galleries of gipfel-annotated
-# panoramas. Port of the historical examples/ pipeline to the Rust
+# images. Port of the historical examples/ pipeline to the Rust
# stack: gipfel-cli replaces the C binary, ImageMagick replaces
# netpbm + jhead (convert preserves the gipfel comment and EXIF).
#
diff --git a/examples/gipfel2html b/examples/gipfel2html
index d6ad93f..ee69014 100755
--- a/examples/gipfel2html
+++ b/examples/gipfel2html
@@ -1,10 +1,10 @@
#!/bin/sh
# gipfel2html — generate the modern, CSS-only gipfelweb pages.
#
-# gipfel2html page <file> one panorama page (peaks + photos)
+# gipfel2html page <file> one image page (peaks + photos)
# gipfel2html gallery <f1> <f2> thumbnail gallery index
#
-# Markers are positioned in percent of the slide so the panorama can
+# Markers are positioned in percent of the slide so the image can
# scale freely (responsive default; a CSS-only checkbox switches to
# full resolution with horizontal scrolling). Interaction is pure CSS:
# hover for mouse, :focus-within for keyboard, :target for touch.
@@ -82,7 +82,7 @@ EOF
exit 0
fi
-# ---- one panorama page ----
+# ---- one image page ----
FILE="$2"
SLIDE="gipfelweb/slides/${FILE}.jpg"
HILLS="gipfelweb/gipfel/${FILE}.hills"
@@ -148,11 +148,11 @@ cat << EOF
</div>
EOF
-# related images: panoramas in which this one also appears
+# related images: other images in which this one also appears
rel=$(awk -F'\t' -v n="${FILE}.jpg" '$1 == n { print FILENAME; exit }' \
gipfelweb/gipfel/*.imgs 2>/dev/null || true)
if [ -n "$rel" ]; then
- echo '<section class="related"><h2>Visible on these panoramas</h2>'
+ echo '<section class="related"><h2>Visible on these images</h2>'
for f in $rel; do
img=$(basename "${f%.imgs}")
[ "$img" = "$FILE" ] && continue
diff --git a/examples/style.css b/examples/style.css
index 3c43fb3..cd00d26 100644
--- a/examples/style.css
+++ b/examples/style.css
@@ -1,6 +1,6 @@
/* gipfelweb stylesheet — modern, CSS-only interaction (no JavaScript).
Theme follows the system preference; markers are positioned in
- percent of the panorama so the image can scale freely. */
+ percent of the slide so the image can scale freely. */
:root {
--bg: #101014;
@@ -72,7 +72,7 @@ main { padding: 0 1.25rem 1.25rem; }
.tgl:checked + .chip { background: var(--accent); color: #fff; }
.tgl:focus-visible + .chip { outline: 2px solid var(--accent); outline-offset: 2px; }
-/* ---- panorama ---- */
+/* ---- image view ---- */
.pano-wrap {
background: var(--panel);
border-radius: 10px;