League Tabs

The leagues tab runs vertically down the left side of the dashboard and displays one tab for each league that is configured for the selected sport. The tabs are dynamic and configured through the MySql database Leagues table.

The order the leagues tabs are displayed in is defined by their id value in the Leagues table.

There is no limit on the number of sports tabs that can be created. If the tabs reach the vertical limit of the application then they will stack in to multiple columns. Realistically there should never be so many leagues enabled at any one time to cause the tabs to be stacked.

Important: The leagues tabs must be 100% configurable through the database only. Leagues must be added or removed without any code changes.

Clicking on any unselected tab will change the calendar display to show only events for the selected sport and league.

Captions

Text

Type

Comments

[league name]

Dynamic

Value set in Leagues table.

[icon]

Dynamic

Path and name defined in the icon column of the Leagues table.

The icon itself must exist in the corresponding asset/imgs/leagues folder in the application.

Actions

Caption

Type

Action

[League]

Text

Change calendar to the selected league of the selected sport.

Last updated