bouquins-bchs/book.html

39 lines
1.2 KiB
HTML
Raw Normal View History

2016-12-31 11:01:38 +00:00
<!DOCTYPE html>
<html lang="fr">
<head>
<title>Livre</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="preload" href="js/book.min.js" as="script">
<link rel="preload" href="js/vue.min.js" as="script">
<link rel="prefetch" href="js/book.min.js">
<link rel="prefetch" href="js/vue.min.js">
</head>
<body>
<div class="container" id="app">
2016-12-31 11:52:33 +00:00
<div class="page-header" v-if="book.id">
<div class="row">
<h1>
<span class="glyphicon glyphicon-book"></span>
{{ book.title }}
</h1>
</div>
</div>
<div class="alert alert-danger" role="alert" v-else>Aucun livre sélectionné</div>
<div class="row" v-if="book.id">
<h2 v-if="book.series">
<span class="glyphicon glyphicon-list"></span>
Serie
</h2>
<div v-if="book.series">
{{ book.series.name }}
<span class="badge">{{ book.series.idx }}</span>
</div>
</div>
2016-12-31 11:01:38 +00:00
</div>
<script src="js/vue.min.js"></script>
<script src="js/book.min.js"></script>
</body>
</html>