first working version
This commit is contained in:
parent
261ebed165
commit
c9dfecc519
21 changed files with 296 additions and 178 deletions
|
|
@ -43,6 +43,7 @@ func (s *Server) loadTemplates() (err error) {
|
|||
|
||||
// pages
|
||||
s.ts.Parse(tfs, "notFoundHandler", "index.html", "menu.html", "notFound.html")
|
||||
s.ts.Parse(tfs, "forbiddenHandler", "index.html", "menu.html", "forbidden.html")
|
||||
s.ts.Parse(tfs, "loginHandler", "index.html", "menu.html", "login.html")
|
||||
s.ts.Parse(tfs, "loginTotpHandler", "index.html", "menu.html", "loginTotp.html")
|
||||
s.ts.Parse(tfs, "consentHandler", "index.html", "menu.html", "consent.html")
|
||||
|
|
@ -51,6 +52,7 @@ func (s *Server) loadTemplates() (err error) {
|
|||
s.ts.Parse(tfs, "userNewHandler", "index.html", "menu.html", "userNew.html")
|
||||
s.ts.Parse(tfs, "userEditHandler", "index.html", "menu.html", "userEdit.html")
|
||||
s.ts.Parse(tfs, "userDelHandler", "index.html", "menu.html", "userDel.html")
|
||||
s.ts.Parse(tfs, "userSessionsHandler", "index.html", "menu.html", "userSessions.html")
|
||||
// totp
|
||||
s.ts.Parse(tfs, "userTotpHandler", "index.html", "menu.html", "userTotp.html")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue