dashboard.html 587 B

1234567891011121314151617
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <pstm-uri>/dashboard</pstm-uri>
  5. <pstm-template>main</pstm-template>
  6. <!-- A guard: unauthenticated visitors are redirected to "/" before the
  7. entrypoint is even fetched (pre-entrypoint), and re-checked on every
  8. evaluate cycle (e.g. after logging out). -->
  9. <link rel="stm-guard" require="auth" href="/" pre-entrypoint>
  10. </head>
  11. <body>
  12. <h2>Dashboard</h2>
  13. <p>Signed in as <strong stm-text="auth.name">user</strong>
  14. (<span stm-text="auth.role">role</span>).</p>
  15. <p><a href="/">Back home</a></p>
  16. </body>
  17. </html>