Skip to content

Commit

Permalink
Minor wording changes to new Bootstrap glossary functionality & tweak…
Browse files Browse the repository at this point in the history
…s to conditions to make sure properties only show when relevant
  • Loading branch information
FayCross committed Aug 16, 2024
1 parent c988215 commit ebcf608
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 63 deletions.
44 changes: 23 additions & 21 deletions modules/site/parent_templates/site/wizards/en-GB/data.xwd
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,36 @@
<glossaryGroup type="group" label="Glossary" optional="true">
<glossary label="Glossary" type="DataGrid" height="200" width="390" columns="2" colWidths="100,295" editable="1,1" controls="1" headers="Term,Definition" newRow="term,definition" defaultValue="term|definition" optional="true" wysiwyg="false,true"/>
<glossaryHover label="Show Definition on Hover" type="Checkbox" defaultValue="true" optional="true"/>
<glossaryMenu type="ComboBox" data="both,menu,headings,neither" options="Menu and Headings,Menu Only,Headings Only,No Menu or Headings" optional="true" label="Page Navigation" defaultValue="both" width="175"/>
<glossaryTitle type="TextInput" label="Title" defaultValue="Glossary" optional="true" tooltip="The name of the page or menu if either is enabled"/>
<glossaryPage type="ComboBox" data="none,first,last" conditionTrigger="true" options="None,First Page,Last Page" optional="true" label="Page" defaultValue="none" width="175"/>
<glossaryPageID type="TextInput" condition="glossaryPage!='none'" label="PageID" optional="true" tooltip="Only works when Glossary Page in not None"/>
<glossaryHeaderGroup type="group" label="Header" optional="true">
<glossaryHeaderImage type="media" optional="true" label="Header Image" condition="glossaryPage!='none'"/>
<glossaryHeaderPos type="ComboBox" data="left,center,right" condition="glossaryPage!='none'" options="Left,Centre,Right" optional="true" label="Image Position" defaultValue="left" width="175"/>
<glossaryHeaderRepeat conditionTrigger="true" type="ComboBox" condition="glossaryPage!='none'" data="repeat,repeat-x,repeat-y,no-repeat" options="Horizontal and Vertical Repeat,Horizontal Repeat,Vertical Repeat,No Repeat" optional="true" label="Image Repeat" defaultValue="repeat" width="175"/>
<glossaryHeaderSize type="ComboBox" data="not-set,auto,contain,cover" options="Do not set,Auto,Contain,Cover" optional="true" label="Image Size" condition="glossaryPage!='none'&amp;&amp;headerRepeat=='no-repeat'" defaultValue="not-set" width="175" tooltip="Set the background image size options"/>
<glossaryHeaderTitleAlign type="ComboBox" optional="true" label="Title Position" condition="glossaryPage!='none'" data="left,center,right" options="Left,Center,Right" defaultValue="center" tooltip="The horizontal alignment of the title"/>
<glossaryHeaderColour type="ColourPicker" optional="true" condition="glossaryPage!='none'" label="Background Colour"/>
<glossaryHeaderTextColour type="ColourPicker" optional="true" condition="glossaryPage!='none'" label="Text Colour"/>
<glossaryHeaderBanner type="ComboBox" label="Banner" conditionTrigger="true" condition="glossaryPage!='none'" data="fullscreen,fixedheight" options="Full screen,Fixed height" optional="true" defaultValue="fixedheight" width="175" tooltip="Choose whether the banner needs to be full screen or fixed height when opening page"/>
<glossaryHeaderTopMargin type="NumericStepper" label="Title top margin [%]" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'" min="2" max="60" step="1" defaultValue="20" optional="true" tooltip="The position of the titles as a percentage from the top of the banner when using a fullscreen banner"/>
<glossaryBannerCollapse type="CheckBox" conditionTrigger="true" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'" label="Collapse banner" optional="true" defaultValue="true" tooltip="Whether to collapse the full screen banner when scrolling down"/>
<glossaryBannerFixedHeight type="CheckBox" conditionTrigger="true" condition="glossaryPage!='none' &amp;&amp; (glossaryHeaderBanner=='fixedheight' || glossaryBannerCollapse=='true')" label="Fixed height" optional="true" defaultValue="false" tooltip="Whether the 'Fixed height' banner is just the height needed for the titles, or actually a given set height."/>
<glossaryBannerHeight type="NumericStepper" condition="glossaryPage!='none' &amp;&amp; (glossaryBannerFixedHeight=='true' &amp;&amp; (glossaryHeaderBanner=='fixedheight' || glossaryBannerCollapse=='true'))" label="Banner height" min="10" max="100" step="1" width="100" optional="true" defaultValue="20" tooltip="The height (in %) of the fixed height banner or the collapsed full height banner"/>
<glossaryBannerFullScrolldownInfo type="CheckBox" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'" label="Enable scroll down info" optional="true" defaultValue="true" tooltip="Show an arrow and a help text to scroll down when the banner is full screen"/>
<glossaryBannerFullScrolldownText type="TextInput" wysiwyg="true" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'&amp;&amp;glossaryBannerFullScrolldownInfo=='true'" label="Scroll down text" optional="true" defaultValue="" tooltip="Leave blank to use the default scroll down text or add your own text here to replace it"/>
</glossaryHeaderGroup>
<glossaryPage label="Glossary Page" type="ComboBox" data="none,first,last" conditionTrigger="true" options="None,First Page,Last Page" optional="true" defaultValue="none" width="175"/>
<glossaryPageGroup label="Glossary Page Information" type="group" condition="glossaryPage!='none'" optional="true">
<glossaryTitle label="Title" type="TextInput" defaultValue="Glossary" optional="true" condition="glossaryPage!='none'"/>
<glossaryMenu label="Navigation" type="ComboBox" data="both,menu,headings,neither" options="Menu and Headings,Menu Only,Headings Only,No Menu or Headings" optional="true" defaultValue="both" width="175" condition="glossaryPage!='none'"/>
<glossaryPageID label="Page ID" type="TextInput" condition="glossaryPage!='none'" optional="true" tooltip="Create a customised URL to the glossary page" defaultValue=""/>
<glossaryHeaderGroup type="group" label="Header" optional="true" condition="glossaryPage!='none'">
<glossaryHeaderImage label="Image" type="media" optional="true" condition="glossaryPage!='none'"/>
<glossaryHeaderPos label="Image Position" type="ComboBox" data="left,center,right" condition="glossaryPage!='none'" options="Left,Centre,Right" optional="true" defaultValue="left" width="175"/>
<glossaryHeaderRepeat label="Image Repeat" conditionTrigger="true" type="ComboBox" condition="glossaryPage!='none'" data="repeat,repeat-x,repeat-y,no-repeat" options="Horizontal and Vertical Repeat,Horizontal Repeat,Vertical Repeat,No Repeat" optional="true" defaultValue="repeat" width="175"/>
<glossaryHeaderSize label="Image Size" type="ComboBox" data="not-set,auto,contain,cover" options="Do not set,Auto,Contain,Cover" optional="true" condition="glossaryPage!='none'&amp;&amp;headerRepeat=='no-repeat'" defaultValue="not-set" width="175" tooltip="Set the background image size options"/>
<glossaryHeaderTitleAlign label="Title Position" type="ComboBox" optional="true" condition="glossaryPage!='none'" data="left,center,right" options="Left,Centre,Right" defaultValue="center" tooltip="The horizontal alignment of the title"/>
<glossaryHeaderColour label="Background Colour" type="ColourPicker" optional="true" condition="glossaryPage!='none'" defaultVlaue=""/>
<glossaryHeaderTextColour label="Text Colour" type="ColourPicker" optional="true" condition="glossaryPage!='none'" defaultValue=""/>
<glossaryHeaderBanner label="Banner" type="ComboBox" conditionTrigger="true" condition="glossaryPage!='none'" data="fullscreen,fixedheight" options="Full screen,Fixed height" optional="true" defaultValue="fixedheight" width="175" tooltip="Choose whether the banner needs to be full screen or fixed height when opening page"/>
<glossaryHeaderTopMargin label="Title top margin [%]" type="NumericStepper" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'" min="2" max="60" step="1" defaultValue="20" optional="true" tooltip="The position of the titles as a percentage from the top of the banner when using a fullscreen banner"/>
<glossaryBannerCollapse label="Collapse banner" type="CheckBox" conditionTrigger="true" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'" optional="true" defaultValue="true" tooltip="Whether to collapse the full screen banner when scrolling down"/>
<glossaryBannerFixedHeight label="Fixed height" type="CheckBox" conditionTrigger="true" condition="glossaryPage!='none' &amp;&amp; (glossaryHeaderBanner=='fixedheight' || glossaryBannerCollapse=='true')" optional="true" defaultValue="false" tooltip="Whether the 'Fixed height' banner is just the height needed for the titles, or actually a given set height."/>
<glossaryBannerHeight label="Banner height" type="NumericStepper" condition="glossaryPage!='none' &amp;&amp; (glossaryBannerFixedHeight=='true' &amp;&amp; (glossaryHeaderBanner=='fixedheight' || glossaryBannerCollapse=='true'))" min="10" max="100" step="1" width="100" optional="true" defaultValue="20" tooltip="The height (in %) of the fixed height banner or the collapsed full height banner"/>
<glossaryBannerFullScrolldownInfo label="Enable scroll down info" type="CheckBox" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'" optional="true" defaultValue="true" tooltip="Show an arrow and a help text to scroll down when the banner is full screen"/>
<glossaryBannerFullScrolldownText label="Scroll down text" type="TextInput" wysiwyg="true" condition="glossaryPage!='none'&amp;&amp;glossaryHeaderBanner=='fullscreen'&amp;&amp;glossaryBannerFullScrolldownInfo=='true'" optional="true" defaultValue="" tooltip="Leave blank to use the default scroll down text or add your own text here to replace it"/>
</glossaryHeaderGroup>
</glossaryPageGroup>
</glossaryGroup>

