|
@@ -1,8 +1,15 @@
|
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
<html lang="en">
|
|
|
<head>
|
|
<head>
|
|
|
|
|
+ <meta charset="utf-8">
|
|
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<pstm-uri>/login</pstm-uri>
|
|
<pstm-uri>/login</pstm-uri>
|
|
|
- <pstm-template>main</pstm-template>
|
|
|
|
|
|
|
+ <pstm-title>ClankerSaddle — Log in</pstm-title>
|
|
|
|
|
+ <script pstm-res-src="statum.js"></script>
|
|
|
|
|
+ <link rel="stylesheet" pstm-res-href="app.css">
|
|
|
|
|
+ <link rel="icon" type="image/png" pstm-res-href="clanker-saddle.png">
|
|
|
|
|
+ <link rel="apple-touch-icon" type="image/png" pstm-res-href="clanker-saddle.png">
|
|
|
|
|
+ <script pstm-res-src="app.js"></script>
|
|
|
<script>
|
|
<script>
|
|
|
// Surface error notifications inline instead of as toasts so a
|
|
// Surface error notifications inline instead of as toasts so a
|
|
|
// failed login is shown next to the form; other kinds toast.
|
|
// failed login is shown next to the form; other kinds toast.
|
|
@@ -23,9 +30,9 @@
|
|
|
<section class="login">
|
|
<section class="login">
|
|
|
<div class="login-card">
|
|
<div class="login-card">
|
|
|
<img class="login-emblem" alt="" pstm-res-src="clanker-saddle-emblem.png">
|
|
<img class="login-emblem" alt="" pstm-res-src="clanker-saddle-emblem.png">
|
|
|
- <h2>Log in</h2>
|
|
|
|
|
|
|
+ <h1>ClankerSaddle</h1>
|
|
|
<p class="muted">The agent works while you sleep.</p>
|
|
<p class="muted">The agent works while you sleep.</p>
|
|
|
- <p stm-if="auth != null">Already signed in as <strong stm-text="auth.display_name">user</strong>.</p>
|
|
|
|
|
|
|
+ <p stm-if="auth != null">Welcome <strong stm-text="auth.display_name">user</strong>!</p>
|
|
|
<form stm-if="auth == null" stm-action="page.login">
|
|
<form stm-if="auth == null" stm-action="page.login">
|
|
|
<div class="form-row"><label for="login-username">Username</label>
|
|
<div class="form-row"><label for="login-username">Username</label>
|
|
|
<input id="login-username" type="text" name="username" required autocomplete="username" autofocus></div>
|
|
<input id="login-username" type="text" name="username" required autocomplete="username" autofocus></div>
|