Шаблон Synio
|
@ -4,11 +4,9 @@
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{if $oUserCurrent && $oUserCurrent->isAdministrator()}
|
{if $oUserCurrent && $oUserCurrent->isAdministrator()}
|
||||||
{component 'toolbar' template='item'
|
{component 'toolbar.item'
|
||||||
buttons = [[
|
icon='cog'
|
||||||
url => {router 'admin'},
|
url={router 'admin'}
|
||||||
attributes => [ 'title' => {lang 'admin.title'} ],
|
attributes=[ 'title' => {lang 'admin.title'} ]
|
||||||
icon => 'cog'
|
mods='admin'}
|
||||||
]]
|
|
||||||
mods = 'admin'}
|
|
||||||
{/if}
|
{/if}
|
|
@ -3,18 +3,14 @@
|
||||||
* Кнопка прокручивания к следующему/предыдущему топику
|
* Кнопка прокручивания к следующему/предыдущему топику
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{component 'toolbar' template='item'
|
<div class="js-toolbar-topics">
|
||||||
classes = 'js-toolbar-topics'
|
{component 'toolbar.item'
|
||||||
mods = 'topic'
|
icon='arrow-up'
|
||||||
buttons = [
|
classes='js-toolbar-topics-prev'
|
||||||
[
|
attributes=[ 'title' => {lang 'toolbar.topic_nav.prev'} ]}
|
||||||
classes => 'toolbar-topic-prev js-toolbar-topics-prev',
|
|
||||||
attributes => [ 'title' => {lang 'toolbar.topic_nav.prev'} ],
|
{component 'toolbar.item'
|
||||||
icon => 'arrow-up'
|
icon='arrow-down'
|
||||||
],
|
classes='js-toolbar-topics-next'
|
||||||
[
|
attributes=[ 'title' => {lang 'toolbar.topic_nav.next'} ]}
|
||||||
classes => 'toolbar-topic-next js-toolbar-topics-next',
|
</div>
|
||||||
attributes => [ 'title' => {lang 'toolbar.topic_nav.next'} ],
|
|
||||||
icon => 'arrow-down'
|
|
||||||
]
|
|
||||||
]}
|
|
|
@ -3,10 +3,8 @@
|
||||||
* Кнопка прокрутки страницы вверх
|
* Кнопка прокрутки страницы вверх
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{component 'toolbar' template='item'
|
{component 'toolbar.item'
|
||||||
classes='ls-toolbar-item--scrollup js-toolbar-scrollup'
|
icon='chevron-up'
|
||||||
attributes=[ 'style' => 'display: none' ]
|
classes='js-toolbar-scrollup'
|
||||||
buttons=[[
|
mods='scrollup'
|
||||||
'icon' => 'chevron-up',
|
attributes=[ 'title' => {lang 'toolbar.scrollup.title'} ]}
|
||||||
'attributes' => [ 'title' => {lang 'toolbar.scrollup.title'}, 'id' => 'toolbar_scrollup' ]
|
|
||||||
]]}
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
/**
|
||||||
|
* Админка
|
||||||
|
*
|
||||||
|
* @license GNU General Public License, version 2
|
||||||
|
* @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
|
||||||
|
* @author Denis Shakhov <denis.shakhov@gmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Управление плагинами
|
||||||
|
*
|
||||||
|
* @template plugins.tpl
|
||||||
|
*/
|
||||||
|
.admin-plugins h3 {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 17px;
|
||||||
|
line-height: 20px;
|
||||||
|
margin-bottom: 7px;
|
||||||
|
}
|
||||||
|
.admin-plugins p {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
.admin-plugins td {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.admin-plugins-actions li {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.admin-plugins-actions li:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ls-toolbar-item--admin .ls-toolbar-icon {
|
||||||
|
display: block;
|
||||||
|
width: 19px;
|
||||||
|
height: 18px;
|
||||||
|
background: url(../images/cog.png) no-repeat;
|
||||||
|
transition: background .2s;
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--admin .ls-toolbar-icon:hover {
|
||||||
|
background-image: url(../images/cog-hover.png);
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--admin .ls-toolbar-icon:active {
|
||||||
|
background-image: url(../images/cog-active.png);
|
||||||
|
}
|
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
BIN
application/frontend/skin/synio/components/admin/images/cog.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1,12 @@
|
||||||
|
{**
|
||||||
|
* Тулбар
|
||||||
|
* Кнопка перехода в админку
|
||||||
|
*}
|
||||||
|
|
||||||
|
{if $oUserCurrent && $oUserCurrent->isAdministrator()}
|
||||||
|
{component 'toolbar.item'
|
||||||
|
html='<i class="ls-toolbar-icon"></i>'
|
||||||
|
url={router 'admin'}
|
||||||
|
attributes=[ 'title' => {lang 'admin.title'} ]
|
||||||
|
mods='admin'}
|
||||||
|
{/if}
|
|
@ -0,0 +1,36 @@
|
||||||
|
/**
|
||||||
|
* Кнопка навигации по топикам
|
||||||
|
*/
|
||||||
|
|
||||||
|
.ls-toolbar-item--topic a.ls-toolbar-topic-prev {
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ls-toolbar-item--topic i {
|
||||||
|
display: block;
|
||||||
|
width: 19px;
|
||||||
|
height: 32px;
|
||||||
|
transition: background .2s;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ls-toolbar-item--topic .ls-toolbar-icon-prev {
|
||||||
|
background-image: url(../images/prev.png);
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--topic .ls-toolbar-icon-prev:hover {
|
||||||
|
background-image: url(../images/prev-hover.png);
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--topic .ls-toolbar-icon-prev:active {
|
||||||
|
background-image: url(../images/prev-active.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ls-toolbar-item--topic .ls-toolbar-icon-next {
|
||||||
|
background-image: url(../images/next.png);
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--topic .ls-toolbar-icon-next:hover {
|
||||||
|
background-image: url(../images/next-hover.png);
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--topic .ls-toolbar-icon-next:active {
|
||||||
|
background-image: url(../images/next-active.png);
|
||||||
|
}
|
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
|
@ -0,0 +1,14 @@
|
||||||
|
{**
|
||||||
|
* Тулбар
|
||||||
|
* Кнопка прокручивания к следующему/предыдущему топику
|
||||||
|
*}
|
||||||
|
|
||||||
|
{capture toolbar_scroll_nav}
|
||||||
|
<i class="ls-toolbar-icon-prev js-toolbar-topics-prev" title="{lang 'toolbar.topic_nav.prev'}"></i>
|
||||||
|
<i class="ls-toolbar-icon-next js-toolbar-topics-next" title="{lang 'toolbar.topic_nav.next'}"></i>
|
||||||
|
{/capture}
|
||||||
|
|
||||||
|
{component 'toolbar.item'
|
||||||
|
html=$smarty.capture.toolbar_scroll_nav
|
||||||
|
classes='js-toolbar-topics'
|
||||||
|
mods='topic'}
|
|
@ -0,0 +1,29 @@
|
||||||
|
/**
|
||||||
|
* Кнопка прокрутки вверх
|
||||||
|
*/
|
||||||
|
|
||||||
|
.ls-toolbar-item.ls-toolbar-item--scrollup {
|
||||||
|
display: none;
|
||||||
|
padding: 8px;
|
||||||
|
width: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ls-toolbar-item--scrollup.active .ls-toolbar-icon {
|
||||||
|
-webkit-transform: rotate(180deg);
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ls-toolbar-item--scrollup .ls-toolbar-icon {
|
||||||
|
display: block;
|
||||||
|
width: 25px;
|
||||||
|
height: 25px;
|
||||||
|
background: url(../images/scroll.png) no-repeat;
|
||||||
|
transition: background .2s;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--scrollup .ls-toolbar-icon:hover {
|
||||||
|
background-image: url(../images/scroll-hover.png);
|
||||||
|
}
|
||||||
|
.ls-toolbar-item--scrollup .ls-toolbar-icon:active {
|
||||||
|
background-image: url(../images/scroll-active.png);
|
||||||
|
}
|
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
|
@ -0,0 +1,9 @@
|
||||||
|
{**
|
||||||
|
* Тулбар
|
||||||
|
* Кнопка прокрутки страницы вверх
|
||||||
|
*}
|
||||||
|
|
||||||
|
{component 'toolbar.item'
|
||||||
|
html='<i class="ls-toolbar-icon"></i>'
|
||||||
|
classes='js-toolbar-scrollup'
|
||||||
|
mods='scrollup'}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/**
|
||||||
|
* Toolbar
|
||||||
|
*
|
||||||
|
* @license GNU General Public License, version 2
|
||||||
|
* @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
|
||||||
|
* @author Denis Shakhov <denis.shakhov@gmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
.ls-toolbar {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 100;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.ls-toolbar-item {
|
||||||
|
display: block;
|
||||||
|
background: #fff;
|
||||||
|
color: #222;
|
||||||
|
padding: 11px;
|
||||||
|
width: 19px;
|
||||||
|
font-size: 19px;
|
||||||
|
text-align: center;
|
||||||
|
box-shadow: 0 1px 5px rgba(0,0,0,.07);
|
||||||
|
margin-bottom: 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
Subproject commit 8a4d3efa29f006390c9d068d3590e4e9c26a98d2
|
Subproject commit 188e358959c3afba177f29ccd670d3624b6e3bde
|