mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Issue 2444. multilingual layer fixed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11462 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f9c4c8d164
commit
7fad690ae0
5 changed files with 14 additions and 10 deletions
|
|
@ -6,7 +6,7 @@ body>.x{min-width:300px;max-width:1240px}
|
|||
@media all and (max-width:480px){
|
||||
body>.x{margin:0}
|
||||
}
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
||||
body>.x,.x label,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
||||
.x strong, .x th{font-weight:600}
|
||||
.x [disabled]{cursor:not-allowed}
|
||||
.x button[disabled]{color:#ccc !important}
|
||||
|
|
@ -37,6 +37,8 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x .x_btn-group>.x_btn:last-child,
|
||||
.x .x_btn-group>.x_dropdown-toggle{border-top-right-radius:2px;border-bottom-right-radius:2px}
|
||||
.x .x_btn-group>.x_btn:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}
|
||||
.x input[type="radio"],
|
||||
.x input[type="checkbox"]{margin:0}
|
||||
.x a.x_icon-question-sign,
|
||||
.x button.x_icon-question-sign{cursor:help}
|
||||
.x .x_nav-tabs>li>a{padding-top:4px;padding-bottom:4px}
|
||||
|
|
|
|||
4
modules/admin/tpl/css/admin.min.css
vendored
4
modules/admin/tpl/css/admin.min.css
vendored
|
|
@ -6,7 +6,7 @@ body>.x{min-width:300px;max-width:1240px}
|
|||
@media all and (max-width:480px){
|
||||
body>.x{margin:0}
|
||||
}
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
||||
body>.x,.x label,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
||||
.x strong, .x th{font-weight:600}
|
||||
.x [disabled]{cursor:not-allowed}
|
||||
.x button[disabled]{color:#ccc !important}
|
||||
|
|
@ -37,6 +37,8 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
|
|||
.x .x_btn-group>.x_btn:last-child,
|
||||
.x .x_btn-group>.x_dropdown-toggle{border-top-right-radius:2px;border-bottom-right-radius:2px}
|
||||
.x .x_btn-group>.x_btn:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}
|
||||
.x input[type="radio"],
|
||||
.x input[type="checkbox"]{margin:0}
|
||||
.x a.x_icon-question-sign,
|
||||
.x button.x_icon-question-sign{cursor:help}
|
||||
.x .x_nav-tabs>li>a{padding-top:4px;padding-bottom:4px}
|
||||
|
|
|
|||
|
|
@ -92,8 +92,8 @@ jQuery(function($){
|
|||
function multilingual(){
|
||||
$('.multilingual').each(function(){
|
||||
var $this = $(this);
|
||||
var $input = $this.parent('label').prev('input, textarea');
|
||||
var $fieldset = $this.parent('label').next('fieldset');
|
||||
var $input = $this.parent('label').next('input, textarea');
|
||||
var $fieldset = $this.parent('label').siblings('fieldset:first');
|
||||
if($this.is(':checked')){
|
||||
$input.hide();
|
||||
$fieldset.show();
|
||||
|
|
|
|||
4
modules/admin/tpl/js/admin.min.js
vendored
4
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -92,8 +92,8 @@ jQuery(function($){
|
|||
function multilingual(){
|
||||
$('.multilingual').each(function(){
|
||||
var $this = $(this);
|
||||
var $input = $this.parent('label').prev('input, textarea');
|
||||
var $fieldset = $this.parent('label').next('fieldset');
|
||||
var $input = $this.parent('label').next('input, textarea');
|
||||
var $fieldset = $this.parent('label').siblings('fieldset:first');
|
||||
if($this.is(':checked')){
|
||||
$input.hide();
|
||||
$fieldset.show();
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
<li><button type="button">복사</button></li>
|
||||
<li><button type="button" disabled>붙여넣기</button></li>
|
||||
<li><button type="button" onClick="confirm('메뉴를 삭제하면 콘텐츠도 삭제됩니다. 정말 삭제하시겠습니까?')">삭제</button></li>
|
||||
<li class="homepage"><label><input type="checkbox"> 사이트 접속 시 기본 페이지로 사용</label></li>
|
||||
<li class="homepage"><label style="padding:0 0 0 8px"><input type="checkbox"> 사이트 접속 시 기본 페이지로 사용</label></li>
|
||||
<li class="default"><a href="#default" data-show="#default">기본 설정 <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
<li><a href="#imgbtn" data-show="#imgbtn">이미지 버튼 <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
<li><a href="#design" data-show="#design">디자인 <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
|
|
@ -87,8 +87,8 @@
|
|||
<ul>
|
||||
<li>
|
||||
<label for="menuName1">메뉴이름</label>
|
||||
<label class="x_muted"><input type="checkbox" class="multilingual"> 다국어 사용</label>
|
||||
<input id="menuName1" type="text" required />
|
||||
<label><input type="checkbox" class="multilingual"> 다국어 사용</label>
|
||||
<fieldset class="multilingual_item">
|
||||
<select title="사용 가능한 다국어 목록">
|
||||
<option>[새로 입력]</option>
|
||||
|
|
@ -133,8 +133,8 @@
|
|||
<ul>
|
||||
<li>
|
||||
<label for="menuName2">메뉴이름</label>
|
||||
<label class="x_muted"><input type="checkbox" class="multilingual"> 다국어 사용</label>
|
||||
<input id="menuName2" type="text" required />
|
||||
<label><input type="checkbox" class="multilingual"> 다국어 사용</label>
|
||||
<fieldset class="multilingual_item">
|
||||
<select title="사용 가능한 다국어 목록">
|
||||
<option>[새로 입력]</option>
|
||||
|
|
@ -215,8 +215,8 @@
|
|||
<ul>
|
||||
<li>
|
||||
<label for="menuName">메뉴 이름</label>
|
||||
<label class="x_muted"><input type="checkbox" class="multilingual"> 다국어 사용</label>
|
||||
<input type="text" id="menuName">
|
||||
<label><input type="checkbox" class="multilingual"> 다국어 사용</label>
|
||||
<fieldset class="multilingual_item">
|
||||
<select title="사용 가능한 다국어 목록">
|
||||
<option>[새로 입력]</option>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue