2024-05-26 19:30:04 -07:00
|
|
|
package users
|
|
|
|
|
2024-07-11 08:08:58 -07:00
|
|
|
import (
|
|
|
|
"git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
|
|
|
|
templhtml "git.jamestombleson.com/jtom38/newsbot-portal/components/templ-html"
|
|
|
|
"git.jamestombleson.com/jtom38/newsbot-portal/internal/views/layout"
|
|
|
|
)
|
2024-05-26 19:30:04 -07:00
|
|
|
|
|
|
|
templ Profile() {
|
|
|
|
@layout.WithTemplate() {
|
|
|
|
@bulma.Hero("Profile", "Here you can update your profile 😀")
|
2024-07-11 08:08:58 -07:00
|
|
|
|
|
|
|
@bulma.H2("Sessions", false)
|
|
|
|
@bulma.Button() {
|
|
|
|
@templhtml.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.")
|
2024-05-26 19:30:04 -07:00
|
|
|
}
|
|
|
|
}
|