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/> |
Akron | 2c0184d | 2020-09-17 18:22:03 +0200 | [diff] [blame] | 24 | <!-- |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 25 | <label for="fname">Dateiname:</label> |
hebasta | a66693a | 2020-07-19 16:51:28 +0200 | [diff] [blame] | 26 | <input type="text" id="fname" name="fname" required> <br/> |
Akron | 2c0184d | 2020-09-17 18:22:03 +0200 | [diff] [blame] | 27 | --> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 28 | Dateiformat: |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 29 | <input type="radio" id="formatjson" name="format" value="json"> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 30 | <label for="formatjson">JSON</label> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 31 | <input type="radio" checked="checked" id="formathtml" name="format" value="rtf"> |
hebasta | a66693a | 2020-07-19 16:51:28 +0200 | [diff] [blame] | 32 | <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> |
hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 45 | <button> Exportieren </button> |
| 46 | </form> |
| 47 | </body> |
Akron | 2c0184d | 2020-09-17 18:22:03 +0200 | [diff] [blame] | 48 | </html> |