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

<!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>
</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>
<div id="txt-list">
<p>Searching through <em>and calculating words of</em> the following txt documents:</p>
<ul>
{% for txt in files|sort %}
<li>{{txt}}</li>
{% endfor %}
<ul>
{% block txtlist %}
{% endblock %}
</div>
{% block results %}
{% endblock %}
</body>
</html>