lien dans la liste des villes et css de cette liste
This commit is contained in:
parent
58ee2a9ed0
commit
17a5fac092
@ -17,7 +17,7 @@
|
|||||||
<h2>SUR LE SITE <a href="https://www.sabradou.com/" target="_blank">SABRADOU.COM</a></h2>
|
<h2>SUR LE SITE <a href="https://www.sabradou.com/" target="_blank">SABRADOU.COM</a></h2>
|
||||||
<form if="form" action="index.php" method="GET">
|
<form if="form" action="index.php" method="GET">
|
||||||
<label for="calendrier">Brocantes du :</label>
|
<label for="calendrier">Brocantes du :</label>
|
||||||
<select name="calendrier"onchange="this.form.submit()" id="calendrier-list">
|
<select name="calendrier"onchange="this.form.submit();" id="calendrier-list">
|
||||||
<?php $calendrier = getCalendrier(); ?>
|
<?php $calendrier = getCalendrier(); ?>
|
||||||
<?php foreach ($calendrier as $item): ?>
|
<?php foreach ($calendrier as $item): ?>
|
||||||
<?php $selected = isset($_GET['calendrier']) && $_GET['calendrier'] === $item['url'] ? 'selected' : ''; ?>
|
<?php $selected = isset($_GET['calendrier']) && $_GET['calendrier'] === $item['url'] ? 'selected' : ''; ?>
|
||||||
@ -35,7 +35,8 @@
|
|||||||
<?php if (isset($citiesList)): ?>
|
<?php if (isset($citiesList)): ?>
|
||||||
<?php foreach ($citiesList as $city): ?>
|
<?php foreach ($citiesList as $city): ?>
|
||||||
<li>
|
<li>
|
||||||
<?php echo $city['name']; ?>
|
<?php
|
||||||
|
echo '<a href="' . $city['href'] . '" target="_blank">' . $city['name'] . '</a>' ; ?>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
13
style.css
13
style.css
@ -1,7 +1,7 @@
|
|||||||
#map {
|
#map {
|
||||||
height: 800px;
|
height: 600px;
|
||||||
width: 1200px;
|
width: 100%;
|
||||||
margin: auto;
|
margin: 0 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
@ -12,18 +12,17 @@
|
|||||||
|
|
||||||
.left-column {
|
.left-column {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 20%;
|
width: 10%;
|
||||||
max-height: 80%;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-column {
|
.right-column {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 80%;
|
width: 90%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cities {
|
.cities > li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user