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

Commit ddd62ff

Browse files
committed
fix tables and their scrolling
- added customized Bootstrap (so that the plugin works in non-Bootstrap themes) - table header is always visible - table has same (max) height as charts
1 parent 87e11fc commit ddd62ff

File tree

6 files changed

+465
-77
lines changed

6 files changed

+465
-77
lines changed

.eslintrc.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ extends:
66
parserOptions:
77
ecmaVersion: 5
88
sourceType: script
9-
impliedStrict: true
109
jsx: false
1110
rules:
1211
comma-dangle:
1312
- error
1413
- "never"
14+
max-len:
15+
- error
16+
- {code: 120, tabWidth: 2, ignoreTrailingComments: true}
1517
no-plusplus:
1618
- error
1719
- {allowForLoopAfterthoughts: true}
@@ -24,4 +26,7 @@ rules:
2426
prefer-rest-params: off
2527
prefer-spread: off
2628
prefer-template: off
29+
strict:
30+
- error
31+
- "global"
2732
vars-on-top: off

templates/charts.include.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
use SimpleSAML\Module;
33

44
$this->data['jquery'] = ['core' => true, 'ui' => true, 'css' => true];
5-
$this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="' .
5+
$this->data['head'] = '';
6+
$this->data['head'] .= '<link rel="stylesheet" media="screen" type="text/css" href="' .
7+
Module::getModuleUrl('proxystatistics/bootstrap.min.css') . '" />';
8+
$this->data['head'] .= '<link rel="stylesheet" media="screen" type="text/css" href="' .
69
Module::getModuleUrl('proxystatistics/statisticsproxy.css') . '" />';
710
$this->data['head'] .= '<link rel="stylesheet" type="text/css" href="' .
811
Module::getModuleUrl('proxystatistics/Chart.min.css') . '">';

0 commit comments

Comments
 (0)