blob: b6979db324d76ef3779174c17b2873a65619bf74 [file] [log] [blame]
hebasta97c0a042020-03-24 21:26:44 +01001<!DOCTYPE html>
hebastaa66693a2020-07-19 16:51:28 +02002<!-- TODO: style, localization, remove 'Zu Testzwecken' in the end, ...-->
hebasta97c0a042020-03-24 21:26:44 +01003<html>
4<head>
5<meta charset="UTF-8">
6<title>Export Template</title>
7<script src="https://korap.ids-mannheim.de/js/korap-plugin-0.2.js"></script>
hebasta5d693fa2020-03-30 12:31:06 +02008</head>
hebasta97c0a042020-03-24 21:26:44 +01009<body>
hebasta5d693fa2020-03-30 12:31:06 +020010
11<form id ="frmid" action="http://localhost:7777/export" method="POST">
hebastaa66693a2020-07-19 16:51:28 +020012 Zu Testzwecken: <br/>
hebasta9abc46a2020-07-18 13:19:02 +020013 <ul>
14 <li> <a onclick="KorAPlugin.requestMsg({'action':'get', 'key':'KQ'}, function (d) { document.write(JSON.stringify(d.value))})">Get KQ</a> </li>
15 </ul>
hebasta5d693fa2020-03-30 12:31:06 +020016 <label for="q"> Suchanfrage:</label>
17 <input id="q" name="q" value="Wasser">
18 <label for="ql"> Suchanfragesprache:</label>
19 <input id="ql" name="ql" value="poliqarp">
20 <input type="hidden" id="cq" name="cq" value="">
hebastaa66693a2020-07-19 16:51:28 +020021 <br/>
22 <br/>
23 <br/>
Akron2c0184d2020-09-17 18:22:03 +020024 <!--
hebasta5d693fa2020-03-30 12:31:06 +020025 <label for="fname">Dateiname:</label>
hebastaa66693a2020-07-19 16:51:28 +020026 <input type="text" id="fname" name="fname" required> <br/>
Akron2c0184d2020-09-17 18:22:03 +020027-->
hebasta97c0a042020-03-24 21:26:44 +010028 Dateiformat:
hebasta5d693fa2020-03-30 12:31:06 +020029 <input type="radio" id="formatjson" name="format" value="json">
hebasta97c0a042020-03-24 21:26:44 +010030 <label for="formatjson">JSON</label>
hebasta5d693fa2020-03-30 12:31:06 +020031 <input type="radio" checked="checked" id="formathtml" name="format" value="rtf">
hebastaa66693a2020-07-19 16:51:28 +020032 <label for="formatrtf">RTF</label><br/>
33
34 <div>
35 <br/>
36 <label>
37 <input type="checkbox" name="islimit" checked="checked" value="limited">
38 Beschränken auf
39 <input name="hitc" type="number" min="1" max="1000" value="20">
40 Treffer
41 </label>
42 <br/>
43 <br/>
44 </div>
hebasta97c0a042020-03-24 21:26:44 +010045 <button> Exportieren </button>
46</form>
47</body>
Akron2c0184d2020-09-17 18:22:03 +020048</html>