ADD большая точка Добавить объект
This commit is contained in:
parent
247b99d675
commit
d74951affb
|
|
@ -84,8 +84,9 @@ div#control div._t2 {background-color: rgba(200, 200, 200, 0.65); border-radius:
|
|||
div#control div#notify {position: absolute; background-color: red;color: white;border-radius: 50%; width: 20px;height: 20px;margin: 0;padding: 0;padding-top: 2px;text-align: center;font-weight: bolder;font-size: 15px;vertical-align: middle;font-family: sans-serif;top: 18px;left: -7px;}
|
||||
|
||||
nav.navbar.navbar-inverse.navbar-fixed-top {opacity: 0.9}
|
||||
nav.navbar.navbar-inverse.navbar-fixed-top:hover {opacity: 1}
|
||||
nav.navbar.navbar-inverse .navbar-nav>li>a {color: #ddd;}
|
||||
nav.navbar.navbar-inverse .navbar-nav>li.important {background-color: #3c3c3c;}
|
||||
nav.navbar.navbar-inverse a.bigGreen {background-image: -webkit-linear-gradient(top,#3cfc3c 0, #398739 100%);background-image: linear-gradient(to bottom,#3cfc3c 0, #398739 100%);background-repeat: repeat-x;margin: 0 3px;padding: 15px 15px;border-radius: 5px;display: inline-block;color: white;font-weight: bold;}
|
||||
|
||||
span.notifications {font-weight: bolder; color: red;}
|
||||
div.top5authors {width: 16.66666667%; float: left; display: inline-block;}
|
||||
|
|
|
|||
|
|
@ -72,20 +72,18 @@ if (App::$user && App::$user->id) {
|
|||
<?php else: ?>
|
||||
<li><a href="#" onclick="$('#loginModal').modal('show');"><span class="glyphicon glyphicon-user"></span> Вход</a></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(App::ic('index')): ?>
|
||||
<?php if (App::$user):
|
||||
$addWithoutConfirm = Point::model()->getCountByUser(App::$user->id) > 0;
|
||||
?>
|
||||
<li class="important onlyBigScreen">
|
||||
<a href="#" onclick="<?= $addWithoutConfirm ? 'activateAddPoint()' : 'showPointagreement()'; ?>">Добавить объект</a>
|
||||
</li>
|
||||
<?php else: ?>
|
||||
<li class="important onlyBigScreen"><a href="#" onclick="$('#loginModal').modal('show');">Добавить объект</a></li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<?php if(App::ic('index')): ?>
|
||||
<?php if (App::$user):
|
||||
$addWithoutConfirm = Point::model()->getCountByUser(App::$user->id) > 0;
|
||||
?>
|
||||
<a href="#" class="bigGreen onlyBigScreen" onclick="<?= $addWithoutConfirm ? 'activateAddPoint()' : 'showPointagreement()'; ?>">Добавить объект</a>
|
||||
<?php else: ?>
|
||||
<a href="#" class="bigGreen onlyBigScreen" onclick="$('#loginModal').modal('show');">Добавить объект</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Reference in New Issue