newsbot-portal/internal/views/users/profile.templ

21 lines
655 B
Plaintext
Raw Normal View History

package users
import (
"git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
2024-07-13 10:38:54 -07:00
bh "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma/html"
bl "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma/layout"
"git.jamestombleson.com/jtom38/newsbot-portal/internal/views/layout"
)
templ Profile() {
@layout.WithTemplate() {
2024-07-13 10:38:54 -07:00
@bl.Hero("Profile", "Here you can update your profile 😀")
@bulma.H2("Sessions", false)
@bulma.Button() {
2024-07-13 10:38:54 -07:00
@bh.ALink("/users/forcelogout", "Terminate all active sessions")
}
@bulma.Subitle("This will force you to login again as the application will give you a new session value.")
}
}