summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-04-25 13:02:05 +0200
committeremkael <emkael@tlen.pl>2018-04-25 13:02:05 +0200
commit5c4d301130ebdf309ca2e4e81bca1b571f43c660 (patch)
treed886597b7678048c357ee38e9149ebab48007ab9
parent43275f64fc31f69da0056e5540e1e4d643473a39 (diff)
Classes for leaderboard positions
-rw-r--r--1n.json19
-rw-r--r--1s.json17
-rw-r--r--2ne.json19
-rw-r--r--2nw.json17
-rw-r--r--2se.json17
-rw-r--r--2sw.json19
-rw-r--r--eklasa.json17
7 files changed, 122 insertions, 3 deletions
diff --git a/1n.json b/1n.json
index 405d050..a7d1e2d 100644
--- a/1n.json
+++ b/1n.json
@@ -25,7 +25,24 @@
["CHEMIK Bydgoszcz", "CHEMIK", "bydgoszcz.png"],
["DARLES SANTERM Gdańsk", "DARLES SANTERM", "gdansk.png"],
["BLACKWOOD Gdańsk", "BLACKWOOD", "gdansk.png"]
- ],
+ ],
+ "position_styles": [
+ {
+ "class": "promotion",
+ "positions": [1, 2, 3],
+ "caption": "Awans do Ekstraklasy 2018/19"
+ },
+ {
+ "class": "repechage",
+ "positions": [11],
+ "caption": "Baraże"
+ },
+ {
+ "class": "relegation",
+ "positions": [12, 13, 14, 15, 16],
+ "caption": "Spadek do II ligi 2018/19"
+ }
+ ],
"phases": [
{
"title": "26 stycznia, 20:00",
diff --git a/1s.json b/1s.json
index 1748d13..cb4ed2b 100644
--- a/1s.json
+++ b/1s.json
@@ -11,6 +11,23 @@
"teams": {
"link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/1liga/s/srrleaderb.html"
},
+ "position_styles": [
+ {
+ "class": "promotion",
+ "positions": [1, 2],
+ "caption": "Awans do Ekstraklasy 2018/19"
+ },
+ {
+ "class": "repechage",
+ "positions": [3],
+ "caption": "Baraże"
+ },
+ {
+ "class": "relegation",
+ "positions": [12, 13, 14, 15, 16],
+ "caption": "Spadek do II ligi 2018/19"
+ }
+ ],
"phases": [
{
"title": "26 stycznia, 20:00",
diff --git a/2ne.json b/2ne.json
index 485ff34..2f9a96b 100644
--- a/2ne.json
+++ b/2ne.json
@@ -25,7 +25,24 @@
["Amado Trans Olsztyn", "Amado Trans"],
["Dolina Narwi MOSiR Łomża", "Dolina Narwi"],
["Akademia Brydża AZS UW Warszawa", "AZS UW"]
- ],
+ ],
+ "position_styles": [
+ {
+ "class": "promotion",
+ "positions": [1, 2],
+ "caption": "Awans do I ligi 2018/19"
+ },
+ {
+ "class": "repechage",
+ "positions": [3, 11, 12],
+ "caption": "Baraże"
+ },
+ {
+ "class": "relegation",
+ "positions": [13, 14, 15, 16],
+ "caption": "Spadek do III ligi 2018/19"
+ }
+ ],
"phases": [
{
"title": "26 stycznia, 20:00",
diff --git a/2nw.json b/2nw.json
index 8698b8b..6c6a05c 100644
--- a/2nw.json
+++ b/2nw.json
@@ -11,6 +11,23 @@
"teams": {
"link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/nw/nwrrleaderb.html"
},
+ "position_styles": [
+ {
+ "class": "promotion",
+ "positions": [1, 2, 3],
+ "caption": "Awans do I ligi 2018/19"
+ },
+ {
+ "class": "repechage",
+ "positions": [12],
+ "caption": "Baraże"
+ },
+ {
+ "class": "relegation",
+ "positions": [13, 14, 15, 16],
+ "caption": "Spadek do III ligi 2018/19"
+ }
+ ],
"phases": [
{
"title": "26 stycznia, 20:00",
diff --git a/2se.json b/2se.json
index ddbda0c..2c2f69c 100644
--- a/2se.json
+++ b/2se.json
@@ -11,6 +11,23 @@
"teams": {
"link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/2liga/se/serrleaderb.html"
},
+ "position_styles": [
+ {
+ "class": "promotion",
+ "positions": [1, 2],
+ "caption": "Awans do I ligi 2018/19"
+ },
+ {
+ "class": "repechage",
+ "positions": [11, 12],
+ "caption": "Baraże"
+ },
+ {
+ "class": "relegation",
+ "positions": [13, 14, 15, 16],
+ "caption": "Spadek do III ligi 2018/19"
+ }
+ ],
"phases": [
{
"title": "26 stycznia, 20:00",
diff --git a/2sw.json b/2sw.json
index 87261c4..5efecd7 100644
--- a/2sw.json
+++ b/2sw.json
@@ -25,7 +25,24 @@
["MICHALAK Kolonowskie", "MICHALAK"],
["KS Konfeks I Legnica", "Konfeks I"],
["ZTB 7TREFL Zawiercie", "7TREFL"]
- ],
+ ],
+ "position_styles": [
+ {
+ "class": "promotion",
+ "positions": [1, 2, 3],
+ "caption": "Awans do I ligi 2018/19"
+ },
+ {
+ "class": "repechage",
+ "positions": [12],
+ "caption": "Baraże"
+ },
+ {
+ "class": "relegation",
+ "positions": [13, 14, 15, 16],
+ "caption": "Spadek do III ligi 2018/19"
+ }
+ ],
"phases": [
{
"title": "26 stycznia, 20:00",
diff --git a/eklasa.json b/eklasa.json
index 331eb75..2de9196 100644
--- a/eklasa.json
+++ b/eklasa.json
@@ -11,6 +11,23 @@
"teams": {
"link": "http://www.pzbs.pl/wyniki/liga/liga2017-18/ekstraklasa/eliga1718leaderb.html"
},
+ "position_styles": [
+ {
+ "class": "promotion",
+ "positions": [1],
+ "caption": "Drużynowy Mistrz Polski 2011/18"
+ },
+ {
+ "class": "repechage",
+ "positions": [11],
+ "caption": "Baraże"
+ },
+ {
+ "class": "relegation",
+ "positions": [12, 13, 14, 15, 16],
+ "caption": "Spadek do I ligi 2018/19"
+ }
+ ],
"phases": [
{
"title": "26 stycznia 19:00",