mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Sitemap toggle switch(on|off) icon added.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12351 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
13b41ec199
commit
f4cfe6bb21
7 changed files with 21 additions and 12 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
')}
|
||||
<div class="x">
|
||||
<p class="skipNav"><a href="#content">{$lang->skip_to_content}</a></p>
|
||||
<p class="skipNav"><a href="#content">{$lang->skip_to_content}</a></p>
|
||||
<header class="header">
|
||||
<h1><a href="{getUrl('','module','admin')}"><img src="{getUrl('')}{$gnb_title_info->adminLogo}" alt="{$gnb_title_info->adminTitle}" /> {$gnb_title_info->adminTitle}</a></h1>
|
||||
<p class="site"><a href="{getFullUrl('')}">{getFullUrl('')}</a></p>
|
||||
|
|
|
|||
|
|
@ -172,6 +172,9 @@ body>.x,
|
|||
.x .x_page-header .path{font-size:14px;display:inline-block}
|
||||
.x .x_page-header .path:first-letter{color:#ccc;font-weight:normal}
|
||||
.x [data-toggle]+.x_help-block{margin-top:10px}
|
||||
.x input.switch{width:42px;height:16px;opacity:0;filter:alpha(opacity=0);position:relative;z-index:2}
|
||||
.x input.switch+i{position:relative !important;z-index:1;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;margin:0 0 0 -42px !important;opacity:1 !important;filter:alpha(opacity=100) !important;padding:0;vertical-align:middle;display:inline-block;width:42px;height:16px;background-image:url(../../../../modules/admin/tpl/img/toggleSwitch.png) !important;background-repeat:no-repeat}
|
||||
.x input[checked].switch+i{background-position:0 -16px !important}
|
||||
/* Image Sprite */
|
||||
.x a[target="_blank"]:after,
|
||||
.x>.body>.gnb>ul>li>a>i,
|
||||
|
|
|
|||
2
modules/admin/tpl/css/admin.min.css
vendored
2
modules/admin/tpl/css/admin.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
modules/admin/tpl/img/toggleSwitch.png
Normal file
BIN
modules/admin/tpl/img/toggleSwitch.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
|
|
@ -685,7 +685,7 @@ Menu không phải là người quản lý, nhiệm vụ của nó chỉ là li
|
|||
<value xml:lang="en"><![CDATA[Change name]]></value>
|
||||
</item>
|
||||
<item name="use_site_default_module">
|
||||
<value xml:lang="ko"><![CDATA[사이트 접속 시 기본 페이지로 사용]]></value>
|
||||
<value xml:lang="ko"><![CDATA[홈 페이지로 사용]]></value>
|
||||
<value xml:lang="en"><![CDATA[Use as Home page]]></value>
|
||||
</item>
|
||||
<item name="general_settings">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ body>.x{max-width:none !important}
|
|||
#site .btnBoth,
|
||||
#site .x_btn-group{text-align:right;margin:10px 0}
|
||||
#site .btnBoth:after{content:"";display:block;clear:both}
|
||||
.col{display:inline-block;*display:inline;*zoom:1;vertical-align:top;position:relative;background-color:#ddd;white-space:normal;height:100%;min-width:220px;padding:10px;margin:0 4px 0 0;border-radius:5px;box-shadow:1px 1px 1px #999;background-image:-webkit-linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);background-image:-moz-linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);background-image:-o-linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);background-image:linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);}
|
||||
.col{display:inline-block;*display:inline;*zoom:1;vertical-align:top;position:relative;background-color:#ddd;white-space:normal;height:100%;min-width:245px;padding:10px;margin:0 4px 0 0;border-radius:5px;box-shadow:1px 1px 1px #999;background-image:-webkit-linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);background-image:-moz-linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);background-image:-o-linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);background-image:linear-gradient(top, #eee, #ddd 18px, #ccc 18px, #ddd 33px);}
|
||||
.col>h1,
|
||||
.col>*>h1{line-height:32px !important;font-size:16px !important;margin:-10px -10px 0 -10px;color:#000 !important;padding:0 8px;text-shadow:0 1px 0 #fff;max-width:240px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
|
||||
.col>*>h1>a{color:#000;text-decoration:none}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@
|
|||
<li class="ex"><button type="button" class="_edit_copy">{$lang->copy}</button></li>
|
||||
<li class="ex"><button type="button" class="_edit_paste" disabled>{$lang->paste}</button></li>
|
||||
<li class="ex"><button type="button" class="_deleteMenu">{$lang->cmd_delete}</button></li>
|
||||
<li class="homepage"><label style="padding:0 0 0 8px;margin:0"><input type="checkbox" class="_chkUseAsHome"> {$lang->use_site_default_module}</label></li>
|
||||
<li class="homepage"><label style="padding:0 0 0 8px;margin:0"><input type="checkbox" class="_chkUseAsHome switch"><i></i> {$lang->use_site_default_module}</label></li>
|
||||
<li><a href="#imgbtn" data-admin-show="#imgbtn">{$lang->menu_img_btn} <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
<li><a href="#design" data-admin-show="#design">{$lang->design} <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
<li><a href="#auth" data-admin-show="#auth">{$lang->grant} <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
|
|
@ -402,8 +402,8 @@
|
|||
<form action="">
|
||||
<h1>{$lang->layout}</h1>
|
||||
<div class="cnt">
|
||||
<label>
|
||||
<input type="checkbox" class="_chkUseDefaultLayout" title="{$lang->use_site_default_layout}"> {$lang->use_site_default_layout}
|
||||
<label style="padding-right:40px;white-space:nowrap;cursor:pointer">
|
||||
<input type="checkbox" class="_chkUseDefaultLayout switch" title="{$lang->use_site_default_layout}"><i></i> {$lang->use_site_default_layout}
|
||||
<a href="?module=admin&act=dispMenuAdminSiteDesign" class="x_icon-cog _siteDesignSetupLink">{$lang->site_default_layout_settings}</a>
|
||||
</label>
|
||||
<div class="list">
|
||||
|
|
@ -411,7 +411,7 @@
|
|||
<script id="tmpl_layout_list_item_no_layout" type="text/x-jquery-tmpl">
|
||||
<li class="${Selected} _layoutItem">
|
||||
<label>
|
||||
<input type="radio" name="layout_item" title="{$lang->no_use_layout}"> {$lang->no_use_layout}
|
||||
<input type="radio" name="layout_item" title="{$lang->no_use_layout}" class="switch"><i></i> {$lang->no_use_layout}
|
||||
</label>
|
||||
</li>
|
||||
</script>
|
||||
|
|
@ -2928,6 +2928,12 @@ console.log(11, htDesign.htLayoutSrl.P);
|
|||
});
|
||||
|
||||
$('#layout ._chkUseDefaultLayout').click(function(){
|
||||
var $this = $(this);
|
||||
if($this.is(':checked')){
|
||||
$this.attr('checked','checked').parent().css('fontWeight','bold');
|
||||
} else {
|
||||
$this.removeAttr('checked').parent().css('fontWeight','normal');
|
||||
}
|
||||
/*
|
||||
if(!$(this).attr('checked')){
|
||||
updatePreview({
|
||||
|
|
@ -2951,9 +2957,9 @@ console.log(11, htDesign.htLayoutSrl.P);
|
|||
var sMode = $._xeAdminVar.htPrevSetting.bMobilePreviewTabOpen?"M":"P";
|
||||
|
||||
if(htDesign.htLayoutSrl[sMode] == -1){
|
||||
$('._chkUseDefaultLayout').attr('checked', 'checked');
|
||||
$('._chkUseDefaultLayout').attr('checked', 'checked').parent().css('fontWeight','bold');
|
||||
}else{
|
||||
$('._chkUseDefaultLayout').removeAttr('checked');
|
||||
$('._chkUseDefaultLayout').removeAttr('checked').parent().css('fontWeight','normal');
|
||||
}
|
||||
|
||||
updateLayoutListDisplayStatus();
|
||||
|
|
@ -3163,8 +3169,8 @@ console.log(11, htDesign.htLayoutSrl.P);
|
|||
$('#layout').on('click', 'input[name=layout_item]', function(){
|
||||
$('#layout').nextAll().hide();
|
||||
|
||||
$('#layout').find('li.selected').removeClass('selected');
|
||||
$(this).closest('li').addClass('selected');
|
||||
$('#layout').find('li.selected').removeClass('selected').find('input[name="layout_item"]').removeAttr('checked');
|
||||
$(this).attr('checked','checked').closest('li').addClass('selected');
|
||||
|
||||
var sLayoutSrl = $(this).closest('li').data('LayoutSrl');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue