Site edit download panel pagination, search UI enhancement.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12172 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-12 02:58:06 +00:00
parent 2437096575
commit 3617028a59
3 changed files with 14 additions and 8 deletions

View file

@ -82,8 +82,10 @@ body>.x,
.x input[type="radio"]+label,
.x input[type="checkbox"]+label{font-weight:normal}
.x label.x_inline{margin-right:16px}
.x .x_input-append .x_add-on,
.x .x_input-prepend .x_add-on{height:16px;line-height:16px}
.x .x_input-append a.x_add-on,
.x .x_input-prepend a.x_add-on{height:16px;line-height:16px}
.x .x_input-append button.x_add-on,
.x .x_input-prepend button.x_add-on{height:24px;line-height:16px}
.x.x_modal,
.x_modal-backdrop{display:none}
.x.x_modal{padding:0;width:90%;margin:-250px 0 0 -45%;max-width:none;border-radius:6px;box-shadow:none}

View file

@ -94,14 +94,18 @@ body>.x{max-width:none !important}
.download a.x_icon-download-alt:hover,
.download a.x_icon-download-alt:focus{background-color:#333}
.download p>i{font-style:normal;color:#ccc}
.download .item.installed ._install{display:none}
.download .item ._already_installed{display:none}
.download .item.installed ._already_installed{display:block}
.download .item.installed.up_to_date ._need_to_update{display:none}
.download .item.installed ._already_up_to_date{display:none}
.download .item.installed.up_to_date ._already_up_to_date{display:block}
.download ._pagination{position:absolute;bottom:-5px;left:0;width:100%}
.download ._pagination>.x_pagination,
.download ._pagination>.search{margin:0}
.download ._pagination>.x_pagination a{background-color:#fff !important;border:1px solid #aaa;border-left:0}
.download ._pagination>.x_pagination li:first-child>a{border-left:1px solid #aaa}
.download ._pagination>.x_pagination .x_active>a{background-color:#555 !important}
/* Theme(layout|skin) */
.theme img{width:110px;border:1px solid #ddd}

View file

@ -162,7 +162,7 @@
<div class="cnt">
<div class="list">
</div>
<div class="_pagination" style="float:left"></div>
<div class="_pagination"></div>
</div>
</section>
<button type="button" class="x_close" data-admin-hide="#download">&times;</button>
@ -2299,8 +2299,8 @@ jQuery(function($){
fnCallback : fnCallback,
nCurPage : htInfo.cur_page,
nTotalPages : htInfo.total_page,
sToFirstText : "&laquo; " + xe.lang.first_page,
sToLastText : xe.lang.last_page + " &raquo;",
sToFirstText : "&laquo;",
sToLastText : "&raquo;",
sToText : xe.lang.cmd_go_to_page,
sSearchKeyword : htParams.search_keyword
});
@ -3549,7 +3549,7 @@ jQuery(function($){
$(window).resize(function(){
var wHeigh = $(window).height();
$('#site').height(wHeigh - 180).find('>.col').height(wHeigh - 230).find('.cnt').height(wHeigh - 262);
$('#site_map, #add, #design, #layout, #skin').find('.cnt').height(wHeigh - 295);
$('#site_map, #add, #design, #layout, #skin, .download').find('.cnt').height(wHeigh - 295);
}).resize();
var sPackageSrl = getParameterByName('continue_install_package');