[go: up one dir, main page]

Menu

[r9]: / mvc / correction_html.jsp  Maximize  Restore  History

Download this file

73 lines (67 with data), 2.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><%
//
// Copyright New Zealand Institute of Language, Brain and Behaviour,
// University of Canterbury
// Written by Robert Fromont - robert.fromont@canterbury.ac.nz
//
// This file is part of LaBB-CAT.
//
// LaBB-CAT is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// LaBB-CAT is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with LaBB-CAT; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
%><%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"
%><html>
<head>
<title> submit correction for ${ag.name}</title>
<link rel="stylesheet" href="${pageContext.servletContext.contextPath}/style.css" type="text/css" />
<link rel="stylesheet" href="${pageContext.servletContext.contextPath}/local.css" type="text/css"/>
<link href="favicon.ico" rel="SHORTCUT ICON" />
<script language="JavaScript">
<!-- Protection for non-JavaScript browsers
// Hide/Show block
function showHide(divID)
{
var divIDobj = document.getElementById(divID);
if (divIDobj.style.display == "none")
{
divIDobj.style.display = "";
}
else
{
divIDobj.style.display = "none";
}
}
// end of non-JavaScript browser protection -->
</script>
</head>
<body >"window.focus();" onblur_x="window.close();">
<h3 style="text-align: center;">submit correction for ${ag.name}</h3>
<c:if test="${!empty message}"><p class="message" style="text-align: center;">${message}</p></c:if>
<c:if test="${form}">
<h3>original text</h3>
<p>${fragment.fragmentText}</p>
<h3>suggested change</h3>
<form>
<input type="hidden" name="annotation_uid" value="${line.uid}">
<input type="hidden" name="command" value="correction">
<textarea name="correction" style="width: 100%; height: 40%;">${fragment.fragmentText}</textarea><br>
<input type="submit" value="submit" class="form_button">
</form>
</c:if><%--form--%>
<c:if test="${!empty result}">
<p class="message" style="text-align: center;">${result}</p>
<form><input type="button" >"window.close();" value="close" class="form_button"></form>
</c:if><%--result--%>
</body>
</html>