|
|
@ -6,7 +6,7 @@
|
|
|
|
<meta name="description" content="" />
|
|
|
|
<meta name="description" content="" />
|
|
|
|
<meta name="author" content="" />
|
|
|
|
<meta name="author" content="" />
|
|
|
|
<!-- Core theme CSS (includes Bootstrap)-->
|
|
|
|
<!-- Core theme CSS (includes Bootstrap)-->
|
|
|
|
<link href="../view/css/home.css" rel="stylesheet" />
|
|
|
|
<link href="view/css/home.css" rel="stylesheet" />
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<div class="d-flex" id="wrapper">
|
|
|
|
<div class="d-flex" id="wrapper">
|
|
|
@ -14,8 +14,8 @@
|
|
|
|
<div class="border-end bg-white" id="sidebar-wrapper">
|
|
|
|
<div class="border-end bg-white" id="sidebar-wrapper">
|
|
|
|
<div class="sidebar-heading border-bottom bg-light">2do</div>
|
|
|
|
<div class="sidebar-heading border-bottom bg-light">2do</div>
|
|
|
|
<div class="list-group list-group-flush">
|
|
|
|
<div class="list-group list-group-flush">
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">Home</a>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="index.php">Home</a>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">New List +</a>
|
|
|
|
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="index.php?action=pageListe">New List +</a>
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if($user){
|
|
|
|
if($user){
|
|
|
|
echo '<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">My Lists 🔒</a>';
|
|
|
|
echo '<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">My Lists 🔒</a>';
|
|
|
@ -35,10 +35,10 @@
|
|
|
|
<ul class="navbar-nav ms-auto mt-2 mt-lg-0">
|
|
|
|
<ul class="navbar-nav ms-auto mt-2 mt-lg-0">
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if($user){
|
|
|
|
if($user){
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="#!">Log out</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="index.php?action=deconnecter">Log out</a></li>';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="#!">Log In</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="index.php?action=pageConnection">Log In</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="#!">Register</a></li>';
|
|
|
|
echo '<li class="nav-item"><a class="nav-link" href="index.php?action=pageRegister">Register</a></li>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
@ -48,40 +48,41 @@
|
|
|
|
<!--Contenue de la page ici-->
|
|
|
|
<!--Contenue de la page ici-->
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<h4 class="text-center my-3 pb-3">New Task</h4>
|
|
|
|
<h4 class="text-center my-3 pb-3">New Task</h4>
|
|
|
|
<form>
|
|
|
|
<form method="post" action="index.php">
|
|
|
|
<div class="form-outline mb-4 align-items-center">
|
|
|
|
<div class="form-outline mb-4 align-items-center">
|
|
|
|
<input type="title" id="form2title" class="form-control" required minlength="0" maxlength="250"/>
|
|
|
|
<input name="titreT" type="text" id="form2title" class="form-control" required minlength="0" maxlength="250"/>
|
|
|
|
<label class="form-label" for="form2title">Title</label>
|
|
|
|
<label class="form-label" for="form2title">Name</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<input type="text" id="form2description" class="form-control" minlength="0" maxlength="250">
|
|
|
|
<input name="descT" type="text" id="form2description" class="form-control" minlength="0" maxlength="250">
|
|
|
|
<label class="form-label" for="form2description">Description</label>
|
|
|
|
<label class="form-label" for="form2description">Description</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<input type="date" id="form2dateDeb" class="form-control">
|
|
|
|
<input name="dateDebT" type="date" id="form2dateDeb" class="form-control">
|
|
|
|
<label class="form-label" for="form2dateDeb">Starting date</label>
|
|
|
|
<label class="form-label" for="form2dateDeb">Starting date</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<input type="date" id="form2dateFin" class="form-control">
|
|
|
|
<input name="dateFinT" type="date" id="form2dateFin" class="form-control">
|
|
|
|
<label class="form-label" for="form2dateFin">Ending date</label>
|
|
|
|
<label class="form-label" for="form2dateFin">Ending date</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<div class="form-outline mb-4">
|
|
|
|
<input type="text" id="form2importance" class="form-control" />
|
|
|
|
<input name="prioriteT" type="text" id="form2importance" class="form-control" />
|
|
|
|
<label class="form-label" for="form2importance">Importance</label>
|
|
|
|
<label class="form-label" for="form2importance">Importance</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Submit button -->
|
|
|
|
<!-- Submit button -->
|
|
|
|
<button type="button" class="btn btn-primary btn-block mb-4" action="connecter">Save</button>
|
|
|
|
<button type="submit" class="btn btn-primary btn-block mb-4" >Save</button>
|
|
|
|
|
|
|
|
<input type="hidden" name="action" value="ajouterTache"></input>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<!-- Core theme JS-->
|
|
|
|
<!-- Core theme JS-->
|
|
|
|
<script src="../view/js/home.js"></script>
|
|
|
|
<script src="view/js/home.js"></script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|