From 1f939fbdd1f94b18056c05eba14d2e509a5ae32b Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 1 Jan 2012 14:12:35 +0100 Subject: Cleanup reports page a bit --- web/i18n/en.yml | 7 +++---- web/public/css/taginfo.css | 40 +--------------------------------------- web/views/index.erb | 2 +- web/views/reports/index.erb | 7 +++---- 4 files changed, 8 insertions(+), 48 deletions(-) diff --git a/web/i18n/en.yml b/web/i18n/en.yml index 3c988bf..2d4e42f 100644 --- a/web/i18n/en.yml +++ b/web/i18n/en.yml @@ -72,11 +72,10 @@ pages: reports: index: intro: | -

Reports show the data from different perspectives. +

Reports show the data from different angles. They often bring together data from several sources in interesting ways. Some - of the reports can help with finding certain kinds of errors, such as popular - keys without wiki pages.

- data_sources: Data
Sources + of the reports can help with finding specific errors.

+ data_sources: Data sources used search: results: title: Search results diff --git a/web/public/css/taginfo.css b/web/public/css/taginfo.css index d90d2b1..ec596fa 100644 --- a/web/public/css/taginfo.css +++ b/web/public/css/taginfo.css @@ -290,6 +290,7 @@ div.bar { /* ========== */ table.list { + width: 100%; background-color: #fbfbff0; border-collapse: collapse; -moz-border-radius: 4px; @@ -302,7 +303,6 @@ table.list { table.list th { background-color: rgb(85%,85%,85%); padding: 4px; - font-weight: normal; vertical-align: top; } @@ -314,44 +314,6 @@ table.list td { /* ========== */ -table.reports { - border-collapse: collapse; -} - -table.reports th.source { - background-color: #f0f0f0; - font-size: 80%; - padding-bottom: 4px; - -moz-border-radius: 4px 4px 0 0; - -khtml-border-radius: 4px 4px 0 0; - -webkit-border-radius: 4px 4px 0 0; - -chrome-border-radius: 4px 4px 0 0; - -o-border-radius: 4px 4px 0 0; -} - -table.reports td { - padding: 2px 4px; -} - -table.reports td.source { - background-color: #f0f0f0; - text-align: center; - padding: 2px 0 0 0; - width: 24px; -} - -table.reports th.last { - background-color: #f0f0f0; - height: 8px; - -moz-border-radius: 0 0 4px 4px; - -khtml-border-radius: 0 0 4px 4px; - -webkit-border-radius: 0 0 4px 4px; - -chrome-border-radius: 0 0 4px 4px; - -o-border-radius: 0 0 4px 4px; -} - -/* ========== */ - table.drilldown { border-collapse: separate; border-spacing: 10px; diff --git a/web/views/index.erb b/web/views/index.erb index 98ec6dc..e27ce36 100644 --- a/web/views/index.erb +++ b/web/views/index.erb @@ -23,7 +23,7 @@

-

Reports show taginfo data from different angles.

+ <%= t.pages.reports.index.intro %>

<% Report.each do |report| %> <%= t.reports[report.name].name %>
diff --git a/web/views/reports/index.erb b/web/views/reports/index.erb index fb1363e..122e5c0 100644 --- a/web/views/reports/index.erb +++ b/web/views/reports/index.erb @@ -2,17 +2,16 @@ <%= t.pages.reports.index.intro %> - - +
<%= t.pages.reports.index.data_sources %>
+ <% Report.each do |report| %> <% Source.visible.each do |source| %> - + <% end %> <% end %> -
<%= t.pages.reports.index.data_sources %>Report
<%= source.link_img if report.uses_source? source.id %><%= source.link_img if report.uses_source? source.id %><%= t.reports[report.name].name %>
-- cgit v1.2.3