From: Sasha Sherstnev Date: Mon, 28 Oct 2013 20:18:54 +0000 (+0000) Subject: Apply formatting to the JSP pages X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e8ed8d7185fe28ab4a8f9565cce9634bcbde3ced;p=proteocache.git Apply formatting to the JSP pages --- diff --git a/website/JobLength.jsp b/website/JobLength.jsp index a264db8..c64ec3c 100644 --- a/website/JobLength.jsp +++ b/website/JobLength.jsp @@ -1,7 +1,7 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> - <%@page import="java.util.Calendar"%> - + pageEncoding="UTF-8"%> +<%@page import="java.util.Calendar"%> + @@ -10,15 +10,19 @@
-

Enter time period

- <% Calendar cal = Calendar.getInstance(); - String datecalBegin = cal.get(Calendar.YEAR) + "/" + (cal.get(Calendar.MONTH) + 1) +"/1"; - String datecalEnd = cal.get(Calendar.YEAR) + "/" + (cal.get(Calendar.MONTH) + 1) + "/" + cal.get(Calendar.DAY_OF_MONTH); - %> -

from style=" width : 145px;"/> - to style=" width : 145px;"/>

- Query for all dates
- +

Enter time period

+ <% + Calendar cal = Calendar.getInstance(); + String datecalBegin = cal.get(Calendar.YEAR) + "/" + cal.get(Calendar.MONTH) + "/" + cal.get(Calendar.DAY_OF_MONTH); + String datecalEnd = cal.get(Calendar.YEAR) + "/" + (cal.get(Calendar.MONTH) + 1) + "/" + cal.get(Calendar.DAY_OF_MONTH); + %> +

+ from + style="width: 145px;" /> to style="width: 145px;" /> +

+ Query for + all dates
- \ No newline at end of file + diff --git a/website/ReportProt.jsp b/website/ReportProt.jsp index ad64ac1..ae06cf6 100644 --- a/website/ReportProt.jsp +++ b/website/ReportProt.jsp @@ -1,58 +1,69 @@ <%@page import="java.util.ArrayList"%> -<%@ page trimDirectiveWhitespaces="true" %> -<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> -<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> -<%@ taglib uri="http://displaytag.sf.net" prefix="dt" %> +<%@ page trimDirectiveWhitespaces="true"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> +<%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>

Dundee ProteoCache query result

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
Number of jobsProtein
${res.totalId}${res.prot}
IDPrediction
${res.id} - - -${seq} -${seq} - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Number of jobsProtein
${res.totalId}${res.prot} +
IDPrediction
${res.id} + + + + ${seq} + + ${seq} + + +
diff --git a/website/Sequence.jsp b/website/Sequence.jsp index 5ff90b6..1cbcfed 100644 --- a/website/Sequence.jsp +++ b/website/Sequence.jsp @@ -18,4 +18,4 @@ Sequence with more then 3 jobs
- \ No newline at end of file +