un msg
This commit is contained in:
43
ajout.php
Normal file
43
ajout.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Test Statique</title>
|
||||
<link rel="stylesheet" href="main.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<?php include "header.php"?>
|
||||
|
||||
<div class="main-body">
|
||||
<div class="content">
|
||||
<form class="recette-form" action="" method="post">
|
||||
<div class="recette-form-add">
|
||||
<div class="recette-form-group form-group">
|
||||
<label for="nom">Titre : </label>
|
||||
<input type="texte" class="form-control" id="recette-form-nom" name="nom" placeholder="Titre de votre recette">
|
||||
</div>
|
||||
<div class="recette-form-group form-group">
|
||||
<label for="temps">Temps (en min) : </label>
|
||||
<input type="texte" class="form-control" id="recette-form-temps" name="temps" placeholder="Temps de préparation">
|
||||
</div>
|
||||
<div class="recette-form-group form-group">
|
||||
<label for="photo">Photo du plat : </label>
|
||||
<input type="file" class="form-control" id="recette-form-photo" name="photo" placeholder="ajouter votre image">
|
||||
</div>
|
||||
<div class="recette-form-group form-group" id="recette-form-div-desc">
|
||||
<label for="description">Description</label>
|
||||
<input type="texte" class="form-control" id="recette-form-description" name="description" placeholder="Description...">
|
||||
</div>
|
||||
|
||||
<button type='submit' class='btn btn-primary'>Confirmer</button>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include "footer.php"?>
|
||||
</body>
|
||||
</html>
|
||||
24
main.css
24
main.css
@@ -410,6 +410,30 @@ ul {
|
||||
box-shadow: 3px 4px 5px #8c8c8c;
|
||||
}
|
||||
|
||||
.recette-form-div-desc {
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
.recette-form {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.recette-form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#recette-form-div-desc {
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
#recette-form-description {
|
||||
height: 95%;
|
||||
}
|
||||
|
||||
/*Footer et son contenue*/
|
||||
footer{
|
||||
padding: 25px;
|
||||
|
||||
@@ -18,3 +18,5 @@
|
||||
<a class="recette-icone" href="recette-en-dur.php"> 8 </a>
|
||||
<a class="recette-icone" href="recette-en-dur.php"> 9 </a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user