semi working
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Selection [tags]</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static',filename='lestyle.css') }}">
|
||||
<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='tags.js') }}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Selection [tags]</h1>
|
||||
<form class="tag_item">
|
||||
<button id="new">NEW</button>
|
||||
</form>
|
||||
<hr>
|
||||
<div id="all">
|
||||
{% for v in tags %}
|
||||
<form class="tag_item" id="{{v.tag}}" method="post" data-tagid="{{v.tag}}">
|
||||
<input name="tag" class="tagedit" type="text" value="{{v.tag}}">
|
||||
<textarea name="desc">{{v.desc}}</textarea>
|
||||
<input type="submit" class="update" value="update">
|
||||
<input type="submit" class="delete" value="delete">
|
||||
</form>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Selection [tags w lists]</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static',filename='lestyle.css') }}">
|
||||
<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='tags_w_lists.js') }}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Selection [tags w lists]</h1>
|
||||
<hr>
|
||||
<button id="commit">commit</button>
|
||||
<div id="all">
|
||||
{% for v in tags %}
|
||||
<hr>
|
||||
<div class="sel">
|
||||
<form class="tag_item" id="{{v.tag}}" method="post" data-tagid="{{v.tag}}">
|
||||
<input name="tag" class="tagedit" type="text" value="{{v.tag}}">
|
||||
<textarea name="desc">{{v.desc}}</textarea>
|
||||
<input type="submit" class="update" value="update">
|
||||
<input type="submit" class="delete" value="delete">
|
||||
</form>
|
||||
<lists>
|
||||
<ul>
|
||||
{% for h in v.lists %}
|
||||
<li><a href="{{h.url}}" target="_blank">{{h.subject}}</a> -- <i>{{h.author_name}}</i></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</lists>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user