blob: d6d2010ae13b4b710199d098054f604cda70a0be (
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
39
40
41
42
43
44
45
|
<!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/smoothness/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>
jQuery(document).ready(function() {
function start() {
var inputField = document.getElementById("searchInput");
window.location = "{{ url_for("do_search") }}" + inputField.value;
return false;
}
jQuery("#searchInput").bind('keyup', function(evt) {
if (evt.which == 13)
start();
});
jQuery("#searchSubmit").click(start);
});
</script>
{% block javascript %}{% endblock %}
{% endblock %}
</head>
<body>
<div id="header">
<img title="A book is a loaded gun" src="{{ url_for("static", filename="logo.png") }}"/>
<div id="search">
<input id="searchInput" type="text" value="{% block searchValue %}{% endblock %}" placeholder="terms..." size=40/>
<button id="searchSubmit">Senden</button>
</div>
</div>
<hr style="clear: both;"/>
<div id="content">
{% block content %}{% endblock %}
</div>
<hr />
<div id="footer">
{% block footer %}
<a href="http://xapek.org/~yvesf/viewgit/?a=summary&p=booksearch.git" title="booksearch homepage">powered by booksearch</a>
{% endblock %}
</div>
</body>
|