Skip to content

Commit

Permalink
images panier
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienSaurel committed Dec 13, 2018
1 parent 438113d commit 7bed058
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 6 deletions.
21 changes: 20 additions & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,28 @@
font-family: "Philosopher";
src: url("font/Philosopher-Regular.ttf");
}
.issou form fieldset p {
display: inline-block;
position: relative;
vertical-align: top;

}

.issou form fieldset p input {
display: inline-block;
position: relative;
vertical-align: top;

}
#addpanier {
border-bottom:none;
width:40px;
height:35px;
margin-left: 50px;
}

.Panier a img {
width: 50px;
width: 35px;
}

.Panier, .Panier a, .Panier a img {
Expand Down
Binary file modified images/panier.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/panieradd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/sharp_add_shopping_cart_white_18dp.png
Binary file not shown.
Binary file removed images/sharp_shopping_cart_white_18dp.png
Binary file not shown.
2 changes: 1 addition & 1 deletion view/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<a class="lienMenu" href="?action=adminhomepage&controller=administrateur">Menu Admin</a>
</li>
<?php } ?>
<li class="Panier"><a class="lienMenu" href="?action=display&controller=Panier"> <img src="images/panier.png"> </a></li>
<li class="Panier"><a class="lienMenu" href="?action=display&controller=Panier"> <img src="images/panier.png" alt="Panier"> </a></li>

</ul>
</nav>
8 changes: 4 additions & 4 deletions view/planetes/infoPlanete.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@



<div> <form method="post" action="index.php?controller=panier&action=ajout">
<div class="issou"> <form method="post" action="index.php?controller=panier&action=ajout">


<fieldset>
Expand All @@ -71,9 +71,9 @@
<p>
<label for="qte">quantité souhaitée :</label>
<input type="number" min="1" max="<?php echo $stockPlanete?>" value="1" placeholder="Ex : 1" name="qte" id="qte" required/>
</p>
<p>
<input type="submit" value="Ajouter au panier" />

<input id="addpanier" type="image" src="images/panieradd.png" alt="Ajouter au panier">
</p>
</fieldset>
</form>
Expand Down

0 comments on commit 7bed058

Please sign in to comment.