Add tab_id and step_id as row-level parameter #184
DSMejantel
started this conversation in
Ideas
Replies: 3 comments 2 replies
|
Thanks, |
0 replies
|
My question was stupid. --Onglets
SET tab=coalesce($tab,'1');
select 'tab' as component,
TRUE as center;
select 'Type de Ruche' as title, 'home' as icon, 1 as active, 'parametres.sql?tab=1' as link, CASE WHEN $tab='1' THEN 'orange' ELSE 'green' END as color;
select 'Couleurs' as title, 'palette' as icon, 0 as active, 'parametres.sql?tab=2' as link, CASE WHEN $tab='2' THEN 'orange' ELSE 'green' END as color;
select 'Interventions' as title, 'tool' as icon, 1 as active, 'parametres.sql?tab=3' as link, CASE WHEN $tab='3' THEN 'orange' ELSE 'green' END as color;
select 'Variété de Miels' as title, 'flower' as icon, 1 as active, 'parametres.sql?**tab=4**' as link, CASE WHEN $tab='4' THEN 'orange' ELSE 'green' END as color; |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hello,
Just an idea. Is it possible to add id parameters to tab component (for step component too) ?
So it will be easy to jump from a tab to another tab with variables or numerical calculation...
All reactions