projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e67cea
)
style count with css
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 1 Apr 2010 16:51:55 +0000
(18:51 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 1 Apr 2010 16:51:55 +0000
(18:51 +0200)
templates/data/stats.html.ep
patch
|
blob
|
history
diff --git
a/templates/data/stats.html.ep
b/templates/data/stats.html.ep
index
7ae0201
..
e1f0900
100644
(file)
--- a/
templates/data/stats.html.ep
+++ b/
templates/data/stats.html.ep
@@
-1,8
+1,22
@@
% layout 'default';
<h2><%= $message %></h2>
+<style type="text/css">
+.count {
+ color: #aaa;
+}
+.count:before {
+ content: "(";
+}
+.count:after {
+ content: ")";
+}
+</style>
+
<ul>
% foreach my $n ( keys %{ $stats->{column} } ) {
-<li><%= $n %> (<%= $stats->{column}->{$n}->{count} %>)
+<li>
+<%= $n %>
+<span class="count"><%= $stats->{column}->{$n}->{count} %></span>
% }
</ul>