| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<!-- |
| 3 |
Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, |
| 4 |
and the EPL 1.0 (https://h2database.com/html/license.html). |
| 5 |
Initial Developer: H2 Group |
| 6 |
--> |
| 7 |
<html><head> |
| 8 |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
| 9 |
<meta name="viewport" content="width=device-width, initial-scale=0.9" /> |
| 10 |
<title>${text.a.title}</title> |
| 11 |
<link rel="stylesheet" type="text/css" href="stylesheet.css" /> |
| 12 |
</head> |
| 13 |
<body style="margin: 20px"> |
| 14 |
<h1> |
| 15 |
${text.adminTitle} |
| 16 |
</h1> |
| 17 |
<p> |
| 18 |
<a href="logout.do?jsessionid=${sessionId}">${text.adminLogout}</a> |
| 19 |
</p> |
| 20 |
<hr /> |
| 21 |
<form name="admin" method="post" action="adminSave.do?jsessionid=${sessionId}"> |
| 22 |
<h3> |
| 23 |
${text.adminAllow} |
| 24 |
</h3> |
| 25 |
<p> |
| 26 |
<c:if test="allowOthers=='false'"> |
| 27 |
<input type="radio" name="allowOthers" value="false" checked="checked" /> |
| 28 |
</c:if> |
| 29 |
<c:if test="allowOthers=='true'"> |
| 30 |
<input type="radio" name="allowOthers" value="false" /> |
| 31 |
</c:if> |
| 32 |
${text.adminLocal}<br /> |
| 33 |
|
| 34 |
<c:if test="allowOthers=='true'"> |
| 35 |
<input type="radio" name="allowOthers" value="true" checked="checked" /> |
| 36 |
</c:if> |
| 37 |
<c:if test="allowOthers=='false'"> |
| 38 |
<input type="radio" name="allowOthers" value="true" /> |
| 39 |
</c:if> |
| 40 |
${text.adminOthers}<br /> |
| 41 |
</p> |
| 42 |
<p> |
| 43 |
${text.adminWebExternalNames}:<br/> |
| 44 |
<input type="text" name="webExternalNames" value="${webExternalNames}" style="width: 320px"/> |
| 45 |
</p> |
| 46 |
<h3> |
| 47 |
${text.adminConnection} |
| 48 |
</h3> |
| 49 |
<p> |
| 50 |
<c:if test="ssl=='false'"> |
| 51 |
<input type="radio" name="ssl" value="false" checked="checked" /> |
| 52 |
</c:if> |
| 53 |
<c:if test="ssl=='true'"> |
| 54 |
<input type="radio" name="ssl" value="false" /> |
| 55 |
</c:if> |
| 56 |
${text.adminHttp}<br /> |
| 57 |
|
| 58 |
<c:if test="ssl=='true'"> |
| 59 |
<input type="radio" name="ssl" value="true" checked="checked" /> |
| 60 |
</c:if> |
| 61 |
<c:if test="ssl=='false'"> |
| 62 |
<input type="radio" name="ssl" value="true" /> |
| 63 |
</c:if> |
| 64 |
${text.adminHttps}<br /> |
| 65 |
</p> |
| 66 |
<h3> |
| 67 |
${text.adminPort} |
| 68 |
</h3> |
| 69 |
<p> |
| 70 |
${text.adminPortWeb}: <input type="text" name="port" value="${port}" /> |
| 71 |
</p> |
| 72 |
<hr /> |
| 73 |
<p> |
| 74 |
<input type="submit" class="button" value="${text.adminSave}" /> |
| 75 |
</p> |
| 76 |
<p> |
| 77 |
${text.adminRestart} |
| 78 |
</p> |
| 79 |
</form> |
| 80 |
<hr /> |
| 81 |
<p> |
| 82 |
<form name="translate" method="post" action="adminStartTranslate.do?jsessionid=${sessionId}"> |
| 83 |
<input type="submit" class="button" value="${text.adminTranslateStart}" /> |
| 84 |
</form> |
| 85 |
</p> |
| 86 |
<p> |
| 87 |
${text.adminTranslateHelp} |
| 88 |
</p> |
| 89 |
<hr /> |
| 90 |
<h3> |
| 91 |
${text.adminSessions} |
| 92 |
</h3> |
| 93 |
<table> |
| 94 |
<tr> |
| 95 |
<th>${text.admin.ip}</th> |
| 96 |
<th>${text.admin.url}</th> |
| 97 |
<th>${text.a.user}</th> |
| 98 |
<th>${text.admin.executing}</th> |
| 99 |
<th>${text.admin.lastAccess}</th> |
| 100 |
<th>${text.admin.lastQuery}</th> |
| 101 |
</tr> |
| 102 |
<c:forEach var="item" items="sessions"> |
| 103 |
<tr> |
| 104 |
<td> |
| 105 |
${item.ip} |
| 106 |
</td> |
| 107 |
<td> |
| 108 |
${item.url} |
| 109 |
</td> |
| 110 |
<td> |
| 111 |
${item.user} |
| 112 |
</td> |
| 113 |
<td> |
| 114 |
${item.executing} |
| 115 |
</td> |
| 116 |
<td> |
| 117 |
${item.lastAccess} |
| 118 |
</td> |
| 119 |
<td> |
| 120 |
${item.lastQuery} |
| 121 |
</td> |
| 122 |
</tr> |
| 123 |
</c:forEach> |
| 124 |
</table> |
| 125 |
<br /> |
| 126 |
<form name="shutdown" method="post" action="adminShutdown.do?jsessionid=${sessionId}"> |
| 127 |
<input type="submit" class="button" value="${text.adminShutdown}" /> |
| 128 |
</form> |
| 129 |
</body></html> |