feat: add journaux page

This commit is contained in:
Kazhnuz 2020-01-05 00:32:05 +01:00
parent 02716dcbb2
commit f431927d74
7 changed files with 192 additions and 5 deletions

View file

@ -19,7 +19,7 @@
<li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li> <li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li>
<li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li> <li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li> <li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file-text"></i> Journaux</a></li> <li><a href="journaux.html"><i class="fa fa-file-text"></i> Journaux</a></li>
</ul> </ul>
<ul> <ul>
<li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li> <li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li>

View file

@ -19,7 +19,7 @@
<li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li> <li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li>
<li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li> <li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li> <li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file-text"></i> Journaux</a></li> <li><a href="journaux.html"><i class="fa fa-file-text"></i> Journaux</a></li>
</ul> </ul>
<ul> <ul>
<li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li> <li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li>

View file

@ -19,7 +19,7 @@
<li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li> <li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li>
<li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li> <li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li> <li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file-text"></i> Journaux</a></li> <li><a href="journaux.html"><i class="fa fa-file-text"></i> Journaux</a></li>
</ul> </ul>
<ul> <ul>
<li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li> <li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li>

118
dist/admin/journaux.html vendored Normal file
View file

@ -0,0 +1,118 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="../dep/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css">
<link rel="stylesheet" href="style.css">
<script src="../dep/jquery/jquery.js"></script>
<script src="../dep/bootstrap/js/bootstrap.min.js"></script>
<script src="js/script.js"></script>
</head>
<body>
<nav class="bg-dark admin-sidebar text-white">
<ul>
<li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li>
<li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li>
<li><a href="journaux.html"><i class="fa fa-file-text"></i> Journaux</a></li>
</ul>
<ul>
<li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file-image-o"></i> Images</a></li>
<li><a href="basic-panel.html"><i class="fa fa-link"></i> Projets externes</a></li>
<li><a href="basic-panel.html"><i class="fa fa-trophy"></i> Défis et Objectifs</a></li>
</ul>
<ul>
<li><a href="basic-panel.html"><i class="fa fa-globe"></i> Univers</a></li>
<li><a href="basic-panel.html"><i class="fa fa-user"></i> Personnages</a></li>
<li><a href="basic-panel.html"><i class="fa fa-users"></i> Groupes</a></li>
</ul>
<ul>
<li><a href="basic-panel.html"><i class="fa fa-gear"></i> Options</a></li>
</ul>
</nav>
<div id="main-area">
<nav class="navbar navbar-expand-lg navbar-light bg-light mb-4">
<a class="navbar-brand" href="#">ESPACE ADMIN</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<span class="navbar-text mr-auto">
Connecté en tant que Kazhnuz
</span>
<ul class="navbar-nav my-2 my-lg-0">
<li class="nav-item">
<a class="btn btn-danger" href="../index.html">Déconnexion</a>
</li>
</ul>
</div>
</nav>
<div class="container">
<!-- debut de la partie modifiable -->
<ul class="nav nav-pills mb-4" id="pills-tab" >
<li class="nav-item">
<a class="nav-link active" id="pages-actives-tab" data-toggle="pill" href="<%=request.getContextPath() %>/admin/journaux/" role="tab">En cours</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pages-actives-tab" data-toggle="pill" href="<%=request.getContextPath() %>/admin/journaux/publies" role="tab">Publiés</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pages-inactives-tab" data-toggle="pill" href="<%=request.getContextPath() %>/admin/journaux/corbeille" role="tab">Corbeille</a>
</li>
</ul>
<div class="card mb-4">
<table class="table table-stripped mb-0" id="maincard">
<tr class="card-header"><th>id</th><th>Titre</th><th>URL</th><th>Date</th><th></th></tr>
<tr class="card-tablebody">
<td class="align-middle td-id" >1</td>
<td class="align-middle" >La fin du monde</td>
<td class="align-middle" >/la-fin-du-monde</td>
<td class="align-middle" >2012-12-21</td>
<td class="align-middle text-right" ><a href="/modifier/1" class="btn btn-primary mr-2"><i class="fa fa-edit" aria-label="modifier"></i></a> <a href="/delete/1" class="btn btn-danger"><i class="fa fa-trash" aria-label="supprimer"></i></a></td>
</tr>
</table>
</div>
<nav aria-label="Navigation entre les pages" class="text-right">
<ul class="pagination justify-content-end mb-4">
<li class="page-item">
<a class="page-link" href="#" aria-label="Previous">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#" aria-label="Next">
<span aria-hidden="true">&raquo;</span>
</a>
</li>
</ul>
</nav>
<div>
<a href="ajouter" class="btn btn-lg btn-success btn-block">Nouveau journal</a>
</div>
<!-- fin de la partie modifiable -->
</div>
<nav class="nav justify-content-end">
<span class="nav-link disabled">Created with <i class="text-danger fa fa-heart"></i> with Bootstrap4 and Fork-Awesome</span>
</nav>
</div>
</body>
</html>

