ADD vkBigLogo
This commit is contained in:
parent
d4483ed0f3
commit
88efaa3c85
|
|
@ -20,7 +20,7 @@
|
||||||
<div class="glyphicon glyphicon-user" id="loginButton" onclick="$('#loginModal').modal('show');" title="Войти для добавления точки"></div>
|
<div class="glyphicon glyphicon-user" id="loginButton" onclick="$('#loginModal').modal('show');" title="Войти для добавления точки"></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<a href="https://vk.com/wikipoints" target="_blank"><div class="glyphicon" style="line-height: 0;" title="WikiPoints вКонтакте"><img src="/img/b.png" style="margin-left: -4px; margin-top: 0px; height: 15px;" /></div></a>
|
<a href="https://vk.com/wikipoints" target="_blank"><img src="/img/vkBigLogo.png" style="margin-left: 185px; margin-top: 0px; position: absolute; display: none;" id="vkBigLogo" /><div class="glyphicon" style="line-height: 0;" title="WikiPoints вКонтакте"><img src="/img/b.png" style="margin-left: -4px; margin-top: 0px; height: 20px;" /></div></a>
|
||||||
</div>
|
</div>
|
||||||
<div id="box">
|
<div id="box">
|
||||||
<span id="boxClose" onclick="closeBox();">×</span>
|
<span id="boxClose" onclick="closeBox();">×</span>
|
||||||
|
|
@ -31,7 +31,8 @@
|
||||||
<a onclick="$('#categoriesModal').modal('show');" href="#">Легенда</a><br/>
|
<a onclick="$('#categoriesModal').modal('show');" href="#">Легенда</a><br/>
|
||||||
<a href="/page/points">Список точек</a><br/>
|
<a href="/page/points">Список точек</a><br/>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="/?point=random" onclick="showRandomPoint(); return false;">Случайная точка</a>
|
<a href="/?point=random" onclick="showRandomPoint();
|
||||||
|
return false;">Случайная точка</a>
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
<a href="http://vk.com/wikipoints" target="_blank"><img src="/img/vk.png" width="24" height="24"/> Группа ВКонтакте</a>
|
<a href="http://vk.com/wikipoints" target="_blank"><img src="/img/vk.png" width="24" height="24"/> Группа ВКонтакте</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -85,7 +86,9 @@
|
||||||
<div id="routes">
|
<div id="routes">
|
||||||
<?php if ($routes): ?>
|
<?php if ($routes): ?>
|
||||||
<?php foreach ($routes as $route) : ?>
|
<?php foreach ($routes as $route) : ?>
|
||||||
<div class="route" onclick="loadRoute(<?= $route->id ?>)"><span onclick="deleteRoute(<?= $route->id ?>);$(this).parent().remove();event.stopPropagation();">×</span> <?= $route->name ?></div>
|
<div class="route" onclick="loadRoute(<?= $route->id ?>)"><span onclick="deleteRoute(<?= $route->id ?>);
|
||||||
|
$(this).parent().remove();
|
||||||
|
event.stopPropagation();">×</span> <?= $route->name ?></div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
У вас пока нет сохраненных маршрутов.
|
У вас пока нет сохраненных маршрутов.
|
||||||
|
|
@ -103,3 +106,19 @@
|
||||||
<?= $user ? self::renderPartial('modals/addPoint.php', array('categories' => $categories), true) : '' ?>
|
<?= $user ? self::renderPartial('modals/addPoint.php', array('categories' => $categories), true) : '' ?>
|
||||||
<?= self::renderPartial('modals/categories.php', array('categories' => $categories), true) ?>
|
<?= self::renderPartial('modals/categories.php', array('categories' => $categories), true) ?>
|
||||||
<?= self::renderPartial('modals/image.php', array(), true) ?>
|
<?= self::renderPartial('modals/image.php', array(), true) ?>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function () {
|
||||||
|
if (!$.cookie('doNotShowVkLogo')) {
|
||||||
|
setTimeout(function () {
|
||||||
|
$('#vkBigLogo').show().animate({'margin-left': "-185px"}, 1000);
|
||||||
|
}, 10000);
|
||||||
|
|
||||||
|
setTimeout(function () {
|
||||||
|
$('#vkBigLogo').animate({'margin-left': "185px"}, 1000, function () {
|
||||||
|
$('#vkBigLogo').hide();
|
||||||
|
$.cookie('doNotShowVkLogo', true);
|
||||||
|
});
|
||||||
|
}, 13000);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
|
||||||
BIN
public/img/b.png
BIN
public/img/b.png
Binary file not shown.
|
Before Width: | Height: | Size: 961 B After Width: | Height: | Size: 846 B |
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Loading…
Reference in New Issue