Add highlight on mouse hover to tables
authorVincent Tondellier <tonton+hg@team1664.org>
Thu, 07 Aug 2014 23:56:47 +0200
changeset 36 703f1af889d1
parent 35 093ea107a96f
child 37 013953be0f3b
Add highlight on mouse hover to tables
templates/index.html.ep
templates/report/modules.html.ep
--- a/templates/index.html.ep	Thu Aug 07 23:51:40 2014 +0200
+++ b/templates/index.html.ep	Thu Aug 07 23:56:47 2014 +0200
@@ -1,6 +1,6 @@
 % title 'Latest crashs';
 % layout 'main';
-%= t table => (class => 'table table-striped table-bordered table-condensed') => begin
+%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
 <thead>
   <tr>
     <th>Product</th>
--- a/templates/report/modules.html.ep	Thu Aug 07 23:51:40 2014 +0200
+++ b/templates/report/modules.html.ep	Thu Aug 07 23:56:47 2014 +0200
@@ -1,4 +1,4 @@
-%= t table => (class => 'table table-striped table-bordered table-condensed') => begin
+%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
 <thead>
   <tr>
     <th>Filename</th>
@@ -8,11 +8,11 @@
   </tr>
 </thead>
 % foreach my $module(@$modules) {
-<tr>
-  %= t td => $module->{filename}
-  %= t td => $module->{version}
-  %= t td => $module->{debug_id}
-  %= t td => $module->{debug_file}
-</tr>
+  %= t tr => begin
+    %= t td => $module->{filename}
+    %= t td => $module->{version}
+    %= t td => $module->{debug_id}
+    %= t td => $module->{debug_file}
+  % end
 % }
-% end 
+% end