feat: add admin index

This commit is contained in:
Kazhnuz 2020-01-05 00:23:40 +01:00
parent fe2a036420
commit 0d420118d0
12 changed files with 323 additions and 266 deletions

View file

@ -7,16 +7,16 @@
<link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css"> <link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<script src="jquery/jquery.js"></script> <script src="../dep/jquery/jquery.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script> <script src="../dep/bootstrap/js/bootstrap.min.js"></script>
<script src="script.js"></script> <script src="js/script.js"></script>
</head> </head>
<body> <body>
<nav class="bg-dark admin-sidebar text-white"> <nav class="bg-dark admin-sidebar text-white">
<ul> <ul>
<li><a href="basic-panel.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="basic-panel.html"><i class="fa fa-folder"></i> Catégories</a></li> <li><a href="basic-panel.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file"></i> Pages</a></li> <li><a href="basic-panel.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="basic-panel.html"><i class="fa fa-file-text"></i> Journaux</a></li>

View file

@ -7,9 +7,9 @@
<link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css"> <link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<script src="jquery/jquery.js"></script> <script src="../dep/jquery/jquery.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script> <script src="../dep/bootstrap/js/bootstrap.min.js"></script>
<script src="script.js"></script> <script src="js/script.js"></script>
</head> </head>

View file

@ -7,9 +7,9 @@
<link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css"> <link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<script src="jquery/jquery.js"></script> <script src="../dep/jquery/jquery.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script> <script src="../dep/bootstrap/js/bootstrap.min.js"></script>
<script src="script.js"></script> <script src="js/script.js"></script>
</head> </head>
@ -29,7 +29,7 @@
<input type="password" class="form-control" id="password" aria-describedby="password" placeholder="Password"> <input type="password" class="form-control" id="password" aria-describedby="password" placeholder="Password">
</div> </div>
<a href="#" class="btn btn-success btn-block">CONNEXION</a> <a href="index.html" class="btn btn-success btn-block">CONNEXION</a>
</div> </div>
</div> </div>

382
dist/admin/index.html vendored
View file

