view gwt-client/src/main/webapp/login.jsp @ 8349:7341bebc79d0

Let injectors be strictly distinct from each other and give more meaningful names (they know what they do, not where they will be used. The latter is configuration).
author Tom Gottfried <tom@intevation.de>
date Wed, 01 Oct 2014 12:23:39 +0200
parents 5aa05a7a34b7
children
line wrap: on
line source
<!DOCTYPE html>
<html>
    <head>
        <title>FLYS - Login</title>
        <link href="FLYS.css" type="text/css" rel="stylesheet">
    </head>

    <body>
        <form method="POST" action="<%= request.getContextPath() + "/flys/login" %>" id="authentication">
            <h1>FLYS Anmeldung</h1>
            <% String error = request.getParameter("error"); %>
            <% if (error != null) { %>
                <div class="error">
                    <h2>Authentifizierung fehlgeschlagen</h2>
                    <div class="details">
                        <%= error %>
                    </div>
                </div>
            <% } %>
            <div>Bitte geben Sie eine Benutzerkennung und ein Passwort ein.</div>
            <table>
                <tr>
                    <td><label for="username">Benutzername: </label></td>
                    <td><input type="text" name="username" /></td>
                </tr>
                <tr>
                    <td><label for="password">Passwort: </label></td>
                    <td><input type="password" name="password" /></td>
                </tr>
            </table>
            <input type="submit" class="sendButton" value="Anmelden"/>
        </form>
    </body>
</html>

http://dive4elements.wald.intevation.org