Fix paths

This commit is contained in:
Meutel 2017-01-01 17:00:00 +01:00
parent f47e6a0a7a
commit 569fb9282c
2 changed files with 15 additions and 15 deletions

View File

@ -4,11 +4,11 @@
<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">
<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">
@ -60,7 +60,7 @@
</div>
<!-- TODO cover -->
</div>
<script src="js/vue.min.js"></script>
<script src="js/book.min.js"></script>
<script src="/js/vue.min.js"></script>
<script src="/js/book.min.js"></script>
</body>
</html>

View File

@ -4,11 +4,11 @@
<title>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/index.min.js" as="script">
<link rel="preload" href="js/vue.min.js" as="script">
<link rel="prefetch" href="js/index.min.js">
<link rel="prefetch" href="js/vue.min.js">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="preload" href="/js/index.min.js" as="script">
<link rel="preload" href="/js/vue.min.js" as="script">
<link rel="prefetch" href="/js/index.min.js">
<link rel="prefetch" href="/js/vue.min.js">
</head>
<body>
<div class="container" id="app">
@ -31,7 +31,7 @@
<th>Serie</th>
</tr>
<tr v-for="book in books">
<td><span class="glyphicon glyphicon-book"></span><a :href="'book.html?id='+book.id">{{ book.title }}</a></td>
<td><span class="glyphicon glyphicon-book"></span><a :href="'/book.html?id='+book.id">{{ book.title }}</a></td>
<td>
<template v-for="author in book.authors">
<span class="glyphicon glyphicon-user"></span>{{ author.name }}
@ -47,7 +47,7 @@
</table>
</div>
</div>
<script src="js/vue.min.js"></script>
<script src="js/index.min.js"></script>
<script src="/js/vue.min.js"></script>
<script src="/js/index.min.js"></script>
</body>
</html>