a flask exercise and search machine prototype
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1002 B

6 years ago
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8" />
<title>Grrrrrrrrrrls {% block title %}{% endblock %}</title>
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/stylesheet.css')}}" />
</head>
<body>
<div id="logo">
<a href="{{ url_for('index')}}"><img src="{{ url_for('static', filename='images/searrrrrrrrrrch.svg')}}"></a>
6 years ago
</div>
<div id="search">
<form action="" method="GET">
<input id="query" name="q" value="{{query}}"/>
<input id="submit" type="submit" value="➜"/>
</form>
</div>
<div>(<a href="{{ url_for('lists')}}">lists</a>, <a href="{{ url_for('ordered')}}">ordered</a>, <a href="{{ url_for('ordered_all')}}">ordered.all</a>)</div>
6 years ago
<div id="txt-list">
<p>Searching through <em>and calculating words of</em> the following txt documents:</p>
<ul>
6 years ago
{% for txt in files|sort %}
6 years ago
<li>{{txt}}</li>
{% endfor %}
<ul>
{% block txtlist %}
{% endblock %}
6 years ago
</div>
{% block results %}
{% endblock %}
</body>
</html>