Files
rustical/crates/frontend/public/templates/pages/login.html
2025-04-13 15:31:58 +02:00

18 lines
517 B
HTML

{% extends "layouts/default.html" %}
{% block content %}
<h1>Login</h1>
<form action="login" method="post">
<label for="username">Username</label>
<input type="text" name="username" placeholder="username">
<label for="password">Password</label>
<input type="password" name="password" placeholder="password">
<button type="submit">Login</button>
</form>
{% if let Some(OidcProviderData {name, redirect_url}) = oidc_data %}
<a href="{{ redirect_url }}">Login with {{ name }}</a>
{% endif %}
{% endblock %}