From 5a15633a1179f960e1726eebf7f38c7ee2f2b4f8 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 28 Dec 2013 20:55:54 +0100 Subject: Bug 952795: Remove all style="..." attributes from HTML elements r/a=justdave --- template/en/default/reports/create-chart.html.tmpl | 48 +++++++++++----------- 1 file changed, 23 insertions(+), 25 deletions(-) (limited to 'template/en/default/reports/create-chart.html.tmpl') diff --git a/template/en/default/reports/create-chart.html.tmpl b/template/en/default/reports/create-chart.html.tmpl index 471a9cb55..948939e7a 100644 --- a/template/en/default/reports/create-chart.html.tmpl +++ b/template/en/default/reports/create-chart.html.tmpl @@ -15,6 +15,7 @@ [% PROCESS global/header.html.tmpl title = "Create Chart" + style_urls = [ "skins/standard/reports.css"] %] [% PROCESS "reports/series-common.html.tmpl" @@ -47,9 +48,9 @@ function subcatSelected() { [% gttext = "Grand Total" %] -
- - + + +
[% IF NOT category OR category.size == 0 %] [% ELSE %] - + + + - + - - - + [% PROCESS series_select sel = { name => 'category', size => 5, onchange = "catSelected(); subcatSelected();" } %] - + - + [% PROCESS series_select sel = { name => 'subcategory', size => 5, onchange = "subcatSelected()" } %] - + - + [% PROCESS series_select sel = { name => 'name', size => 5, multiple => 1, @@ -98,7 +98,7 @@ function subcatSelected() { # not its name. value_in_hash => 1 } %] - @@ -109,15 +109,15 @@ function subcatSelected() {

List Of Data Sets To Plot

[% IF chart.lines.size %] -
@@ -58,39 +59,38 @@ function subcatSelected() {
: : :
-
+
+
- + - + [%# The external loop has two counters; one which keeps track of where we # are in the old labels array, and one which keeps track of the new # indexes for the form elements. They are different if chart.lines has @@ -201,21 +201,19 @@ function subcatSelected() { - - - - -- cgit v1.2.3-24-g4f1b
SelectSelect Label Data Set
-
- +
+
+
+ : + : @@ -224,7 +222,7 @@ function subcatSelected() { value="[% time2str("%Y-%m-%d", chart.dateto) IF chart.dateto %]"> +