go-cook-portal/views/auth/cookie.templ

17 lines
389 B
Plaintext
Raw Normal View History

package auth
import "templ-test/models"
import "templ-test/views/layout"
templ ShowCookie(m models.AllCookies) {
@layout.WithLayout("Cookie Explorer") {
<h2>These are stored as cookies</h2>
<h3>JWT Values</h3>
<p>Username: { m.Username }</p>
<p>JWT Token: { m.Token }</p>
<p>RefreshToken: { m.RefreshToken }</p>
<h3>User Settings</h3>
<p>DarkMode: { m.DarkMode }</p>
}
}