Strabon

changeset 1162:355ab4e7cf59

Made jsp pages consistent.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Thu May 09 18:42:32 2013 +0300 (2013-05-09)
parents 1f72d6d553bc
children 2be7757ab6b7
files endpoint/WebContent/connection.jsp endpoint/WebContent/describe.jsp endpoint/WebContent/query.jsp endpoint/WebContent/store.jsp
line diff
     1.1 --- a/endpoint/WebContent/connection.jsp	Wed May 08 19:18:23 2013 +0300
     1.2 +++ b/endpoint/WebContent/connection.jsp	Thu May 09 18:42:32 2013 +0300
     1.3 @@ -20,6 +20,18 @@
     1.4  				return true;
     1.5  			}
     1.6  		</script>
     1.7 +		
     1.8 +		<style type="text/css">
     1.9 +		/*demo page css*/
    1.10 +		body{ font: 90% "Trebuchet MS", sans-serif; margin: 50px;}
    1.11 +		.container { height:410px; width:165px;}
    1.12 +		.demoHeaders { margin-top: 1em;}
    1.13 +		#dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
    1.14 +		#dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
    1.15 +		ul#icons {margin: 0; padding: 0;}
    1.16 +		ul#icons li {margin: 1px; position: relative; padding: 1px 0; cursor: pointer; float: left;  list-style: none;}
    1.17 +		ul#icons span.ui-icon {float: left; margin: 0 1px;}
    1.18 +		</style>
    1.19  		<title>TELEIOS: Strabon Endpoint</title>
    1.20  	</head>
    1.21  <body topmargin="0" leftmargin="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
     2.1 --- a/endpoint/WebContent/describe.jsp	Wed May 08 19:18:23 2013 +0300
     2.2 +++ b/endpoint/WebContent/describe.jsp	Thu May 09 18:42:32 2013 +0300
     2.3 @@ -1,11 +1,17 @@
     2.4 +<%@page import="java.net.URLEncoder"%>
     2.5  <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
     2.6 +<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
     2.7 +<%@page import="org.springframework.web.context.WebApplicationContext"%>
     2.8 +<%@page import="eu.earthobservatory.org.StrabonEndpoint.StrabonBeanWrapper"%>
     2.9 +<%@page import="eu.earthobservatory.org.StrabonEndpoint.StrabonBeanWrapperConfiguration"%>
    2.10 +<%@page import="java.util.List"%>
    2.11 +<%@page import="java.util.Iterator"%>
    2.12  <jsp:directive.page import="eu.earthobservatory.org.StrabonEndpoint.Common"/>
    2.13  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    2.14  <html>
    2.15  	<head>
    2.16  		<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    2.17  		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    2.18 -		<title>TELEIOS: Strabon Endpoint</title>
    2.19  		<link rel="stylesheet" href="style.css" type="text/css"/> 
    2.20  		<script type="text/javascript">
    2.21  			function toggleMe(a) {
    2.22 @@ -42,6 +48,40 @@
    2.23  			selFormat = (String) request.getAttribute("format");
    2.24  			
    2.25  		}%>
    2.26 +		<!-- jQuery start  -->
    2.27 +		<link type="text/css" href="style-menu.css" rel="stylesheet" />
    2.28 +		<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
    2.29 +		<script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js"></script>
    2.30 +		<script type="text/javascript">
    2.31 +		$(function(){
    2.32 +				// Accordion
    2.33 +				$("#accordion").accordion({ 
    2.34 +					header: "h3",
    2.35 +					fillSpace: true,
    2.36 +					navigation: true,
    2.37 +					collapsible: true
    2.38 +				});
    2.39 +				//hover states on the static widgets
    2.40 +				$('#dialog_link, ul#icons li').hover(
    2.41 +					function() { $(this).addClass('ui-state-hover'); },
    2.42 +					function() { $(this).removeClass('ui-state-hover'); }
    2.43 +				);
    2.44 +		});
    2.45 +		</script>
    2.46 +		<style type="text/css">
    2.47 +		/*demo page css*/
    2.48 +		body{ font: 90% "Trebuchet MS", sans-serif; margin: 50px;}
    2.49 +		.container { height:410px; width:165px;}
    2.50 +		.demoHeaders { margin-top: 1em;}
    2.51 +		#dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
    2.52 +		#dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
    2.53 +		ul#icons {margin: 0; padding: 0;}
    2.54 +		ul#icons li {margin: 1px; position: relative; padding: 1px 0; cursor: pointer; float: left;  list-style: none;}
    2.55 +		ul#icons span.ui-icon {float: left; margin: 0 1px;}
    2.56 +	</style>
    2.57 +	
    2.58 +		<title>TELEIOS: Strabon Endpoint</title>
    2.59 +	
    2.60  	</head>
    2.61  <body topmargin="0" leftmargin="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
    2.62  
    2.63 @@ -52,41 +92,109 @@
    2.64  <FORM enctype="UTF-8" accept-charset="UTF-8" method="post" action="Describe">
    2.65  <INPUT type=hidden name="view" value="HTML"/>
    2.66  
    2.67 -<table border="0" width="100%"><tr> 
    2.68 -<td width="90" valign="top" class="style4"> 
    2.69 -<table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation"> 
    2.70 -<tr><td width="90" class="style4"><a href="query.jsp" class="navText">Query</a></td></tr> 
    2.71 -<tr><td width="90" class="style4"><a href="store.jsp" class="navText" title="Store triples">Store</a></td></tr> 
    2.72 +<table border="0" width="100%">
    2.73 +<tr> 
    2.74 +	<td width="90" valign="top"> 
    2.75 +		<table border="0" cellspacing="0" cellpadding="0" width="165">  
    2.76 +		<tr><td id="twidth">
    2.77 +		<div class="container">
    2.78 +		<div id="accordion">
    2.79 +		<%
    2.80 +							StrabonBeanWrapper strabonWrapper;
    2.81 +							ServletContext context;
    2.82 +							context = getServletContext();
    2.83 +							WebApplicationContext applicationContext = WebApplicationContextUtils.getWebApplicationContext(context);
    2.84 +							strabonWrapper=(StrabonBeanWrapper) applicationContext.getBean("strabonBean");
    2.85 +							Iterator <StrabonBeanWrapperConfiguration> entryListIterator = strabonWrapper.getEntries().iterator();
    2.86 +							boolean first = true;
    2.87 +							String hash = "";
    2.88 +							while(entryListIterator.hasNext())
    2.89 +							{
    2.90 +								StrabonBeanWrapperConfiguration entry = entryListIterator.next();
    2.91 +								
    2.92 +								if (entry.isHeader()) {
    2.93 +									if (!first) {
    2.94 +										%>
    2.95 +										</div></div>
    2.96 +										<%
    2.97 +									} else {
    2.98 +										first = false;
    2.99 +									}
   2.100 +									
   2.101 +									String label=entry.getLabel();
   2.102 +									String style = "", href = "";
   2.103 +									hash = new Integer(Math.abs(label.hashCode())).toString();
   2.104 +									href="href=\"#"+hash+"\"";									
   2.105 +									%>
   2.106 +									<div><h3><a <%=style%> <%=href%>><%=label%></a></h3><div>
   2.107 +									<%									
   2.108 +								} else if (entry.isBean()) {
   2.109 +									String label=entry.getLabel();
   2.110 +									String bean=entry.getBean();
   2.111 +									if(bean.equals("browse.jsp"))
   2.112 +										continue;
   2.113 +									String style = "", href = "";
   2.114 +									hash = new Integer(Math.abs(label.hashCode()*bean.hashCode())).toString();
   2.115 +									href = "\"" +bean + "#"+ hash+"\"";
   2.116 +									style = "class=\"navText\"";
   2.117 +									%>
   2.118 +									<b>&middot;</b>&nbsp;<a class="linkText" href=<%=href%>><%=label%></a><br/>
   2.119 +									<%
   2.120 +								} else {
   2.121 +									String href="\""+URLEncoder.encode(entry.getBean(),"utf-8")+"?view=HTML&handle="+entry.getHandle()+"&query="+URLEncoder.encode(entry.getStatement(),"utf-8")+"&format="+URLEncoder.encode(entry.getFormat(),"utf-8")+(hash == "" ? "" : "#" + hash)+"\"";
   2.122 +									String title="\""+entry.getTitle()+"\"";
   2.123 +									String label=entry.getLabel();
   2.124 +									%>
   2.125 +									<b>&middot;</b>&nbsp;<a class="linkText" href=<%=href%> title=<%=title%>><%=label%></a><br/>
   2.126 +									<%
   2.127 +			
   2.128 +								}
   2.129 +							}
   2.130 +		%>
   2.131 +		</div>
   2.132 +		</div>
   2.133 +	</td>
   2.134 +</tr>
   2.135 +<!-- 
   2.136 +<tr><td width="90" class="style4"><a href="describe.jsp" class="navText">Describe</a></td></tr>
   2.137 +<tr><td width="90" class="style4"><a href="store.jsp" class="navText" title="Store triples">Store</a></td></tr>
   2.138 + --> 
   2.139  </table>
   2.140 -</td>
   2.141 +	</td>
   2.142  <td width="*" valign="top">
   2.143  <table cellspacing="5">
   2.144  <tr>
   2.145 -<td id="output">stSPARQL Query:</td>
   2.146 +<td id="output" style="width: 150px">stSPARQL Query:</td>
   2.147  <td id="output"><textarea name="query" title="pose your DESCRIBE query here" rows="15" cols="100">
   2.148  <%=request.getParameter("query") != null ? request.getParameter("query"):""%></textarea></td>
   2.149  </tr>
   2.150  <tr>
   2.151 -<td id="output"><center>Output Format:<br/>
   2.152 +<td id="output">Output Format:</td>
   2.153 +<td id="output">
   2.154  <SELECT name="format" title="select one of the following RDF graph format types">
   2.155  	<% for (String format : Common.registeredFormats) {%>
   2.156  		<OPTION value="<%=format%>"<%=format.equals(selFormat) ? "selected":""%>><%=format%></OPTION>
   2.157  	<%}%>
   2.158 -</SELECT></center></td>
   2.159 -<td colspan=2><br/>
   2.160 -<center>
   2.161 -	<input type="submit" title="execute DESCRIBE query" value="Describe" name="submit" style="width: 400px"/><br/>
   2.162 -</center><br/></td>
   2.163 +</SELECT>
   2.164 +</td>
   2.165  </tr>
   2.166  <tr>
   2.167 -<td id="output"><center>View Result:<br/>
   2.168 +<td id="output">View Result:</td>
   2.169 +<td id="output">
   2.170  	<SELECT name="handle" title="select how you would like to view the result">
   2.171  		<OPTION value="plain"<%= ("plain".equals(handle)) ? "selected":""%>>Plain</OPTION>
   2.172  		<OPTION value="download"<%= ("download".equals(handle)) ? "selected":""%>>Download</OPTION>		
   2.173 -	</SELECT></center>
   2.174 -	</td>
   2.175 -	<td colspan=2>&nbsp;</td>	
   2.176 +	</SELECT>
   2.177 +</td>
   2.178  </tr>
   2.179 +<tr>
   2.180 +<td colspan=2 id="output"><br/>
   2.181 +<center>
   2.182 +	<input type="submit" title="execute DESCRIBE query" value="Describe" name="submit" style="width: 350px"/>
   2.183 +</center><br/>
   2.184 +</td>
   2.185 +</tr>
   2.186 +
   2.187  
   2.188  
   2.189  <% if (request.getAttribute("error") != null) {%>
   2.190 @@ -98,13 +206,14 @@
   2.191  <%}%>
   2.192  
   2.193  
   2.194 -</table></td></tr></table><br/><br/>
   2.195 +</table></td></tr>
   2.196  
   2.197  <% if (request.getAttribute("response") != null) {%>
   2.198  	<!-- Response -->
   2.199 -	<PRE><%=request.getAttribute("response") %></PRE>
   2.200 +	<tr><%=request.getAttribute("response") %></tr>
   2.201  	<!-- Response -->
   2.202  <%}%>
   2.203 +</table>
   2.204  </form>
   2.205  </body>
   2.206  </html>
   2.207 \ No newline at end of file
     3.1 --- a/endpoint/WebContent/query.jsp	Wed May 08 19:18:23 2013 +0300
     3.2 +++ b/endpoint/WebContent/query.jsp	Thu May 09 18:42:32 2013 +0300
     3.3 @@ -242,6 +242,9 @@
     3.4  								} else if (entry.isBean()) {
     3.5  									String label=entry.getLabel();
     3.6  									String bean=entry.getBean();
     3.7 +									if(bean.equals("browse.jsp"))
     3.8 +										continue;
     3.9 +									System.out.println(bean);
    3.10  									String style = "", href = "";
    3.11  									hash = new Integer(Math.abs(label.hashCode()*bean.hashCode())).toString();
    3.12  									href = "\"" +bean + "#"+ hash+"\"";
    3.13 @@ -280,37 +283,45 @@
    3.14  	<!-- Info Message -->
    3.15  <%}%>
    3.16  <tr>
    3.17 -<td id="output">stSPARQL Query:</td>
    3.18 -<td id="output">
    3.19 -	<div style="font-size:13px"> 
    3.20 -		You must be logged in to perform update queries.
    3.21 -	</div>
    3.22 -	<textarea name="query" title="pose your query/update here" rows="15" cols="100"><%=query%></textarea></td>
    3.23 +	<td id="output" colspan=2>
    3.24 +		<div style="font-size:13px"> 
    3.25 +			You must be logged in to perform update queries.
    3.26 +		</div>
    3.27 +	</td>
    3.28  </tr>
    3.29  <tr>
    3.30 -	<td id="output"><center>Output Format:<br/>
    3.31 +<td id="output" style="width: 150px">stSPARQL Query:</td>
    3.32 +<td id="output"><textarea name="query" title="pose your query/update here" rows="20" cols="100"><%=query%></textarea></td>
    3.33 +</tr>
    3.34 +<tr>
    3.35 +	<td id="output">Output Format:</td>
    3.36 +	<td id="output">
    3.37  		<select name="format" title="select one of the following output format types">
    3.38  		<% 
    3.39  		for (String format : Common.registeredQueryResultsFormatNames) {%>
    3.40  				<OPTION value="<%=format%>"<%=format.equals(selFormat) ? "selected":""%>><%=format%></OPTION>
    3.41  		<%}%>
    3.42 -		</select></center>
    3.43 +		</select>
    3.44  	</td>
    3.45 -<td colspan=2><br/><center>
    3.46 -<input type="submit" title="execute query" value="Query" name="submit" /><br/>
    3.47 -<input type="submit" title="execute update" value="Update" name="submit" style="width: 400px"/></center><br/></td>
    3.48  </tr>
    3.49  <tr>
    3.50 -	<td id="output"><center>View Result:<br/>
    3.51 +	<td id="output">View Result:</td>
    3.52 +	<td id="output">
    3.53  	<SELECT name="handle" title="select how you would like to view the result">
    3.54  		<OPTION value="plain"<%= ("plain".equals(handle)) ? "selected":""%>>Plain</OPTION>
    3.55  		<OPTION value="download"<%= ("download".equals(handle)) ? "selected":""%>>Download</OPTION>
    3.56  		<OPTION value="map"<%= ("map".equals(handle)) ? "selected":""%>>On a map</OPTION>
    3.57  		<OPTION value="map_local"<%= ("map_local".equals(handle)) ? "selected":""%>>On a map (localhost)</OPTION>
    3.58 -	</SELECT></center>
    3.59 +	</SELECT>
    3.60  	</td>
    3.61 -	<td colspan=2>&nbsp;</td>
    3.62  </tr>
    3.63 +
    3.64 +<tr>	
    3.65 +<td colspan=2 id="output"><br/><center>
    3.66 +<input type="submit" title="execute query" value="Query" name="submit" style="width: 350px" />
    3.67 +<input type="submit" title="execute update" value="Update" name="submit" style="width: 350px"/></center><br/></td>
    3.68 +</tr>
    3.69 +
    3.70  <% if (request.getAttribute("error") != null) {%>
    3.71  	<!-- Error Message -->
    3.72  	<TR>
     4.1 --- a/endpoint/WebContent/store.jsp	Wed May 08 19:18:23 2013 +0300
     4.2 +++ b/endpoint/WebContent/store.jsp	Thu May 09 18:42:32 2013 +0300
     4.3 @@ -1,4 +1,11 @@
     4.4 -<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"/>
     4.5 +<%@page import="java.net.URLEncoder"%>
     4.6 +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
     4.7 +<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
     4.8 +<%@page import="org.springframework.web.context.WebApplicationContext"%>
     4.9 +<%@page import="eu.earthobservatory.org.StrabonEndpoint.StrabonBeanWrapper"%>
    4.10 +<%@page import="eu.earthobservatory.org.StrabonEndpoint.StrabonBeanWrapperConfiguration"%>
    4.11 +<%@page import="java.util.List"%>
    4.12 +<%@page import="java.util.Iterator"%>
    4.13  <jsp:directive.page import="eu.earthobservatory.org.StrabonEndpoint.Common"/>
    4.14  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    4.15  <html>
    4.16 @@ -20,6 +27,37 @@
    4.17  				return true;
    4.18  			}
    4.19  		</script>
    4.20 +		<!-- jQuery start  -->
    4.21 +		<link type="text/css" href="style-menu.css" rel="stylesheet" />
    4.22 +		<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
    4.23 +		<script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js"></script>
    4.24 +		<script type="text/javascript">
    4.25 +		$(function(){
    4.26 +				// Accordion
    4.27 +				$("#accordion").accordion({ 
    4.28 +					header: "h3",
    4.29 +					fillSpace: true,
    4.30 +					navigation: true,
    4.31 +					collapsible: true
    4.32 +				});
    4.33 +				//hover states on the static widgets
    4.34 +				$('#dialog_link, ul#icons li').hover(
    4.35 +					function() { $(this).addClass('ui-state-hover'); },
    4.36 +					function() { $(this).removeClass('ui-state-hover'); }
    4.37 +				);
    4.38 +		});
    4.39 +		</script>
    4.40 +		<style type="text/css">
    4.41 +		/*demo page css*/
    4.42 +		body{ font: 90% "Trebuchet MS", sans-serif; margin: 50px;}
    4.43 +		.container { height:410px; width:165px;}
    4.44 +		.demoHeaders { margin-top: 1em;}
    4.45 +		#dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
    4.46 +		#dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
    4.47 +		ul#icons {margin: 0; padding: 0;}
    4.48 +		ul#icons li {margin: 1px; position: relative; padding: 1px 0; cursor: pointer; float: left;  list-style: none;}
    4.49 +		ul#icons span.ui-icon {float: left; margin: 0 1px;}
    4.50 +	</style>
    4.51  		<title>TELEIOS: Strabon Endpoint</title>
    4.52  	</head>
    4.53  <body topmargin="0" leftmargin="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
    4.54 @@ -33,13 +71,74 @@
    4.55  
    4.56  <TABLE border="0" width="100%">
    4.57  <TR> 
    4.58 -	<TD width="90" valign="top" class="style4"> 
    4.59 -		<TABLE border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
    4.60 -			<TR><TD width="90" class="style4"><a href="query.jsp" class="navText">Query</A></TD></TR> 
    4.61 -			<TR><TD width="90" class="style4"><a href="describe.jsp" class="navText">Describe</A></TD></TR>
    4.62 -		</TABLE>
    4.63 -	</TD>
    4.64 -	<td width="*" valign="top" class="style4">
    4.65 +	<td width="90" valign="top"> 
    4.66 +		<table border="0" cellspacing="0" cellpadding="0" width="165">  
    4.67 +		<tr><td id="twidth">
    4.68 +		<div class="container">
    4.69 +		<div id="accordion">
    4.70 +		<%
    4.71 +							StrabonBeanWrapper strabonWrapper;
    4.72 +							ServletContext context;
    4.73 +							context = getServletContext();
    4.74 +							WebApplicationContext applicationContext = WebApplicationContextUtils.getWebApplicationContext(context);
    4.75 +							strabonWrapper=(StrabonBeanWrapper) applicationContext.getBean("strabonBean");
    4.76 +							Iterator <StrabonBeanWrapperConfiguration> entryListIterator = strabonWrapper.getEntries().iterator();
    4.77 +							boolean first = true;
    4.78 +							String hash = "";
    4.79 +							while(entryListIterator.hasNext())
    4.80 +							{
    4.81 +								StrabonBeanWrapperConfiguration entry = entryListIterator.next();
    4.82 +								
    4.83 +								if (entry.isHeader()) {
    4.84 +									if (!first) {
    4.85 +										%>
    4.86 +										</div></div>
    4.87 +										<%
    4.88 +									} else {
    4.89 +										first = false;
    4.90 +									}
    4.91 +									
    4.92 +									String label=entry.getLabel();
    4.93 +									String style = "", href = "";
    4.94 +									hash = new Integer(Math.abs(label.hashCode())).toString();
    4.95 +									href="href=\"#"+hash+"\"";									
    4.96 +									%>
    4.97 +									<div><h3><a <%=style%> <%=href%>><%=label%></a></h3><div>
    4.98 +									<%									
    4.99 +								} else if (entry.isBean()) {
   4.100 +									String label=entry.getLabel();
   4.101 +									String bean=entry.getBean();
   4.102 +									if(bean.equals("browse.jsp"))
   4.103 +										continue;
   4.104 +									String style = "", href = "";
   4.105 +									hash = new Integer(Math.abs(label.hashCode()*bean.hashCode())).toString();
   4.106 +									href = "\"" +bean + "#"+ hash+"\"";
   4.107 +									style = "class=\"navText\"";
   4.108 +									%>
   4.109 +									<b>&middot;</b>&nbsp;<a class="linkText" href=<%=href%>><%=label%></a><br/>
   4.110 +									<%
   4.111 +								} else {
   4.112 +									String href="\""+URLEncoder.encode(entry.getBean(),"utf-8")+"?view=HTML&handle="+entry.getHandle()+"&query="+URLEncoder.encode(entry.getStatement(),"utf-8")+"&format="+URLEncoder.encode(entry.getFormat(),"utf-8")+(hash == "" ? "" : "#" + hash)+"\"";
   4.113 +									String title="\""+entry.getTitle()+"\"";
   4.114 +									String label=entry.getLabel();
   4.115 +									%>
   4.116 +									<b>&middot;</b>&nbsp;<a class="linkText" href=<%=href%> title=<%=title%>><%=label%></a><br/>
   4.117 +									<%
   4.118 +			
   4.119 +								}
   4.120 +							}
   4.121 +		%>
   4.122 +		</div>
   4.123 +		</div>
   4.124 +	</td>
   4.125 +</tr>
   4.126 +<!-- 
   4.127 +<tr><td width="90" class="style4"><a href="describe.jsp" class="navText">Describe</a></td></tr>
   4.128 +<tr><td width="90" class="style4"><a href="store.jsp" class="navText" title="Store triples">Store</a></td></tr>
   4.129 + --> 
   4.130 +</table>
   4.131 +</td>
   4.132 +	<td width="*" valign="top">
   4.133  		<TABLE cellspacing="5">
   4.134  
   4.135  <% if (request.getAttribute("error") != null) {%>
   4.136 @@ -66,7 +165,7 @@
   4.137  	</tr>
   4.138  	<tr>
   4.139  		<!--  direct input form -->
   4.140 -		<td id="output">Graph:</td>
   4.141 +		<td id="output"  style="width: 150px">Graph:</td>
   4.142  		<td id="output">
   4.143  			<textarea name="graph" title="URI of the named graph to store the input" rows="1" cols="100"></textarea>
   4.144  		</td>
   4.145 @@ -96,7 +195,7 @@
   4.146  	<tr>
   4.147  		<td colspan=2 id="output"><br/>
   4.148  		<CENTER>
   4.149 -			<input type="submit" value="Store Input" name="dsubmit" style="width: 400px"/>
   4.150 +			<input type="submit" value="Store Input" name="dsubmit" style="width: 350px"/>
   4.151  		</CENTER><br/>
   4.152  		</td>
   4.153  	</tr>
   4.154 @@ -111,7 +210,7 @@
   4.155  	<tr>
   4.156  		<td colspan=2 id="output"><br/>
   4.157  			<CENTER>
   4.158 -				<INPUT type="submit" value="Store from URI" name="fromurl" style="width: 400px"/>
   4.159 +				<INPUT type="submit" value="Store from URI" name="fromurl" style="width: 350px"/>
   4.160  			</CENTER><br/>
   4.161  		</td>
   4.162  	</tr>
   4.163 @@ -121,6 +220,5 @@
   4.164  </tr>
   4.165  </TABLE>
   4.166  </FORM>
   4.167 -<br/><br/><br/><br/><br/>
   4.168  </BODY>
   4.169  </HTML>
   4.170 \ No newline at end of file