<!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>SKINFT</title>
    <link rel='stylesheet' type='text/css' href='/public.css'>
    <link rel='stylesheet' type='text/css' href='/login.css'>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
    
    </script>
</head>

<body>
    <%- include('header', {
        user: locals.user
    }) %>
    <div id="bigContainer">
        <form method="post" action="/login">
            <table>
                <tr>
                    <th colspan="2">Login</th>
                </tr>
                <tr>
                    <td><label>Username</label></td>
                    <td><input type="text" id="username" name="username" required></td>
                </tr>
                <tr>
                    <td><label>Password</label></td>
                    <td><input type="password" id="password" name="password" required></td>
                </tr>
                <tr>
                    <td></td>
                    <td><button id="submit">Login</button></td>
                </tr>
                <tr>
                    <td colspan="2"><p id="error"><% if (locals.message) { %> <%= message %> <% } %></p></td>
                </tr>
            </table>
        </form>
    </div>
    <%- include('footer', {
        user: locals.user
    }) %>
</body>

</html>