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.
 
 
 

85 lines
1.9 KiB

<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8" />
<title>worksessions - calls - attachments</title>
<style>
body{
position: relative;
width: 100%;
min-width: 800px;
left: 0;
top:0;
overflow-x: hidden;
}
#wrapper{
width: calc(100% - 220px);
}
div#crossings, div#sentences, div#ADJ, div#PRE{
position: relative;
display: inline-block;
width: calc(50% - 1.25em);
top:0;
left: 0;
margin:0 1em 2em 0;
padding:0;
vertical-align: top;
}
div#crossings{
float: right;
}
div#txtfiles{
position: absolute;
width:200px;
top:0;
right: 40px;
}
div.sentence{
margin-bottom: 1.5em;
}
strong.query{
display: inline;
width: 100%;
height: 12em;
margin:10em -6em -10.5em -6em;
padding: 10em 6em;
text-align: center;
}
small, sup{
font-family: monospace;
font-size: 8pt;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="crossings">
{% if data == {} %}
<div>I have no words for this.</div>
{% else %}
<h1 style="margin-bottom:0;margin-top:1.25em;line-height: 0;">attachments</h1>
{% for word_type, ranking in data.items() %}
<div id="{{ word_type }}">
<h1>{{ word_type }}</h1>
{% for rank, words in ranking.items() %}
{% for word in words.keys() %}
<a href="/{{ word_type }}/{{ word }}">{{ word }}</a><sup>{{ words[word]['count'] }}</sup>
{% endfor %}
{% endfor %}
</div>
{% endfor %}
{% endif %}
</div>
<div id="sentences">
{% block results %}
{% endblock %}
</div>
<div id="txtfiles">
<h1><br>files</h1>
{% for file in filenames %}
<a href="/document/{{ file }}">{{ file }}</a><br>
{% endfor %}
</div>
</div>
</body>
</html>