mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
issue 1312 fix. Adding the toggle button to hide and show details of 'installed program(e.g. modules, layouts, widgets...)' list.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10166 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0a408c8e76
commit
af5d1da6cb
9 changed files with 39 additions and 10 deletions
|
|
@ -496,7 +496,10 @@ body.modalContainer{_height:100%;_width:100%} /* IE6 only */
|
|||
.x .easyNav h2{font-size:16px}
|
||||
.x .easyNav .category{width:30%;float:left;margin:0 2em;display:inline}
|
||||
.x .easyNav .filter{position:absolute;top:0;right:0;margin:1em 2em;text-align:right}
|
||||
.x .easyList td p{margin-top:0}
|
||||
.x .easyList caption .side .text .hide,
|
||||
.x .easyList caption .side .details .show{display:none}
|
||||
.x .easyList caption .side .details .hide{display:inline}
|
||||
.x .easyList td p:first-child{margin:0}
|
||||
.x .easyList td p.update{background:#ffc;padding:.5em 1em;border:1px solid #fc9;border-left:0;border-right:0;text-align:center}
|
||||
/* Font Preview */
|
||||
.x .fontPreview{width:96%;border:1px solid #e9e9e9;zoom:1;padding:1em 2em;margin:.5em 0}
|
||||
|
|
|
|||
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
|
|
@ -1190,3 +1190,13 @@ jQuery(function($){
|
|||
$('.x>.body>.content').addClass('single'); // Add class single
|
||||
}
|
||||
});
|
||||
/* Details toggle in admin table */
|
||||
jQuery(function($){
|
||||
var details = $('.x .dsTg>table>tbody>tr>td.title>p:not(:first-child)');
|
||||
var viewBtn = $('.x .dsTg>table>caption>span.side>button.text');
|
||||
details.hide();
|
||||
viewBtn.click(function(){
|
||||
details.slideToggle(200);
|
||||
viewBtn.toggleClass('details');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
2
modules/admin/tpl/js/admin.min.js
vendored
2
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -35,4 +35,4 @@ return!1},mousedown:function(){h=!0},focus:function(){a(this).mouseover()},mouse
|
|||
jQuery(function(a){a(".filebox").bind("before-open.mw",function(){function c(f){d.html(f.html);d.find(".lined .select").bind("click",function(){var c=a("input.select_checkbox:checked");0==c.length?(c=a(this).parent().find("img.filebox_item").attr("src"))?(b.trigger("filebox.selected",[c]),b.trigger("close.mw")):alert("None selected!"):(b.trigger("filebox.selected",[c]),b.trigger("close.mw"));return!1});d.find(".pagination").find("a").filter(function(){return a(this).hasClass("tgAnchor")?!1:!0}).bind("click",
|
||||
function(){var b=a(this).attr("page");a.exec_json("module.getFileBoxListHtml",{page:b},c);a(window).scrollTop(a(g).find(".modalClose").offset().top);return!1});a("#FileBoxGoTo").find("button").bind("click",function(){var b=a(this).prev("input").val();a.exec_json("module.getFileBoxListHtml",{page:b},c);a(window).scrollTop(a(g).find(".modalClose").offset().top);return!1})}var b,d,g;b=a(this);g=b.attr("href");d=a(g).find(".filebox_list");a.exec_json("module.getFileBoxListHtml",{page:"1"},c)})});
|
||||
function showWaitingFogLayer(){var a=jQuery('<span class="bg"></span>');a.height(jQuery(window).height());jQuery(".wfsr").wrap('<div class="wfsr_fog" />').before(a)}function hideWaitingFogLayer(){jQuery(".wfsr").prev("span").remove();jQuery(".wfsr").unwrap()}function doInstallModule(a){var c=[];c.module_name=a;exec_xml("install","procInstallAdminInstall",c,completeInstallModule);showWaitingFogLayer()}
|
||||
function doUpdateModule(a){var c=[];c.module_name=a;exec_xml("install","procInstallAdminUpdate",c,completeInstallModule);showWaitingFogLayer()}function completeInstallModule(a){alert(a.message);location.reload()}jQuery(document).ready(function(a){a("body").ajaxComplete(function(){hideWaitingFogLayer()})});jQuery(function(a){0==a(".x>.body>.lnb").length&&a(".x>.body>.content").addClass("single")});
|
||||
function doUpdateModule(a){var c=[];c.module_name=a;exec_xml("install","procInstallAdminUpdate",c,completeInstallModule);showWaitingFogLayer()}function completeInstallModule(a){alert(a.message);location.reload()}jQuery(document).ready(function(a){a("body").ajaxComplete(function(){hideWaitingFogLayer()})});jQuery(function(a){0==a(".x>.body>.lnb").length&&a(".x>.body>.content").addClass("single")});jQuery(function($){var details = $('.x .dsTg>table>tbody>tr>td.title>p:not(:first-child)');var viewBtn = $('.x .dsTg>table>caption>span.side>button.text');details.hide();viewBtn.click(function(){details.slideToggle(200);viewBtn.toggleClass('details');});});
|
||||
Loading…
Add table
Add a link
Reference in a new issue