Spaces:
Sleeping
Sleeping
File size: 2,125 Bytes
412d9ff |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ market.market_name }} Market Details</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
#map-container {
height: 500px;
width: 100%;
margin-top: 20px;
}
.insights-container {
background-color: #f8f9fa;
padding: 15px;
border-radius: 5px;
margin-top: 20px;
}
.loader {
display: none;
text-align: center;
margin: 20px 0;
}
</style>
</head>
<body>
<div class="container">
<h1>{{ market.market_name }} Market Details</h1>
<p><strong>Market ID:</strong> {{ market.market_id }}</p>
<p><strong>Market Name:</strong> {{ market.market_name }}</p>
<p><strong>Address:</strong> {{ market.address }}</p>
<p><strong>City:</strong> {{ market.city }}</p>
<p><strong>State:</strong> {{ market.state }}</p>
<p><strong>Zip Code:</strong> {{ market.zip_code }}</p>
<p><strong>Phone Number:</strong> {{ market.phone_number }}</p>
<p><strong>Website:</strong> <a href="{{ market.website }}" target="_blank">{{ market.website }}</a></p>
<p><strong>Opening Hours:</strong> {{ market.opening_hours }}</p>
<p><strong>Latitude:</strong> {{ market.latitude }}</p>
<p><strong>Longitude:</strong> {{ market.longitude }}</p>
<p><strong>Top Commodities:</strong></p>
<ul>
{% for commodity in market.top_commodities %}
<li>{{ commodity.commodity }} - Avg Price: ₹{{ commodity.modal_price }}, Min Price: ₹{{ commodity.min_price }}, Max Price: ₹{{ commodity.max_price }}</li>
{% endfor %}
</ul>
</div>
</body>
</html> |