feat: ajout des includes
This commit is contained in:
parent
a34233c5aa
commit
68b9b8a827
7 changed files with 61 additions and 103 deletions
|
@ -7,6 +7,7 @@ sass.compiler = require('node-sass');
|
||||||
|
|
||||||
function html() {
|
function html() {
|
||||||
return src('static/*')
|
return src('static/*')
|
||||||
|
.pipe(include())
|
||||||
.pipe(dest('dist'))
|
.pipe(dest('dist'))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,30 +9,13 @@
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<!-- mon icon -->
|
<!--=include includes/_links.html -->
|
||||||
<link rel="shortcut icon" href="img/favicon.png">
|
|
||||||
|
|
||||||
<!-- dependencies -->
|
|
||||||
<link rel="stylesheet" href="dep/bootstrap/css/bootstrap.min.css">
|
|
||||||
<link rel="stylesheet" href="dep/fork-awesome/css/fork-awesome.min.css">
|
|
||||||
<script src="dep/jquery/jquery.js"></script>
|
|
||||||
<script src="dep/bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
|
|
||||||
<!-- style and js -->
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="wrapper" class="container mt-4">
|
<div id="wrapper" class="container mt-4">
|
||||||
<div class="row">
|
<!--=include includes/_header.html -->
|
||||||
<nav aria-label="breadcrumb" class="col-12">
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li class="breadcrumb-item"><a href="https://chlore.net">chlore.net</a></li>
|
|
||||||
<li class="breadcrumb-item active" aria-current="page">rulebook</li>
|
|
||||||
</ol>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
<div id="global-area" class="row">
|
<div id="global-area" class="row">
|
||||||
<main id="page-main" class="col-8">
|
<main id="page-main" class="col-8">
|
||||||
<p><a class="btn btn-secondary" href="index.html"><i class="fa fa-caret-left"></i> Retour</a></p>
|
<p><a class="btn btn-secondary" href="index.html"><i class="fa fa-caret-left"></i> Retour</a></p>
|
||||||
|
@ -63,41 +46,12 @@
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
||||||
<div id="page-sidebar" class="col-4">
|
<!--=include includes/_sidebar.html -->
|
||||||
<section class="card card-green" style="margin-bottom:2em;">
|
|
||||||
<div class="card-header">
|
|
||||||
<i class="fa fa-fw fa-book"></i> Livres de règles
|
|
||||||
</div>
|
|
||||||
<div class="list-group list-group-flush">
|
|
||||||
<a href="core/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
|
|
||||||
Rulebook
|
|
||||||
</a>
|
|
||||||
<a href="erratum/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
|
|
||||||
Erratum
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer id="page-footer" class="container mt-4">
|
<!--=include includes/_footer.html -->
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-6">
|
|
||||||
<p>Rulebook version 2.2.0</p>
|
|
||||||
<p>Ces règles de JDR sont distribués sous la <strong>Licence Ludique Libre</strong>, et les univers utilisé dans ces JDR sont diffusé sous licence <strong>Creative Common Attribution - Partage à l'Identique 4.0</strong> - hors mention contraire.</p>
|
|
||||||
<p>Ces licences vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! <i style="color:#FF0000" class="fa fa-heart"></i></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<p>Page propulsé par <a href="https://getbootstrap.com/">Bootstrap4</a> et la banque d'icone <a href="https://forkawesome.github.io/Fork-Awesome/">Fork-Awesome</a>.</p>
|
|
||||||
<p>Ouais c'est la page de la mega-flemme, mais kestuvafer ?</p>
|
|
||||||
<p><a href="https://git.chlore.net/Kazhnuz/rulebook">Source des JDR</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
16
static/includes/_footer.html
Normal file
16
static/includes/_footer.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<footer id="page-footer" class="container mt-4">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<p>Rulebook version 3.0.0 beta</p>
|
||||||
|
<p>Ces règles de JDR sont distribués sous la <strong>Licence Ludique Libre</strong>, et les univers utilisé dans ces JDR sont diffusé sous licence <strong>Creative Common Attribution - Partage à l'Identique 4.0</strong> - hors mention contraire.</p>
|
||||||
|
<p>Ces licences vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! <i style="color:#FF0000" class="fa fa-heart"></i></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
<p>Page propulsé par <a href="https://getbootstrap.com/">Bootstrap4</a> et la banque d'icone <a href="https://forkawesome.github.io/Fork-Awesome/">Fork-Awesome</a>.</p>
|
||||||
|
<p>Ouais c'est la page de la mega-flemme, mais kestuvafer ?</p>
|
||||||
|
<p><a href="https://git.chlore.net/Kazhnuz/rulebook">Source des JDR</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
8
static/includes/_header.html
Normal file
8
static/includes/_header.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<div class="row">
|
||||||
|
<nav aria-label="breadcrumb" class="col-12">
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li class="breadcrumb-item"><a href="https://chlore.net">chlore.net</a></li>
|
||||||
|
<li class="breadcrumb-item active" aria-current="page">rulebook</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
</div>
|
11
static/includes/_links.html
Normal file
11
static/includes/_links.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<!-- mon icon -->
|
||||||
|
<link rel="shortcut icon" href="img/favicon.png">
|
||||||
|
|
||||||
|
<!-- dependencies -->
|
||||||
|
<link rel="stylesheet" href="dep/bootstrap/css/bootstrap.min.css">
|
||||||
|
<link rel="stylesheet" href="dep/fork-awesome/css/fork-awesome.min.css">
|
||||||
|
<script src="dep/jquery/jquery.js"></script>
|
||||||
|
<script src="dep/bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
|
<!-- style and js -->
|
||||||
|
<link rel="stylesheet" href="style.css">
|
17
static/includes/_sidebar.html
Normal file
17
static/includes/_sidebar.html
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<div id="page-sidebar" class="col-4">
|
||||||
|
<section class="card card-green" style="margin-bottom:2em;">
|
||||||
|
<div class="card-header">
|
||||||
|
<i class="fa fa-fw fa-book"></i> Livres de règles
|
||||||
|
</div>
|
||||||
|
<div class="list-group list-group-flush">
|
||||||
|
<a href="core/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
|
||||||
|
Rulebook
|
||||||
|
</a>
|
||||||
|
<a href="erratum/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
|
||||||
|
Erratum
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<a class="btn btn-secondary btn-block" href="fiches.html">Fiches de personnages</a>
|
||||||
|
</div>
|
|
@ -9,30 +9,12 @@
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<!-- mon icon -->
|
<!--=include includes/_links.html -->
|
||||||
<link rel="shortcut icon" href="img/favicon.png">
|
|
||||||
|
|
||||||
<!-- dependencies -->
|
|
||||||
<link rel="stylesheet" href="dep/bootstrap/css/bootstrap.min.css">
|
|
||||||
<link rel="stylesheet" href="dep/fork-awesome/css/fork-awesome.min.css">
|
|
||||||
<script src="dep/jquery/jquery.js"></script>
|
|
||||||
<script src="dep/bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
|
|
||||||
<!-- style and js -->
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="wrapper" class="container mt-4">
|
<div id="wrapper" class="container mt-4">
|
||||||
<div class="row">
|
<!--=include includes/_header.html -->
|
||||||
<nav aria-label="breadcrumb" class="col-12">
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li class="breadcrumb-item"><a href="https://chlore.net">chlore.net</a></li>
|
|
||||||
<li class="breadcrumb-item active" aria-current="page">rulebook</li>
|
|
||||||
</ol>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
<div id="global-area" class="row">
|
<div id="global-area" class="row">
|
||||||
<main id="page-main" class="col-8">
|
<main id="page-main" class="col-8">
|
||||||
|
|
||||||
|
@ -55,43 +37,12 @@
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
||||||
<div id="page-sidebar" class="col-4">
|
<!--=include includes/_sidebar.html -->
|
||||||
<section class="card card-green" style="margin-bottom:2em;">
|
|
||||||
<div class="card-header">
|
|
||||||
<i class="fa fa-fw fa-book"></i> Livres de règles
|
|
||||||
</div>
|
|
||||||
<div class="list-group list-group-flush">
|
|
||||||
<a href="core/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
|
|
||||||
Rulebook
|
|
||||||
</a>
|
|
||||||
<a href="erratum/" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
|
|
||||||
Erratum
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<a class="btn btn-secondary btn-block" href="fiches.html">Fiches de personnages</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer id="page-footer" class="container mt-4">
|
<!--=include includes/_footer.html -->
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-6">
|
|
||||||
<p>Rulebook version 3.0.0 beta</p>
|
|
||||||
<p>Ces règles de JDR sont distribués sous la <strong>Licence Ludique Libre</strong>, et les univers utilisé dans ces JDR sont diffusé sous licence <strong>Creative Common Attribution - Partage à l'Identique 4.0</strong> - hors mention contraire.</p>
|
|
||||||
<p>Ces licences vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! <i style="color:#FF0000" class="fa fa-heart"></i></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<p>Page propulsé par <a href="https://getbootstrap.com/">Bootstrap4</a> et la banque d'icone <a href="https://forkawesome.github.io/Fork-Awesome/">Fork-Awesome</a>.</p>
|
|
||||||
<p>Ouais c'est la page de la mega-flemme, mais kestuvafer ?</p>
|
|
||||||
<p><a href="https://git.chlore.net/Kazhnuz/rulebook">Source des JDR</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue