blob: 02c1ebc08c7a15e6a0a9beb0c7c11c177250725c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
{% block head %}
<link type="text/css" href="{{ url_for("static", filename="style.css") }}" rel="stylesheet" />
<link type="text/css" href="{{ url_for("static", filename="css/ui-lightness/jquery-ui-1.8.6.custom.css") }}"rel="Stylesheet" />
<script type="text/javascript" src="{{ url_for("static", filename="js/jquery-1.4.2.min.js") }}"></script>
<script type="text/javascript" src="{{ url_for("static", filename="js/jquery-ui-1.8.6.custom.min.js") }}"></script>
<title>{% block title %}{% endblock %} - booksearch</title>
<script>
function start() {
var inputField = document.getElementById("searchInput");
window.location = "{{ url_for("do_search") }}" + inputField.value;
return false;
}
</script>
{% block javascript %}{% endblock %}
{% endblock %}
</head>
<body>
<div id="header">
booksearch
</div>
<div id="search">
<span class="preSearchField">Search:</span>
<input id="searchInput" type="text" value="{% block searchValue %}{% endblock %}" placeholder="terms..." />
<button onclick="start()">Senden</button>
</div>
<hr />
<div id="content">
{% block content %}{% endblock %}
</div>
<div id="footer">
{% block footer %}
footer
{% endblock %}
</div>
</body>
|