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

Commit 967e031

Browse files
committed
Changes in captions.
1 parent 9e41364 commit 967e031

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

www/graphs.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
?>
9-
<h2>All logins</h2>
9+
<h2>Number of logins</h2>
1010
<div>
1111
<script type="text/javascript">
1212
google.charts.load('current', {'packages':['corechart', 'controls']});
@@ -33,7 +33,7 @@ function drawChart() {
3333
'chartType' : 'LineChart',
3434
'containerId' : 'line_div',
3535
'options':{
36-
'title' :'Login count per Day',
36+
'title' :'Number of logins per day',
3737
'legend' : 'none'
3838
}
3939
});
@@ -51,7 +51,7 @@ function drawChart() {
5151

5252
</div>
5353

54-
<h2>Logins per IdP</h2>
54+
<h2>Identity providers</h2>
5555
<div>
5656
<script type="text/javascript">
5757
google.charts.load('current', {'packages':['corechart']});
@@ -65,7 +65,8 @@ function drawChart() {
6565
]);
6666

6767
var options = {
68-
title: 'Login per IdP'
68+
title: 'Overall logins per identity provider',
69+
pieSliceText: 'value'
6970
};
7071

7172
var chart = new google.visualization.PieChart(document.getElementById('piechart'));
@@ -77,7 +78,7 @@ function drawChart() {
7778
<div id="piechart" style="width: 900px; height: 500px;"></div>
7879
</div>
7980

80-
<h2>Access to the services</h2>
81+
<h2>Service providers</h2>
8182
<div>
8283
<script type="text/javascript">
8384
google.charts.load('current', {'packages':['corechart']});
@@ -91,7 +92,8 @@ function drawChart() {
9192
]);
9293

9394
var options = {
94-
title: 'Access to services'
95+
title: 'Overall logins to service providers',
96+
pieSliceText: 'value'
9597
};
9698

9799
var chart = new google.visualization.PieChart(document.getElementById('piechart2'));

www/summary.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ function drawTable() {
1717
data.addColumn('string', 'Name');
1818
data.addColumn('number', 'Count');
1919
data.addRows([
20-
['Total number of logins ', <?php DatabaseCommand::getCountOfAllLogins()?> ],
21-
['Number of logins for today’', <?php DatabaseCommand::getCountOfAllLoginsForToday()?>],
22-
['Number of accessed Services', <?php DatabaseCommand::getCountOfAccesedServices()?>],
23-
['Number of used Idp', <?php DatabaseCommand::getCountOfUsedIdp()?>]
20+
['Overall number of logins', <?php DatabaseCommand::getCountOfAllLogins()?> ],
21+
['Total number of accessed service providers', <?php DatabaseCommand::getCountOfAccesedServices()?>],
22+
['Total number of used identity providers', <?php DatabaseCommand::getCountOfUsedIdp()?>],
23+
['Number of logins for today', <?php DatabaseCommand::getCountOfAllLoginsForToday()?>]
2424
]);
2525

2626
var table = new google.visualization.Table(document.getElementById('summaryTable'));

www/tables.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
?>
77
<link rel="stylesheet" media="screen" type="text/css" href="<?php SimpleSAML_Module::getModuleUrl('proxystatistics/statisticsproxy.css')?>" />
8-
<h2>All login</h2>
8+
<h2>Number of logins per month</h2>
99
<div id="tableOfAllLogin">
1010
<script type="text/javascript">
1111
google.charts.load('current', {'packages':['table']});
@@ -31,16 +31,16 @@ function drawTable() {
3131

3232

3333

34-
<h2>All login per IdP</h2>
34+
<h2>Overall logins per identity provider</h2>
3535
<div>
3636
<script type="text/javascript">
3737
google.charts.load('current', {'packages':['table']});
3838
google.charts.setOnLoadCallback(drawTable);
3939

4040
function drawTable() {
4141
var data = new google.visualization.DataTable();
42-
data.addColumn('date', 'Date');
43-
data.addColumn('string', 'SourceIdp');
42+
data.addColumn('date', 'Month');
43+
data.addColumn('string', 'Identity provider');
4444
data.addColumn('number', 'Count');
4545
data.addRows([<?php DatabaseCommand::getLoginCountPerDeyPerService()?>]);
4646

@@ -56,16 +56,16 @@ function drawTable() {
5656
<div id="tablePerIdP"></div>
5757
</div>
5858

59-
<h2> All access to the services</h2>
59+
<h2>Overall logins to service providers</h2>
6060
<div>
6161
<script type="text/javascript">
6262
google.charts.load('current', {'packages':['table']});
6363
google.charts.setOnLoadCallback(drawTable);
6464

6565
function drawTable() {
6666
var data = new google.visualization.DataTable();
67-
data.addColumn('date', 'Date');
68-
data.addColumn('string', 'Service');
67+
data.addColumn('date', 'Month');
68+
data.addColumn('string', 'Service provider');
6969
data.addColumn('number', 'Count');
7070
data.addRows([<?php DatabaseCommand::getAccessToServicesPerMonth()?>]);
7171

0 commit comments

Comments
 (0)