aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-06-09 22:14:21 -0700
committerJordan <me@jordan.im>2020-06-09 22:14:21 -0700
commit01ddb0b13d2ab2039c1a615bbf3ee08f80a44e5b (patch)
tree5aa6969a741996d963a0c99e4c822998cb77994a /templates
parentecfa70f53576ec70ede543f5dfd395bd4951d1df (diff)
downloadroka-01ddb0b13d2ab2039c1a615bbf3ee08f80a44e5b.tar.gz
roka-01ddb0b13d2ab2039c1a615bbf3ee08f80a44e5b.zip
use bootstrap, send_static()
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html22
1 files changed, 4 insertions, 18 deletions
diff --git a/templates/index.html b/templates/index.html
index 9bf35db..5221783 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,27 +3,12 @@
<head>
<title>Audiobooks</title>
<meta charset="utf-8">
- <style>
- table {
- font-family: arila, sans-serif;
- border-collapse: collapse; width: 100%;
- width: 100%;
- }
-
- td, th {
- border: 1px solid #dddddd;
- text-align: left;
- padding: 8px;
- }
-
- tr:nth-child(even) {
- background-color: #dddddd;
- }
- </style>
+ <link href="static/bootstrap.min.css" rel="stylesheet">
</head>
<body>
+ <div class="container">
<h2>Audiobooks</h2>
- <table>
+ <table class="table table-condensed">
<tr>
<th>Title</th>
<th>Path</th>
@@ -41,5 +26,6 @@
</tr>
{% endfor %}
</table>
+ </div>
</body>
</html>