improve tempalte

This commit is contained in:
2019-09-10 01:32:32 +03:00
parent 5ce870714c
commit 59051dee7a
15 changed files with 368 additions and 36 deletions

View File

@ -1,8 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Best in slot</title>
{% include "style.jinja2" %}
<link href="{{ static('styles.css') }}" rel="stylesheet" type="text/css">
</head>
<body>
<h2>best in slot</h2>
@ -24,7 +25,7 @@
<input name="is_tome" id="is_tome" title="is tome" type="checkbox"/>
<input name="action" id="action" type="hidden" value="add"/>
<input name="method" id="method" type="hidden" value="post"/>
<button>add</button>
<input name="add" id="add" type="button" value="add"/>
</form>
<form action="/bis" method="post">
<select name="player" id="player" title="player">
@ -34,7 +35,7 @@
</select>
<input name="bis" id="bis" placeholder="player bis link" title="bis" type="text"/>
<input name="method" id="method" type="hidden" value="put"/>
<button>add</button>
<input name="add" id="add" type="button" value="add"/>
</form>
<table id="result">
@ -52,8 +53,11 @@
<td>{{ item.is_tome|e }}</td>
<td>
<form action="/bis" method="post">
<input name="player" id="player" type="hidden" value="{{ item.player|e }}"/>
<input name="piece" id="piece" type="hidden" value="{{ item.piece|e }}"/>
<input name="is_tome" id="is_tome" type="hidden" value="{{ item.is_tome|e }}"/>
<input name="action" id="action" type="hidden" value="remove"/>
<button>remove</button>
<input name="remove" id="remove" type="button" value="x"/>
</form>
</td>
</tr>