Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed rest of hard coded HTML from log viewer
- Loading branch information
1 parent
b1d8621
commit 85f2863
Showing
4 changed files
with
79 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{# begin {templatelocation} #} | ||
|
||
<form method="post" action="{site_admin_url}/logviewer.php" class="uk-form"> | ||
<div> | ||
{lang_logs}: <select name="log">{log_items}</select> | ||
<button type="submit" name="viewlog" value="{lang_log_view}" class="uk-button">{lang_log_view}</button> | ||
<button type="submit" name="clearlog" value="{lang_log_clear}" class="uk-button" onclick="return confirm('{lang_confirm_del_message}');">{lang_log_clear}</button> | ||
|
||
{!if log_contents} | ||
<p><strong>{lang_log_file}: {log_filename}</strong></p> | ||
|
||
<hr> | ||
|
||
<pre class="uk-overflow-container" style="height:500px;"> | ||
{log_contents} | ||
</pre> | ||
{!endif} | ||
</div> | ||
</form> | ||
|
||
{# end {templatelocation} #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{# begin {templatelocation} #} | ||
|
||
<form method="post" action="{site_admin_url}/logviewer.php"> | ||
<div> | ||
{lang_logs}: <select name="log" class="uk-select uk-width-auto">{log_items}</select> | ||
<button type="submit" name="viewlog" value="{lang_log_view}" class="uk-button uk-button-primary">{lang_log_view}</button> | ||
<button type="submit" name="clearlog" value="{lang_log_clear}" class="uk-button uk-button-danger" onclick="return confirm('{lang_confirm_del_message}');">{lang_log_clear}</button> | ||
|
||
{!if log_contents} | ||
<p><strong>{lang_log_file}: {log_filename}</strong></p> | ||
|
||
<hr> | ||
|
||
<pre class="uk-overflow-container" style="height:500px;"> | ||
{log_contents} | ||
</pre> | ||
{!endif} | ||
</div> | ||
</form> | ||
|
||
{# end {templatelocation} #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{# begin {templatelocation} #} | ||
|
||
<form method="post" action="{site_admin_url}/logviewer.php"> | ||
<div> | ||
{lang_logs}: <select name="log">{log_items}</select> | ||
<input type="submit" name="viewlog" value="{lang_log_view}"> | ||
<input type="submit" name="clearlog" value="{lang_log_clear}" onclick="return confirm('{lang_confirm_del_message}');"> | ||
|
||
{!if log_contents} | ||
<p><strong>{lang_log_file}: {log_filename}</strong></p> | ||
|
||
<div style="margin:10px 0 5px;border-bottom:1px solid #cccccc;"></div> | ||
|
||
<pre style="overflow:scroll; height:500px;"> | ||
{log_contents} | ||
</pre> | ||
{!endif} | ||
</div> | ||
</form> | ||
|
||
{# end {templatelocation} #} |