You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

236 lines
8.5 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test</title>
<link rel="stylesheet" href="assets/lib/bootstrap/bootstrap.min.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="assets/lib/wow/animate.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="assets/src/css/main.css" type="text/css" charset="utf-8">
</head>
<body>
<div class="content">
<object type="application/x-shockwave-flash" data="dewplayer.swf?mp3=Hymne de la Ligue des Champions.mp3" width="200" height="20">
<param name="movie" value="dewplayer.swf?mp3=Hymne de la Ligue des Champions.mp3" />
</object>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="#">LA GRAVE</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">
Accueil
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Mes Commandes</a>
</li>
<li class="nav-item">
<a class="nav-link" href="panier.html">Panier</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Mon compte</a>
<div class="dropdown-menu" aria-labelledby="dropdown01">
<a class="dropdown-item" href="#">Gestion de compte</a>
<a class="dropdown-item" href="inscription.html" target="z">Formulaire</a>
<a class="dropdown-item" href="#">Se déconnecter</a>
</div>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1 class="display-3 wow fadeInLeft">Le bazard de La Grave</h1>
<hr>
<h2>
<span class="badge badge-dark">BLACK FRIDAY!</span>
<span class="badge badge-danger">-15%</span>
dès le
<strong>2ème achat</strong>
!
</h2>
<div class="row">
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm01.png">
<div class="card-body">
<h4 class="card-title">Foo bar 1</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm02.jpg">
<div class="card-body">
<h4 class="card-title">Foo bar 2</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm03.jpg">
<div class="card-body">
<h4 class="card-title">Foo bar 3</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm04.jpg">
<div class="card-body">
<h4 class="card-title">Foo bar 4</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm05.jpg">
<div class="card-body">
<h4 class="card-title">Foo bar 5</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm01.png">
<div class="card-body">
<h4 class="card-title">Foo bar 6</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm02.jpg">
<div class="card-body">
<h4 class="card-title">Foo bar 7</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
<div class="col-3">
<div class="card">
<img class="card-img-top" src="products/sm03.jpg">
<div class="card-body">
<h4 class="card-title">Foo bar 8</h4>
<p class="card-text">Blabla blab albal</p>
<a href="#" class="panier btn btn-primary">Ajouter au panier</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container menu">
<div class="row wow fadeInDown">
<div class="col-sm-12 col-md-12 col-lg-4 ">
<img src="assets/src/img/avatar.jpg" alt="Modifer" title="Modifer">
</div>
<div class="col-sm-12 col-md-12 col-lg-8">
<p>
<a href="#">
Bonjour,
<strong>La Grave</strong>
</a>
</p>
<ul>
<li>
<a href="#">Mes commandes</a>
</li>
<li>
<a href="#">Favoris</a>
</li>
</ul>
</div>
<div class="col-md-12 col-sm-12 col-lg-12 shops">
<ul>
<li>
<a href="nouveautes.html">Nouveautés</a>
</li>
<li>
<a href="https://www.adidas.fr/" target="_blank">TOP et PROMOS</a>
</li>
</ul>
</div>
</div>
</div>
<div class="content">
<div class="container">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4"></div>
<div class="col-md-4"></div>
</div>
<hr>
<footer>
<p>&copy; Company 2017</p>
</footer>
<marquee direction="left">Black friday -15% sur tout les articles non soldés</marquee>
</div>
</div>
<div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<img style="max-width: 100%">
<p></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Ajouter au panier</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
</div>
</div>
</div>
</div>
<script src="assets/lib/jquery/jquery-3.2.1.min.js"></script>
<script src="assets/lib/popper/popper.js"></script>
<script src="assets/lib/wow/wow.min.js"></script>
<script src="assets/lib/bootstrap/bootstrap.min.js"></script>
<script src="assets/src/js/main.js"></script>
<script>
$('.panier').click(function() {
var $modal = $('.modal');
var $card = $(this).parent().parent();
var title = $card.find('h4').html();
var description = $card.find('p').html();
var image = $card.find('img').attr('src').replace('sm', '');
$modal.find('h5').text(title);
$modal.find('img').attr('src', image);
$modal.find('p').text(description);
$modal.modal('show');
});
</script>
</body>
</html>