Files
rustical/crates/frontend/public/templates/pages/login.html
2025-04-13 19:00:51 +02:00

23 lines
636 B
HTML

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