<!-- index.html -->
<!-- CONVERTED TO RUN WITH FLASK, RUN IT FROM EXEC_ALL.PY  -->
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Login Page</title>
        <!--<link rel="stylesheet" href="style.css">-->
        <link rel="stylesheet" href="{{url_for('serve_css_style')}}"  type="text/css">
    </head>
    <body>

        <div class="container">
        <h2>Login</h2>
	    {% if error %}
                <p style="color: red;">{{ error }}</p>
       	    {% endif %}
            <form action="/login" method="post">
                <div class="input-group">
                    <label for="username">Username:</label>
                    <input type="text" id="username" name="username" required><br><br>
                </div>
                <div class="input-group">
                    <label for="password">Password:</label>
                    <input type="password" id="password" name="password" required><br><br>
                </div>
                <button class="btn" type="submit">Login</button>
            </form>

            <div id="login-details">
                <p class="user">Login details:</p>
                <p class="user"> Username: admin    Password: qwerty</p>
                <p class="user"> Username: test     Password: password</p>
            </div>

        </div>
    </body>
</html>
