aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-14 11:54:14 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-14 11:54:14 +0200
commit25d1637ec4b980d6ac8daf2f028f0ff579d5c977 (patch)
treeb3c810eb4987bfed4a6596305993935444dcdef7 /view
parent5dc8fbccb29169601ad5fed2b5289631e32e5ac5 (diff)
downloadvolse-hubzilla-25d1637ec4b980d6ac8daf2f028f0ff579d5c977.tar.gz
volse-hubzilla-25d1637ec4b980d6ac8daf2f028f0ff579d5c977.tar.bz2
volse-hubzilla-25d1637ec4b980d6ac8daf2f028f0ff579d5c977.zip
simple plugin details and log view in admin
Diffstat (limited to 'view')
-rw-r--r--view/admin_logs.tpl17
-rw-r--r--view/admin_plugins_details.tpl7
2 files changed, 24 insertions, 0 deletions
diff --git a/view/admin_logs.tpl b/view/admin_logs.tpl
new file mode 100644
index 000000000..f2939a7ac
--- /dev/null
+++ b/view/admin_logs.tpl
@@ -0,0 +1,17 @@
+<div id='adminpage'>
+ <h1>$title - $page</h1>
+
+ <form action="$baseurl/admin/logs" method="post">
+
+ {{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$logfile }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$loglevel }}{{ endinc }}
+
+ <div class="submit"><input type="submit" name="page_logs" value="$submit" /></div>
+
+ </form>
+
+ <h3>$logname</h3>
+ <iframe src='$baseurl/$logname' style="width:100%; height:400px"></iframe>
+ <!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="$clear" /></div> -->
+</div>
diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl
new file mode 100644
index 000000000..7e2e95521
--- /dev/null
+++ b/view/admin_plugins_details.tpl
@@ -0,0 +1,7 @@
+<div id='adminpage'>
+ <h1>$title - $page</h1>
+
+ <p><span class='icon $status'></span> $plugin</p>
+
+ <p><a href="$baseurl/admin/plugins/$plugin/?a=t">$action</a></p>
+</div>