This commit is contained in:
Meutel 2017-01-14 18:50:29 +01:00
parent 0b9e09b600
commit 7b49530569
3 changed files with 44 additions and 14 deletions

View File

@ -11,11 +11,21 @@
<link rel="prefetch" href="js/vue.min.js"> <link rel="prefetch" href="js/vue.min.js">
</head> </head>
<body> <body>
<nav class="navbar navbar-inverse" id="nav">
<div class="container">
<ul class="nav navbar-nav">
<li><a href="index.html">Accueil</a></li>
<li><a href="search.html">Recherche</a></li>
<li><a href="#">A propos</a></li>
</ul>
<form class="navbar-form navbar-right" role="search" method="get" action="search.html">
<div class="form-group">
<input name="q" type="text" class="form-control" placeholder="Recherche">
</div>
</form>
</div>
</nav>
<div class="container" id="app"> <div class="container" id="app">
<ol class="breadcrumb">
<li><a href="index.html">Home</a></li>
<li class="active">Auteur</li>
</ol>
<div class="page-header" v-if="author.id"> <div class="page-header" v-if="author.id">
<h1> <h1>
<span class="glyphicon glyphicon-user"></span> <span class="glyphicon glyphicon-user"></span>

View File

@ -11,11 +11,21 @@
<link rel="prefetch" href="js/vue.min.js"> <link rel="prefetch" href="js/vue.min.js">
</head> </head>
<body> <body>
<nav class="navbar navbar-inverse" id="nav">
<div class="container">
<ul class="nav navbar-nav">
<li><a href="index.html">Accueil</a></li>
<li><a href="search.html">Recherche</a></li>
<li><a href="#">A propos</a></li>
</ul>
<form class="navbar-form navbar-right" role="search" method="get" action="search.html">
<div class="form-group">
<input name="q" type="text" class="form-control" placeholder="Recherche">
</div>
</form>
</div>
</nav>
<div class="container" id="app"> <div class="container" id="app">
<ol class="breadcrumb">
<li><a href="index.html">Home</a></li>
<li class="active">Livre</li>
</ol>
<div class="page-header" v-if="book.id"> <div class="page-header" v-if="book.id">
<div class="row" v-if="book.has_cover"> <div class="row" v-if="book.has_cover">
<img :src="bookCover(book)" alt="Pas de couverture" title="Couverture" class="img-responsive img-rounded"/> <img :src="bookCover(book)" alt="Pas de couverture" title="Couverture" class="img-responsive img-rounded"/>

View File

@ -11,11 +11,21 @@
<link rel="prefetch" href="js/vue.min.js"> <link rel="prefetch" href="js/vue.min.js">
</head> </head>
<body> <body>
<nav class="navbar navbar-inverse" id="nav">
<div class="container">
<ul class="nav navbar-nav">
<li><a href="index.html">Accueil</a></li>
<li><a href="search.html">Recherche</a></li>
<li><a href="#">A propos</a></li>
</ul>
<form class="navbar-form navbar-right" role="search" method="get" action="search.html">
<div class="form-group">
<input name="q" type="text" class="form-control" placeholder="Recherche">
</div>
</form>
</div>
</nav>
<div class="container" id="app"> <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"> <div class="page-header" v-if="series">
<h1> <h1>
<span class="glyphicon glyphicon-list"></span> <span class="glyphicon glyphicon-list"></span>
@ -28,7 +38,7 @@
<span class="glyphicon glyphicon-book"></span> Livre(s) <span class="glyphicon glyphicon-book"></span> Livre(s)
</h2> </h2>
<ul> <ul>
<li v-for="book in series.books">{{ book.series.idx }}. <li v-for="book in series.books" class="list-unstyled">{{ book.series.idx }}.
<a :href="'book.html?id='+book.id">{{ book.title }}</a> <a :href="'book.html?id='+book.id">{{ book.title }}</a>
</li> </li>
</ul> </ul>
@ -36,7 +46,7 @@
<span class="glyphicon glyphicon-user"></span> Auteur(s) <span class="glyphicon glyphicon-user"></span> Auteur(s)
</h2> </h2>
<ul> <ul>
<li v-for="author in series.authors"> <li v-for="author in series.authors" class="list-unstyled">
<span class="glyphicon glyphicon-user"></span> <span class="glyphicon glyphicon-user"></span>
<a :href="'author.html?id='+author.id">{{ author.name }}</a> <a :href="'author.html?id='+author.id">{{ author.name }}</a>
</li> </li>