This commit is contained in:
gauthiier
2020-01-01 18:15:29 +01:00
parent 9d7cdf2d0c
commit 8bf4872c5d
7 changed files with 775 additions and 776 deletions
+13
View File
@@ -112,6 +112,19 @@ def filter_results_selection(res):
print(rrr['url'] + " in " + h[rrr['url']])
rrr['sel'] = h[rrr['url']]
@app.route('/svg')
def svg():
global lists_to_serve
if len(request.args) < 1:
r = urllib.request.urlopen(config.listservs['url'] + '/lists')
data = json.loads(r.read().decode('utf8'))
lists_to_serve = data['lists']
return render_template("svg.html", archives=lists_to_serve, fields=['content', 'from'])
@app.route('/search')
def searh():
+1
View File
@@ -7,5 +7,6 @@
<h2><a href="/search">SEARCH</a></h2>
<h2><a href="/tags">TAGS</a></h2>
<h2><a href="/tags_w_lists">TAGS_W_LISTS</a></h2>
<h2><a href="/ex/all">EX_ALL</a></h2>
</body>
</html>
+1 -3
View File
@@ -7,9 +7,7 @@
<script type="text/javascript" src="{{ url_for('static',filename='tags.js') }}"></script>
</head>
<body>
<h1>Selection [tags]</h1>
<h2><a href="/search" target="_blank">SEARCH</a></h2>
<h2><a href="/tags_w_lists" target="_blank">TAGS_W_LISTS</a></h2>
<h1>Selection [tags] - [<a href="/search" target="_blank">SEARCH</a>, <a href="/tags" target="_blank">TAGS</a>, <a href="/ex/all">EX_ALL</a>]</h1>
<form class="tag_item">
<button id="new">NEW</button>
</form>
+1 -1
View File
@@ -7,7 +7,7 @@
<script type="text/javascript" src="{{ url_for('static',filename='tags_w_lists.js') }}"></script>
</head>
<body>
<h1>Selection [tags w lists] - [<a href="/search" target="_blank">SEARCH</a>, <a href="/tags" target="_blank">TAGS</a>]</h1>
<h1>Selection [tags w lists] - [<a href="/search" target="_blank">SEARCH</a>, <a href="/tags" target="_blank">TAGS</a>, <a href="/ex/all">EX_ALL</a>]</h1>
<hr>
<div id="status">Ok</div>
<button id="export_all">export all</button>