2019-02-27 10:01:48 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang='en'>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>{% block title %}cyber/technofeminist cross-readings{% endblock %}</title>
|
|
|
|
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/stylesheet.css')}}" />
|
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='js/jquery-3.3.1.min.js')}}"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="txt-list">
|
2019-03-14 16:58:35 +01:00
|
|
|
<p>List of manifestos:</p>
|
2019-02-27 10:01:48 +01:00
|
|
|
<ul>
|
|
|
|
{% for filename in filenames | sort %}
|
|
|
|
<li>
|
|
|
|
<a href="/{{ lang }}/manifesto/{{ filename | replace('.txt','') }}">{{ filename | prettyfilename }}</a>
|
2019-03-07 23:37:37 +01:00
|
|
|
<a class="contrast" href="/{{ lang }}/mappings/{{ filename | replace('.txt','') }}"><i>◐</i></a>
|
2019-02-27 10:01:48 +01:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
<ul>
|
|
|
|
{% block txtlist %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="nav-wrapper">
|
|
|
|
<div id="colophon_button">
|
|
|
|
EN / <a href="/fr">FR</a>
|
|
|
|
|
2019-03-07 23:37:37 +01:00
|
|
|
<a href="/{{ lang }}/about">about</a>
|
2019-02-27 10:01:48 +01:00
|
|
|
</div>
|
|
|
|
<div id="logo">
|
|
|
|
<a href="/{{ lang }}/">cyber/technofeminist <br>cross-readings</a>
|
|
|
|
</div>
|
|
|
|
{% block search %}
|
|
|
|
<div id="search">
|
2019-03-28 16:05:53 +01:00
|
|
|
<form id="submitform" action="" method="GET" onsubmit="this.setAttribute('isSubmitting', 'true');">
|
2019-02-27 10:01:48 +01:00
|
|
|
<input id="query" name="q" value="{{query}}"/>
|
2019-03-07 23:37:37 +01:00
|
|
|
<input id="submit" type="submit" value="search"/>
|
2019-03-14 13:19:48 +01:00
|
|
|
</form>
|
|
|
|
<script>
|
|
|
|
(function () {
|
|
|
|
var searching = false,
|
2019-03-28 16:05:53 +01:00
|
|
|
button = document.querySelector('#search #submit'),
|
|
|
|
submitting = document.querySelector('#submitform').getAttribute('isSubmitting');
|
2019-03-14 13:19:48 +01:00
|
|
|
|
|
|
|
button.addEventListener('click', function (e) {
|
|
|
|
if (!searching) {
|
|
|
|
searching = true;
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
e.preventDefault();
|
|
|
|
alert('Already searching ...');
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})();
|
|
|
|
</script>
|
2019-02-27 10:01:48 +01:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block nav %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block results %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block manifesto %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block suggestions %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script>
|
|
|
|
// refresh when there is no (mouse or keyboard) activity for 5 minutes
|
|
|
|
var time = new Date().getTime();
|
|
|
|
$(document.body).bind("mousemove keypress", function(e) {
|
|
|
|
time = new Date().getTime();
|
|
|
|
});
|
|
|
|
function refresh() {
|
|
|
|
if(new Date().getTime() - time >= 300000){
|
|
|
|
console.log('refresh!');
|
|
|
|
window.location.href = '/fr/';
|
|
|
|
} else {
|
|
|
|
setTimeout(refresh, 300000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
setTimeout(refresh, 300000);
|
2019-03-12 09:35:31 +01:00
|
|
|
|
|
|
|
// prevent links from opening in new tab
|
|
|
|
var links = document.links;
|
|
|
|
for (var i = 0; i < links.length; i++) {
|
|
|
|
links[i].target = "_self";
|
|
|
|
}
|
2019-02-27 10:01:48 +01:00
|
|
|
</script>
|
|
|
|
</html>
|