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
|
|
@ -435,7 +435,9 @@
|
|||
TWO columns (col-md-6 each) under the full-width intro — col 1 = overall background
|
||||
color (chooser + custom) + in-column hr + background image on/off; col 2 = the three
|
||||
image-detail options + the upload facility #}
|
||||
{% set aImagesPaneKeys = ['bodybackgroundcolor', 'bodybackgroundcolorcustom', 'backgroundimage', 'backgroundimagefile', 'backgroundimagefixed', 'backgroundimagedisplay'] %}
|
||||
{# row 204: privacybackgroundcolor (moved from the removed Colors category) joins
|
||||
column 1, right after the background image on/off switch #}
|
||||
{% set aImagesPaneKeys = ['bodybackgroundcolor', 'bodybackgroundcolorcustom', 'backgroundimage', 'privacybackgroundcolor', 'backgroundimagefile', 'backgroundimagefixed', 'backgroundimagedisplay'] %}
|
||||
{% if aImagesKeys is not empty %}
|
||||
{% set aTabs = aTabs|merge([{ 'id': 'category-images', 'label': 'Page background', 'category': 'Page background', 'keys': aImagesPaneKeys }]) %}
|
||||
{% endif %}
|
||||
|
|
@ -445,10 +447,9 @@
|
|||
{% set aTabs = aTabs|merge([{ 'id': 'groups', 'label': 'Groups', 'category': 'Groups', 'keys': aGroupKeys }]) %}
|
||||
{% for category in aOptionAttributes.categories %}
|
||||
{% if category != 'Default font and colors' and category != 'Header' and category != 'Colors' and category != 'Page background' and category != 'Groups' and category != 'Other options' %}
|
||||
{# The "Colors" tab is removed on purpose. Its only remaining options are
|
||||
sliderhandlecolor and privacybackgroundcolor (the other Colors keys carry
|
||||
category "Header" now) — TODO: place these two
|
||||
options on another tab. #}
|
||||
{# The "Colors" category no longer exists (row 204: its last two options
|
||||
moved to Page background and Questions) — the exclusion stays as a
|
||||
safety net so a re-introduced "Colors" category never renders as a tab. #}
|
||||
{# Resolve this category's keys once and skip the tab entirely when none
|
||||
remain: e.g. "Progress" — its only option (progressbarposition)
|
||||
moved to the Top-of-page tab, so an empty tab must not be rendered. #}
|
||||
|
|
@ -623,7 +624,7 @@
|
|||
{# row 149: Page background pane — col 1 = overall background color
|
||||
(chooser + custom child) + background image on/off; col 2 = the
|
||||
three image-detail options #}
|
||||
{% if key in ['bodybackgroundcolor', 'bodybackgroundcolorcustom', 'backgroundimage'] %}{% set fSlot = 'bg1' %}
|
||||
{% if key in ['bodybackgroundcolor', 'bodybackgroundcolorcustom', 'backgroundimage', 'privacybackgroundcolor'] %}{% set fSlot = 'bg1' %}
|
||||
{% elseif key in ['backgroundimagefile', 'backgroundimagefixed', 'backgroundimagedisplay'] %}{% set fSlot = 'bg2' %}
|
||||
{% endif %}
|
||||
{% elseif bGroupsPane %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue