forked from jjhyphen/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
53 lines (44 loc) · 1.04 KB
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<body>
{% extends "layout.html" %}
{% block content %}
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
text-align: left;
}
</style>
<table style="width:100%">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Author</th>
<th>Publisher</th>
<th>Year</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for row in value %}
<tr>
<td>{{row[5]}}</td>
<td>{{row[0]}}</td>
<td>{{row[1]}}</td>
<td>{{row[2]}}</td>
<td>{{row[3]}}</td>
<td>{{row[4]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
<input type="submit" value="EDIT">
</form>
</body>
</html>
{% endblock %}