View file

@ -19,7 +19,7 @@
<li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li> <li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li>
<li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li> <li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li> <li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file-text"></i> Journaux</a></li> <li><a href="journaux.html"><i class="fa fa-file-text"></i> Journaux</a></li>
</ul> </ul>
<ul> <ul>
<li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li> <li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li>

View file

@ -3,7 +3,7 @@
<li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li> <li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li>
<li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li> <li><a href="categories.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li> <li><a href="pages.html"><i class="fa fa-file"></i> Pages</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file-text"></i> Journaux</a></li> <li><a href="journaux.html"><i class="fa fa-file-text"></i> Journaux</a></li>
</ul> </ul>
<ul> <ul>
<li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li> <li><a href="basic-panel.html"><i class="fa fa-book"></i> Ecrits</a></li>

69
src-admin/journaux.html Normal file
View file

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<!--=include includes/_links.html -->
</head>
<body>
<!--=include includes/_sidebar.html -->
<div id="main-area">
<!--=include includes/_navbar.html -->
<div class="container">
<!-- debut de la partie modifiable -->
<ul class="nav nav-pills mb-4" id="pills-tab" >
<li class="nav-item">
<a class="nav-link active" id="pages-actives-tab" data-toggle="pill" href="<%=request.getContextPath() %>/admin/journaux/" role="tab">En cours</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pages-actives-tab" data-toggle="pill" href="<%=request.getContextPath() %>/admin/journaux/publies" role="tab">Publiés</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pages-inactives-tab" data-toggle="pill" href="<%=request.getContextPath() %>/admin/journaux/corbeille" role="tab">Corbeille</a>
</li>
</ul>
<div class="card mb-4">
<table class="table table-stripped mb-0" id="maincard">
<tr class="card-header"><th>id</th><th>Titre</th><th>URL</th><th>Date</th><th></th></tr>
<tr class="card-tablebody">
<td class="align-middle td-id" >1</td>
<td class="align-middle" >La fin du monde</td>
<td class="align-middle" >/la-fin-du-monde</td>
<td class="align-middle" >2012-12-21</td>
<td class="align-middle text-right" ><a href="/modifier/1" class="btn btn-primary mr-2"><i class="fa fa-edit" aria-label="modifier"></i></a> <a href="/delete/1" class="btn btn-danger"><i class="fa fa-trash" aria-label="supprimer"></i></a></td>
</tr>
</table>
</div>
<nav aria-label="Navigation entre les pages" class="text-right">
<ul class="pagination justify-content-end mb-4">
<li class="page-item">
<a class="page-link" href="#" aria-label="Previous">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#" aria-label="Next">
<span aria-hidden="true">&raquo;</span>
</a>
</li>
</ul>
</nav>
<div>
<a href="ajouter" class="btn btn-lg btn-success btn-block">Nouveau journal</a>
</div>
<!-- fin de la partie modifiable -->
</div>
<!--=include includes/_footer.html -->
</div>
</body>
</html>