diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-13 12:52:29 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-13 12:52:29 +0200 |
commit | 3364c2a2d8ab88703c5566a39df13ef1042f8644 (patch) | |
tree | 8128dc7af6ec0de66a89ede056dc4701aee3b6b5 /view | |
parent | afd0f8e4d8ff0a37d1a337f160eeae642a2f07d6 (diff) | |
download | volse-hubzilla-3364c2a2d8ab88703c5566a39df13ef1042f8644.tar.gz volse-hubzilla-3364c2a2d8ab88703c5566a39df13ef1042f8644.tar.bz2 volse-hubzilla-3364c2a2d8ab88703c5566a39df13ef1042f8644.zip |
Initial admin page
Diffstat (limited to 'view')
-rw-r--r-- | view/admin_aside.tpl | 20 | ||||
-rw-r--r-- | view/admin_summary.tpl | 33 |
2 files changed, 53 insertions, 0 deletions
diff --git a/view/admin_aside.tpl b/view/admin_aside.tpl new file mode 100644 index 000000000..24aafa775 --- /dev/null +++ b/view/admin_aside.tpl @@ -0,0 +1,20 @@ +<h4>Admin</h4> +<ul> + <li class='admin link $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li> + <li class='admin link $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a></li> + <li class='admin link $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li> +</ul> + + +{{ if $admin.plugins_admin }}<h4>Plugins</h4>{{ endif }} +<ul> + {{ for $admin.plugins_admin as $l }} + <li class='admin link $l.2'><a href='$l.0'>$l.1</a></li> + {{ endfor }} +</ul> + + +<h4>Logs</h4> +<ul> + <li class='admin link $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li> +</ul> diff --git a/view/admin_summary.tpl b/view/admin_summary.tpl new file mode 100644 index 000000000..cbd659d07 --- /dev/null +++ b/view/admin_summary.tpl @@ -0,0 +1,33 @@ +<h1>$title - $page</h1> + +<dl> + <dt>$users.0</dt> + <dd>$users.1</dd> +</dl> +{{ for $accounts as $p }} + <dl> + <dt>$p.0</dt> + <dd>$p.1</dd> + </dl> +{{ endfor }} + +<dl> + <dt>$pending.0</dt> + <dd>$pending.1</dt> +</dl> + +<dl> + <dt>$version.0</dt> + <dd>$version.1 - $build</dt> +</dl> + + + +<dl> + <dt>$plugins.0</dt> + + {{ for $plugins.1 as $p }} + <dd>$p</dd> + {{ endfor }} + +</dl> |