]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/pools.tpl
bacula-web: new icons file in style/images folder
[bacula/bacula] / gui / bacula-web / templates / pools.tpl
index 6af7f1ce1a66fbfe7c98ecfcb35e32ef46cb89d7..1422663aedc75a755c63701d43f720c5dbce0b5c 100644 (file)
@@ -4,17 +4,8 @@
 <head>
 <title>bacula-web</title>
 <link rel="stylesheet" type="text/css" href="style/default.css">
-{literal}
-<script type="text/javascript">
-        function OpenWin(URL,wid,hei) {
-                window.open(URL,"window1","width="+wid+",height="+hei+",scrollbars=yes,menubar=no,location=no,resizable=no")
-        }
-</script>
-{/literal}
-
 </head>
 <body>
-{popup_init src='./external_packages/js/overlib.js'}
 {include file=header.tpl}
 
 <div id="nav">
 {foreach from=$pools item=pool key=pool_name}
 <div class="box">
        <p class="title">{$pool_name}</p>
-       <table class="list">
-               <tr style="text-align: center;">
-                       <td class="info">Name</td>
-                       <td class="info">{t}Bytes{/t}</td>
-                       <td class="info">{t}Media Type{/t}</td>
-                       <td class="info">{t}Expire{/t}</td>
-                       <td class="info">{t}Last written{/t}</td>
-                       <td class="info">{t}Status{/t}</td>
+       <table class="list" border="0">
+               <tr>
+                       <td class="tbl_header" width="120">Name</td>
+                       <td class="tbl_header" width="120">{t}Bytes{/t}</td>
+                       <td class="tbl_header" width="120">{t}Media Type{/t}</td>
+                       <td class="tbl_header" width="140">{t}Expire{/t}</td>
+                       <td class="tbl_header" width="140">{t}Last written{/t}</td>
+                       <td class="tbl_header">{t}Status{/t}</td>
                </tr>
        </table>
        
        <div class="listbox">
-               <table class="list">
+               <table class="list" border="0">
                        {foreach from=$pool item=volume}
-                       <tr style="text-align: center;">
-                               <td>{$volume.volumename}</td>
-                               <td>{$volume.volbytes}</td>
-                               <td>{$volume.mediatype}</td>
-                               <td>{$volume.expire}</td>
-                               <td>{$volume.lastwritten}</td>
-                               <td>{$volume.volstatus}</td>
+                       <tr>
+                               <td width="120" class="{$volume.class}">{$volume.volumename}</td>
+                               <td width="120" class="{$volume.class}">{$volume.volbytes}</td>
+                               <td width="120" class="{$volume.class}">{$volume.mediatype}</td>
+                               <td width="140" class="{$volume.class}">{$volume.expire}</td>
+                               <td width="140" class="{$volume.class}">{$volume.lastwritten}</td>
+                               <td class="{$volume.class}">{$volume.volstatus}</td>
                        </tr>
                        {foreachelse}
                        <tr>