diff --git a/public/assets/pages/adminpage/index.css b/public/assets/pages/adminpage/index.css index 49bc3ee4..76fb322c 100644 --- a/public/assets/pages/adminpage/index.css +++ b/public/assets/pages/adminpage/index.css @@ -184,3 +184,9 @@ margin-bottom: 15px; padding: 10px; } +.component_page_admin .formbuilder .banner pre { + background: inherit; + color: inherit; + padding: 0; + margin: 0; +} diff --git a/server/plugin/plg_authenticate_simple/auth.go b/server/plugin/plg_authenticate_simple/auth.go index f9cfde9e..7c54ff2e 100644 --- a/server/plugin/plg_authenticate_simple/auth.go +++ b/server/plugin/plg_authenticate_simple/auth.go @@ -27,12 +27,13 @@ func (this SimpleAuth) Setup() Form { { Name: "banner", Type: "hidden", - Description: `Manage your team members and their account permissions by visiting [/admin/simple-user-management](/admin/simple-user-management). - -= STATS = -- total users: ` + fmt.Sprintf("%d", n) + ` -- active users: ` + fmt.Sprintf("%d", a) + ` -`, + Description: fmt.Sprintf(`Manage your team members and their account permissions by visiting [/admin/simple-user-management](/admin/simple-user-management). +
+STATS:
+┌─────────────┐   ┌──────────────┐
+│ TOTAL USERS │   │ ACTIVE USERS │
+|    %.4d     │   |     %.4d     │
+└─────────────┘   └──────────────┘
`, n, a), }, { Name: "type",