Anoop's major update. Everything has changed location.

This commit is contained in:
amontano 2005-02-21 07:05:01 +00:00
parent 6251b6c670
commit e7cda89908
12 changed files with 2109 additions and 0 deletions

15
webroot/index.jsp Normal file
View file

@ -0,0 +1,15 @@
<%@ page buffer="12kb" autoFlush="true" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
<jsp:include page="jsp/header.jsf" />
<%-- <div id="label">THDL Tibetan Collaborative Dictionaries Home Page</div><!--END label-->
<div id="message">Last Updated:October 18, 2003</div><!--END message--> --%>
<div id="columnSingle">
<h2>Dictionary Welcome Page</h2>
<p>
<jsp:include page="jsp/navLinks.jsf" />
</p>
</div><!--END columnSingle-->
<jsp:include page="jsp/footer.jsf" />

36
webroot/login.jsp Normal file
View file

@ -0,0 +1,36 @@
<%@ page buffer="512kb" autoFlush="false" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<jsp:include page="jsp/header.jsf" flush="false" />
<div id="label">
Please login to use the THDL Tibetan Collaborative Dictionaries
</div><!--END label-->
<div id="message">Message</div><!--END Message-->
<div id="columnSingle">
<div class="content">
<c:if test="${ ! empty param.retry }">
<p style="color:red"> Invalid username/password combination.</p>
<c:set var="usernameValue" value="${ param.username }" />
</c:if>
<form id='loginForm' action='/lex/login' method="post">
<p>
Username: <c:out value="<input type='text' name='username' size='16' value='${ usernameValue }'>" escapeXml="false" />
<br />
Password: <input type='password' name='password' size='20' value=''>
<br />
<input type='submit' value='Log in'>
</p>
</form>
<form action='/lex/public' method="post">
<p>
If you would just like to browse the dictionary without contributing please proceed here.
<input type="submit" value="Proceed" />
</p>
</form>
</div><!--END content-->
</div><!--END columnSingle-->
<jsp:include page="jsp/footer.jsf" flush="false" />

23
webroot/logout.jsp Normal file
View file

@ -0,0 +1,23 @@
<%@ page buffer="512kb" autoFlush="false" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<jsp:include page="jsp/header.jsf" flush="false" />
<div id="columns">
<div id="columnSingle">
<div class="label">
Log out of THDL Tibetan Collaborative Dictionaries</div>
<div class="content">
<p>
Log out account <b><c:out value="${ sessionScope.visit.user.username }" /></b>
</p>
<form action='<%= response.encodeURL( request.getContextPath() + "/logout" )%>' method="post">
<input type="submit" value="Log out">
</form>
</div>
</div>
</div>
<jsp:include page="jsp/footer.jsf" flush="false" />