Code

Removed reference
[gosa.git] / gosa-plugins / goto / addons / goto / log_view.tpl
2 <h2>{t}Log view{/t}</h2>
4 {if $logs_available}
5         <table>
6                 <tr>
7                         <td>{t}Creation time{/t}:&nbsp;</td>
8                         <td>
9                                 <select name="selected_date" onChange="document.mainform.submit();">
10                                 {foreach from=$logs.$mac item=stuff key=date}
11                                         {if $date == $selected_date}
12                                                 <option value="{$date}" selected>{$stuff.REAL_DATE|date_format:"%d.%m.%Y %H:%m:%S"}</option>
13                                         {else}
14                                                 <option value="{$date}">{$stuff.REAL_DATE|date_format:"%d.%m.%Y %H:%m:%S"}</option>
15                                         {/if}
16                                 {/foreach}
17                                 </select>
18                         </td>
19                 </tr>
20                 <tr>
21                         <td>{t}Log file{/t}:&nbsp;</td>
22                         <td>
23                                 <select name="selected_file" onChange="document.mainform.submit();">
24                                 {foreach from=$logs.$mac.$selected_date.FILES item=filename}
25                                         {if $filename == $selected_file}
26                                                 <option value="{$filename}" selected>{$filename}</option>
27                                         {else}
28                                                 <option value="{$filename}">{$filename}</option>
29                                         {/if}
30                                 {/foreach}
31                                 </select>
32                         </td>
33                 </tr>
34         </table>
36         <h2>{t}Log file{/t}</h2>
37         <div style="width:100%;height:350px; overflow-y: scroll; background-color:#EEEEEE; border: solid 1px;">
38                 {$log_file}
39         </div>
40 {else}
41         <h2>No logs for this host</h2>
42 {/if}
44 <p class='seperator'></p>
45 <div style='text-align:right;width:100%; padding-right:5px; padding-top:5px;'>
46         <input type='submit' name='abort_event_dialog' value='{msgPool type=okButton}'>
47 </div>