Вывод пиктограммы ЭКСКУРСИЯ на точка поблизости
This commit is contained in:
parent
9b7653bd94
commit
d767e0d781
|
|
@ -24,6 +24,7 @@ div.header img {height: 89px;}
|
||||||
div.add {cursor: pointer;}
|
div.add {cursor: pointer;}
|
||||||
html body h4 {font-weight: bold;}
|
html body h4 {font-weight: bold;}
|
||||||
a.randomPointAImg {float: left; margin: 0 15px 0 0;}
|
a.randomPointAImg {float: left; margin: 0 15px 0 0;}
|
||||||
|
div.excursionMarker {position: absolute; color: white; font-weight: bold; text-shadow: 1px 1px 2px black;}
|
||||||
|
|
||||||
.fotorama {display: inline-block;}
|
.fotorama {display: inline-block;}
|
||||||
div.fotorama__caption {text-align: left;font-size: 9px;margin-bottom: 5px;opacity: 0.6;}
|
div.fotorama__caption {text-align: left;font-size: 9px;margin-bottom: 5px;opacity: 0.6;}
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@ $index = 0;
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<h3 style="margin-top: 0;">Поблизости расположены:</h3>
|
<h3 style="margin-top: 0;">Поблизости расположены:</h3>
|
||||||
<?php foreach ($closestPoints as $cPoint): ?><a href="/point/<?= $cPoint->id ?>" class="pagePoinsNearCards"><img src="<?= $cPoint->getImg() ?>" title="<?= $cPoint->name ?>" class="pagePoinsNearCardsImg"/></a><?php endforeach; ?>
|
<?php foreach ($closestPoints as $cPoint): ?><a href="/point/<?= $cPoint->id ?>" class="pagePoinsNearCards"><?php if($cPoint->categoryId == 26):?><div class="excursionMarker"><img src="/ico/flag-export.png"> ЭКСКУРСИЯ</div><?php endif;?><img src="<?= $cPoint->getImg() ?>" title="<?= $cPoint->name ?>" class="pagePoinsNearCardsImg"/></a><?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue