2023-02-06 21:32:40 +03:00
|
|
|
@model MyDarling.Models.UnderwearBundle;
|
2023-02-08 07:58:46 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="ru-RU">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="carouselIndicators" class="carousel slide" data-ride="carousel">
|
|
|
|
<ol class="carousel-indicators">
|
|
|
|
<li data-target="#carouselIndicators" data-slide-to="0" class="active"></li>
|
|
|
|
@for (int i = 1; i < @Model?.Figures.Count(); i++)
|
|
|
|
{
|
|
|
|
<li data-target="#carouselIndicators" data-slide-to="@i"></li>
|
|
|
|
}
|
|
|
|
</ol>
|
|
|
|
<div class="carousel-inner">
|
|
|
|
<div class="carousel-item active">
|
|
|
|
<img class="d-block w-100" src="@Model?.Figures[0].FilePath" alt="...">
|
2023-02-06 21:32:40 +03:00
|
|
|
</div>
|
2023-02-08 07:58:46 +03:00
|
|
|
@for (int i = 1; i < @Model?.Figures.Count(); i++)
|
|
|
|
{
|
|
|
|
<div class="carousel-item">
|
|
|
|
<img class="d-block w-100" src="@Model?.Figures[i].FilePath" alt="...">
|
|
|
|
</div>
|
|
|
|
}
|
2023-02-06 21:32:40 +03:00
|
|
|
</div>
|
2023-02-08 07:58:46 +03:00
|
|
|
<a class="carousel-control-prev" href="#carouselIndicators" role="button" data-slide="prev">
|
|
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
|
|
<span class="sr-only">Previous</span>
|
|
|
|
</a>
|
|
|
|
<a class="carousel-control-next" href="#carouselIndicators" role="button" data-slide="next">
|
|
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
|
|
<span class="sr-only">Next</span>
|
|
|
|
</a>
|
2023-02-06 21:32:40 +03:00
|
|
|
</div>
|
2023-02-08 07:58:46 +03:00
|
|
|
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|