<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Portal ŠOLAR</title>
    <link rel="stylesheet" href="/static/css/login-styles.css" type="text/css">
    <link rel="stylesheet" href="/static/css/utils.css" type="text/css">
</head>
<body>
<div class="background">
    <div class="panel login-panel">
        <div class="panel-logo">
            <img src="/static/image/logo.svg" alt="logo"/>
        </div>
        <h1 class="m-b-3">Ponastavitev gesla - ŠOLAR</h1>
        <div>
            <form method="POST" action="" class="m-b-2">
                <div class="input-wrapper">
                    <img src="../static/image/password.svg" alt="user" class="input-icon"/>
                    <div class="input-floating-label">
                        <label>Novo geslo</label>
                        <input type="password" name="new_password">
                    </div>
                </div>

                <button class="btn" style="margin-left: 46px;">Ponastavi</button>
            </form>
            {% with messages = get_flashed_messages() %}
            {% if messages %}
            <div class="alert">
                <img src="../static/image/alert.svg" alt="alert"/>
                <p>{{ messages[0] }}</p>
            </div>
            {% endif %}
            {% endwith %}
        </div>
    </div>
</div>
</body>