Code

Updated rSyslog row style.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Dec 2009 15:30:05 +0000 (15:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Dec 2009 15:30:05 +0000 (15:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14965 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rsyslog/addons/rsyslog/rSyslog.tpl

index 4018eca5a588711cecb9d91505d5b83f95546730..b177f3a7b15af3e3afca7ec0d2fa3e41a9daccbb 100644 (file)
 {else}
 
   <br>
-  <table width="100%">
-    <tr>
+  <table style="width:100%;background-color: #B0B0B0;" cellspacing=1 cellpadding=2>
+    <tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
       <td>
-        <b>
-          <a href='?plug={$plug_id}&amp;sort_value=DeviceReportedTime'>{t}Received{/t}
-            {if $sort_value=="DeviceReportedTime"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
-          </a>
-        </b>
+        <a href='?plug={$plug_id}&amp;sort_value=DeviceReportedTime'>{t}Received{/t}
+          {if $sort_value=="DeviceReportedTime"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
+        </a>
       </td>
       <td>
-        <b>
-          <a href='?plug={$plug_id}&amp;sort_value=FromHost'>{t}Host{/t}
-            {if $sort_value=="FromHost"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
-          </a>
-        </b>
+        <a href='?plug={$plug_id}&amp;sort_value=FromHost'>{t}Host{/t}
+          {if $sort_value=="FromHost"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
+        </a>
       </td>
       <td>
-        <b>
-          <a href='?plug={$plug_id}&amp;sort_value=SysLogTag'>{t}Log tag{/t}
-            {if $sort_value=="SysLogTag"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
-          </a>
-        </b>
+        <a href='?plug={$plug_id}&amp;sort_value=SysLogTag'>{t}Log tag{/t}
+          {if $sort_value=="SysLogTag"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
+        </a>
       </td>
       <td>
-        <b>
-          <a href='?plug={$plug_id}&amp;sort_value=Facility'>{t}Facility{/t}
-            {if $sort_value=="Facility"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
-          </a>
-        </b>
+        <a href='?plug={$plug_id}&amp;sort_value=Facility'>{t}Facility{/t}
+          {if $sort_value=="Facility"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
+        </a>
       </td>
       <td>
-        <b>
-          <a href='?plug={$plug_id}&amp;sort_value=Priority'>{t}Priority{/t}
-            {if $sort_value=="Priority"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
-          </a>
-        </b>
+        <a href='?plug={$plug_id}&amp;sort_value=Priority'>{t}Priority{/t}
+          {if $sort_value=="Priority"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
+        </a>
       </td>
       <td>
-        <b>
-          <a href='?plug={$plug_id}&amp;sort_value=Message'>{t}Message{/t}
-            {if $sort_value=="Message"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
-          </a>
-        </b>
+        <a href='?plug={$plug_id}&amp;sort_value=Message'>{t}Message{/t}
+          {if $sort_value=="Message"}{if $sort_type=="DESC"}{$downimg}{else}{$upimg}{/if}{/if}
+        </a>
       </td>
     </tr>
-    <tr><td colspan="6"><p class="separator">&nbsp;</p></td></tr>
     {foreach from=$result.entries item=item key=key}
-    <tr>
+
+    {if ($key%2)} 
+    <tr style='background-color: #ECECEC;'>
+    {else}
+    <tr style='background-color: #F5F5F5;'>
+    {/if}
       <td title='{$item.DeviceReportedTime}' style='width:120px'>
         {$item.DeviceReportedTime}
       </td>