blob: 294d910d7e7f687026fded469fc384b933f5b241 [file] [log] [blame]
hebasta97c0a042020-03-24 21:26:44 +01001<!DOCTYPE html>
hebasta5d693fa2020-03-30 12:31:06 +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">
hebasta5d693fa2020-03-30 12:31:06 +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="">
21 <br />
22 <br />
23 <br />
24 <label for="fname">Dateiname:</label>
25 <input type="text" id="fname" name="fname" required> <br>
hebasta97c0a042020-03-24 21:26:44 +010026 Dateiformat:
hebasta5d693fa2020-03-30 12:31:06 +020027 <input type="radio" id="formatjson" name="format" value="json">
hebasta97c0a042020-03-24 21:26:44 +010028 <label for="formatjson">JSON</label>
hebasta5d693fa2020-03-30 12:31:06 +020029 <input type="radio" checked="checked" id="formathtml" name="format" value="rtf">
hebasta97c0a042020-03-24 21:26:44 +010030 <label for="formatrtf">RTF</label><br>
31 <button> Exportieren </button>
32</form>
33</body>
34</html>