improve account resource chart creation,

now allows categories to have the same name as another resource without collision issue
This commit is contained in:
alu
2026-07-22 18:17:20 +00:00
parent 7809e6adb1
commit ca386adc26
3 changed files with 103 additions and 85 deletions
+2 -2
View File
@@ -39,8 +39,8 @@
<h2>Account</h2>
<section class="w3-card w3-padding">
<h3>Account Details</h3>
<p id="username">Username: {{.account.Username.UserID}}@{{.account.Username.Realm}}</p>
<p id="email">Email: {{.account.Mail}}</p>
<p id="username">Username: {{.account.User.Username.UserID}}@{{.account.User.Username.Realm}}</p>
<p id="email">Email: {{.account.User.Mail}}</p>
<p>Password: <button class="w3-button" id="change-password" type="button" style="padding: 0em; height: 1.5em; line-height: 1.5em;">Change Password</button></p>
</section>
{{range $poolname, $pool := .account.Pools}}