<headerGroup type="group" label="Header" optional="true">
<header type="Media" optional="true" label="Image"/>
<headerPos type="ComboBox" data="left,center,right" options="Left,Centre,Right" optional="true" label="Image Position" defaultValue="left" width="175"/>
<headerRepeat conditionTrigger="true" type="ComboBox" data="repeat,repeat-x,repeat-y,no-repeat" options="Horizontal and Vertical Repeat,Horizontal Repeat,Vertical Repeat,No Repeat" optional="true" label="Image Repeat" defaultValue="repeat" width="175"/>
<headerSize type="ComboBox" data="not-set,auto,contain,cover" options="Do not set,Auto,Contain,Cover" optional="true" label="Image Size" condition="headerRepeat=='no-repeat'" defaultValue="not-set" width="175" tooltip="Set the background image size options"/>
<headerTitleAlign type="ComboBox" optional="true" label="Title Position" data="left,center,right" options="Left,Center,Right" defaultValue="center" tooltip="The horizontal alignment of the title"/>
<headerTitleAlign type="ComboBox" optional="true" label="Title Position" data="left,center,right" options="Left,Centre,Right" defaultValue="center" tooltip="The horizontal alignment of the title"/>
<headerColour type="ColourPicker" optional="true" label="Background Colour"/>
<headerTextColour type="ColourPicker" optional="true" label="Text Colour"/>
<logoR type="Media" optional="true" label="Logo (Right)"/>
Expand Down
Loading

0 comments on commit ebcf608

Please sign in to comment.