ulrich
2020-12-27 5ef7f0b3dccf1ce5c4f4271a2eaec5158615253d
JSPs entfernt
2 files modified
1 files added
1 files deleted
2 files renamed
54 ■■■■■ changed files
web/WEB-INF/web.xml 4 ●●●● patch | view | raw | blame | history
web/login_error.html 14 ●●●●● patch | view | raw | blame | history
web/login_error.jsp 25 ●●●●● patch | view | raw | blame | history
web/login_form.html 6 ●●●● patch | view | raw | blame | history
web/logout.html 3 ●●●● patch | view | raw | blame | history
web/ui/js/app.js 2 ●●● patch | view | raw | blame | history
web/WEB-INF/web.xml
@@ -97,8 +97,8 @@
    <login-config>
        <auth-method>FORM</auth-method>
        <form-login-config>
            <form-login-page>/login_form.jsp</form-login-page>
            <form-error-page>/login_error.jsp</form-error-page>
            <form-login-page>/login_form.html</form-login-page>
            <form-error-page>/login_error.html</form-error-page>
        </form-login-config>
    </login-config>
    <security-role>
web/login_error.html
New file
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="/stile.css">
    <title>Fehler</title>
  </head>
  <body>
  <p>Hoppla! Die Anmeldung hat nicht geklappt.</p>
  <p><a href="/">..zur Startseite</a></p>
  </body>
</html>
web/login_error.jsp
File was deleted
web/login_form.html
File was renamed from web/login_form.jsp
@@ -1,4 +1,4 @@
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
  <head>
@@ -6,7 +6,7 @@
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalabe=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/stile.css">
    <link rel="stylesheet" type="text/css" href="/stile.css">
    <title>Anmeldung Nutzerverwaltung</title>
  </head>
  <body>
@@ -16,7 +16,7 @@
        <input  name="j_username" type="text" class="form-control" placeholder="Benutzerkennung" required autofocus>
        <input name="j_password" type="password" class="form-control" placeholder="Kennwort" required>
        <button class="btn btn-lg button-primary btn-block" type="submit">Senden</button>
        <p class="backlink"><a href="/">zurück zur Hauptseite</a></p>
        <p class="backlink"><a href="/">zur&uuml;ck zur Hauptseite</a></p>
      </form>
    </div>
  </body>
web/logout.html
File was renamed from web/logout.jsp
@@ -1,10 +1,9 @@
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/stile.css">
    <link rel="stylesheet" type="text/css" href="/stile.css">
    <title>Abgemeldet</title>
  </head>
  <body>
web/ui/js/app.js
@@ -353,7 +353,7 @@
    var u = '../pub' + m;
    self.http_get(u, function (resp) {
      //$('#userMenu').text('nicht angemeldet');
      window.location.href = '../logout.jsp';
      window.location.href = '../logout.html';
    });
  };