various improvements to make release 1 complete
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/context",
|
||||
"title": "Swiss Football Context (container)",
|
||||
"category": "widgets",
|
||||
"category": "swi-football",
|
||||
"icon": "admin-site",
|
||||
"description": "Provides a team/season/match context to child blocks. Children will inherit these settings unless they override them.",
|
||||
"providesContext": {
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/match-bench",
|
||||
"title": "Swiss Football Match Bench",
|
||||
"category": "swi-football",
|
||||
"icon": "clipboard-user",
|
||||
"description": "Display team staff and substitutes for a match",
|
||||
"attributes": {
|
||||
"side": { "type": "string", "default": "home" }
|
||||
},
|
||||
"usesContext": ["swi-foot/context"]
|
||||
}
|
||||
@@ -2,8 +2,8 @@
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/match-events",
|
||||
"title": "Swiss Football Match Events",
|
||||
"category": "widgets",
|
||||
"icon": "list-view",
|
||||
"category": "swi-football",
|
||||
"icon": "info",
|
||||
"description": "Live match events with optional auto-refresh.",
|
||||
"attributes": {
|
||||
"selectedTeam": { "type": "string", "default": "" },
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/match-referees",
|
||||
"title": "Swiss Football Match Referees",
|
||||
"category": "swi-football",
|
||||
"icon": "whistle",
|
||||
"description": "Display match officials and referees",
|
||||
"attributes": {
|
||||
"selectedMatch": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"usesContext": ["swi-foot/context"]
|
||||
}
|
||||
@@ -2,14 +2,15 @@
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/match-roster",
|
||||
"title": "Swiss Football Match Roster",
|
||||
"category": "widgets",
|
||||
"category": "swi-football",
|
||||
"icon": "groups",
|
||||
"description": "Display match roster for a selected match and side.",
|
||||
"attributes": {
|
||||
"selectedTeam": { "type": "string", "default": "" },
|
||||
"selectedMatch": { "type": "string", "default": "" },
|
||||
"side": { "type": "string", "default": "home" },
|
||||
"withBench": { "type": "boolean", "default": false }
|
||||
"showStartingSquad": { "type": "boolean", "default": true },
|
||||
"showBench": { "type": "boolean", "default": false }
|
||||
}
|
||||
,
|
||||
"usesContext": ["swi-foot/context"]
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/schedule",
|
||||
"title": "Swiss Football Schedule",
|
||||
"category": "widgets",
|
||||
"icon": "schedule",
|
||||
"category": "swi-football",
|
||||
"icon": "calendar",
|
||||
"description": "Display upcoming matches for a team.",
|
||||
"attributes": {
|
||||
"teamId": {
|
||||
@@ -13,6 +13,11 @@
|
||||
"limit": {
|
||||
"type": "number",
|
||||
"default": 5
|
||||
},
|
||||
"matchFilter": {
|
||||
"type": "string",
|
||||
"default": "all",
|
||||
"enum": ["all", "home", "away"]
|
||||
}
|
||||
}
|
||||
,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/standings",
|
||||
"title": "Swiss Football Standings",
|
||||
"category": "widgets",
|
||||
"category": "swi-football",
|
||||
"icon": "analytics",
|
||||
"description": "Display current standings for a team.",
|
||||
"attributes": {
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"apiVersion": 3,
|
||||
"name": "swi-foot/team-data",
|
||||
"title": "Swiss Football Team Data",
|
||||
"category": "widgets",
|
||||
"icon": "universal-access-alt",
|
||||
"description": "Guided team selector to insert shortcodes for various match/team displays.",
|
||||
"attributes": {
|
||||
"selectedTeam": { "type": "string", "default": "" },
|
||||
"dataType": { "type": "string", "default": "" },
|
||||
"selectedMatch": { "type": "string", "default": "" },
|
||||
"shortcodeType": { "type": "string", "default": "match" },
|
||||
"format": { "type": "string", "default": "" },
|
||||
"separator": { "type": "string", "default": ":" }
|
||||
}
|
||||
,
|
||||
"usesContext": ["swi-foot/context"]
|
||||
}
|
||||
Reference in New Issue
Block a user