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.
|
|
|
<!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/Grrrrrrrrrrls.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>
|
|
|
|
<input id="frustrated" type="button" value="I'm feeling frustrated">
|
|
|
|
<div id="txt-list">
|
|
|
|
<p>Searching through <em>and calculating words of</em> the following txt documents:</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{% for txt in files %}
|
|
|
|
<li>{{txt}}</li>
|
|
|
|
{% endfor %}
|
|
|
|
<ul>
|
|
|
|
{% block txtlist %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
{% block results %}
|
|
|
|
{% endblock %}
|
|
|
|
</body>
|
|
|
|
</html>
|