// 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/cfg" //line views/admin.qtpl:2 import "github.com/bouncepaw/mycorrhiza/user" //line views/admin.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line views/admin.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line views/admin.qtpl:4 func StreamAdminPanelHTML(qw422016 *qt422016.Writer) { //line views/admin.qtpl:4 qw422016.N().S(`

Administrative functions

Safe things

Dangerous things

Shutdown wiki
Reindex hyphae
`) //line views/admin.qtpl:34 } //line views/admin.qtpl:34 func WriteAdminPanelHTML(qq422016 qtio422016.Writer) { //line views/admin.qtpl:34 qw422016 := qt422016.AcquireWriter(qq422016) //line views/admin.qtpl:34 StreamAdminPanelHTML(qw422016) //line views/admin.qtpl:34 qt422016.ReleaseWriter(qw422016) //line views/admin.qtpl:34 } //line views/admin.qtpl:34 func AdminPanelHTML() string { //line views/admin.qtpl:34 qb422016 := qt422016.AcquireByteBuffer() //line views/admin.qtpl:34 WriteAdminPanelHTML(qb422016) //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 } //line views/admin.qtpl:36 func StreamAdminUsersPanelHTML(qw422016 *qt422016.Writer, userList []*user.User) { //line views/admin.qtpl:36 qw422016.N().S(`

Manage users

Users list

`) //line views/admin.qtpl:57 for _, u := range userList { //line views/admin.qtpl:57 qw422016.N().S(` `) //line views/admin.qtpl:74 } //line views/admin.qtpl:74 qw422016.N().S(`
Name Group Registered at
`) //line views/admin.qtpl:60 qw422016.E().S(u.Name) //line views/admin.qtpl:60 qw422016.N().S(` `) //line views/admin.qtpl:62 qw422016.E().S(u.Group) //line views/admin.qtpl:62 qw422016.N().S(` `) //line views/admin.qtpl:64 if u.RegisteredAt.IsZero() { //line views/admin.qtpl:64 qw422016.N().S(` unknown `) //line views/admin.qtpl:66 } else { //line views/admin.qtpl:66 qw422016.N().S(` `) //line views/admin.qtpl:67 qw422016.E().S(u.RegisteredAt.UTC().Format("2006-01-02 15:04")) //line views/admin.qtpl:67 qw422016.N().S(` `) //line views/admin.qtpl:68 } //line views/admin.qtpl:68 qw422016.N().S(` Edit
`) //line views/admin.qtpl:79 } //line views/admin.qtpl:79 func WriteAdminUsersPanelHTML(qq422016 qtio422016.Writer, userList []*user.User) { //line views/admin.qtpl:79 qw422016 := qt422016.AcquireWriter(qq422016) //line views/admin.qtpl:79 StreamAdminUsersPanelHTML(qw422016, userList) //line views/admin.qtpl:79 qt422016.ReleaseWriter(qw422016) //line views/admin.qtpl:79 } //line views/admin.qtpl:79 func AdminUsersPanelHTML(userList []*user.User) string { //line views/admin.qtpl:79 qb422016 := qt422016.AcquireByteBuffer() //line views/admin.qtpl:79 WriteAdminUsersPanelHTML(qb422016, userList) //line views/admin.qtpl:79 qs422016 := string(qb422016.B) //line views/admin.qtpl:79 qt422016.ReleaseByteBuffer(qb422016) //line views/admin.qtpl:79 return qs422016 //line views/admin.qtpl:79 } //line views/admin.qtpl:81 func StreamAdminUsersUserHTML(qw422016 *qt422016.Writer, u *user.User) { //line views/admin.qtpl:81 qw422016.N().S(`

`) //line views/admin.qtpl:84 qw422016.E().S(u.Name) //line views/admin.qtpl:84 qw422016.N().S(`

Cancel
`) //line views/admin.qtpl:103 } //line views/admin.qtpl:103 func WriteAdminUsersUserHTML(qq422016 qtio422016.Writer, u *user.User) { //line views/admin.qtpl:103 qw422016 := qt422016.AcquireWriter(qq422016) //line views/admin.qtpl:103 StreamAdminUsersUserHTML(qw422016, u) //line views/admin.qtpl:103 qt422016.ReleaseWriter(qw422016) //line views/admin.qtpl:103 } //line views/admin.qtpl:103 func AdminUsersUserHTML(u *user.User) string { //line views/admin.qtpl:103 qb422016 := qt422016.AcquireByteBuffer() //line views/admin.qtpl:103 WriteAdminUsersUserHTML(qb422016, u) //line views/admin.qtpl:103 qs422016 := string(qb422016.B) //line views/admin.qtpl:103 qt422016.ReleaseByteBuffer(qb422016) //line views/admin.qtpl:103 return qs422016 //line views/admin.qtpl:103 }