Instead of always having the first table shown with the btn-warning class, I'd like suggest one of the two following options.
Either:
If "Make first table in the homepage extra wide" is "No", then display the first table using btn-info (like the other table buttons.)
If the option is "Yes", only then set the first table to use btn-warning.
Or:
For each table, add an option "Use highlighted button in the homepage", yes or no.
If yes, use btn-warning; else, btn-info
I think either of these would provide a nice and easy tweak to the homepage appearance.
Of course, a third option would be to move the current "extra wide" option, from the project properties, to the properties for each table. Then apply the "if yes, btn-warning, else, btn-info" logic.
By allowing more than one table to be extra wide, this would make a grouped homepage more attractive.
AG app - table buttons on home
-
- AppGini Super Hero
- Posts: 336
- Joined: 2015-12-23 16:52