diff --git a/modules/admin/tpl/css/admin.css b/modules/admin/tpl/css/admin.css index d95542824..f7b18e9eb 100644 --- a/modules/admin/tpl/css/admin.css +++ b/modules/admin/tpl/css/admin.css @@ -19,6 +19,7 @@ body>.x, .x a[target="_blank"]:after{ content:"";display:inline-block;width:14px;height:14px;vertical-align:middle;margin:-2px 0 0 2px;background-position:-120px -72px;opacity:.3;filter:alpha(opacity=30)} .x a[target="_blank"]:hover:after, .x a[target="_blank"]:focus:after{opacity:.7;filter:alpha(opacity=70)} +.x mark{background-color:#FF0;color:#000} /* Bootstrap Override */ .x .x_page-header{padding-bottom:0;border-bottom:2px solid #ddd} .x .x_page-header>h1{margin-bottom:0;font-size:24px;color:#333} @@ -158,6 +159,9 @@ body>.x, .x td>p:only-of-type, .x td>p:last-of-type{margin:0} .x [data-display="none"]{display:none} +.x .x_page-header .path{font-size:14px;display:inline-block} +.x .x_page-header .path:first-letter{color:#ccc;font-weight:normal} +.x [data-toggle]+.x_help-block{margin-top:10px} /* Image Sprite */ .x a[target="_blank"]:after, .x>.xin>.body>.gnb>ul>li>a>i, @@ -175,7 +179,7 @@ body>.x, .x>.xin>.header{position:relative;z-index:2;border-radius:5px 5px 0 0;padding:10px 15px;zoom:1;border-bottom:1px solid #ddd;background:#f6f6f6;background:-webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#F1F1F1));background:-moz-linear-gradient(top,#F6F6F6,#F1F1F1);background:-o-linear-gradient(top,#F6F6F6,#F1F1F1)} .x>.xin>.header:after{content:"";display:block;clear:both} .x>.xin>.body{position:relative;zoom:1;padding:0 20px 50px 215px} -.x>.xin>.body.wide{padding:0 20px 0 70px} +.x>.xin>.body.wide{padding-left:70px} .x>.xin>.body:after{content:"";display:block;clear:both} .x>.xin>.body>.content{width:100%;padding:1px 0 0 0;float:right;margin:0 0 0 -100%;outline:none} .x>.xin>.body>.content>*:first-child{margin-top:0} @@ -222,7 +226,6 @@ body>.x, .x>.xin>.footer>.cache>*{color:#666} .x>.xin>.footer .vr{color:#ccc !important} /* GNB */ -.x>.xin>.body>.gnb>.close{background:none;border:0;position:absolute;top:0;left:0;width:100%;height:1px;overflow:hidden;margin:0;padding:0} .x>.xin>.body>.gnb ul{margin:0;padding:0;list-style:none} .x>.xin>.body>.gnb>ul{position:relative;z-index:1;box-shadow:2px 2px 4px #ddd;border-right:2px solid #fff;border-bottom:2px solid #fff} .x>.xin>.body>.gnb a{text-decoration:none;text-shadow:0 1px 0 #fff;color:#000;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index 871ce20b0..9b095b2e0 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -182,14 +182,6 @@ jQuery(function($){ return false; }); - // GNB Close - $xGnb - .prepend('');a(".x .section.collapse>h1>.snToggle").removeClass("x_icon-chevron-up").addClass("x_icon-chevron-down");e.find(">.snToggle").click(function(){var b= -a(this),d=b.closest(".section");d.hasClass("collapse")?(d.removeClass("collapse"),b.removeClass("x_icon-chevron-down").addClass("x_icon-chevron-up")):(d.addClass("collapse"),b.removeClass("x_icon-chevron-up").addClass("x_icon-chevron-down"));f()})}e=a(".x .x_alert");e.prepend('');e.children(".x_close").click(function(){a(this).parent(".x_alert").hide()});a(".x .x_btn").click(function(){if(a(this).hasClass("x_disabled"))return!1});a.fn.vr=function(){this.each(function(){var b= -a(this);"|"==b.text()&&b.addClass("vr").filter(":first-child, :last-child").remove()})};a(".x i").vr();a.fn.labelMaker=function(){this.each(function(b){var b=b+1,d=a(this),b="i"+b;d.next("input, textarea, select").filter("[id]").not(":radio, :checkbox").length?d.attr("for",d.next().attr("id")):d.next("input, textarea, select").not("[id]").not(":radio, :checkbox").length?d.attr("for",b).next().attr("id",b):d.prev(":radio, :checkbox").filter("[id]").length?d.attr("for",d.prev().attr("id")):d.prev(":radio, :checkbox").not("[id]").length? -d.attr("for",b).prev().attr("id",b):d.children("input, textarea, select").filter("[id]").length?d.attr("for",d.children("input, textarea, select").filter("[id]").eq(0).attr("id")):d.children("input, textarea, select").not("[id]").length&&d.attr("for",b).children("input, textarea, select").not("[id]").eq(0).attr("id",b)})};a("label:not([for])").labelMaker();a.fn.checkToggle=function(){function b(){setTimeout(function(){a(":checked").parent("label").addClass("checked");a(':not(":checked")').parent("label").removeClass("checked")}, -0)}this.change(b);b()};a(":radio, :checkbox").checkToggle();a.fn.fileTypeOverlap=function(){this.each(function(){var b=a(this);b.wrap('').before(b.attr("title"))})};a('input[type="file"].overlap').fileTypeOverlap();a.fn.xeMask=function(){this.each(function(){var b=a(this),d=b.text();/^([\w\-\.]+?)@(([\w-]+\.)+[a-z]{2,})$/ig.test(d)&&b.html(d.replace(/(@.+)$/,'...$1')).find(">.ellipsis").css({position:"absolute", -zIndex:1}).hover(function(){a(this).next(".cover").mouseover()},function(){a(this).next(".cover").mouseout()}).end().find(">.cover").css({zIndex:2,opacity:0}).hover(function(){a(this).css("opacity",1).prev("span").css("visibility","hidden")},function(){a(this).css("opacity",0).prev("span").css("visibility","visible")}).end()})};a(".masked").xeMask();a.fn.tableSpan=function(){this.each(function(){var b=a(this),d=b.find(">thead>tr:eq(0)>th").length,b=b.find(">tbody>tr:eq(0)>td:only-child");d!=b.attr("colspan")&& -b.attr("colspan",d).css("text-align","center")})};a("table").tableSpan()}); -jQuery(function(a){a.fn.xeModalWindow=function(){this.not(".xe-modal-window").addClass("xe-modal-window").each(function(){a(a(this).attr("href")).addClass("x").hide()}).click(function(){var f=a(this);"showing"==a(f.attr("href")).data("state")?f.trigger("close.mw"):f.trigger("open.mw");return!1}).bind("open.mw",function(){var f=a(this),e,b;e=a(f.attr("href"));e.parent("body").length||(b=a(''),b.click(function(){e.data("anchor").trigger("close.mw")}), -e.find("[data-hide]").click(function(){e.data("anchor").trigger("close.mw")}),a("body").append('
').append(e),e.prepend(b));e.data("anchor",f);b=a.Event("before-open.mw");f.trigger(b);if(b.isDefaultPrevented())return!1;e=a(f.attr("href"));b=f.data("duration")||"fast";e.data("state","showing");a(document).bind("keydown.mw",function(a){if(27==a.which)return f.trigger("close.mw"),!1});e.fadeIn(b,function(){f.trigger("after-open.mw")}).find("button.x_close:first").focus().end().prev(".x_modal-backdrop").show(); -a("body").css("overflow","hidden")}).bind("close.mw",function(){var f=a(this),e,b;e=a.Event("before-close.mw");f.trigger(e);if(e.isDefaultPrevented())return!1;e=a(f.attr("href"));b=f.data("duration")||"fast";e.data("state","hiding");e.fadeOut(b,function(){f.trigger("after-close.mw")}).prev(".x_modal-backdrop").hide();a("body").css("overflow","auto");f.focus()});a("div.x_modal").addClass("x").hide()};a("a.modalAnchor").xeModalWindow()}); -jQuery(function(a){var f=!1;a.fn.xeContentToggler=function(){this.not(".xe-content-toggler").addClass("xe-content-toggler").each(function(){var e=a(this);$layer=a(e.attr("href"));$layer.hide().not(".xe-toggling-content").addClass("xe-toggling-content").mousedown(function(){f=!0}).focusout(function(){setTimeout(function(){!f&&(!$layer.find(":focus").length&&"showing"==$layer.data("state"))&&e.trigger("close.tc");f=!1},1)})}).click(function(){var e=a(this),b;b=a(e.attr("href"));b.data("anchor",e);"showing"== -b.data("state")?e.trigger("close.tc"):e.trigger("open.tc");return!1}).bind("open.tc",function(){function e(){b.trigger("after-open.tc")}var b=a(this),d,k,g;d=a(b.attr("href"));k=b.data("effect");g=b.data("duration")||"fast";d.data("state","showing");b.trigger("before-open.tc");f=!1;a(document).unbind("mousedown.tc keydown.tc").bind("mousedown.tc keydown.tc",function(e){if(e&&("keydown"==e.type&&27!=e.which||"mousedown"==e.type&&(e=a(e.target),e.is("html,.tgAnchor,.tgContent")||d.has(e).length)))return!0; -b.trigger("close.tc");return!1});switch(k){case "slide":d.slideDown(g,e);break;case "slide-h":k=d.css({"overflow-x":"",width:""}).width();d.show().css({"overflow-x":"hidden",width:"0px"}).animate({width:k},g,function(){d.css({"overflow-x":"",width:""});e()});break;case "fade":d.fadeIn(g,e);break;default:d.show(),b.trigger("after-open.tc")}}).bind("close.tc",function(){function e(){b.trigger("after-close.tc")}var b=a(this),d,f,g;a(document).unbind("mousedown.tc keydown.tc");d=a(b.attr("href"));f=b.data("effect"); -g=b.data("duration")||"fast";d.data("state","hiding");b.trigger("before-close.tc");switch(f){case "slide":d.slideUp(g,e);break;case "slide-h":d.animate({width:0},g,function(){d.hide();e()});break;case "fade":d.fadeOut(g,e);break;default:d.hide(),b.trigger("after-close.tc")}});return this};a("a.tgAnchor").xeContentToggler()}); -jQuery(function(a){a.fn.xeModuleFinder=function(){this.not(".xe-module-finder").addClass("xe-module-finder").find("a.tgAnchor.findsite").bind("before-open.tc",function(){var f,e,b;f=a(this);e=a(f.attr("href")).find(">ul");b=f.prev("input:text").val();a.exec_json("admin.getSiteAllList",{domain:b},function(b){var k=b.site_list,g,j;e.empty();f.closest(".modulefinder").find(".moduleList,.moduleIdList").attr("disabled","disabled");if(b.error||!a.isArray(k))f.trigger("close.tc");else{g=0;for(j=k.length;g< -j;g++)b=a("
  • ").appendTo(e),a(' - + -