Molkobain
0dc3d249da
N°3526 - Clean up pass on UIBlocks
...
- Add ancestors CSS classes on UIBlocks when missing (programmatically)
- Fix SCSS due to some blocks inheriting their ancestors rules
2021-11-14 22:33:48 +01:00
Molkobain
ae6f8fba5c
N°3520 - Add missing data-role on UIBlocks
2021-09-30 22:07:39 +02:00
Stephen Abello
8a46900df9
Fix collapsible section widget being called before dependency was loaded
2021-06-04 11:17:57 +02:00
Pierre Goiffon
58d1a1d311
🚚 collapsibleSection JQuery widget renamed to collapsible_section
...
to match other widget naming convention
2021-04-07 17:14:44 +02:00
Molkobain
26d25706f2
UIBlock: Use GetAdditionalCSSClassesAsString() instead of GetAdditionalCSSClasses()|join(' ') in TWIGs
2021-01-21 14:38:05 +01:00
Molkobain
1514cd83ab
UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
...
Note: This had to be fixed on all calls to this, hence the number of modifications.
2021-01-21 12:59:30 +01:00
Pierre Goiffon
882fd761a6
🐛 Fix wrong display in dashboards and search pages
...
Was introduced by f723862d
2021-01-21 11:25:32 +01:00
Pierre Goiffon
f723862def
Pull up additionalCSSClasses from Button & UiContentBlock to UiBlock
...
This will allow to use this everywhere !
Before this commit we had :
UiContentBlock
aCSSClasses
GetCssClasses
SetCssClasses // reset + add, existing callers
AddCSSClasses
Button
$aAdditionalCSSClasses
GetAdditionalCSSClass
AddCSSClasses
Now we have :
UiBlock
aAdditionalCSSClasses
AddCSSClasses
SetCSSClasses
GetAdditionalCSSClass
Note that there were also some methods in PopoverMenuItem :
PopoverMenuItem
SetCssClasses
AddCssClass
GetCssClasses
As they are indirection to methods in the $oPopupMenuItem attribute, I added to them the "MenuItem" prefix :
SetMenuItemCssClasses
AddMenuItemCssClass
GetMenuItemCssClasses
Didn't find any use to change.
2021-01-21 10:49:31 +01:00
Eric
9b67f7beba
N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (use ibo-is-hidden class to hide blocks)
2021-01-20 10:41:04 +01:00
Eric
648cfd9af4
Add UIBlocks to twig (Generalize IsHidden parameter)
2021-01-18 13:59:29 +01:00
Pierre Goiffon
09da54ee56
N°3617 collapsible components state saving : use JQuery widget options instead of a method
...
This is the way JQuery widget are intended to work !
Thanks @Molkobain for the review !
2021-01-13 09:29:58 +01:00
Pierre Goiffon
2c0d001721
N°3564 Alert and CollapsibleSectionState can now be saved
2020-12-24 11:48:30 +01:00
Pierre Goiffon
5e22c442ce
N°3537 new CollapsibleSection component for run_query
2020-12-22 17:18:13 +01:00