Changeset 239

Show
Ignore:
Timestamp:
12/31/07 13:43:02 (1 year ago)
Author:
chris
Message:

Update JSPs to use new header2.jsp.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lex/trunk/jsp/dump.jsp

    r196 r239  
    1 <% 
    2         response.setContentType("text/html; charset=UTF-8"); 
    3 %> 
     1<% String pageTitle = "Emdros Database Dump"; %> 
     2<%@ include file="header2.jsp" %> 
     3 
    44<%@ page import="java.util.Enumeration" %> 
    55<%@ page import="java.util.Hashtable" %> 
     
    1212<%@ page import="com.qwirx.db.sql.*" %> 
    1313<%@ page import="com.qwirx.lex.emdros.*" %> 
    14 <html> 
    15 <head> 
    16         <title>Lex: Emdros Data Dump</title> 
    17         <link rel="stylesheet" href="style.css" /> 
    18         <style> 
    19                 div.topmenu a.dump_jsp <%@ include file="hilite.inc" %> 
    20         </style> 
    21 </head> 
    22 <body> 
    2314         
    24 <%@ include file="header.jsp" %> 
    25  
    2615<%@ include file="auth.jsp" %> 
    2716 
  • lex/trunk/jsp/error.jsp

    r159 r239  
     1<% String pageTitle = "Error"; %> 
     2<%@ include file="header2.jsp" %> 
     3 
    14<%@ page import="java.io.PrintWriter" %> 
    25<%@ page import="java.io.StringWriter" %> 
    3 <html> 
    4 <head> 
    5 <title>Lex: Error</title> 
    6 <body> 
    7 <h1>Lex: Error</h1> 
    8 <p> 
    9 <a href="http://lex.qwirx.com/lex/"><b>Lex</b></a> |  
    10 <a href="clause.jsp">Clause Editor</a> |  
    11 <a href="lsedit.jsp">Logical Structure Editor</a> 
    12 </p> 
     6 
    137<p> 
    148Sorry, you found a bug in Lex. Please report it  
    159to the author by sending an email to Chris Wilson at 
    16 <a href="mailto:lex_error@qwirx.com">lex_error@qwirx.com</a>. 
     10<a href="mailto:chris-lexerror@qwirx.com">chris-lexerror@qwirx.com</a>. 
    1711</p> 
     12 
    1813<p><% 
    1914        Throwable exception = (Throwable)( 
  • lex/trunk/jsp/index.jsp

    r159 r239  
    1 <html> 
    2 <head> 
    3         <title>Lex: Home Page</title> 
    4         <link rel="stylesheet" href="style.css"/> 
    5         <style> 
    6                 div.topmenu a.index_jsp <%@ include file="hilite.inc" %> 
    7         </style> 
    8 </head> 
    9 <body> 
    10  
    11 <%@ include file="header.jsp" %> 
     1<% String pageTitle = "Home Page"; %> 
     2<%@ include file="header2.jsp" %> 
    123 
    134<p>You should really start at the <a href="clause.jsp">text browser</a>.</p> 
  • lex/trunk/jsp/lsedit.jsp

    r159 r239  
     1<% String pageTitle = "Edit Logical Structure"; %> 
     2<%@ include file="header2.jsp" %> 
     3 
    14<%@ page import="java.util.Collections" %> 
    25<%@ page import="java.util.Map" %> 
     
    1518<%@ page import="com.qwirx.lex.lexicon.*" %> 
    1619<%@ page import="com.qwirx.lex.lexicon.Lexeme.Variable" %> 
    17 <html> 
    18 <head> 
    19 <title>Lex: Edit Logical Structure</title> 
    20 <link rel="stylesheet" href="style.css"/> 
     20 
    2121<style> 
    2222        h4 { margin-top: 8pt; margin-bottom: 0pt; } 
     
    2424        td { vertical-align: top; } 
    2525</style> 
    26 </head> 
    27 <body> 
    28  
    29 <%@ include file="header.jsp" %> 
     26 
    3027<%@ include file="auth.jsp" %> 
    3128 
  • lex/trunk/jsp/parse.jsp

    r211 r239  
     1<% String pageTitle = "Parser Testing"; %> 
     2<%@ include file="header2.jsp" %> 
     3 
    14<%@ page import="java.util.*" %> 
    25<%@ page import="com.qwirx.lex.ontology.*" %> 
     
    58<%@ page import="com.qwirx.lex.morph.*" %> 
    69 
    7 <html> 
    8 <head> 
    9         <title>Lex: Parser Testing</title> 
    10         <link rel="stylesheet" href="style.css"/> 
    11         <style> 
    12                 div.topmenu a.parse_jsp <%@ include file="hilite.inc" %> 
    13                 .hilite   { background-color: #fdd; } 
    14                 .selected { background-color: #fee; } 
    15                 .cb { float: right; } 
    16         </style> 
    17 </head> 
    18          
    1910<script language="javascript"> 
    2011<!-- 
     
    240231</script> 
    241232         
    242 <body> 
    243  
    244 <%@ include file="header.jsp" %> 
    245233<%@ include file="auth.jsp" %> 
     234 
    246235<%@ include file="navclause.jsp" %> 
    247236 
  • lex/trunk/jsp/rules.jsp

    r159 r239  
     1<% String pageTitle = "Parser Rules"; %> 
     2<%@ include file="header2.jsp" %> 
     3 
    14<%@ page import="java.util.*" %> 
    25<%@ page import="java.sql.ResultSet" %> 
     
    69<%@ page import="com.qwirx.lex.morph.*" %> 
    710 
    8 <html> 
    9 <head> 
    10         <title>Lex: Parser Rules</title> 
    11         <link rel="stylesheet" href="style.css"/> 
    12         <style> 
    13                 div.topmenu a.rules_jsp <%@ include file="hilite.inc" %> 
    14                 .hilite   { background-color: #fdd; } 
    15                 .selected { background-color: #fee; } 
    16                 .cb { float: right; } 
    17         </style> 
    18          
    1911<script language="javascript"> 
    2012<!-- 
     
    2820</script> 
    2921 
    30 </head> 
    31 <body> 
    32  
    33 <%@ include file="header.jsp" %> 
    3422<%@ include file="auth.jsp" %> 
    3523 
  • lex/trunk/jsp/search.jsp

    r237 r239  
    11<% String pageTitle = "Search"; %> 
    22<%@ include file="header2.jsp" %> 
     3 
    34<%@ page import="java.util.*" %> 
    45<%@ page import="com.qwirx.lex.Search" %> 
     
    118119                                %> 
    119120                                <div class="errormsg"> 
    120                                 <%= exception.getCause().getMessage() %> 
     121                                <%= exception.getCause().getMessage() 
     122                                        .replaceAll("\n(.)", ": $1") %> 
    121123                                </div> 
    122124                                <% 
  • lex/trunk/jsp/style.css

    r237 r239  
    101101        color: red; 
    102102} 
     103 
     104.hilite 
     105{ 
     106        background-color: #fdd; 
     107} 
     108 
     109.selected 
     110{ 
     111        background-color: #fee; 
     112} 
     113 
     114.cb 
     115{ 
     116        float: right; 
     117}