mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Modules(admin, member, menu, document) and default layout UI cleaning.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11808 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3c0f9f7098
commit
5722793eed
12 changed files with 589 additions and 576 deletions
|
|
@ -94,7 +94,7 @@ jQuery(function($){
|
|||
return false;
|
||||
});
|
||||
// GNB
|
||||
var $xBody = $('.x>.body');
|
||||
var $xBody = $('.x>.xin>.body');
|
||||
var $xContent = $xBody.children('#content.content');
|
||||
var $xGnb = $xBody.find('>.gnb');
|
||||
var $xGnb_li = $xGnb.find('>ul>li');
|
||||
|
|
|
|||
38
modules/admin/tpl/js/admin.min.js
vendored
38
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -1,4 +1,40 @@
|
|||
/* NHN (developers@xpressengine.com) */
|
||||
// insert fog layer
|
||||
function showWaitingFogLayer() {
|
||||
var $bg = jQuery('<span class="bg"></span>');
|
||||
$bg.height(jQuery(window).height());
|
||||
jQuery('.wfsr')
|
||||
.wrap('<div class="wfsr_fog" />')
|
||||
.before($bg);
|
||||
}
|
||||
|
||||
function hideWaitingFogLayer() {
|
||||
jQuery('.wfsr').prev('span').remove();
|
||||
jQuery('.wfsr').unwrap();
|
||||
}
|
||||
|
||||
|
||||
// install module
|
||||
function doInstallModule(module) {
|
||||
var params = new Array();
|
||||
params['module_name'] = module;
|
||||
exec_xml('install','procInstallAdminInstall',params, completeInstallModule);
|
||||
showWaitingFogLayer();
|
||||
}
|
||||
|
||||
// upgrade module
|
||||
function doUpdateModule(module) {
|
||||
var params = new Array();
|
||||
params['module_name'] = module;
|
||||
exec_xml('install','procInstallAdminUpdate',params, completeInstallModule);
|
||||
showWaitingFogLayer();
|
||||
}
|
||||
|
||||
function completeInstallModule(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
location.reload();
|
||||
}
|
||||
|
||||
jQuery(function($){
|
||||
// iSO mobile device toolbar remove
|
||||
window.scrollTo(0,0);
|
||||
|
|
@ -58,7 +94,7 @@ jQuery(function($){
|
|||
return false;
|
||||
});
|
||||
// GNB
|
||||
var $xBody = $('.x>.body');
|
||||
var $xBody = $('.x>.xin>.body');
|
||||
var $xContent = $xBody.children('#content.content');
|
||||
var $xGnb = $xBody.find('>.gnb');
|
||||
var $xGnb_li = $xGnb.find('>ul>li');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue