aboutsummaryrefslogtreecommitdiffstats
path: root/admin/templates
diff options
context:
space:
mode:
Diffstat (limited to 'admin/templates')
-rw-r--r--admin/templates/_c/.gitkeep0
-rw-r--r--admin/templates/index.tmpl7
-rw-r--r--admin/templates/plugins.tmpl23
-rw-r--r--admin/templates/system.tmpl3
-rw-r--r--admin/templates/users.tmpl39
5 files changed, 72 insertions, 0 deletions
diff --git a/admin/templates/_c/.gitkeep b/admin/templates/_c/.gitkeep
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/admin/templates/_c/.gitkeep
diff --git a/admin/templates/index.tmpl b/admin/templates/index.tmpl
new file mode 100644
index 00000000000..d6db07f7194
--- /dev/null
+++ b/admin/templates/index.tmpl
@@ -0,0 +1,7 @@
+<h1>Administration</h1>
+
+<ul>
+ [%foreach $adminpages as $i%]
+ <li><a href="[%linkto app=$i.app file=$i.file%]">[%$i.name%]</a></li>
+ [%/foreach%]
+</ul>
diff --git a/admin/templates/plugins.tmpl b/admin/templates/plugins.tmpl
new file mode 100644
index 00000000000..ca32a877256
--- /dev/null
+++ b/admin/templates/plugins.tmpl
@@ -0,0 +1,23 @@
+<h1>Administration</h1>
+<h2>Plugins</h2>
+
+<table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Description</th>
+ <th>Version</th>
+ <th>Author</th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ [%foreach $plugins as $plugin%]
+ <td>[%$plugin.info.id%]</td>
+ <td>[%$plugin.info.version%]</td>
+ <td>[%$plugin.info.name%]</td>
+ <td>[%$plugin.info.author%]</td>
+ <td>enable</td>
+ [%/foreach%]
+ </tbody>
+</table>
diff --git a/admin/templates/system.tmpl b/admin/templates/system.tmpl
new file mode 100644
index 00000000000..bab436de8dc
--- /dev/null
+++ b/admin/templates/system.tmpl
@@ -0,0 +1,3 @@
+<h1>Administration</h1>
+<h2>System Settings</h2>
+#TBD \ No newline at end of file
diff --git a/admin/templates/users.tmpl b/admin/templates/users.tmpl
new file mode 100644
index 00000000000..796b55de4e0
--- /dev/null
+++ b/admin/templates/users.tmpl
@@ -0,0 +1,39 @@
+<h1>Administration</h1>
+<h2>Users</h2>
+
+<table>
+ <thead>
+ <tr>
+ <th></th>
+ <th>Name</th>
+ <th>Groups</th>
+ </tr>
+ <thead>
+ <tbody>
+ [%foreach $users as $user%]
+ <tr>
+ <td><input type="checkbox"></td>
+ <td>[%$user.name%]</td>
+ <td>[%$user.groups%]</td>
+ </tr>
+ [%/foreach%]
+ </tbody>
+</table>
+
+<h2>Groups</h2>
+<table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th></th>
+ </tr>
+ <thead>
+ <tbody>
+ [%foreach $groups as $group%]
+ <tr>
+ <td>[%$group.name%]</td>
+ <td>remove</td>
+ </tr>
+ [%/foreach%]
+ </tbody>
+</table>