diff --git a/.gitignore b/.gitignore index f3f0212..fae9ca5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,8 +8,10 @@ # variants/ — only the confidential parts stay local: the client definitions # (*.json), the leak patterns (client names/colors) and the dev tests. The # generic tooling (build.php, export_public.sh — verified to contain no client -# data) IS tracked, so variants can be built from the public repo alone. The -# canonical client definitions live in the private variants repository +# data) IS tracked, so variants can be built from the public repo alone, and +# variants/example/ IS tracked on purpose: it is the public example output of +# the build process (the respondage_respondage example variant). The canonical +# client definitions live in the private variants repository # (vanilla_respondage_variants); point variants/build.php at that folder via # its 2nd CLI argument or RESPONDAGE_VARIANTS_DIR. /variants/*.json diff --git a/variants/example/respondage_respondage/config.xml b/variants/example/respondage_respondage/config.xml new file mode 100644 index 0000000..46a89c5 --- /dev/null +++ b/variants/example/respondage_respondage/config.xml @@ -0,0 +1,233 @@ + + + + + + respondage_respondage + Respondage (example variant) + theme + 2024-04-19 12:03 + Respondage + tammo.terhark@respondage.nl + https://www.respondage.nl + Copyright (C) 2026 Respondage — free software, see LICENSE + + GNU General Public License version 2 or later (GPL-2.0-or-later) — full text in the LICENSE file + 3.3.0 + 3 + Example variant of vanilla_respondage, generated by variants/build.php — demonstrates the output of the build process. Not a real client. + 2026-11-24 21:52:01 + vanilla_respondage + + + 6.0 + 7.0 + + + + + css/base.css + css/theme.css + css/noTablesOnMobile.css + css/plain.css + css/fonts.css + css/custom.css + + + scripts/theme.js + scripts/custom.js + + + css/print_theme.css + + + + + + off + on + 1 + off + enable + + + on + ./files/logo.png + on + off + ./files/logo.png + on + off + ./files/logo2.png + on + 15px + on + scroll + tile + ./files/tiledtexture.png + #f5f3f7 + + + #5e1c64 + #ffffff + #ffffff + #fff3cd + box + solid + #cccccc + 5px + 5px + 5px + 5px + hover + top + #ff005f + + under + + on + on + on + off + + + #eeeeee + #444444 + #5e1c64 + #444444 + #5e1c64 + #eeeeee + #5e1c64 + #ffffff + lightyellow + + + + noto_sans + + + + + base + base + base + base + base + base + base + 16px + 1.2rem + 700 + 2.0rem + 700 + 1.2rem + 400 + + + + custom + + + + + diff --git a/variants/example/respondage_respondage/files/logo.png b/variants/example/respondage_respondage/files/logo.png new file mode 100644 index 0000000..3dfc717 Binary files /dev/null and b/variants/example/respondage_respondage/files/logo.png differ diff --git a/variants/example/respondage_respondage/files/preview.png b/variants/example/respondage_respondage/files/preview.png new file mode 100644 index 0000000..c842051 Binary files /dev/null and b/variants/example/respondage_respondage/files/preview.png differ diff --git a/variants/example/respondage_respondage/views/subviews/footer/footer.twig b/variants/example/respondage_respondage/views/subviews/footer/footer.twig new file mode 100644 index 0000000..b7acde4 --- /dev/null +++ b/variants/example/respondage_respondage/views/subviews/footer/footer.twig @@ -0,0 +1,7 @@ +{# + Variant override (generated by build.php): render NOTHING. + The mother theme vanilla_respondage shows a Respondage credit in its + views/subviews/footer/footer.twig; variants must not show it to respondents. + The Respondage footer on the admin options page (options/options.twig) is + separate and stays. +#} diff --git a/variants/export_public.sh b/variants/export_public.sh index d3b789f..e3517d1 100644 --- a/variants/export_public.sh +++ b/variants/export_public.sh @@ -83,6 +83,9 @@ for d in "$THEME_DIR"/../respondage_*; do [ -d "$d" ] || continue name="$(basename "$d")" [ "$name" = "$MOTHER_NAME" ] && continue + # respondage_respondage is the PUBLIC example variant (variants/example/ in + # this repo) — not a confidential client, so its name is not a leak pattern. + [ "$name" = "respondage_respondage" ] && continue PATTERNS="$PATTERNS|$name" done if [ -f "$THEME_DIR/variants/leak-patterns.txt" ]; then