Commit c76b9496 authored by Guus Hoekman's avatar Guus Hoekman

added russia and belgium, thanks Andrei!

parent 6a4b58db
Pipeline #76166539 passed with stage
in 1 minute and 48 seconds
---
layout: league
season: "2018/19"
code: "be"
competition: "Eerste Klasse A"
country: "Belgium"
latest: true
api: false
---
---
layout: league
season: "2018/19"
code: "ru"
competition: "Russian Premier League"
country: "Russia"
latest: true
api: false
---
......@@ -2,6 +2,7 @@
layout: season
season: "2018/19"
leagues:
- code: be
- code: de
- code: en
- code: es
......@@ -10,5 +11,6 @@ leagues:
- code: md
- code: nl
- code: pt
- code: ru
- code: tr
---
\ No newline at end of file
......@@ -275,6 +275,7 @@
.leagues-page {
.card {
height: 100%;
&:hover {
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.25), 0 0 0 1px rgba(10, 10, 10, 0.25);
}
......
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<rect y="85.331" style="fill:#FFDA44;" width="512" height="341.326"/>
<rect y="85.331" width="170.663" height="341.337"/>
<rect x="341.337" y="85.331" style="fill:#D80027;" width="170.663" height="341.337"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;"
xml:space="preserve"
sodipodi:docname="ru.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata1134"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs1132" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1060"
id="namedview1130"
showgrid="false"
inkscape:zoom="1.84375"
inkscape:cx="194.67899"
inkscape:cy="261.27268"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" />
<polygon
style="fill:#F0F0F0;"
points="0,85.33 0,199.107 0,312.885 0,426.662 512,426.662 512,312.885 512,199.107 512,85.33 "
id="polygon1091" />
<rect
y="178.07877"
style="fill:#0052b4;stroke-width:0.65298027"
width="512"
height="145.54039"
id="rect1093"
x="0" />
<rect
y="85.333"
style="fill:#F0F0F0;"
width="512"
height="113.775"
id="rect1095" />
<rect
y="312.884"
style="fill:#D80027;"
width="512"
height="113.775"
id="rect1097" />
<g
id="g1099">
</g>
<g
id="g1101">
</g>
<g
id="g1103">
</g>
<g
id="g1105">
</g>
<g
id="g1107">
</g>
<g
id="g1109">
</g>
<g
id="g1111">
</g>
<g
id="g1113">
</g>
<g
id="g1115">
</g>
<g
id="g1117">
</g>
<g
id="g1119">
</g>
<g
id="g1121">
</g>
<g
id="g1123">
</g>
<g
id="g1125">
</g>
<g
id="g1127">
</g>
</svg>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
var be = {
"competition": "Eerste Klasse A",
"code_string": "be",
"source": "https://en.wikipedia.org/wiki/2018–19_Belgian_First_Division_A#League_table",
"teams": 16,
"cl": [1,2],
"el": [3,4,5],
"relegation": [16],
"standings": [
{
"position": 1,
"name": "Genk",
"played": 30,
"points": 63,
"difference": 32
},
{
"position": 2,
"name": "Club Brugge",
"played": 30,
"points": 56,
"difference": 32
},
{
"position": 3,
"name": "Standard Liège",
"played": 30,
"points": 53,
"difference": 14
},
{
"position": 4,
"name": "Anderlecht",
"played": 30,
"points": 51,
"difference": 15
},
{
"position": 5,
"name": "Gent",
"played": 30,
"points": 50,
"difference": 8
},
{
"position": 6,
"name": "Antwerp",
"played": 30,
"points": 49,
"difference": 5
},
{
"position": 7,
"name": "Sint-Truiden",
"played": 30,
"points": 47,
"difference": 11
},
{
"position": 8,
"name": "Kortrijk",
"played": 30,
"points": 43,
"difference": 2
},
{
"position": 9,
"name": "Charleroi",
"played": 30,
"points": 42,
"difference": 0
},
{
"position": 10,
"name": "Excel Mouscron",
"played": 30,
"points": 40,
"difference": 0
},
{
"position": 11,
"name": "Zulte Waregem",
"played": 30,
"points": 33,
"difference": -11
},
{
"position": 12,
"name": "Eupen",
"played": 30,
"points": 32,
"difference": -23
},
{
"position": 13,
"name": "Cercle Brugge",
"played": 30,
"points": 28,
"difference": -24
},
{
"position": 14,
"name": "Oostende",
"played": 30,
"points": 27,
"difference": -23
},
{
"position": 15,
"name": "Waasland-Beveren",
"played": 30,
"points": 27,
"difference": -13
},
{
"position": 16,
"name": "Lokeren",
"played": 30,
"points": 20,
"difference": -25
}
]
}
\ No newline at end of file
var ru = {
"competition": "Russian Premier League",
"code_string": "ru",
"source": "https://en.wikipedia.org/wiki/2018–19_Russian_Premier_League#League_table",
"teams": 16,
"cl": [1,2,3],
"el": [4,5,6],
"relegation": [13,14,15,16],
"standings": [
{
"position": 1,
"name": "Zenit Saint Petersburg",
"played": 30,
"points": 64,
"difference": 28
},
{
"position": 2,
"name": "Lokomotiv Moscow",
"played": 30,
"points": 56,
"difference": 17
},
{
"position": 3,
"name": "Krasnodar",
"played": 30,
"points": 56,
"difference": 32
},
{
"position": 4,
"name": "CSKA Moscow",
"played": 30,
"points": 51,
"difference": 23
},
{
"position": 5,
"name": "Spartak Moscow",
"played": 30,
"points": 49,
"difference": 5
},
{
"position": 6,
"name": "Arsenal Tula",
"played": 30,
"points": 46,
"difference": 7
},
{
"position": 7,
"name": "Orenburg",
"played": 30,
"points": 43,
"difference": 5
},
{
"position": 8,
"name": "Akhmat Grozny",
"played": 30,
"points": 42,
"difference": "−1"
},
{
"position": 9,
"name": "Rostov",
"played": 30,
"points": 41,
"difference": 2
},
{
"position": 10,
"name": "Ural Yekaterinburg",
"played": 30,
"points": 38,
"difference": "−12"
},
{
"position": 11,
"name": "Rubin Kazan",
"played": 30,
"points": 36,
"difference": "−6"
},
{
"position": 12,
"name": "Dynamo Moscow",
"played": 30,
"points": 33,
"difference": 0
},
{
"position": 13,
"name": "Krylia Sovetov Samara",
"played": 30,
"points": 28,
"difference": "−21"
},
{
"position": 14,
"name": "Ufa",
"played": 30,
"points": 26,
"difference": "−10"
},
{
"position": 15,
"name": "Anzhi Makhachkala",
"played": 30,
"points": 21,
"difference": "−37"
},
{
"position": 16,
"name": "Yenisey Krasnoyarsk",
"played": 30,
"points": 20,
"difference": "−31"
}
]
}
\ No newline at end of file
......@@ -90,7 +90,7 @@ function totalPoints() {
});
// add most and fewest points
$(".total.columns .table.de").parent().before("<div class='column points'><table class='is-fullwidth table points'><thead><tr><th class='header-points'><img src='/img/flags/points.svg'></th></tr></thead><tbody></tbody></table></div>");
$(".total.columns .column").first().before("<div class='column points'><table class='is-fullwidth table points'><thead><tr><th class='header-points'><img src='/img/flags/points.svg'></th></tr></thead><tbody></tbody></table></div>");
for (var i = mostPointsAllLeagues; i >= fewestPointsAllLeagues; i--) {
$("<tr id='points-" + i + "'><td class='teams'><div class='points-wrap'></div></td></tr>").appendTo(".points.table tbody");
};
......@@ -163,7 +163,7 @@ function pointsPerGame() {
});
// add points on left column
$(".per-game.columns .table.de").parent().before("<div class='column points'><table class='is-fullwidth table points'><thead><tr><th class='header-points'><img src='/img/flags/points.svg'></th></tr></thead><tbody></tbody></table></div>");
$(".per-game.columns .column").first().before("<div class='column points'><table class='is-fullwidth table points'><thead><tr><th class='header-points'><img src='/img/flags/points.svg'></th></tr></thead><tbody></tbody></table></div>");
$(normalisedPoints).each(function() {
$("<tr id='points-" + this + "'><td class='teams'><div class='points-wrap'></div></td></tr>").appendTo(".per-game.columns .points.table tbody");
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment