<html>
<head>
	<meta charset="utf-8">
	<title>URLCOLLECT</title>
	<link rel="stylesheet" href="{{ url_for('static',filename='jquery.tag-editor.css') }}">
	<link rel="stylesheet" href="{{ url_for('static',filename='lestyle.css') }}">
</head>
<body>
	<form action="/collect" method="get" id="collect">
		<h2>*************************************GET::</h2>

		<label for="url">url</label>
		<input type="text" name="url" id="url">

		<br><br>
		{% for l in lists %}
		{{l}} <input type="radio" name="list" value="{{l}}">
		{% endfor %}


		<br><br>

		<label for="tags">tags</label>
		<input type="text" name="tags" id="tags">

		<br><br>
		<label for="tags">existing tags: </label>
		<pre id="list_tags">
		{% for t in tags %}
		{{t}}  
		{% endfor %}		
		</pre>

		<br><br>

		<button type="submit" id="submit">collect!</button>

		<br><br>
		---
		<br>
		<pre id="report"></pre>
		---		
		<br>
		<pre id="serv"></pre>

	</form>
	<div id="collected"></div>
    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
    <script src="{{ url_for('static',filename='jquery.caret.min.js') }}"></script>
    <script src="{{ url_for('static',filename='jquery.tag-editor.min.js') }}"></script>
    <script src="{{ url_for('static',filename='collect.js') }}"></script>
</body>
</html>