blob: 1194fc6ce9babe8fc68590c8712e032ef71318ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="{{ url_for('static', filename='results.js') }}"></script>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='coupons.css') }}">
</head>
<body>
<!-- these hidden div power the static javascript to send searches to the correct spot -->
<div id="topurl" hidden>{{ url_for('root') }}</div>
{% if not from_js %}<form>
<input type="text" id="search"/>
<input onclick="react(); return false;" type="submit" value="search">
</form>{% endif %}
<div id="results">
{% if results %}{% include 'results.html' %}{% else %}no results{% endif %}
</div>
</body>
</html>
|