@ -1,269 +1,151 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr"> <html>
<head>
<head> <meta charset="UTF-8">
<meta charset="utf-8"> <title>Insert title here</title>
<title>Blue Sky, by Kazhnuz</title> <link rel="stylesheet" href="../dep/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css">
<!-- meta --> <link rel="stylesheet" href="style.css">
<meta name="description" content="">
<meta name="author" content="">
<!-- mon icon -->
<link rel="shortcut icon" href="img/favicon.png">
<!-- framework utilisés -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Amatic+SC&display=swap" rel="stylesheet">
<link href="dep/spectre/css/spectre.min.css" rel="stylesheet">
<link href="dep/fork-awesome/css/fork-awesome.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<div id="wrapper">
<header id="page-header">
<div class="columns">
<div class="column col-6">
<h1><img src="img/logo.png" alt="Kazhnuz"/></h1>
</div>
<div class="column col-md-6"> <script src="../dep/jquery/jquery.js"></script>
<nav class="navbar"> <script src="../dep/bootstrap/js/bootstrap.min.js"></script>
<section class="navbar-section"> <script src="js/script.js"></script>
</section>
<section class="navbar-section">
<a href="blog.html" class="btn btn-link">Blog</a>
<a href="crea.html" class="btn btn-link">Gallerie</a>
<a href="apropos.html" class="btn btn-link">A propos</a>
</section>
</nav>
</div>
</div>
</header>
<div class="container-blog" id="page-content"> </head>
<main class="mainpane"> <body>
<article class="maintext"> <nav class="bg-dark admin-sidebar text-white">
<h1>Bienvenue sur kazhnuz.space !</h1> <ul>
<p>Bonjour, et bienvenue sur Kazhnuz Space, mon blog créatif et personnel ! Je suis le tenancier de ce blog, et juste une personne qui aime bien créer des choses, et les partager sur internet. C'est ici que je poste toute mes créations - qu'elles soient graphiques, textuelles, voir vidéoludiques - mais également quelques textes personelles ou des pensées plus ou moins "philosophiques".</p> <li><a href="index.html"><i class="fa fa-home"></i> Accueil</a></li>
<p>J'espère que vous passerez un bon moment sur ce blog, à lire mes petites bétises :)</p> <li><a href="basic-panel.html"><i class="fa fa-folder"></i> Catégories</a></li>
</article> <li><a href="basic-panel.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>
<section> </ul>
<ul>
<h1>Dernier article sur le blog</h1> <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>
<div class="card card-primary"> <li><a href="basic-panel.html"><i class="fa fa-link"></i> Projets externes</a></li>
<div class="card-header"><h1>Test article de blog</h1></div> <li><a href="basic-panel.html"><i class="fa fa-trophy"></i> Défis et Objectifs</a></li>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repudiandae rerum, sapiente possimus ullam laboriosam dolorum dicta quas laborum maiores, accusantium eveniet sunt, dolor necessitatibus quo! Ducimus a consequuntur vero sapiente.</p> </ul>
<ul>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repudiandae rerum, sapiente possimus ullam laboriosam dolorum dicta quas laborum maiores, accusantium eveniet sunt, dolor necessitatibus quo! Ducimus a consequuntur vero sapiente.</p> <li><a href="basic-panel.html"><i class="fa fa-globe"></i> Univers</a></li>
<p class="align-center"> <a href="blog-article.html" class="btn btn-readmore">Lire l'article</a> </p> <li><a href="basic-panel.html"><i class="fa fa-user"></i> Personnages</a></li>
</div> <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">
<!-- début de la partie modifiable -->
</section> <div class="row mb-3">
<div class="col-12">
<div class="card ">
<div class="card-body">Bienvenue dans l'administration de mon blog. Si vous êtes moi, tout va bien, je me suis pas fait piraté. Si vous êtes pas moi... Bah merde quoi, je suis nul et je me suis fait pirater mon blog custom :V</div>
</div>
</div>
</div>
<div class="previews-section"> <div class="row mb-3">
<div class="col-6">
<div class="card card-warning">
<div class="card-header">Tâches à faire</div>
<div class="card-body">
<a class="btn btn-success btn-block" href="#">AJOUTER</a>
</div>
</div>
</div>
<article class="card card-preview card-primary"> <div class="col-6">
<a href="crea-image.html" class="preview-link"> <div class="card">
<div class="preview-item"> <div class="card-header">Publications</div>
<div class="preview-content"><p class="p-img"><img src="img/wmap.png" alt="Card image cap"></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary"> <div class="card-body">
<a href="crea-ecrit.html" class="preview-link"> <h4>Récentes</h4>
<div class="preview-item"> <h4>A venir</h4>
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary">
<a href="crea-ecrit.html" class="preview-link">
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary"> </div>
<a href="crea-image.html" class="preview-link"> </div>
<div class="preview-item">
<div class="preview-content"><p class="p-img"><img src="img/wmap.png" alt="Card image cap"></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
<article class="card card-preview card-primary"> </div>
<a href="crea-ecrit.html" class="preview-link"> </div>
<div class="preview-item">
<div class="preview-content"><p>Proin bibendum felis sit amet nisl iaculis, <strong>vel blandit purus dictum</strong>. Maecenas ullamcorper tortor ac dolor pulvinar, id imperdiet arcu suscipit. Sed posuere lectus eu orci tristique maximus. Nulla facilisi. Aenean sed fermentum nisl. Donec sodales ligula eu est finibus, eu posuere ligula condimentum. Morbi arcu magna, varius id justo ac, aliquam luctus magna. Pellentesque a velit et ipsum euismod congue eget eu sem. <del>Nulla luctus est nec arcu volutpat blandit.</del> Quisque egestas, elit eu tempus tincidunt, mi libero porta purus, eget lobortis metus erat a dolor. Integer ac turpis lacinia, interdum nisl non, feugiat libero.</p></div>
<div class="preview-overlay">
<h1 class="card-header">Exemple titre</h1>
<div class="preview-metadata">
<div class="align-right"><time><small>Le 27/02/2017</small></time></div>
<div class="align-left"><span class="chip chip-primary">video</span></div>
<div class="align-center comment-text">3 commentaires</div>
</div>
</div>
</div>
</a>
</article>
</div>
<img src="https://kazhnuz.space/data/medias/incoming____by_kazhnuz-d5o055l.gif" alt="Une armée de cochon regarde de manière menaçante." class="pigimg" />
</main> <div class="row mb-3">
<section class="sidebar"> <div class="col-12">
<div class="card card-primary"> <div class="card card-stats">
<div class="card-header">Cémwha</div> <nav class="card-header pb-0 pr-0 pl-0">
<p class="mwarea"><img src="https://kazhnuz.space/data/medias/spritemwah.png" alt="Une armée de cochon regarde de manière menaçante." class="mwaimg" /></p> <div class="nav nav-tabs" id="nav-tab" role="tablist">
<table style="width:100%" class="table-primary"> <span class="nav-item nav-link nav-title">Rapport d'activité : </span>
<tr> <a class="nav-item nav-link active" id="rapport_journalier-tab" data-toggle="tab" href="#rapport_journalier" role="tab" aria-controls="rapport_journalier" aria-selected="true">Journalier</a>
<th>PSEUDO</th> <a class="nav-item nav-link" id="rapport_hebdo-tab" data-toggle="tab" href="#rapport_hebdo" role="tab" aria-controls="rapport_hebdo" aria-selected="false">Hebdomadaire</a>
<td>Kazhnuz</td> <a class="nav-item nav-link" id="rapport_mens-tab" data-toggle="tab" href="#rapport_mens" role="tab" aria-controls="rapport_mens" aria-selected="false">Mensuel</a>
</tr> </div>
<tr> </nav>
<th>Age</th> <div class="tab-content" id="nav-tabContent">
<td>26</td> <div class="tab-pane fade show active" id="rapport_journalier" role="tabpanel" aria-labelledby="rapport_journalier-tab">
</tr> <table class="table">
<tr> <tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<th>Pronoms</th> <tr><th>Mots écrits</th><td class="text-left"> 0</td></tr>
<td>iel/il</td> <tr class="bg-light"><th>Hier</th><th></th></tr>
</tr> <tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr> <tr><th>Mots écrits</th><td class="text-left"> 150 / 3000</td></tr>
<th>OS</th> </table>
<td>Fedora</td> </div>
</tr>
<tr>
<th>Outils</th>
<td>LibreOffice & Krita</td>
</tr>
</table>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-rss"></i> Publications</div>
<div class="card-menu">
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">Petite histoire uchronique du système solaire (4)</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
<a href="#" class="menu-element"><span class="trim-that">#WRITOBER2019 - Ring</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-folder"></i> Catégories</div>
<div class="card-menu">
<a href="crea-category.html" class="menu-element">Nouvelles et formats courts <span class="menu-label label-secondary">40</span></a>
<a href="crea-category.html" class="menu-element">Contes et légendes <span class="menu-label label-secondary">11</span></a>
<a href="crea-category.html" class="menu-element">Poèmes <span class="menu-label label-secondary">11</span></a>
<a href="crea-category.html" class="menu-element">Romans <span class="menu-label label-secondary">0</span></a>
<a href="crea-category.html" class="menu-element">Logo et Design <span class="menu-label label-secondary">0</span></a>
<a href="crea-category.html" class="menu-element">Mapping et Pixel Art <span class="menu-label label-secondary">0</span></a>
<div class="menu-divider">FICHES</div>
<a href="#" class="menu-element">Univers <span class="menu-label label-secondary">4</span></a>
<a href="#" class="menu-element">Personnages <span class="menu-label label-secondary">uwu</span></a>
<div class="menu-divider">BLOG</div>
<a href="blog-category.html" class="menu-element">Niouzes site et perso <span class="menu-label label-secondary">2</span></a>
<a href="blog-category.html" class="menu-element">Réflexions et pensées <span class="menu-label label-secondary">0</span></a>
<a href="blog-category.html" class="menu-element">Militantisme <span class="menu-label label-secondary">4</span></a>
<a href="blog-category.html" class="menu-element">Conseils et partages <span class="menu-label label-secondary">-1</span></a>
</div>
</div>
<div class="card card-primary">
<div class="card-header"><i class="fa fa-calendar-o"></i> Archives</div>
<div class="card-menu">
<a href="#" class="menu-element">Octobre 2019 <span class="menu-label label-secondary">1</span></a>
<a href="#" class="menu-element">2018 <span class="menu-label label-secondary">3</span></a>
<a href="#" class="menu-element">2017 <span class="menu-label label-secondary">50</span></a>
<a href="#" class="menu-element">2016 <span class="menu-label label-secondary">8</span></a>
<a href="#" class="menu-element">2015 <span class="menu-label label-secondary">2</span></a>
<a href="#" class="menu-element">2010 - 2014 <span class="menu-label label-secondary">27</span></a>
</div>
</div>
</section> <div class="tab-pane fade" id="rapport_hebdo" role="tabpanel" aria-labelledby="rapport_hebdo-tab">
</div> <table class="table">
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 0</td></tr>
<tr class="bg-light"><th>La semaine dernière</th><th></th></tr>
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 150 / 3000</td></tr>
</table>
</div>
<div class="tab-pane fade" id="rapport_mens" role="tabpanel" aria-labelledby="rapport_mens-tab">
<table class="table">
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 0</td></tr>
<tr class="bg-light"><th>Le mois dernier</th><th></th></tr>
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 150 / 3000</td></tr>
</table>
</div>
</div>
</div>
</div>
</div>
</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>
<footer> </body>
<ul class="social">
<li class="social-li"><a class="social-link" href="https://twitter.com/kazhnuz" alt="Twitter"><i class="fa fa-fw fa-twitter"></i></a></li>
<li class="social-li"><a class="social-link" href="https://octodon.social/users/kazhnuz" alt="Mastodon"><i class="fa fa-fw fa-mastodon"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Diaspora"><i class="fa fa-fw fa-diaspora"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="DeviantART"><i class="fa fa-fw fa-deviantart"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Github"><i class="fa fa-fw fa-github"></i></a></li>
<li class="social-li"><a class="social-link" href="#" alt="Gitlab"><i class="fa fa-fw fa-gitlab"></i></a></li>
</ul>
<div class="columns">
<div class="column">
<p>Ce theme est diffusé sous licence <strong>Creative Common Attribution - Partage à l'Identique 4.0</strong> - hors mention contraire.</p>
<p>Cette licence 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="column">
<p>Theme réalisé avec le quadriciel <a href="https://getbootstrap.com/">Bootstrap4</a> et la banque d'icone <a href="https://forkawesome.github.io/Fork-Awesome/">Fork-Awesome</a>.</p>
</div>
<div class="column">
<p>Lorem Ipsum.</p>
</div>
</div>
</footer>
<script src="js/trim.js"></script>
</body>
</html> </html>

