]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Removed useless templates files
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 20 Jun 2011 17:21:26 +0000 (19:21 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:13 +0000 (14:49 +0200)
 - Removed also useless template include in index.tpl

gui/bacula-web/templates/full_popup.tpl [deleted file]
gui/bacula-web/templates/index.tpl
gui/bacula-web/templates/report_select.tpl [deleted file]

diff --git a/gui/bacula-web/templates/full_popup.tpl b/gui/bacula-web/templates/full_popup.tpl
deleted file mode 100644 (file)
index cb7af15..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-{config_load file=bacula.conf}
-<html>
-<head>
-<link rel="stylesheet" type="text/css" href="style/default.css" />
-<title>Job Report</title>
-</head>
-
-<body bgcolor="#FBF7CE" topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0>
-{if $smarty.get.Full_popup == "yes"}
-       {include file=last_run_report.tpl}
-{elseif $smarty.get.pop_graph1 == "yes"}
-       <img src="stats.php?tipo_dato=69&title={t}Bytes transferred last 30 days from ALL clients{/t}&modo_graph=lines&sizex=600&sizey=400&MBottom=80&legend=1&elapsed=2592000">
-{elseif $smarty.get.pop_graph2 == "yes"}
-       <img src="stats.php?tipo_dato=69&title={t}Bytes transferred last 30 days from ALL clients{/t}&modo_graph=pie&sizex=600&sizey=400&MBottom=80&legend=1&elapsed=2592000">
-{/if}
-{include file=footer.tpl}
\ No newline at end of file
index d81caeeef0011130179015cb15257756ceaa445c..1eead7930fa65dba79cefbe315f1056aa56d79ef 100644 (file)
  </form>
 </div> <!-- end div class=box -->
 
-{*  {include file="$last_report"}  *}
-
-  </div> <!-- end div main_right -->
+</div> <!-- end div main_right -->
 
 {include file="footer.tpl"}
diff --git a/gui/bacula-web/templates/report_select.tpl b/gui/bacula-web/templates/report_select.tpl
deleted file mode 100644 (file)
index fce2dfd..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<form method=get action=report.php {if !isset($smarty.get.default) }target=_blank{/if}>
-<table width=100% border=0>
- <tr>
-       <td colspan="3" style="text-align: center; background-image: url('style/images/bg8.png');" class="titulo">
-       {t}SELECT NEW REPORT{/t}
- </td></tr>
- <tr class=table1><td align=left>
-       
-       <input type=hidden name=default value=2>
-       {t}Select a job:{/t}
-       </td>
-       <td align=right>
-       <select name=server>
-               {html_options values=$total_name_jobs output=$total_name_jobs selected=$smarty.get.server} 
-       </select>
- </td>
- </tr>
- <tr class=table2>
- <td align=left>
-       {t}Graph mode:{/t}
- </td>
- <td align=right>
-       <select name="modo_graph">
-       <option value="lines">{t}lines{/t}</option>
-       <option value="linepoints">{t}linepoints{/t}</option>
-       <option value="points">{t}points{/t}</option>
-       <option value="bars" selected>{t}bars{/t}</option>
-       <option value="area">{t}area{/t}</option>
-       </select>
-       
-       </td>
-       </tr>
-       <tr class=table1>
-               <td>
-               {t}Data to show:{/t}
-               </td>
-               <td align=right>
-                       <select name="tipo_dato">
-                               <option value="3" selected>{t}Transferred bytes{/t}</option>
-                       </select>
-               </td>   
-       </tr>
-       <tr class=table2>
-               <td align=left>
-                       {t}Start period:{/t}
-               </td>
-               <td align=right>
-                       {html_select_date prefix="StartDate" time=$time2 field_order="DMY" start_year="-1" end_year="+1" display_days=true}
-               </td>
-                       </tr>
-                       <tr class=table1>
-                               <td align=left>{t}End period:{/t}</td>
-                               <td align=right>
-                                       {html_select_date prefix="EndDate" time=$time field_order="DMY" start_year="-1" end_year="+1" display_days=true}
-                               </td>
-                       </tr>
-                       <tr>    
-                               <td colspan=3 align=center>
-                                       <input type=submit value="{t}Create report{/t}" />
-                       </td>
-               </tr>
-       </table>
- </form>
\ No newline at end of file