circus/crates/server/templates/login.html
NotAShelf b4d3c9d501
crates/server: update templates with improved dashboard and styling
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I07f9de61588f61aae003f78c30fd6d326a6a6964
2026-02-02 01:49:35 +03:00

24 lines
809 B
HTML

{% extends "base.html" %}
{% block title %}Login - FC CI{% endblock %}
{% block content %}
<div class="login-container">
<div class="login-card">
<h1>FC CI</h1>
<p class="login-subtitle">Sign in with your API key</p>
{% match error %}
{% when Some with (msg) %}
<div class="flash-message flash-error">{{ msg }}</div>
{% when None %}
{% endmatch %}
<div class="form-card login-form">
<form method="POST" action="/login">
<div class="form-group">
<label for="api_key">API Key</label>
<input type="password" id="api_key" name="api_key" placeholder="fc_..." required autocomplete="current-password">
</div>
<button type="submit" class="btn btn-full">Sign in</button>
</form>
</div>
</div>
</div>
{% endblock %}