view flys-client/src/main/webapp/login.jsp @ 3829:e6186ab00553

Fix a NullPointerException When iterating over a list it must be checked if the reference to the list is valid. flys-client/trunk@5524 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 19 Sep 2012 13:14:46 +0000
parents 16c71457ed43
children a4c9296f6efa
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="/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