<%-- 
    Document   : heqder
    Created on : 26 juin 2022, 18:37:00
    Author     : flifloo
--%>

<header>
    <nav style="display: flex; flex-direction: row; justify-content: space-between">
        <div style="display: flex; flex-direction: row">
            <p>Welcome ${user.login}</p>
            <form name="form"  method="POST">
                <input type="submit" formaction="menu.htm" value="Home"  />
            </form>
        </div>
        <div style="display: flex; flex-direction: row; justify-content: flex-end">
            <form name="form"  method="POST">
                <input type="submit" formaction="logout.htm" value="Log out"  />

                <input type="text" name="query" />
                <input hidden type="text" name="type" value="customer" />
                <input type="submit" formaction="find.htm" value="Search user"  />
            </form>
        </div>
    </nav>
</header>