various cross-reading prototypes
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.
 
 
 

67 lines
2.2 KiB

<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8" />
<title>Sear%r%r%rch {% block title %}{% endblock %}</title>
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/stylesheet.css')}}" />
</head>
<body>
<div id="nav-wrapper">
<div id="nav">
<!-- <small><a class="contrast" href="/mappings/tf">TF</a></small> -->
<small><a class="contrast" href="/mappings/idf">IDF</a></small>
<small><a class="contrast" href="/mappings/tfidf">TFIDF</a></small>
</div><br><br>
<div id="logo">
<a href="/">
%█▀▀ █▀▀█ █▀▀█ █▀▀ █▀▀ ░░ █▀▀█ █▀▀ █▀▀█ █▀▀▄ ░▀░ █▀▀▄ █▀▀▀ █▀▀ <br>
%█░░ █▄▄▀ █░░█ ▀▀█ ▀▀█ ▀▀ █▄▄▀ █▀▀ █▄▄█ █░░█ ▀█▀ █░░█ █░▀█ ▀▀█ <br>
%▀▀▀ ▀░▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀ ░░ ▀░▀▀ ▀▀▀ ▀░░▀ ▀▀▀░ ▀▀▀ ▀░░▀ ▀▀▀▀ ▀▀▀ <br>
<!-- https://fsymbols.com/generators/tarty/ -->
</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 id="txt-list">
<p>Sear%r%rching <em>and cross-reading through</em> the following files:</p>
<ul>
{% for txt in filenames|sort %}
{% set name = txt.replace('.txt','') %}
<li>
<a href="/document/{{ name }}">{{ txt.replace('_', ' ') }}</a><br>
<a class="contrast" href="/mapping/{{ name }}"></a>
<small><a href="/list/tf/{{ name }}">TF</a> </small>
<small><a href="/list/idf/{{ name }}">IDF</a> </small>
<small><a href="/list/tfidf/{{ name }}">TF-IDF</a></small>
</li>
{% endfor %}
<ul>
</div>
<div id="suggestions">
<div>
<p>Cross-reading suggestions:</p>
{% for suggestion in suggestions %}
<div><strong><a href="/?q={{ suggestion.strip() }}">{{ suggestion.strip() }}</a></strong></div>
{% endfor %}
</div>
<div>
</div>
</div>
</div>
<div id="wrapper">
<div id="content">
{% block content %}
{% endblock %}
</div>
{% block results %}
{% endblock %}
{% block overlay %}
{% endblock %}
</div>
</body>
</html>