</head>
<body>
-{popup_init src='./js/overlib.js'}
+{popup_init src='./external_packages/js/overlib.js'}
{include file=header.tpl}
<div id="main_left">
-{include file=volumes.tpl}
-</div>
-
-<div id="main_right">
<!-- General information -->
<div class="box">
- <p class="title">General informations</p>
- <table width="90%">
+ <p class="title">Overall status</p>
+ <table>
<tr>
<td class="label">{t}Clients{/t}</td> <td class="info">{$clientes_totales}</td>
</tr>
<tr>
- <td class="label">{t}Total bytes stored{/t}:</td> <td class="info">{$bytes_stored}</td>
- </tr>
- <tr>
- <td class="label">{t}Total files:{/t}</td> <td class="info">{$files_totales} file(s)</td>
- </tr>
- <tr>
- <td class="label">{t}Database size{/t}:</td> <td class="info">{$database_size}</td>
+ <td class="label">{t}Total bytes stored{/t}</td> <td class="info">{$stored_bytes}</td>
</tr>
<tr>
- <td colspan=2 align=center>
- <a href="javascript:OpenWin('index.php?pop_graph1=yes','600','400')">{t}Last month, bytes transferred{/t}</a>
- </td>
+ <td class="label">{t}Total files{/t}</td> <td class="info">{$files_totales} file(s)</td>
</tr>
<tr>
- <td colspan=2 align=center>
- <a href="javascript:OpenWin('index.php?pop.graph2=yes','600','400')">{t}Last month, bytes transferred (pie){/t}</a>
- </td>
+ <td class="label">{t}Database size{/t}</td> <td class="info">{$database_size}</td>
</tr>
</table>
</div>
-
- {include file="$last_report"}
+
+ <!-- Pools and Volumes Status -->
+ <div class="box">
+ <p class="title">
+ Pools and volumes status
+ <a href="pools.php" title="Show pools and volumes report">View report</a>
+ </p>
+ <img src="{$graph_pools}" alt="" />
+ </div> <!-- end div box -->
<div class="box">
- <p class="title">General report</p>
- {if $server==""}
- <img src="stats.php?server={$server}&tipo_dato=69&title=General%20report&modo_graph=bars&sizex=420&sizey=250&MBottom=20&legend=1" alt="" />
- {else}
- <img src="stats.php?server={$server}&tipo_dato=3&title={$server}&modo_graph=bars" alt="" />
- {/if}
+ <p class="title">Stored Bytes (GB / Last 7 days)</p>
+ <img src="{$graph_stored_bytes}" alt="" />
</div> <!-- end div box -->
+</div>
+
+<div id="main_middle">
+ <!-- Last job Status -->
+ <div class="box">
+ <p class="title">Last 24 hours status
+ <a href="jobs.php" title="Show last 24 hours jobs status">View report</a>
+ </p>
+ <table>
+ <tr>
+ <td class="label">Failed jobs</td>
+ <td class="info">{$failed_jobs}</td>
+ <!-- <td class="info"> <a href="jobs.php" title="View last failed jobs">View</a> </td> -->
+ </tr>
+ <tr>
+ <td class="label">Completed jobs</td>
+ <td class="info">{$completed_jobs}</td>
+ <!-- <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td> -->
+ </tr>
+ <tr>
+ <td class="label">Waiting jobs</td>
+ <td class="info">{$waiting_jobs}</td>
+ <!-- <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td> -->
+ </tr>
+ <tr>
+ <td class="label">Transferred Bytes</td>
+ <td class="info">{$bytes_totales}</td>
+ <!-- <td class="info"> <a href="#" title="View report">View</a> </td> -->
+ </tr>
+ </table>
+
+ </div> <!-- end div box -->
+
+ <div class="box">
+ <p class="title">
+ Job Status Report
+ <a href="jobs.php" title="Show last 24 hours jobs status">View report</a>
+ </p>
+ <img src="{$graph_jobs}" alt="" />
+ </div> <!-- end div box -->
+
+ <div class="box">
+ <p class="title">Last used volumes</p>
+ <table>
+ <tr>
+ <td class="tbl_header">Volume</td>
+ <td class="tbl_header">Status</td>
+ <td class="tbl_header">Last written</td>
+ <td class="tbl_header">Job Id</td>
+ </tr>
+ {foreach from=$volume_list item=vol}
+ <tr>
+ <td>{$vol.Volumename}</td>
+ <td>{$vol.VolStatus}</td>
+ <td>{$vol.Lastwritten}</td>
+ <td>{$vol.JobId}</td>
+ </tr>
+ {/foreach}
+ </table>
+ </div> <!-- end div box -->
+
+</div> <!-- end div main_middle -->
+
+<div id="main_right">
+ {include file="$last_report"}
</div> <!-- end div main_right -->
-{include file="footer.tpl"}
\ No newline at end of file
+{include file="footer.tpl"}