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> |
Akron | 7894cd9 | 2020-09-18 13:17:28 +0200 | [diff] [blame] | 4 | <head> |
| 5 | <meta charset="UTF-8"> |
| 6 | <title>Export Template</title> |
Akron | a4e8189 | 2020-09-18 17:07:38 +0200 | [diff] [blame] | 7 | |
| 8 | <!-- This is only for testing purposes --> |
| 9 | <script src="http://localhost:64543/js/korap-plugin-0.2.js"></script> |
| 10 | <link type="text/css" rel="stylesheet" href="http://localhost:64543/css/kalamar-plugin-0.2.css" /> |
Akron | 7894cd9 | 2020-09-18 13:17:28 +0200 | [diff] [blame] | 11 | </head> |
| 12 | <body style="padding: .5em"> |
hebasta | 5d693fa | 2020-03-30 12:31:06 +0200 | [diff] [blame] | 13 | |
Akron | 7894cd9 | 2020-09-18 13:17:28 +0200 | [diff] [blame] | 14 | <form id="frmid" class="form-table" action="http://localhost:7777/export" method="POST"> |
| 15 | <fieldset> |
Akron | a4e8189 | 2020-09-18 17:07:38 +0200 | [diff] [blame] | 16 | <legend>Export <code id="export-query"></code></legend> |
| 17 | <input type="hidden" id="q" name="q"> |
| 18 | <input type="hidden" id="ql" name="ql"> |
| 19 | <input type="hidden" id="cq" name="cq"> |
| 20 | |
| 21 | <label for="format">Dateiformat</label> |
| 22 | <input type="radio" id="formatjson" name="format" value="json"> |
| 23 | <label for="formatjson">JSON</label> |
| 24 | <input type="radio" checked="checked" id="formathtml" name="format" value="rtf"> |
| 25 | <label for="formatrtf">RTF</label> |
Akron | 7894cd9 | 2020-09-18 13:17:28 +0200 | [diff] [blame] | 26 | |
Akron | a4e8189 | 2020-09-18 17:07:38 +0200 | [diff] [blame] | 27 | <div> |
| 28 | <label> |
| 29 | <input type="checkbox" name="islimit" checked="checked" value="limited"> |
| 30 | Beschränken auf |
| 31 | <input name="hitc" type="number" min="1" max="1000" value="20"> |
| 32 | Treffer |
| 33 | </label> |
| 34 | </div> |
| 35 | <input type="submit" value="Exportieren"> |
| 36 | </fieldset> |
Akron | 7894cd9 | 2020-09-18 13:17:28 +0200 | [diff] [blame] | 37 | </form> |
Akron | a4e8189 | 2020-09-18 17:07:38 +0200 | [diff] [blame] | 38 | <script src="export.js" defer></script> |
Akron | 7894cd9 | 2020-09-18 13:17:28 +0200 | [diff] [blame] | 39 | </body> |
Akron | 2c0184d | 2020-09-17 18:22:03 +0200 | [diff] [blame] | 40 | </html> |