Вход Регистрация
Файл: base-sys/admin/views/components/authorization_role_edit.html
Строк: 22
<?php
{style}
{
literal}
    .
peep_avatar_sample {
        
width45px;
        
padding-left10px;
        
floatleft;
    }
    
    .
peep_role_edit_form {
        
floatleft;
        
padding-left10px;
    }

    .
color_sample {
        
width16px
        
height16px;
        -
moz-border-radius4px;
        -
webkit-border-radius4px;
        
floatleft;
        
margin0px 5px 5px 0px;
        
cursorpointer;
    }
    
    .
color_selected {
        -
moz-border-radius4px;
        -
webkit-border-radius4px;
        
border2px solid red;
    }
    
   
#role-edit-cont .peep_avatar img { width: 45px; }
{/literal}
{/
style}

<
div id="role-edit-cont" class="clearfix">
{
form name='edit-role-form'}
    <
table class="peep_table_3">
        <
tr class="peep_tr_first peep_tr_last">
            <
td class="peep_label" style="width: 15%">{decorator name='avatar_item' src=$defaultAvatarUrl label=$roleLabel}</td>
            <
td class="peep_value">
                <
div class="peep_smallmargin">{input name='displayLabel'} {text key='admin+display_avatar_label'}</div>
                <
div id="color-select-cont"{if !$role->displayLabelstyle="display: none"{/if}>
                <
div class="peep_smallmargin">{text key='admin+avatar_label_color'}:</div>
                <
div class="clearfix">
                    {foreach 
from=$colors item='c' name='col'}
                        <
div class="color_sample" style="background-color: {$c}"></div>
                    {/foreach}
                </
div>
                </
div>
            </
td>
        </
tr>
    </
table>        
    <
div class="peep_center">{submit name='save' class='peep_ic_save'}</div>    
    {/
form}
</
div>
?>
Онлайн: 0
Реклама