hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 1 | <!DOCTYPE html> |
hebasta | a66693a | 2020-07-19 16:51:28 +0200 | [diff] [blame] | 2 | <!-- TODO: style, localization, remove 'Zu Testzwecken' in the end, ...--> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 3 | <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> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 8 | </head> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 9 | <body> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 10 | |
| 11 | <form id ="frmid" action="http://localhost:7777/export" method="POST"> |
hebasta | a66693a | 2020-07-19 16:51:28 +0200 | [diff] [blame] | 12 | Zu Testzwecken: <br/> |
hebasta | 9abc46a | 2020-07-18 13:19:02 +0200 | [diff] [blame] | 13 | <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> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 16 | <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=""> |
hebasta | a66693a | 2020-07-19 16:51:28 +0200 | [diff] [blame] | 21 | <br/> |
| 22 | <br/> |
| 23 | <br/> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 24 | <label for="fname">Dateiname:</label> |
hebasta | a66693a | 2020-07-19 16:51:28 +0200 | [diff] [blame] | 25 | <input type="text" id="fname" name="fname" required> <br/> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 26 | Dateiformat: |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 27 | <input type="radio" id="formatjson" name="format" value="json"> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 28 | <label for="formatjson">JSON</label> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 29 | <input type="radio" checked="checked" id="formathtml" name="format" value="rtf"> |
hebasta | a66693a | 2020-07-19 16:51:28 +0200 | [diff] [blame] | 30 | <label for="formatrtf">RTF</label><br/> |
| 31 | |
| 32 | <div> |
| 33 | <br/> |
| 34 | <label> |
| 35 | <input type="checkbox" name="islimit" checked="checked" value="limited"> |
| 36 | Beschränken auf |
| 37 | <input name="hitc" type="number" min="1" max="1000" value="20"> |
| 38 | Treffer |
| 39 | </label> |
| 40 | <br/> |
| 41 | <br/> |
| 42 | </div> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 43 | <button> Exportieren </button> |
| 44 | </form> |
| 45 | </body> |
| 46 | </html> |