From: Tom Rees Date: Fri, 08 Feb 2013 15:58:40 +0000 Subject: [273] Change alignment of numeric values in tables. X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=e55e3dc1e0e4d2b450074c55a52a44af6f5ee2b7 --- [273] Change alignment of numeric values in tables. --- --- a/ckanext/ga_report/public/css/ga_report.css +++ b/ckanext/ga_report/public/css/ga_report.css @@ -45,3 +45,7 @@ width: 200px; } +.ga-reports-table .td-numeric { + text-align: center; +} + --- a/ckanext/ga_report/templates/ga_report/ga_util.html +++ b/ckanext/ga_report/templates/ga_report/ga_util.html @@ -14,7 +14,7 @@ - +
@@ -24,7 +24,7 @@ - +
Name Source
${name} ${source}${count}${count}
@@ -45,15 +45,15 @@ - +
- + - +
Name% ${title}% ${title}
${name}${value}${value}
@@ -63,12 +63,13 @@
--- a/ckanext/ga_report/templates/ga_report/publisher/index.html +++ b/ckanext/ga_report/templates/ga_report/publisher/index.html @@ -48,17 +48,17 @@
- +
- + - +
PublisherDataset ViewsDataset Views
${h.link_to(publisher.title, h.url_for(controller='ckanext.ga_report.controller:GaDatasetReport', action='read_publisher', id=publisher.name) + (("?month=" + c.month) if c.month else ''))} ${views}${views}
--- a/ckanext/ga_report/templates/ga_report/publisher/read.html +++ b/ckanext/ga_report/templates/ga_report/publisher/read.html @@ -62,7 +62,7 @@ - +
@@ -73,8 +73,8 @@ - - + +
Dataset Views ${h.link_to(package.title or package.name, h.url_for(controller='package', action='read', id=package.name))} ${views}${downloads}${views}${downloads}
--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -71,16 +71,16 @@
- +
- + - +
NameValueValue History
${name}${value}${value} ${','.join([y for x,y in graph])}