first-login.html 2.01 KB
<!DOCTYPE html>
<html>
<head>


    <title>K2CloudERP-2.5.1.27 Login</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">

    <style>
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .login-form {
            max-width: 600px;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .login-form h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .login-form .form-group {
            margin-bottom: 20px;
        }

        .login-form label {
            display: block;
            font-weight: bold;
        }

        .login-form input[type="text"],
        .login-form input[type="password"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .login-form .error {
            color: red;
        }

        .login-form button[type="submit"] {
            padding: 20px 20px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

    </style>
</head>
<body>
    <div class="login-form">
        <img class="logo" src="{{ url_for('static', filename='img/logo-k2.png')}}" alt="" width="250">
        <h1>K2CloudERP-2.5.1.27</h1>

        <form method="post" action="/first-login">
             <div class="form-group">
            <p><input type="text" name="username" placeholder="Ім'я користувача"></p>
                 </div>
            <div class="form-group">
            <p><input type="password" name="password" placeholder="Пароль"></p>
            </div>
             <button type="submit" class="btn btn-primary">ВХІД</button>
        </form>

    </div>

</body>
</html>