updated the cookie view to show darkmode settings

This commit is contained in:
James Tombleson 2024-04-14 19:36:30 -07:00
parent 6cfc53901e
commit cda43e8ae2
1 changed files with 3 additions and 0 deletions

View File

@ -6,8 +6,11 @@ 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>
}
}