From 5c4d301130ebdf309ca2e4e81bca1b571f43c660 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 25 Apr 2018 13:02:05 +0200 Subject: Classes for leaderboard positions --- 1n.json | 19 ++++++++++++++++++- 1s.json | 17 +++++++++++++++++ 2ne.json | 19 ++++++++++++++++++- 2nw.json | 17 +++++++++++++++++ 2se.json | 17 +++++++++++++++++ 2sw.json | 19 ++++++++++++++++++- eklasa.json | 17 +++++++++++++++++ 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", -- cgit v1.2.3