From fd5592dbdaef4399ff1a3af49f3bb795dc094588 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 10 Apr 2025 16:24:52 +0200 Subject: [PATCH] Update user-add and list templates --- resources/views/themes/admin/user-edit.tpl | 407 +++++++++++++++------ resources/views/themes/admin/user-list.tpl | 2 +- 2 files changed, 292 insertions(+), 117 deletions(-) diff --git a/resources/views/themes/admin/user-edit.tpl b/resources/views/themes/admin/user-edit.tpl index 27e1f0653..420e31e43 100644 --- a/resources/views/themes/admin/user-edit.tpl +++ b/resources/views/themes/admin/user-edit.tpl @@ -1,116 +1,291 @@ -
-

{$title}

- {if isset($error) && $error != ''} -
{$error}
- {/if} - Go back -
- {{csrf_field()}} - - - - - - - - - - - - - - - - - - {if !empty($user.id)} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {/if} - - - - - - - - -
Name: - - -
Email: - -
Password: - - {if !empty($user.id)} -
Only enter a password if you want to change it.
- {/if} -
- {html_radios id="role" name="role" values=$role_ids output=$role_names selected=$user.role.id separator="
"} -
Grabs: - -
Invites: - -
Movie View: - -
XXX View: - -
Music View: - -
Console View: - -
Game View: - -
Book View: - -
- -
- -
- - {if !empty($user.id) && $user->role->id != 2} - Delete user{/if} -
-
-
+
+
+
+

{$title}

+ + Back to Users + +
+
+ +
+ {if isset($error) && $error != ''} +
+ {$error} +
+ {/if} + +
+ {{csrf_field()}} + + +
+ +
+
+
+
User Information
+
+
+
+ + +
+ +
+ + +
+ +
+ + + {if !empty($user.id)} +
Only enter a password if you want to change it.
+ {/if} +
+ +
+ + +
+ + {if !empty($user.id)} +
+ + +
+ {/if} + +
+ + +
+
+
+
+ + +
+ {if !empty($user.id)} +
+
+
User Statistics
+
+
+
+
+ + +
+
+ + +
+
+
+
+ +
+
+
Access Permissions
+
+
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+
+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+
+ {/if} +
+
+
+
+ + +
+ + + + diff --git a/resources/views/themes/admin/user-list.tpl b/resources/views/themes/admin/user-list.tpl index ea745dd2b..a9784f4b6 100644 --- a/resources/views/themes/admin/user-list.tpl +++ b/resources/views/themes/admin/user-list.tpl @@ -2,7 +2,7 @@