Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit b36870f

Browse files
author
Dominik František Bučík
authored
Merge pull request #44 from pajavyskocil/fixListOfSps
Fixed the max-width of page and fixed attribute names
2 parents df2ffc9 + 9b49f72 commit b36870f

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

templates/listOfSps-tpl.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function sortByName($a, $b) {
201201
],
202202
datasets: [{
203203
label: '',
204-
data: [<?php echo $samlProduction . ', ' . $statistics['samlTestServicesCount'] . ', ' . $oidcProduction . ', ' . $statistics['oidcTestServicesCount']?>],
204+
data: [<?php echo $samlProductionCount . ', ' . $statistics['samlTestServicesCount'] . ', ' . $oidcProductionCount . ', ' . $statistics['oidcTestServicesCount']?>],
205205
backgroundColor: [
206206
'rgba(255, 99, 132, 0.2)',
207207
'rgba(54, 162, 235, 0.2)',
@@ -222,8 +222,7 @@ function sortByName($a, $b) {
222222
yAxes: [{
223223
ticks: {
224224
beginAtZero: true,
225-
callback: function (value) { if (Number.isInteger(value)) { return value; } },
226-
stepSize: 1
225+
callback: function (value) { if (Number.isInteger(value)) { return value; } }
227226
}
228227
}]
229228
},

www/res/css/listOfSps.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
margin: auto;
1010
}
1111

12+
#wrap {
13+
max-width: 100%;
14+
}
15+
1216
.table-stats th {
1317
text-align: center;
1418
}
@@ -31,6 +35,10 @@ h3 {
3135
padding-top: 50px;
3236
}
3337

38+
#content, #languagebar {
39+
margin: auto;
40+
}
41+
3442
@media screen and (max-width:767px) {
3543
#content, #languagebar {
3644
max-width: 95% !important;

0 commit comments

Comments
 (0)