add export form
Change-Id: I6aeaf491a179d8694fef88f782c0eef8b38dc765
diff --git a/plugin/templates/export.html b/plugin/templates/export.html
index 257310e..170197a 100644
--- a/plugin/templates/export.html
+++ b/plugin/templates/export.html
@@ -1,19 +1,30 @@
<!DOCTYPE html>
+<!-- TODO: style, localization, remove Zu Testzwecken in the end, ...-->
<html>
<head>
<meta charset="UTF-8">
<title>Export Template</title>
<script src="https://korap.ids-mannheim.de/js/korap-plugin-0.2.js"></script>
-</head>
-
+</head>
<body>
-<form>
- <label for="fname">Dateiname: </label>
- <input type="text" id="fname" name="fname"> <br>
+
+<form id ="frmid" action="http://localhost:7777/export" method="POST">
+ <!-- Zu Testenzwecken: -->
+ Zu Testzwecken: <br />
+ <label for="q"> Suchanfrage:</label>
+ <input id="q" name="q" value="Wasser">
+ <label for="ql"> Suchanfragesprache:</label>
+ <input id="ql" name="ql" value="poliqarp">
+ <input type="hidden" id="cq" name="cq" value="">
+ <br />
+ <br />
+ <br />
+ <label for="fname">Dateiname:</label>
+ <input type="text" id="fname" name="fname" required> <br>
Dateiformat:
- <input type="radio" id="formatjson" name="format">
+ <input type="radio" id="formatjson" name="format" value="json">
<label for="formatjson">JSON</label>
- <input type="radio" id="formatrtf" name="rtf">
+ <input type="radio" checked="checked" id="formathtml" name="format" value="rtf">
<label for="formatrtf">RTF</label><br>
<button> Exportieren </button>
</form>