We could make a new module that allow to easily create tiles that allows to go to specific pages.
It should be compatible with on-rocks and may require to send an event. While it could use tiles we could also think about 'circle' as a possible alternative design.
Input variable: Tiles configuration : array of object containing:
label : unique reference use to activate / desactivate and to save preferences
description
icon : font-awesome icon reference or a text (and utf8 icons)
number : a number, will be put in the middle in big if no icon other bottom right
link : link
betalink : if present put a small logo in the bottom left to test new link
visible
active
bgcolor
ontabs : iif empty it is a normal URL link otherwise we open the view and send an event. In this case ontabs contains the prefix of the tab. If ontabsEvent.code exists it is appended to the name of the tabs after a "-". Example ontabs:'abc', ontabsEvent: {code:'1234'}, tab name: abc-1234
ontabsEvent : default value for the event to send.
ontabsKind : string, we should look for the value in the input variable
ActionIn:
hide : hide some 'label', may be a regexp as value
show
disable
enable
Text should increase proportionally to the div.
Input variable:
Will contain the default event to send if the system is on-tabs
Input variable : object containing the data to send to iFrameBridge
On tabs requires:
id (name of the tab)
url (url of the view)
data : all what you want, useful to transfer id, ...
For the creation of the gridstack seems that new elements could have the attribute: data-gs-auto-position
Should we be able to suppress some icon and then to be able to 'reset' (an action) so that all the possibility appears ? Or toggle so that all the icons (even hidden) are displayed (probably a better solution).
We could make a new module that allow to easily create tiles that allows to go to specific pages. It should be compatible with on-rocks and may require to send an event. While it could use tiles we could also think about 'circle' as a possible alternative design.
We could use the following library: http://troolee.github.io/gridstack.js/demo/serialization.html And be able to save / load the position / size of the tiles in localStorage based on the current page name
Input variable: Tiles configuration : array of object containing:
ActionIn:
Text should increase proportionally to the div.
Input variable: Will contain the default event to send if the system is on-tabs
Input variable : object containing the data to send to iFrameBridge On tabs requires:
For the creation of the gridstack seems that new elements could have the attribute: data-gs-auto-position
Should we be able to suppress some icon and then to be able to 'reset' (an action) so that all the possibility appears ? Or toggle so that all the icons (even hidden) are displayed (probably a better solution).