diff options
author | Jakob Sack <mail@jakobsack.de> | 2011-03-01 23:20:16 +0100 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2011-03-01 23:20:16 +0100 |
commit | 132695ceb1d7ab0e4bfbb141e9e9639111dd25b5 (patch) | |
tree | f53fabcefd89a1e5bbeda9a2c2d2fff6683139d4 /admin/templates | |
parent | 1fd39a52fa750878e7d70fba63c099f252095762 (diff) | |
download | nextcloud-server-132695ceb1d7ab0e4bfbb141e9e9639111dd25b5.tar.gz nextcloud-server-132695ceb1d7ab0e4bfbb141e9e9639111dd25b5.zip |
Start of the refactoring. Commit is quite big because I forgot to use git right from the beginning. Sorry.
Diffstat (limited to 'admin/templates')
-rw-r--r-- | admin/templates/_c/.gitkeep | 0 | ||||
-rw-r--r-- | admin/templates/index.tmpl | 7 | ||||
-rw-r--r-- | admin/templates/plugins.tmpl | 23 | ||||
-rw-r--r-- | admin/templates/system.tmpl | 3 | ||||
-rw-r--r-- | admin/templates/users.tmpl | 39 |
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> |