mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
chore (plg_authenticate_simple): banner dashboard
This commit is contained in:
@@ -184,3 +184,9 @@
|
||||
margin-bottom: 15px;
|
||||
padding: 10px;
|
||||
}
|
||||
.component_page_admin .formbuilder .banner pre {
|
||||
background: inherit;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -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).
|
||||
<pre>
|
||||
STATS:
|
||||
┌─────────────┐ ┌──────────────┐
|
||||
│ TOTAL USERS │ │ ACTIVE USERS │
|
||||
| %.4d │ | %.4d │
|
||||
└─────────────┘ └──────────────┘</pre>`, n, a),
|
||||
},
|
||||
{
|
||||
Name: "type",
|
||||
|
||||
Reference in New Issue
Block a user