1 <!-- last_run_report.tpl -->
3 <table width=90% align=center {if !$status }background="images/backlast.gif"{else}background="images/backlastred.gif" {/if} style="background-repeat:no-repeat" height=178px border=0 cellspacing=0 cellpadding=0>
5 <td colspan=2 align=center style="font-size: 12px; font-weight: bold; background-repeat: repeat" background="images/bg6.png" height=25>
6 {t}Status from last 24h{/t}
9 {if #mode# == "Lite" && $smarty.get.Full_popup != "yes"}
14 <td style="font-size: 13px; color: blue">
21 <b>{t}Terminated Jobs:{/t}</b>
23 <td style="font-size: 13px; color: blue">
29 <b>{t}Total time spent to do backup:{/t}</b>
31 <td style="font-size: 13px; color: blue">
38 <b>{t}Bytes transferred last 24h{/t}</b>
40 <td style="font-size: 13px; color: blue">
41 {$bytes_totales|fsize_format}
45 <td colspan=2 align=center>
46 <a href="javascript:OpenWin('index.php?Full_popup=yes','490','350')">{t}Show details{/t}</a>
53 <table border=0 cellpadding=0 cellspacing=0>
55 <td align=right colspan=4 height=25 background="images/bg7.gif" style="font-size: 12px">
56 <b>{t}Jobs with errors{/t}</b>
60 <td background="images/bg6.png"><b>JobId </b></td>
61 <td background="images/bg6.png"><b>{t}Name{/t}</b></td>
62 <td background="images/bg6.png"><b>{t}EndTime{/t}</b></td>
63 <td background="images/bg6.png"><b>{t}JobStatus{/t}</b></td>
65 {section name=row loop=$errors_array}
66 <tr {* bgcolor=#{cycle values="E6E6F5,E1E5E0"} *}>
67 {section name=tmp loop=$errors_array[row]}
68 <td {if $smarty.section.tmp.iteration == 4}align=center
69 {if $errors_array[row][tmp] == "C"}
70 {assign var=pop value="Created but not yet running"}
71 {elseif $errors_array[row][tmp] == "R"}
72 {assign var=pop value="Running"}
73 {elseif $errors_array[row][tmp] == "B"}
74 {assign var=pop value="Blocked"}
75 {elseif $errors_array[row][tmp] == "E"}
76 {assign var=pop value="Terminated in Error"}
77 {elseif $errors_array[row][tmp] == "e"}
78 {assign var=pop value="Non-fatal error"}
79 {elseif $errors_array[row][tmp] == "f"}
80 {assign var=pop value="Fatal error"}
81 {elseif $errors_array[row][tmp] == "D"}
82 {assign var=pop value="Verify Differences"}
83 {elseif $errors_array[row][tmp] == "A"}
84 {assign var=pop value="Canceled by the user"}
85 {elseif $errors_array[row][tmp] == "F"}
86 {assign var=pop value="Waiting on the File daemon"}
87 {elseif $errors_array[row][tmp] == "S"}
88 {assign var=pop value="Waiting on the Storage daemon"}
89 {elseif $errors_array[row][tmp] == "m"}
90 {assign var=pop value="Waiting for a new Volume to be mounted"}
91 {elseif $errors_array[row][tmp] == "M"}
92 {assign var=pop value="Waiting for a Mount"}
93 {elseif $errors_array[row][tmp] == "s"}
94 {assign var=pop value="Waiting for Storage resource"}
95 {elseif $errors_array[row][tmp] == "j"}
96 {assign var=pop value="Waiting for Job resource"}
97 {elseif $errors_array[row][tmp] == "c"}
98 {assign var=pop value="Waiting for Client resource"}
99 {elseif $errors_array[row][tmp] == "d"}
100 {assign var=pop value="Wating for Maximum jobs"}
101 {elseif $errors_array[row][tmp] == "t"}
102 {assign var=pop value="Waiting for Start Time"}
103 {elseif $errors_array[row][tmp] == "p"}
104 {assign var=pop value="Waiting for higher priority job to finish"}
106 {popup caption="Status detail" autostatus=yes fgcolor=red textcolor=yellow text="$pop"}
109 {if $smarty.section.tmp.iteration == 2}
110 <a href=report.php?default=1&server={$errors_array[row][tmp]} target="_blank">
112 {$errors_array[row][tmp]}
113 {if $smarty.section.row.iteration == 2}
126 <td align=right colspan=2 valign=bottom>
127 <form method="get" action="report.php" target="_blank">
128 <table width="100%" cellpadding="0" cellspacing="3" border="1">
130 <!-- <td align=right colspan=3 background="images/bg1.png" style="font-size: 12px; font-weight: bold;"> -->
131 <td colspan="3" style="text-align: center; background-image: url(images/bg1.png); font-size: 12px; font-weight: bold;">
141 <input type=hidden name="default" value="1">
143 {if $smarty.get.server!=""}
144 {html_options values=$smarty.get.server output=$smarty.get.server}
146 {html_options values=$total_name_jobs output=$total_name_jobs}
151 <input type=submit value="{t}go{/t}">
159 {else if #mode# == "Full" || $smarty.get.Full_popup == "yes"}
162 <table width=100% class="genmed" cellpadding=2 cellspacing=0>
163 <tr class="tbl_header1">
164 <td><b>{t}Elapsed time{/t}</b></td>
165 <td><b>{t}Client{/t}</b></td>
166 <td><b>{t}Start Time{/t}</b></td>
167 <td><b>{t}End Time{/t}</b></td>
168 <td><b>{t}Type{/t}</b></td>
169 <td><b>{t}Pool{/t}</b></td>
170 <td><b>{t}Status{/t}</b></td>
172 {section name=job loop=$clients}
173 <tr class={cycle values="table3,table4"}>
174 {section name=row loop=$clients[job]}
175 <td align=left class="size_small">
176 {if $smarty.section.row.iteration == 2}
177 <a href=report.php?default=1&server={$clients[job][row]|escape:"url"} target="_blank">
179 {if $smarty.section.row.last == TRUE}
180 {if $clients[job][row] eq "T"}
181 <img src={#root#}/images/s_ok.gif>
183 <img src={#root#}/images/s_error.gif>
188 {if $smarty.section.row.iteration == 2}
201 <!-- end last_run_report.tpl -->