aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-14 10:35:56 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-14 10:35:56 +0200
commit5882d8d022c14a12ba7b314c96289061bd195ed4 (patch)
tree82ab01ac9fbc469ca52fe40bac455c3b564d31c4 /view
parent4ba23df20a46bec640177df0555b5d98486c8540 (diff)
downloadvolse-hubzilla-5882d8d022c14a12ba7b314c96289061bd195ed4.tar.gz
volse-hubzilla-5882d8d022c14a12ba7b314c96289061bd195ed4.tar.bz2
volse-hubzilla-5882d8d022c14a12ba7b314c96289061bd195ed4.zip
Initial plugins admin page
Diffstat (limited to 'view')
-rw-r--r--view/admin_plugins.tpl14
-rw-r--r--view/theme/duepuntozero/style.css18
2 files changed, 31 insertions, 1 deletions
diff --git a/view/admin_plugins.tpl b/view/admin_plugins.tpl
new file mode 100644
index 000000000..d29665a06
--- /dev/null
+++ b/view/admin_plugins.tpl
@@ -0,0 +1,14 @@
+<div id='adminpage'>
+ <h1>$title - $page</h1>
+
+ <ul id='pluginslist'>
+ {{ for $plugins as $p }}
+ <li class='plugin $p.1'>
+ <a class='toggle' href='$baseurl/admin/plugins/$p.0?a=t'><span class='icon $p.1'></span></a>
+ <a href='$baseurl/admin/plugins/$p.0'>
+ <span class='name'>$p.0</span>
+ </a>
+ </li>
+ {{ endfor }}
+ </ul>
+</div>
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 294a86690..8799726c7 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -2520,6 +2520,21 @@ a.mail-list-link {
text-align: right;
}
+#adminpage #pluginslist {
+ margin: 0px; padding: 0px;
+}
+#adminpage .plugin {
+ list-style: none;
+ display: block;
+ border: 1px solid #888888;
+ padding: 1em;
+ margin-bottom: 5px;
+ clear: left;
+}
+#adminpage .plugin .toggle {
+ float:left;
+ margin-right: 1em;
+}
/**
* ICONS
@@ -2557,7 +2572,8 @@ a.mail-list-link {
.youtube { background-position: -64px -32px;}
.attach { background-position: -80px -32px; }
.language { background-position: -96px -32px; }
-
+.on { background-position: -112px -32px; }
+.off { background-position: -128px -32px; }
.attachtype {
display: block; width: 20px; height: 23px;