[Rt-commit] rtir branch, 5.0/fix-reporting-layout, repushed
Blaine Motsinger
blaine at bestpractical.com
Thu May 28 13:46:33 EDT 2020
The branch 5.0/fix-reporting-layout was deleted and repushed:
was fa9d77c23ee65339a994c2cdba075df0e728ef71
now 16033d13dc082e84549d7b6832028af6818994fb
1: 2a6d8706 = 1: 2a6d8706 Center align and fix label of Reporting
2: c41a7653 = 2: c41a7653 Fix Reporting datepicker
3: fa9d77c2 ! 3: 16033d13 Add styles for Reporting/Report.html
@@ -1,6 +1,6 @@
Author: Blaine Motsinger <blaine at bestpractical.com>
- Add basic style for the html report
+ Add styles for Reporting/Report.html
diff --git a/html/RTIR/Reporting/Report.html b/html/RTIR/Reporting/Report.html
--- a/html/RTIR/Reporting/Report.html
@@ -12,7 +12,20 @@
+% # set styling if ReportAs is HTML.
+% if ( $ReportAs eq 'HTML' ) {
+<head>
-+<style>
++ <link rel="stylesheet" href="/static/css/rtir-reporting.css" type="text/css" media="all">
++</head>
++% }
+ <%PERL>
+ if ( $Constituency ){
+ $m->comp("SELF:Heading$ReportAs", Text => loc('RTIR Periodic Report for [_1]', $Constituency) );
+
+diff --git a/static/css/rtir-reporting.css b/static/css/rtir-reporting.css
+new file mode 100644
+--- /dev/null
++++ b/static/css/rtir-reporting.css
+@@
++/* styles for RTIR/Reporting/Report.html */
++
+body {
+ font-family: "Inter", sans-serif;
+ font-weight: 400;
@@ -80,9 +93,3 @@
+div#footer p#time {
+ display: none;
+}
-+</style>
-+</head>
-+% }
- <%PERL>
- if ( $Constituency ){
- $m->comp("SELF:Heading$ReportAs", Text => loc('RTIR Periodic Report for [_1]', $Constituency) );
More information about the rt-commit
mailing list