bouquins-bchs/index.html

37 lines
1.1 KiB
HTML
Raw Normal View History

2016-12-18 17:28:19 +00:00
<!DOCTYPE html>
<html>
<head>
2016-12-30 16:16:43 +00:00
<title>Bouquins</title>
2016-12-30 17:46:03 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1" />
2016-12-18 17:28:19 +00:00
<meta charset="utf-8" />
2016-12-30 17:46:03 +00:00
<link rel="stylesheet" href="bootstrap.min.css">
2016-12-30 16:16:43 +00:00
<link rel="preload" href="cgi-bin/bouquins/books">
<link rel="preload" href="index.js" as="script">
<link rel="preload" href="vue.min.js" as="script">
<link rel="prefetch" href="cgi-bin/bouquins/books">
<link rel="prefetch" href="index.js">
<link rel="prefetch" href="vue.min.js">
2016-12-18 17:28:19 +00:00
</head>
<body>
<h1>Bouquins</h1>
2016-12-30 17:18:11 +00:00
<div id="app">
<h2>{{ booksCount }} books</h2>
<table>
<tr v-for="book in books">
<td>{{ book.id }}</td>
<td>{{ book.title }}</td>
<td>{{ book.series ? book.series.name : '' }}</td>
<td>{{ book.series ? book.series.idx : '' }}</td>
<td>
<template v-for="author in book.authors">
{{ author.name }}
</template>
</td>
</tr>
</table>
</div>
2016-12-30 16:16:43 +00:00
<script src="vue.min.js"></script>
<script src="index.js"></script>
2016-12-18 17:28:19 +00:00
</body>
</html>