hebasta | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 1 | <!DOCTYPE html> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +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 | 5d693fa | 2020-03-30 12:31:06 +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=""> |
| 21 | <br /> |
| 22 | <br /> |
| 23 | <br /> |
| 24 | <label for="fname">Dateiname:</label> |
| 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 | 97c0a04 | 2020-03-24 21:26:44 +0100 | [diff] [blame] | 30 | <label for="formatrtf">RTF</label><br> |
| 31 | <button> Exportieren </button> |
| 32 | </form> |
| 33 | </body> |
| 34 | </html> |