updated the cookie view to show darkmode settings
This commit is contained in:
parent
6cfc53901e
commit
cda43e8ae2
@ -6,8 +6,11 @@ import "templ-test/views/layout"
|
|||||||
templ ShowCookie(m models.AllCookies) {
|
templ ShowCookie(m models.AllCookies) {
|
||||||
@layout.WithLayout("Cookie Explorer") {
|
@layout.WithLayout("Cookie Explorer") {
|
||||||
<h2>These are stored as cookies</h2>
|
<h2>These are stored as cookies</h2>
|
||||||
|
<h3>JWT Values</h3>
|
||||||
<p>Username: { m.Username }</p>
|
<p>Username: { m.Username }</p>
|
||||||
<p>JWT Token: { m.Token }</p>
|
<p>JWT Token: { m.Token }</p>
|
||||||
<p>RefreshToken: { m.RefreshToken }</p>
|
<p>RefreshToken: { m.RefreshToken }</p>
|
||||||
|
<h3>User Settings</h3>
|
||||||
|
<p>DarkMode: { m.DarkMode }</p>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user