diff --git a/gosa-plugins/goto/addons/goto/log_view.tpl b/gosa-plugins/goto/addons/goto/log_view.tpl
index 9ee5bbcea03cc0afa787b63ec9ed66814549d308..24774c04e63f7336e5e2a67140a1e4b5b2c3baf4 100644 (file)
-<h2>{t}Log view{/t}</h2>
+<h2>{t}Available logs{/t}</h2>
{if $logs_available}
- <table>
- <tr>
- <td>{t}Creation time{/t}: </td>
- <td>
- <select name="selected_date" onChange="document.mainform.submit();">
- {foreach from=$logs.$mac item=stuff key=date}
- {if $date == $selected_date}
- <option value="{$date}" selected>{$stuff.REAL_DATE|date_format:"%d.%m.%Y %H:%m:%S"}</option>
- {else}
- <option value="{$date}">{$stuff.REAL_DATE|date_format:"%d.%m.%Y %H:%m:%S"}</option>
- {/if}
- {/foreach}
- </select>
- </td>
- </tr>
- <tr>
- <td>{t}Log file{/t}: </td>
- <td>
- <select name="selected_file" onChange="document.mainform.submit();">
- {foreach from=$logs.$mac.$selected_date.FILES item=filename}
- {if $filename == $selected_file}
- <option value="{$filename}" selected>{$filename}</option>
- {else}
- <option value="{$filename}">{$filename}</option>
- {/if}
- {/foreach}
- </select>
- </td>
- </tr>
- </table>
-
- <h2>{t}Log file{/t}</h2>
- <div style="width:100%;height:350px; overflow-y: scroll; background-color:#EEEEEE; border: solid 1px;">
+ <div style="width:99%;border: solid 1px #CCCCCC;">{$divlist}</div>
+ <br>
+ <p class="seperator"></p>
+ <h2>{t}Selected log{/t}: {$selected_log}</h2>
+ <div style="width:99%;height:350px;padding:3px;background-color:white; overflow-y: scroll;border: solid 1px;">
{$log_file}
</div>
{else}
- <h2>No logs for this host</h2>
+ <h2>{t}No logs for this host available!{/t}</h2>
{/if}
+{if $standalone}
+<br>
+<input type="hidden" name="ignore" value="1">
<p class='seperator'></p>
-<div style='text-align:right;width:100%; padding-right:5px; padding-top:5px;'>
- <input type='submit' name='abort_event_dialog' value='{msgPool type=okButton}'>
+<div style='text-align:right;width:99%; padding-right:5px; padding-top:5px;'>
+ <input type='submit' name='abort_event_dialog' value='{msgPool type=backButton}'>
</div>
+{/if}
+<br>