bunch of
This commit is contained in:
@@ -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():
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user