|
|
@@ -20,17 +20,21 @@
|
|
|
</script>
|
|
|
</head>
|
|
|
<body>
|
|
|
- <section>
|
|
|
- <h2>Log in</h2>
|
|
|
- <p stm-if="auth != null">Already signed in as <strong stm-text="auth.display_name">user</strong>.</p>
|
|
|
- <form stm-if="auth == null" stm-action="page.login" style="max-width: 24rem">
|
|
|
- <div class="form-row"><label for="login-username">Username</label>
|
|
|
- <input id="login-username" type="text" name="username" required autocomplete="username" autofocus></div>
|
|
|
- <div class="form-row"><label for="login-password">Password</label>
|
|
|
- <input id="login-password" type="password" name="password" required autocomplete="current-password"></div>
|
|
|
- <button type="submit">Log in</button>
|
|
|
- </form>
|
|
|
- <p class="error" id="login-error" hidden></p>
|
|
|
+ <section class="login">
|
|
|
+ <div class="login-card">
|
|
|
+ <img class="login-emblem" alt="" pstm-res-src="clanker-saddle-emblem.png">
|
|
|
+ <h2>Log in</h2>
|
|
|
+ <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>
|
|
|
+ <form stm-if="auth == null" stm-action="page.login">
|
|
|
+ <div class="form-row"><label for="login-username">Username</label>
|
|
|
+ <input id="login-username" type="text" name="username" required autocomplete="username" autofocus></div>
|
|
|
+ <div class="form-row"><label for="login-password">Password</label>
|
|
|
+ <input id="login-password" type="password" name="password" required autocomplete="current-password"></div>
|
|
|
+ <button type="submit" class="primary">Log in</button>
|
|
|
+ </form>
|
|
|
+ <p class="error" id="login-error" hidden></p>
|
|
|
+ </div>
|
|
|
</section>
|
|
|
</body>
|
|
|
</html>
|