]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: New client report page created
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 20 Jun 2011 17:16:45 +0000 (19:16 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:13 +0000 (14:49 +0200)
gui/bacula-web/client-report.php [new file with mode: 0644]
gui/bacula-web/templates/client-report.tpl [new file with mode: 0644]

diff --git a/gui/bacula-web/client-report.php b/gui/bacula-web/client-report.php
new file mode 100644 (file)
index 0000000..87554e8
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+/*
++-------------------------------------------------------------------------+
+| Copyright 2010-2011, Davide Franco                                              |
+|                                                                         |
+| This program is free software; you can redistribute it and/or           |
+| modify it under the terms of the GNU General Public License             |
+| as published by the Free Software Foundation; either version 2          |
+| of the License, or (at your option) any later version.                  |
+|                                                                         |
+| This program is distributed in the hope that it will be useful,         |
+| but WITHOUT ANY WARRANTY; without even the implied warranty of          |
+| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           |
+| GNU General Public License for more details.                            |
++-------------------------------------------------------------------------+
+*/
+  session_start();
+  include_once( 'config.inc.php' );
+
+  $dbSql = new Bweb();
+
+  // Enter your code here ...
+
+  // Process and display the template
+  $dbSql->tpl->display('client-report.tpl');
+?>
diff --git a/gui/bacula-web/templates/client-report.tpl b/gui/bacula-web/templates/client-report.tpl
new file mode 100644 (file)
index 0000000..e2af4e5
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
+  "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>bacula-web</title>
+<link rel="stylesheet" type="text/css" href="style/default.css">
+</head>
+<body>
+{include file=header.tpl}
+
+  <div id="nav">
+    <a href="index.php" title="Back to the dashboard">Dashboard</a> > Client(s) report
+  </div>
+
+  <div id="main_center">
+  
+  <div class="box">
+       <p class="title">Client(s) Report</p>
+       
+  </div> <!-- end div class=box -->
+  
+  <div id="main_center"> 
+  </div> <!-- end div id=main_center -->
+
+{include file="footer.tpl"}