0
dist/admin/js/script.js vendored Normal file
View file

30
dist/admin/style.css vendored
View file

@ -1,3 +1,4 @@
@charset "UTF-8";
body { body {
background-color: #f8f9fa; background-color: #f8f9fa;
display: flex; display: flex;
@ -40,3 +41,32 @@ body {
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 100%; } width: 100%; }
/* Composant de la page d'accueil */
.nav-link.nav-title {
border: 0; }
.nav-link.nav-title:hover {
border: 0; }
.card-header .nav-tabs {
border-bottom: 0; }
.card-stats tr:first-child td, .card-stats tr:first-child th {
border-top: 0; }
.modifier-listelement-line {
display: flex; }
/* Fonctionnalités globale : tableau dont la première ligne est fusionné à un card-header */
tr.card-header td, tr.card-header th {
border: 0; }
tr.card-tablebody td, tr.card-tablebody th {
/* on va plutôt gérer les border au niveau des tr pour éviter les soucis */
border: 0; }
tr.card-tablebody:not(:last-child) {
border-bottom: 1px solid #dee2e6; }
.td-id {
font-weight: 700; }

View file

@ -22,7 +22,7 @@
<input type="password" class="form-control" id="password" aria-describedby="password" placeholder="Password"> <input type="password" class="form-control" id="password" aria-describedby="password" placeholder="Password">
</div> </div>
<a href="#" class="btn btn-success btn-block">CONNEXION</a> <a href="index.html" class="btn btn-success btn-block">CONNEXION</a>
</div> </div>
</div> </div>

View file

@ -2,6 +2,6 @@
<link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css"> <link rel="stylesheet" href="../dep/fork-awesome/css/fork-awesome.min.css">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<script src="jquery/jquery.js"></script> <script src="../dep/jquery/jquery.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script> <script src="../dep/bootstrap/js/bootstrap.min.js"></script>
<script src="script.js"></script> <script src="js/script.js"></script>

View file

@ -1,6 +1,6 @@
<nav class="bg-dark admin-sidebar text-white"> <nav class="bg-dark admin-sidebar text-white">
<ul> <ul>
<li><a href="basic-panel.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="basic-panel.html"><i class="fa fa-folder"></i> Catégories</a></li> <li><a href="basic-panel.html"><i class="fa fa-folder"></i> Catégories</a></li>
<li><a href="basic-panel.html"><i class="fa fa-file"></i> Pages</a></li> <li><a href="basic-panel.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="basic-panel.html"><i class="fa fa-file-text"></i> Journaux</a></li>

102
src-admin/index.html Normal file
View file

@ -0,0 +1,102 @@
<!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">
<!-- début de la partie modifiable -->
<div class="row mb-3">
<div class="col-12">
<div class="card ">
<div class="card-body">Bienvenue dans l'administration de mon blog. Si vous êtes moi, tout va bien, je me suis pas fait piraté. Si vous êtes pas moi... Bah merde quoi, je suis nul et je me suis fait pirater mon blog custom :V</div>
</div>
</div>
</div>
<div class="row mb-3">
<div class="col-6">
<div class="card card-warning">
<div class="card-header">Tâches à faire</div>
<div class="card-body">
<a class="btn btn-success btn-block" href="#">AJOUTER</a>
</div>
</div>
</div>
<div class="col-6">
<div class="card">
<div class="card-header">Publications</div>
<div class="card-body">
<h4>Récentes</h4>
<h4>A venir</h4>
</div>
</div>
</div>
</div>
<div class="row mb-3">
<div class="col-12">
<div class="card card-stats">
<nav class="card-header pb-0 pr-0 pl-0">
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<span class="nav-item nav-link nav-title">Rapport d'activité : </span>
<a class="nav-item nav-link active" id="rapport_journalier-tab" data-toggle="tab" href="#rapport_journalier" role="tab" aria-controls="rapport_journalier" aria-selected="true">Journalier</a>
<a class="nav-item nav-link" id="rapport_hebdo-tab" data-toggle="tab" href="#rapport_hebdo" role="tab" aria-controls="rapport_hebdo" aria-selected="false">Hebdomadaire</a>
<a class="nav-item nav-link" id="rapport_mens-tab" data-toggle="tab" href="#rapport_mens" role="tab" aria-controls="rapport_mens" aria-selected="false">Mensuel</a>
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="rapport_journalier" role="tabpanel" aria-labelledby="rapport_journalier-tab">
<table class="table">
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 0</td></tr>
<tr class="bg-light"><th>Hier</th><th></th></tr>
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 150 / 3000</td></tr>
</table>
</div>
<div class="tab-pane fade" id="rapport_hebdo" role="tabpanel" aria-labelledby="rapport_hebdo-tab">
<table class="table">
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 0</td></tr>
<tr class="bg-light"><th>La semaine dernière</th><th></th></tr>
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 150 / 3000</td></tr>
</table>
</div>
<div class="tab-pane fade" id="rapport_mens" role="tabpanel" aria-labelledby="rapport_mens-tab">
<table class="table">
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 0</td></tr>
<tr class="bg-light"><th>Le mois dernier</th><th></th></tr>
<tr><th>Textes publiés</th><td class="text-left"> 0</td></tr>
<tr><th>Mots écrits</th><td class="text-left"> 150 / 3000</td></tr>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- fin de la partie modifiable -->
</div>
<!--=include includes/_footer.html -->
</div>
</body>
</html>

0
src-admin/js/script.js Normal file
View file

View file

@ -58,3 +58,46 @@ body {
justify-content: center; justify-content: center;
width:100%; width:100%;
} }
/* Composant de la page d'accueil */
.nav-link.nav-title {
border:0;
&:hover {
border:0;
}
}
.card-header .nav-tabs {
border-bottom:0;
}
.card-stats tr:first-child td, .card-stats tr:first-child th {
border-top:0;
}
.modifier-listelement-line {
display: flex;
}
/* Fonctionnalités globale : tableau dont la première ligne est fusionné à un card-header */
tr.card-header td, tr.card-header th {
border:0;
}
tr.card-tablebody td, tr.card-tablebody th {
/* on va plutôt gérer les border au niveau des tr pour éviter les soucis */
border:0;
}
tr.card-tablebody:not(:last-child) {
border-bottom:1px solid #dee2e6;
}
.td-id {
// On rend gras les ids dans les tableaux.
font-weight:700;
}