51 lines
1.6 KiB
HTML
51 lines
1.6 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="fr">
|
||
|
<head>
|
||
|
<title>Serie | Bouquins</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/series.min.js" as="script">
|
||
|
<link rel="preload" href="js/vue.min.js" as="script">
|
||
|
<link rel="prefetch" href="js/series.min.js">
|
||
|
<link rel="prefetch" href="js/vue.min.js">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container" id="app">
|
||
|
<ol class="breadcrumb">
|
||
|
<li><a href="index.html">Home</a></li>
|
||
|
<li class="active">Serie</li>
|
||
|
</ol>
|
||
|
<div class="page-header" v-if="series">
|
||
|
<h1>
|
||
|
<span class="glyphicon glyphicon-list"></span>
|
||
|
{{ series.name }}
|
||
|
</h1>
|
||
|
</div>
|
||
|
<div class="alert alert-danger" role="alert" v-else>Aucune série sélectionnée</div>
|
||
|
<template v-if="series">
|
||
|
<h2>
|
||
|
<span class="glyphicon glyphicon-book"></span> Livre(s)
|
||
|
</h2>
|
||
|
<ul>
|
||
|
<li v-for="book in series.books">{{ book.series.idx }}.
|
||
|
<a :href="'book.html?id='+book.id">{{ book.title }}</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<h2>
|
||
|
<span class="glyphicon glyphicon-user"></span> Auteur(s)
|
||
|
</h2>
|
||
|
<ul>
|
||
|
<li v-for="author in series.authors">
|
||
|
<span class="glyphicon glyphicon-user"></span>
|
||
|
<a :href="'author.html?id='+author.id">{{ author.name }}</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</template>
|
||
|
</div>
|
||
|
<script src="js/vue.min.js"></script>
|
||
|
<script src="js/series.min.js"></script>
|
||
|
</body>
|
||
|
</html>
|
||
|
|