// Code generated by qtc from "admin.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
//line views/admin.qtpl:1
package views
//line views/admin.qtpl:1
import "github.com/bouncepaw/mycorrhiza/user"
//line views/admin.qtpl:3
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
//line views/admin.qtpl:3
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
//line views/admin.qtpl:3
func StreamAdminUsersPanelHTML(qw422016 *qt422016.Writer, userList []*user.User) {
//line views/admin.qtpl:3
qw422016.N().S(`
Manage users
Users list
Name |
Group |
Registered at |
`)
//line views/admin.qtpl:23
for _, u := range userList {
//line views/admin.qtpl:23
qw422016.N().S(`
`)
//line views/admin.qtpl:25
qw422016.N().S(u.Name)
//line views/admin.qtpl:25
qw422016.N().S(` |
`)
//line views/admin.qtpl:26
qw422016.N().S(u.Group)
//line views/admin.qtpl:26
qw422016.N().S(` |
`)
//line views/admin.qtpl:27
qw422016.N().S(u.RegisteredAt.Format("2006-01-02 15:04:05-0700"))
//line views/admin.qtpl:27
qw422016.N().S(` |
`)
//line views/admin.qtpl:29
}
//line views/admin.qtpl:29
qw422016.N().S(`
`)
//line views/admin.qtpl:34
}
//line views/admin.qtpl:34
func WriteAdminUsersPanelHTML(qq422016 qtio422016.Writer, userList []*user.User) {
//line views/admin.qtpl:34
qw422016 := qt422016.AcquireWriter(qq422016)
//line views/admin.qtpl:34
StreamAdminUsersPanelHTML(qw422016, userList)
//line views/admin.qtpl:34
qt422016.ReleaseWriter(qw422016)
//line views/admin.qtpl:34
}
//line views/admin.qtpl:34
func AdminUsersPanelHTML(userList []*user.User) string {
//line views/admin.qtpl:34
qb422016 := qt422016.AcquireByteBuffer()
//line views/admin.qtpl:34
WriteAdminUsersPanelHTML(qb422016, userList)
//line views/admin.qtpl:34
qs422016 := string(qb422016.B)
//line views/admin.qtpl:34
qt422016.ReleaseByteBuffer(qb422016)
//line views/admin.qtpl:34
return qs422016
//line views/admin.qtpl:34
}