Board module UX enhancement prototype.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12244 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-16 09:08:14 +00:00
parent 3480da757a
commit 8a60464b18
19 changed files with 43 additions and 10 deletions

View file

@ -134,6 +134,8 @@ body>.x,
.x .section>h1>.snToggle.x_icon-chevron-up{background-position:-279px -112px}
.x .section>h1>.snToggle.x_icon-chevron-down{background-position:-303px -111px}
.x .section>h2{position:relative;border-bottom:1px dotted #ddd}
.x .section.collapse>*{display:none}
.x .section.collapse>h1{display:block}
.x .center{text-align:center}
.x .search{margin:20px 0}
.x .search select{width:auto}

File diff suppressed because one or more lines are too long

View file

@ -255,10 +255,10 @@ jQuery(function($){
var $this = $(this);
var $section = $this.closest('.section');
if(!$section.hasClass('collapse')){
$section.addClass('collapse').children('h1:first').siblings().hide();
$section.addClass('collapse');
$this.removeClass('x_icon-chevron-up').addClass('x_icon-chevron-down');
} else {
$section.removeClass('collapse').children('h1:first').siblings().show();
$section.removeClass('collapse');
$this.removeClass('x_icon-chevron-down').addClass('x_icon-chevron-up');
}
reflow();
@ -1591,6 +1591,7 @@ jQuery(function($){
}else{
var $displayInput = $('<input type="text" id="lang_' + id + '" class="displayInput" style="width:' + width + 'px">').data('lang-id', id);
}
$displayInput.attr('placeholder', $this.attr('placeholder'));
var $remover = $('<button type="button" class="x_add-on remover" title="' + xe.cmd_remove_multilingual_text + '"><i class="x_icon-remove"></i>' + xe.cmd_remove_multilingual_text + '</button>').data('lang-target', id);
var $setter = $('<a href="#g11n" class="x_add-on modalAnchor" title="' + xe.cmd_set_multilingual_text + '"><i class="x_icon-globe"></i>' + xe.cmd_set_multilingual_text + '</a>').data('lang-target', id);
@ -1691,7 +1692,6 @@ jQuery(function($){
}
});
return this;
};

File diff suppressed because one or more lines are too long