From 7052ea9fe30de6f910b1df42f28d773837370b6b Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Mon, 20 Sep 2010 15:40:58 +0200
Subject: [PATCH] HS-Theme, Tickets #1 und #8

---
 authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp |   96 +++++++++++++++--------------------------------
 1 files changed, 31 insertions(+), 65 deletions(-)

diff --git a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp
index 8abed75..0bad0b3 100644
--- a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp
+++ b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp
@@ -1,68 +1,34 @@
-<%--
-
-    Licensed to Jasig under one or more contributor license
-    agreements. See the NOTICE file distributed with this work
-    for additional information regarding copyright ownership.
-    Jasig licenses this file to you under the Apache License,
-    Version 2.0 (the "License"); you may not use this file
-    except in compliance with the License. You may obtain a
-    copy of the License at:
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on
-    an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied. See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
---%>
-
 <%@ page contentType="text/html; charset=UTF-8" %>
 <jsp:directive.include file="includes/top.jsp" />
-			<form:form method="post" id="fm1" cssClass="fm-v clearfix" commandName="${commandName}" htmlEscape="true">
-			    <form:errors path="*" cssClass="errors" id="status" element="div" />
-                <div class="box fl-panel" id="login">
-                <!-- <spring:message code="screen.welcome.welcome" /> -->
-                    <h2>Bitte geben Sie Ihren Benutzernamen und Ihr Passwort ein.</h2>
-                    <div class="row fl-controls-left">
-                        <label for="username" class="fl-label">Benutzername</label>
-						<c:if test="${not empty sessionScope.openIdLocalId}">
-						<strong>${sessionScope.openIdLocalId}</strong>
-						<input type="hidden" id="username" name="username" value="${sessionScope.openIdLocalId}" />
-						</c:if>
-
-						<c:if test="${empty sessionScope.openIdLocalId}">
-						<spring:message code="screen.welcome.label.netid.accesskey" var="userNameAccessKey" />
-						<form:input cssClass="required" cssErrorClass="error" id="username" size="25" tabindex="1" accesskey="${userNameAccessKey}" path="username" autocomplete="false" htmlEscape="true" />
-						</c:if>
-                    </div>
-                    <div class="row fl-controls-left">
-                        <label for="password" class="fl-label">Passwort</label>
-						<%--
-						NOTE: Certain browsers will offer the option of caching passwords for a user.  There is a non-standard attribute,
-						"autocomplete" that when set to "off" will tell certain browsers not to prompt to cache credentials.  For more
-						information, see the following web page:
-						http://www.geocities.com/technofundo/tech/web/ie_autocomplete.html
-						--%>
-						<spring:message code="screen.welcome.label.password.accesskey" var="passwordAccessKey" />
-						<form:password cssClass="required" cssErrorClass="error" id="password" size="25" tabindex="2" path="password"  accesskey="${passwordAccessKey}" htmlEscape="true" autocomplete="off" />
-                    </div>
-                    <div class="row check">
-                        <input id="warn" name="warn" value="true" tabindex="3" accesskey="<spring:message code="screen.welcome.label.warn.accesskey" />" type="checkbox" checked="checked" />
-                        <label for="warn"><spring:message code="screen.welcome.label.warn" /></label>
-                    </div>
-                    <div class="row btn-row">
-						<input type="hidden" name="lt" value="${flowExecutionKey}" />
-						<input type="hidden" name="_eventId" value="submit" />
-
-                        <input class="btn-submit" name="submit" accesskey="l" value="<spring:message code="screen.welcome.button.login" />" tabindex="4" type="submit" />
-                        <input class="btn-reset" name="reset" accesskey="c" value="<spring:message code="screen.welcome.button.clear" />" tabindex="5" type="reset" />
-                    </div>
-                </div>
-            </form:form>
-
-            <div id="sidebar">
-            </div>
+<form:form method="post" id="fm1" cssClass="fm-v clearfix" commandName="${commandName}" htmlEscape="true">
+	<form:errors path="*" cssClass="errors" id="status" element="div" />
+    <div class="box fl-panel" id="login">
+        <h2>Bitte geben Sie Ihren Benutzernamen und Ihr Passwort ein.</h2>
+        <div class="row fl-controls-left">
+            <label for="username" class="fl-label">Benutzername</label>
+			<c:if test="${not empty sessionScope.openIdLocalId}">
+				<strong>${sessionScope.openIdLocalId}</strong>
+				<input type="hidden" id="username" name="username" value="${sessionScope.openIdLocalId}" />
+			</c:if>
+			<c:if test="${empty sessionScope.openIdLocalId}">
+				<spring:message code="screen.welcome.label.netid.accesskey" var="userNameAccessKey" />
+				<form:input cssClass="required" cssErrorClass="error" id="username" size="25" tabindex="1" accesskey="${userNameAccessKey}" path="username" htmlEscape="true" />
+			</c:if>
+        </div>
+        <div class="row fl-controls-left">
+            <label for="password" class="fl-label">Passwort</label>
+			<spring:message code="screen.welcome.label.password.accesskey" var="passwordAccessKey" />
+			<form:password cssClass="required" cssErrorClass="error" id="password" size="25" tabindex="2" path="password"  accesskey="${passwordAccessKey}" htmlEscape="true" />
+        </div>
+        <div class="row btn-row">
+            <input id="warn" name="warn" value="true" type="hidden" />
+			<input type="hidden" name="lt" value="${flowExecutionKey}" />
+			<input type="hidden" name="_eventId" value="submit" />
+            <input class="btn-submit" name="submit" accesskey="l" value="<spring:message code="screen.welcome.button.login" />" tabindex="4" type="submit" />
+			<input class="btn-reset" name="reset" accesskey="c" value="<spring:message code="screen.welcome.button.clear" />" tabindex="5" type="reset" />
+        </div>
+    </div>
+</form:form>
+<div id="sidebar">
+</div>
 <jsp:directive.include file="includes/bottom.jsp" />

--
Gitblit v1.9.0-SNAPSHOT