index(es)

This commit is contained in:
gauthiier
2020-01-21 11:38:31 +01:00
parent cabfe50777
commit afc71795d1
26 changed files with 151318 additions and 13 deletions
+28
View File
@@ -0,0 +1,28 @@
<html>
<head>
<meta charset="utf-8">
<title>{{fn}}</title>
<script type="text/javascript" src="{{ url_for('static',filename='jquery-3.2.1.min.js') }}" charset="utf-8"></script>
<script type="text/javascript" src="{{ url_for('static',filename='indx.js') }}"></script>
</head>
<body>
<h1>{{fn}}</h1>
<div id="all">
<h2>Selected</h2>
<ul>
{% for kw, s in selected.items() %}
<li data-file="{{fn}}" data-kw="{{kw}}" data-list="selected">{{kw}} {% for ss in s %} - {{ss}} {% endfor %}<button class="delete">-</button></li>
{% endfor %}
</ul>
<hr>
<hr>
<hr>
<h2>Orphans</h2>
<ul>
{% for kw, s in orphan.items() %}
<li data-file="{{fn}}" data-kw="{{kw}}" data-list="orphan">{{kw}} {% for ss in s %} - {{ss}} {% endfor %}<button class="add">+</button></li>
{% endfor %}
</ul>
</div>
</body>
</html>
@@ -1,14 +1,14 @@
<html>
<head>
<meta charset="utf-8">
<title>XML [all]</title>
<title>{{title}}</title>
</head>
<body>
<h1>XML [all]</h1>
<h1>{{title}}</h1>
<div id="all">
<ul>
{% for f in files %}
<li><a href="/xml/{{f}}">{{f}}</a></li>
<li><a href="{{prefix}}{{f}}">{{f}}</a></li>
{% endfor %}
</ul>
</div>