Files
ihrm/templates/login.html

87 lines
3.5 KiB
HTML

{% load static %}
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Login - Horilla Dashboard</title>
<link rel="stylesheet" href="{% static '/build/css/style.min.css' %}" />
<link rel="manifest" href="{% static 'build/manifest.json' %}">
</head>
<body>
<div id="main">
<div class="oh-alert-container">
{% for message in messages %}
<div class="oh-alert oh-alert--animated {{ message.tags }}">
{{ message }}
</div>
{% endfor %}
</div>
<main class="oh-auth">
<div class="oh-auth-card">
<h1 class="oh-onboarding-card__title oh-onboarding-card__title--h2 text-center my-3">{% trans "Sign In" %}</h1>
<p class="text-muted text-center">{% trans "Please login to access the dashboard." %}</p>
<form method='post' class="oh-form-group">
{% csrf_token %}
<div class="oh-input-group">
<label class="oh-label" for="username">{% trans "Username" %}</label>
<input type="text" id="username" name='username' class="oh-input w-100" placeholder="e.g. jane.doe@acme.com" />
</div>
<div class="oh-input-group">
<label class="oh-label" for="password">{% trans "Password" %}</label>
<div class="oh-password-input-container">
<input
type="password"
id="password"
name='password'
class="oh-input oh-input--password w-100"
placeholder="Use alphanumeric characters"
/>
<button
type="button"
class="oh-btn oh-btn--transparent oh-password-input--toggle"
>
<ion-icon
class="oh-passowrd-input__show-icon"
title="Show Password"
name="eye-outline"
></ion-icon>
<ion-icon
class="oh-passowrd-input__hide-icon d-none"
title="Hide Password"
name="eye-off-outline"
></ion-icon>
</button>
</div>
</div>
<button
type='submit'
class="oh-btn oh-onboarding-card__button mt-4 oh-btn--secondary oh-btn--shadow w-100 mb-4"
role="button"
>
<ion-icon class="me-2" name="lock-closed-outline"></ion-icon>
{% trans "Secure Sign-in" %}
</button>
<small class="text-center"><a href="{% url 'forgot-password' %}" class="oh-link oh-link--secondary justify-content-center">{% trans "Forgot password" %}?</a></small>
</form>
</div>
<img src="{% static 'images/ui/auth-logo.png' %}" width="150" height="41" alt="Horilla"/>
</main>
</div>
<script src="{% static '/build/js/web.frontend.min.js' %}"></script>
<script
type="module"
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"
></script>
<script
nomodule
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"
></script>
<script></script>
</body>
</html>