<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Portal ŠOLAR</title>
    <link rel="stylesheet" href="/static/style.css" type="text/css">
</head>
<body>
    <div id="main-window">
        <div id="rect1">
            <div style="padding: 25px;">
                <div id="logo-container">
                    <img src="/static/image/logo.svg" alt="logo"/>
                </div>
                <h1 id="title">Portal za oddajanje besedil</h1>
                <h2 id="subtitle">Korpus Šolar</h2>

                <div class="form-text"><em>Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.</em></div>

                <h3 id="title" style="font-size: 27px; text-align: left;">Prijava</h3>

                <div>
                    {% with messages = get_flashed_messages() %}
                    {% if messages %}
                        <div>
                            {{ messages[0] }}
                        </div>
                    {% endif %}
                    {% endwith %}
                    <form method="POST" action="/solar/login">
                        <div>
                            <div>
                                <img src="/static/image/user.png" alt="user" style="float: left; width: 10%;"/>
                                <input  type="email" name="email" placeholder="Email" autofocus="" 
                                        style="float: right; width: 85%; margin-bottom: 20px; margin-top: 10px;">
                            </div>
                        </div>

                        <div>
                            <div>
                                <img src="/static/image/password.png" alt="user" style="float: left; width: 10%; margin-top: 20px;"/>
                                <input  type="password" name="password" placeholder="Geslo"
                                        style="float: right; width: 85%; margin-bottom: 20px; margin-top: 10px;">
                            </div>
                        </div>
                        <button class="button-general" style="margin-top: 30px; margin-bottom: 20px;">PRIJAVA</button>
                    </form>
                    <a href="/solar/forgotpass" class="contract-item-button">Pozabljeno geslo</a>
                    <a href="/solar/register" class="contract-item-button" 
                        style="-webkit-appearance: button;
                               -moz-appearance: button;
                               appearance: button;
                               margin-top: 80px;
                               text-decoration: none;
                               color: #46535b; 
                               width: 100%;"
                            ><img src="/static/image/register.png" alt="user" style="float: left; width: 15%; margin-right: 25px;"/>
                            Registracija<br><div style="font-size: 11px; margin-top: 10px;">Še nimate uporabniškega računa? Registrirajte se!</div></a>
                </div>
            </div>
        </div>
        <div id="rect2" class="mock-side">
        </div>
    </div>
</body>