diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-06-15 07:40:09 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-06-19 05:38:23 +0300 |
commit | 6bc22107fbd09ad6c85be41d6a30df5c4ec544ef (patch) | |
tree | cd02f05a51f92567eabcd233d9b55e30ad56c186 /plugins/ScheduledReports | |
parent | be138daca6b7a657aeea4e10d37bb89066641dd0 (diff) |
refs #7090 #4789 Improve the look of data tables, entity tables, forms, ...
Diffstat (limited to 'plugins/ScheduledReports')
-rw-r--r-- | plugins/ScheduledReports/ScheduledReports.php | 6 | ||||
-rw-r--r-- | plugins/ScheduledReports/stylesheets/scheduledreports.less | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/plugins/ScheduledReports/ScheduledReports.php b/plugins/ScheduledReports/ScheduledReports.php index a77d21ccf3..4290d201ca 100644 --- a/plugins/ScheduledReports/ScheduledReports.php +++ b/plugins/ScheduledReports/ScheduledReports.php @@ -76,6 +76,7 @@ class ScheduledReports extends \Piwik\Plugin { return array( 'AssetManager.getJavaScriptFiles' => 'getJsFiles', + 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'MobileMessaging.deletePhoneNumber' => 'deletePhoneNumber', 'ScheduledReports.getReportParameters' => 'getReportParameters', 'ScheduledReports.validateReportParameters' => 'validateReportParameters', @@ -129,6 +130,11 @@ class ScheduledReports extends \Piwik\Plugin $jsFiles[] = "plugins/ScheduledReports/javascripts/pdf.js"; } + public function getStylesheetFiles(&$stylesheets) + { + $stylesheets[] = 'plugins/ScheduledReports/stylesheets/scheduledreports.less'; + } + public function validateReportParameters(&$parameters, $reportType) { if (! self::manageEvent($reportType)) { diff --git a/plugins/ScheduledReports/stylesheets/scheduledreports.less b/plugins/ScheduledReports/stylesheets/scheduledreports.less new file mode 100644 index 0000000000..4e46f952e1 --- /dev/null +++ b/plugins/ScheduledReports/stylesheets/scheduledreports.less @@ -0,0 +1,5 @@ +.emailReports { + .entityContainer { + padding-top: 16px; + } +}
\ No newline at end of file |