feat(options): row 204 — place the last Colors-category options on visible tabs; park open prompts; security review filed
- sliderhandlecolor moved to the Questions category (full-width row at the end of the Questions pane, after the border section hr); privacybackgroundcolor moved to Page background (column 1, under the background image switch). The Colors category is gone entirely; the options.twig tab loop keeps a Colors exclusion as a safety net. Both values are still applied in custom_header.twig (verified live). Variants rebuilt + example config synced; jsdom 8/8. - Prompt V cleanup verified: no respondage_vanilla folder/zip left in upload/themes/survey, zero DB references (surveys, template_configuration, lime_templates). Remaining resets/flushassets are owner actions. - Security review (Prompt B) executed, approval-gated: report in SECURITY_REVIEW_20261129.md (S1 HIGH raw option values into <style>/ attributes → stored XSS; S2 MEDIUM raw imagefile option HTML in options.twig:98-104; S3-S7 info/safe), core FR filed as FEATURE_REQUEST_security_theme_option_raw_output.md. No fixes without owner approval. - Parked prompts moved from prompts.md to OPEN_PROMPTS.md (findable index): PL, HB, AN, A, C open; Z/B/V marked done. New local files gitignored + export-excluded (OPEN_PROMPTS.md, SECURITY_REVIEW*.md). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
931d61b13d
commit
b224627cda
1 changed files with 40 additions and 18 deletions
|
|
@ -31,7 +31,7 @@
|
|||
<version>3.3.0</version>
|
||||
<apiVersion>3</apiVersion>
|
||||
<description><strong>Example variant of Respondage Vanilla</strong><br>Public example of a build output: only a few house-style option values differ, all views, CSS and JS are inherited from the mother theme via extends.</description>
|
||||
<lastUpdate>2026-11-29 15:44:59</lastUpdate>
|
||||
<lastUpdate>2026-11-29 16:11:08</lastUpdate>
|
||||
<extends>vanilla_respondage</extends>
|
||||
</metadata>
|
||||
<compatibility>
|
||||
|
|
@ -173,8 +173,8 @@
|
|||
<dropdownoptions><option value="default" data-default="1">[Default font color]</option><option value="defaultbackgroundcolor">Default background color</option><option value="color1">Color 1</option><option value="color2">Color 2</option><option value="color3">Color 3</option><option value="other">Other ...</option></dropdownoptions></navbarfontcolor>
|
||||
<navbarfontcolorcustom type="colorpicker" category="Header" width="4" title="Custom font color for the header menu (for 'Other ...')" parent="navbarfontcolor">#444444</navbarfontcolorcustom>
|
||||
<!-- Color choosers of the Header tab (rows 115/135/149): HOUSE-STYLE colors, set per
|
||||
variant via variants/<client>.json. sliderhandlecolor + privacybackgroundcolor remain in
|
||||
the Colors category (no custom tab yet — Prompt T). -->
|
||||
variant via variants/<client>.json. (The former Colors-category options moved to
|
||||
Page background / Questions in row 204.) -->
|
||||
<!-- Backgrounds of navbar/page stay plain colorpickers (owner decision
|
||||
2026-11-26, row 115): they are mostly NOT one of the default colors,
|
||||
default white #ffffff. EXCEPTION (row 135): the HEADER background color
|
||||
|
|
@ -284,6 +284,10 @@
|
|||
<backgroundimagefile type="imagefile" category="Page background" width="6" title="Background image file" parent="backgroundimage">./files/tiledtexture.png</backgroundimagefile>
|
||||
<backgroundimagefixed type="buttons" category="Page background" width="6" title="Background image fixed or scroll" options="fixed|scroll" optionlabels="Fixed|Scroll" parent="backgroundimage">scroll</backgroundimagefixed>
|
||||
<backgroundimagedisplay type="buttons" category="Page background" width="6" title="Background image display" options="tile|cover" optionlabels="Tile|Cover" parent="backgroundimage">tile</backgroundimagedisplay>
|
||||
<!-- row 204: the privacy block background moved here from the removed Colors
|
||||
category — it renders in column 1 of the Page background pane, below the
|
||||
background image on/off switch (applied in custom_header.twig on .privacy) -->
|
||||
<privacybackgroundcolor type="colorpicker" category="Page background" width="6" title="Privacy background color" options="on|off" optionlabels="Yes|No">lightyellow</privacybackgroundcolor>
|
||||
<!-- Groups tab (options.twig tab 4, aGroupKeys order): col 1 = group title, col 2 = group description (width 6 = the two col-md-6 columns). -->
|
||||
<!-- Row 157/159: the group options carry category "Groups" (row 159: the
|
||||
category names in this file ARE the tab labels of options.twig, so the
|
||||
|
|
@ -404,6 +408,10 @@
|
|||
<questionborderradiusTR type="duration" category="Questions" width="4" title="Border radius top right" parent="questionborder">5px</questionborderradiusTR>
|
||||
<questionborderradiusBL type="duration" category="Questions" width="4" title="Border radius bottom left" parent="questionborder">5px</questionborderradiusBL>
|
||||
<questionborderradiusBR type="duration" category="Questions" width="4" title="Border radius bottom right" parent="questionborder">5px</questionborderradiusBR>
|
||||
<!-- row 204: the slider handle color moved here from the removed Colors
|
||||
category — sliders appear inside questions, so it renders as a full-width
|
||||
row at the end of the Questions pane (applied in custom_header.twig) -->
|
||||
<sliderhandlecolor type="colorpicker" category="Questions" width="12" title="Slider handle color" options="on|off" optionlabels="Yes|No">#5e1c64</sliderhandlecolor>
|
||||
<!-- Questions
|
||||
HOUSE-STYLE: the colorpicker options in this section (question
|
||||
title/background/help/help-font/border/checkbox colors) are house-style
|
||||
|
|
@ -465,9 +473,9 @@
|
|||
<submitbuttontextcolor type="dropdown" category="Buttons" width="4" title="Font color for the Submit button" options="default|defaultbackgroundcolor|color1|color2|color3|other" optionlabels="Default font color|Default background color|Color 1|Color 2|Color 3|Other ...">other
|
||||
<dropdownoptions><option value="default">Default font color</option><option value="defaultbackgroundcolor">Default background color</option><option value="color1">Color 1</option><option value="color2">Color 2</option><option value="color3">Color 3</option><option value="other" data-default="1">[Other ...]</option></dropdownoptions></submitbuttontextcolor>
|
||||
<submitbuttontextcolorcustom type="colorpicker" category="Buttons" width="4" title="Custom font color for the Submit button (for 'Other ...')" parent="submitbuttontextcolor">#ffffff</submitbuttontextcolorcustom>
|
||||
<!-- Colors: no tab in the custom options page yet (Prompt T) — these two stay in core mode only. -->
|
||||
<sliderhandlecolor type="colorpicker" category="Colors" width="12" title="Slider handle color" options="on|off" optionlabels="Yes|No">#5e1c64</sliderhandlecolor>
|
||||
<privacybackgroundcolor type="colorpicker" category="Colors" width="12" title="Privacy background color" options="on|off" optionlabels="Yes|No">lightyellow</privacybackgroundcolor>
|
||||
<!-- row 204: the Colors category is gone — its last two options moved to
|
||||
Page background (privacybackgroundcolor) and Questions (sliderhandlecolor),
|
||||
so every remaining category is a visible tab again. -->
|
||||
<!-- Other options tab (options.twig LAST tab): width 12 = full-width rows. -->
|
||||
<!-- Prompt O: the five "Other options" are width=12, so they stack in ONE
|
||||
column (full-width rows) in the Other options tab, label above each
|
||||
|
|
|
|||
Loading…
Reference in a new issue