',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.prototype.init=function(e,o,n){this.enabled=!0,this.type=e,this.$element=t(o),this.options=this.getOptions(n);for(var i=this.options.trigger.split(" "),a=i.length;a--;){var r=i[a];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focus",l="hover"==r?"mouseleave":"blur";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this));
-}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},o=this.getDefaults();return this._options&&t.each(this._options,function(t,n){o[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("zui."+this.type);return clearTimeout(o.timeout),o.hoverState="in",o.options.delay&&o.options.delay.show?void(o.timeout=setTimeout(function(){"in"==o.hoverState&&o.show()},o.options.delay.show)):o.show()},e.prototype.leave=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("zui."+this.type);return clearTimeout(o.timeout),o.hoverState="out",o.options.delay&&o.options.delay.hide?void(o.timeout=setTimeout(function(){"out"==o.hoverState&&o.hide()},o.options.delay.hide)):o.hide()},e.prototype.show=function(e){var o=t.Event("show.zui."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(o),o.isDefaultPrevented())return;var n=this.tip();this.setContent(e),this.options.animation&&n.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,r=a.test(i);r&&(i=i.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(i),this.options.container?n.appendTo(this.options.container):n.insertAfter(this.$element);var s=this.getPosition(),l=n[0].offsetWidth,p=n[0].offsetHeight;if(r){var f=this.$element.parent(),c=i,d=document.documentElement.scrollTop||document.body.scrollTop,u="body"==this.options.container?window.innerWidth:f.outerWidth(),h="body"==this.options.container?window.innerHeight:f.outerHeight(),g="body"==this.options.container?0:f.offset().left;i="bottom"==i&&s.top+s.height+p-d>h?"top":"top"==i&&s.top-d-p<0?"bottom":"right"==i&&s.right+l>u?"left":"left"==i&&s.left-l'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTarget();if(e)return e.find(".arrow").length<1&&t.addClass("no-arrow"),void t.html(e.html());var o=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](o),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in"),this.options.tipId&&t.attr("id",this.options.tipId),this.options.tipClass&&t.addClass(this.options.tipClass),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTarget()||this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.getTarget=function(){var e=this.$element,o=this.options,n=e.attr("data-target")||("function"==typeof o.target?o.target.call(e[0]):o.target);return n?"$next"==n?e.next(".popover"):t(n):!1},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var o=t.fn.popover;t.fn.popover=function(o){return this.each(function(){var n=t(this),i=n.data("zui.popover"),a="object"==typeof o&&o;i||n.data("zui.popover",i=new e(this,a)),"string"==typeof o&&i[o]()})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=o,this}}(window.jQuery),function(t,e,o){"use strict";var n=function(e,o){this.$=t(e),this.options=this.getOptions(o),this.init()};n.DEFAULTS={container:"body",deviation:5,sensorOffsetX:0,sensorOffsetY:0},n.prototype.getOptions=function(e){return e=t.extend({},n.DEFAULTS,this.$.data(),e)},n.prototype.callEvent=function(e,o){return t.zui.callEvent(this.options[e],o,this)},n.prototype.init=function(){this.handleMouseEvents()},n.prototype.handleMouseEvents=function(){var n=this.$,i=this,a=this.options,r="before";this.$triggerTarget=a.trigger?(t.isFunction(a.trigger)?a.trigger(n):n.find(a.trigger)).first():n,this.$triggerTarget.on("mousedown",function(s){function l(e){var r={left:e.pageX,top:e.pageY};if(!(o.abs(r.left-y.left)s&&r.top>l&&r.leftp?s[a?"after":"before"](r):s[a?"before":"after"](r);var f=n.children(i.selector).not(".drag-shadow");o(f),t.zui.callEvent(i.order,{list:f,element:r})}},finish:function(e){i.dragCssClass&&e.element&&e.element.removeClass(i.dragCssClass),t.zui.callEvent(i.finish,{list:n.children(i.selector),element:e.element}),n.removeClass("sortable-sorting")}})},t.fn.sortable=function(e){return this.each(function(){var o=t(this),n=o.data("zui.sortable"),a="object"==typeof e&&e;n?"object"==typeof e&&n.reset():o.data("zui.sortable",n=new i(this,a)),"string"==typeof e&&n[e]()})},t.fn.sortable.Constructor=i}(jQuery,window,document,Math),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.bootbox=e(t.jQuery)}(this,function t(e,o){"use strict";function n(t){var e=m[h.locale];return e?e[t]:m.en[t]}function i(t,o,n){t.stopPropagation(),t.preventDefault();var i=e.isFunction(n)&&n.call(o,t)===!1;i||o.modal("hide")}function a(t){var e,o=0;for(e in t)o++;return o}function r(t,o){var n=0;e.each(t,function(t,e){o(t,e,n++)})}function s(t){var o,n;if("object"!=typeof t)throw new Error("Please supply an object of options");if(!t.message)throw new Error("Please specify a message");return t=e.extend({},h,t),t.buttons||(t.buttons={}),o=t.buttons,n=a(o),r(o,function(t,i,a){if(e.isFunction(i)&&(i=o[t]={callback:i}),"object"!==e.type(i))throw new Error("button with key "+t+" must be an object");i.label||(i.label=t),i.className||(2>=n&&a===n-1?i.className="btn-primary":i.className="btn-default")}),t}function l(t,e){var o=t.length,n={};if(1>o||o>2)throw new Error("Invalid argument length");return 2===o||"string"==typeof t[0]?(n[e[0]]=t[0],n[e[1]]=t[1]):n=t[0],n}function p(t,o,n){return e.extend(!0,{},t,l(o,n))}function f(t,e,o,n){var i={className:"bootbox-"+t,buttons:c.apply(null,e)};return d(p(i,n,o),e)}function c(){for(var t={},e=0,o=arguments.length;o>e;e++){var i=arguments[e],a=i.toLowerCase(),r=i.toUpperCase();t[a]={label:n(r)}}return t}function d(t,e){var n={};return r(e,function(t,e){n[e]=!0}),r(t.buttons,function(t){if(n[t]===o)throw new Error("button key "+t+" is not allowed (options are "+e.join("\n")+")")}),t}var u={dialog:"
",header:"
",footer:"",closeButton:"",form:"",inputs:{text:"",textarea:"",email:"",select:"",checkbox:"",date:"",time:"",number:"",password:""}},h={locale:e.zui&&e.zui.clientLang?e.zui.clientLang():"zh_cn",backdrop:"static",animate:!0,className:null,closeButton:!0,show:!0,container:"body"},g={};g.alert=function(){var t;if(t=f("alert",["ok"],["message","callback"],arguments),t.callback&&!e.isFunction(t.callback))throw new Error("alert requires callback property to be a function when provided");return t.buttons.ok.callback=t.onEscape=function(){return e.isFunction(t.callback)?t.callback.call(this):!0},g.dialog(t)},g.confirm=function(){var t;if(t=f("confirm",["cancel","confirm"],["message","callback"],arguments),t.buttons.cancel.callback=t.onEscape=function(){return t.callback.call(this,!1)},t.buttons.confirm.callback=function(){return t.callback.call(this,!0)},!e.isFunction(t.callback))throw new Error("confirm requires a callback");return g.dialog(t)},g.prompt=function(){var t,n,i,a,s,l,f;if(a=e(u.form),n={className:"bootbox-prompt",buttons:c("cancel","confirm"),value:"",inputType:"text"},t=d(p(n,arguments,["title","callback"]),["cancel","confirm"]),l=t.show===o?!0:t.show,t.message=a,t.buttons.cancel.callback=t.onEscape=function(){return t.callback.call(this,null)},t.buttons.confirm.callback=function(){var o;switch(t.inputType){case"text":case"textarea":case"email":case"select":case"date":case"time":case"number":case"password":o=s.val();break;case"checkbox":var n=s.find("input:checked");o=[],r(n,function(t,n){o.push(e(n).val())})}return t.callback.call(this,o)},t.show=!1,!t.title)throw new Error("prompt requires a title");if(!e.isFunction(t.callback))throw new Error("prompt requires a callback");if(!u.inputs[t.inputType])throw new Error("invalid prompt type");switch(s=e(u.inputs[t.inputType]),t.inputType){case"text":case"textarea":case"email":case"date":case"time":case"number":case"password":s.val(t.value);break;case"select":var h={};if(f=t.inputOptions||[],!e.isArray(f))throw new Error("Please pass an array of input options");if(!f.length)throw new Error("prompt with select requires options");r(f,function(t,n){var i=s;if(n.value===o||n.text===o)throw new Error("given options in wrong format");n.group&&(h[n.group]||(h[n.group]=e("").attr("label",n.group)),i=h[n.group]),i.append("")}),r(h,function(t,e){s.append(e)}),s.val(t.value);break;case"checkbox":var m=e.isArray(t.value)?t.value:[t.value];if(f=t.inputOptions||[],!f.length)throw new Error("prompt with checkbox requires options");if(!f[0].value||!f[0].text)throw new Error("given options in wrong format");s=e(""),r(f,function(o,n){var i=e(u.inputs[t.inputType]);i.find("input").attr("value",n.value),i.find("label").append(n.text),r(m,function(t,e){e===n.value&&i.find("input").prop("checked",!0)}),s.append(i)})}return t.placeholder&&s.attr("placeholder",t.placeholder),t.pattern&&s.attr("pattern",t.pattern),t.maxlength&&s.attr("maxlength",t.maxlength),a.append(s),a.on("submit",function(t){t.preventDefault(),t.stopPropagation(),i.find(".btn-primary").click()}),i=g.dialog(t),i.off("shown.zui.modal"),i.on("shown.zui.modal",function(){s.focus()}),l===!0&&i.modal("show"),i},g.dialog=function(t){t=s(t);var n=e(u.dialog),a=n.find(".modal-dialog"),l=n.find(".modal-body"),p=t.buttons,f="",c={onEscape:t.onEscape};if(e.fn.modal===o)throw new Error("$.fn.modal is not defined; please double check you have included the Bootstrap JavaScript library. See http://getbootstrap.com/javascript/ for more details.");if(r(p,function(t,e){f+="",c[t]=e.callback}),l.find(".bootbox-body").html(t.message),t.animate===!0&&n.addClass("fade"),t.className&&n.addClass(t.className),"large"===t.size?a.addClass("modal-lg"):"small"===t.size&&a.addClass("modal-sm"),t.title&&l.before(u.header),t.closeButton){var d=e(u.closeButton);t.title?n.find(".modal-header").prepend(d):d.css("margin-top","-10px").prependTo(l)}return t.title&&n.find(".modal-title").html(t.title),f.length&&(l.after(u.footer),n.find(".modal-footer").html(f)),n.on("hidden.zui.modal",function(t){t.target===this&&n.remove()}),n.on("shown.zui.modal",function(){n.find(".btn-primary:first").focus()}),"static"!==t.backdrop&&n.on("click.dismiss.zui.modal",function(t){n.children(".modal-backdrop").length&&(t.currentTarget=n.children(".modal-backdrop").get(0)),t.target===t.currentTarget&&n.trigger("escape.close.bb")}),n.on("escape.close.bb",function(t){c.onEscape&&i(t,n,c.onEscape)}),n.on("click",".modal-footer button",function(t){var o=e(this).data("bb-handler");i(t,n,c[o])}),n.on("click",".bootbox-close-button",function(t){i(t,n,c.onEscape)}),n.on("keyup",function(t){27===t.which&&n.trigger("escape.close.bb")}),e(t.container).append(n),n.modal({backdrop:t.backdrop?"static":!1,keyboard:!1,show:!1}),t.show&&n.modal("show"),n},g.setDefaults=function(){var t={};2===arguments.length?t[arguments[0]]=arguments[1]:t=arguments[0],e.extend(h,t)},g.hideAll=function(){return e(".bootbox").modal("hide"),g};var m={en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},zh_cn:{OK:"确认",CANCEL:"取消",CONFIRM:"确认"},zh_tw:{OK:"確認",CANCEL:"取消",CONFIRM:"確認"}};return g.addLocale=function(t,o){return e.each(["OK","CANCEL","CONFIRM"],function(t,e){if(!o[e])throw new Error("Please supply a translation for '"+e+"'")}),m[t]={OK:o.OK,CANCEL:o.CANCEL,CONFIRM:o.CONFIRM},g},g.removeLocale=function(t){return delete m[t],g},g.setLocale=function(t){return g.setDefaults("locale",t)},g.init=function(o){return t(o||e)},g}),function(t){"use strict";var e=function(e,o){this.$=t(e),this.options=this.getOptions(o),this.init()};e.DEFAULTS={container:"body",move:!0},e.prototype.getOptions=function(o){return o=t.extend({},e.DEFAULTS,this.$.data(),o)},e.prototype.init=function(){this.handleMouseEvents()},e.prototype.handleMouseEvents=function(){var e,o,n,i,a,r=this.$,s="before",l="drag",p="finish",f=this.options,c=function(l){if(f.hasOwnProperty(s)&&t.isFunction(f[s])){var p=f[s]({event:l,element:r});if(void 0!==p&&!p)return}var c=t(f.container),h=r.offset();o=c.offset(),e={x:l.pageX,y:l.pageY},n={x:l.pageX-h.left+o.left,y:l.pageY-h.top+o.top},i=t.extend({},e),a=!1,r.addClass("drag-ready"),t(document).bind("mousemove",d).bind("mouseup",u),l.preventDefault(),f.stopPropagation&&l.stopPropagation()},d=function(o){a=!0;var s=o.pageX,p=o.pageY,c={left:s-n.x,top:p-n.y};r.removeClass("drag-ready").addClass("dragging"),f.move&&r.css(c),f.hasOwnProperty(l)&&t.isFunction(f[l])&&f[l]({event:o,element:r,startOffset:n,pos:c,offset:{x:s-e.x,y:p-e.y},smallOffset:{x:s-i.x,y:p-i.y}}),i.x=s,i.y=p,f.stopPropagation&&o.stopPropagation()},u=function(o){if(t(document).unbind("mousemove",d).unbind("mouseup",u),!a)return void r.removeClass("drag-ready");var s={left:o.pageX-n.x,top:o.pageY-n.y};r.removeClass("drag-ready").removeClass("dragging"),f.move&&r.css(s),f.hasOwnProperty(p)&&t.isFunction(f[p])&&f[p]({event:o,element:r,pos:s,offset:{x:o.pageX-e.x,y:o.pageY-e.y},smallOffset:{x:o.pageX-i.x,y:o.pageY-i.y}}),o.preventDefault(),f.stopPropagation&&o.stopPropagation()};f.handle?r.on("mousedown",f.handle,c):r.on("mousedown",c)},t.fn.draggable=function(o){return this.each(function(){var n=t(this),i=n.data("zui.draggable"),a="object"==typeof o&&o;i||n.data("zui.draggable",i=new e(this,a)),"string"==typeof o&&i[o]()})},t.fn.draggable.Constructor=e}(jQuery),function(t){"use strict";var e="zui.tree",o=function(o,n){this.name=e,this.$=t(o),this.getOptions(n),this.init()};o.DEFAULTS={animate:null,initialState:"normal"},o.prototype.init=function(){this.options.animate&&this.$.addClass("tree-animate"),this.$lists=this.$.find("ul"),this.$lists.parent("li").addClass("has-list").prepend('');var e=this;this.$.on("click",".list-toggle, a[href=#]",function(o){e.toggle(t(this).parent("li")),o.preventDefault()}),"expand"===this.options.initialState?this.expand():"collapse"===this.options.initialState?this.collapse():this.options.animate&&this.$.find("li.has-list.open").addClass("in")},o.prototype.expand=function(t,e){t?(t.addClass("open"),!e&&this.options.animate?setTimeout(function(){t.addClass("in")},10):t.addClass("in")):this.$.find("li.has-list").addClass("open in"),this.callEvent("expand",t,this)},o.prototype.collapse=function(t,e){t?!e&&this.options.animate?(t.removeClass("in"),setTimeout(function(){t.removeClass("open")},300)):t.removeClass("open in"):this.$.find("li.has-list").removeClass("open in"),this.callEvent("collapse",t,this)},o.prototype.toggle=function(t){var e=t&&t.hasClass("open")||t===!1||void 0===t&&this.$.find("li.has-list.open").length;this[e?"collapse":"expand"](t)},o.prototype.getOptions=function(e){this.options=t.extend({},o.DEFAULTS,this.$.data(),e),null===this.options.animate&&this.$.hasClass("tree-animate")&&(this.options.animate=!0)},o.prototype.callEvent=function(t,e){var o=this.$.callEvent(t+"."+this.name,e,this);return!(void 0!==o.result&&!o.result)},t.fn.tree=function(n,i){return this.each(function(){var a=t(this),r=a.data(e),s="object"==typeof n&&n;r||a.data(e,r=new o(this,s)),"string"==typeof n&&r[n](i)})},t.fn.tree.Constructor=o,t(function(){t('[data-ride="tree"]').tree()})}(jQuery),function(t,e){function o(e,i){if(t.isArray(e))return void t.each(e,function(t,e){o(e,i)});var a={};a[e]=n[e],i?t.extend(i,a):t.extend(a)}var n=t.zui;n&&(o(["uuid","callEvent","clientLang","browser","messager","Messager","showMessager","closeModal","ajustModalPosition","ModalTrigger","modalTrigger","store"]),o(["Color","imgReady","messager","Messager","showMessager","closeModal","ajustModalPosition","ModalTrigger","modalTrigger","store"],e))}(jQuery,window);
\ No newline at end of file
+}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},o=this.getDefaults();return this._options&&t.each(this._options,function(t,n){o[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("zui."+this.type);return clearTimeout(o.timeout),o.hoverState="in",o.options.delay&&o.options.delay.show?void(o.timeout=setTimeout(function(){"in"==o.hoverState&&o.show()},o.options.delay.show)):o.show()},e.prototype.leave=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("zui."+this.type);return clearTimeout(o.timeout),o.hoverState="out",o.options.delay&&o.options.delay.hide?void(o.timeout=setTimeout(function(){"out"==o.hoverState&&o.hide()},o.options.delay.hide)):o.hide()},e.prototype.show=function(e){var o=t.Event("show.zui."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(o),o.isDefaultPrevented())return;var n=this.tip();this.setContent(e),this.options.animation&&n.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,r=a.test(i);r&&(i=i.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(i),this.options.container?n.appendTo(this.options.container):n.insertAfter(this.$element);var s=this.getPosition(),l=n[0].offsetWidth,p=n[0].offsetHeight;if(r){var f=this.$element.parent(),c=i,d=document.documentElement.scrollTop||document.body.scrollTop,u="body"==this.options.container?window.innerWidth:f.outerWidth(),h="body"==this.options.container?window.innerHeight:f.outerHeight(),g="body"==this.options.container?0:f.offset().left;i="bottom"==i&&s.top+s.height+p-d>h?"top":"top"==i&&s.top-d-p<0?"bottom":"right"==i&&s.right+l>u?"left":"left"==i&&s.left-l'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTarget();if(e)return e.find(".arrow").length<1&&t.addClass("no-arrow"),void t.html(e.html());var o=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](o),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in"),this.options.tipId&&t.attr("id",this.options.tipId),this.options.tipClass&&t.addClass(this.options.tipClass),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTarget()||this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.getTarget=function(){var e=this.$element,o=this.options,n=e.attr("data-target")||("function"==typeof o.target?o.target.call(e[0]):o.target);return n?"$next"==n?e.next(".popover"):t(n):!1},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var o=t.fn.popover;t.fn.popover=function(o){return this.each(function(){var n=t(this),i=n.data("zui.popover"),a="object"==typeof o&&o;i||n.data("zui.popover",i=new e(this,a)),"string"==typeof o&&i[o]()})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=o,this}}(window.jQuery),function(t,e,o){"use strict";var n=function(e,o){this.$=t(e),this.options=this.getOptions(o),this.init()};n.DEFAULTS={container:"body",deviation:5,sensorOffsetX:0,sensorOffsetY:0},n.prototype.getOptions=function(e){return e=t.extend({},n.DEFAULTS,this.$.data(),e)},n.prototype.callEvent=function(e,o){return t.zui.callEvent(this.options[e],o,this)},n.prototype.init=function(){this.handleMouseEvents()},n.prototype.handleMouseEvents=function(){var n=this.$,i=this,a=this.options,r="before";this.$triggerTarget=a.trigger?(t.isFunction(a.trigger)?a.trigger(n):n.find(a.trigger)).first():n,this.$triggerTarget.on("mousedown",function(s){function l(e){var r={left:e.pageX,top:e.pageY};if(!(o.abs(r.left-y.left)s&&r.top>l&&r.leftp?s[a?"after":"before"](r):s[a?"before":"after"](r);var f=n.children(i.selector).not(".drag-shadow");o(f),t.zui.callEvent(i.order,{list:f,element:r})}},finish:function(e){i.dragCssClass&&e.element&&e.element.removeClass(i.dragCssClass),t.zui.callEvent(i.finish,{list:n.children(i.selector),element:e.element}),n.removeClass("sortable-sorting")}})},t.fn.sortable=function(e){return this.each(function(){var o=t(this),n=o.data("zui.sortable"),a="object"==typeof e&&e;n?"object"==typeof e&&n.reset():o.data("zui.sortable",n=new i(this,a)),"string"==typeof e&&n[e]()})},t.fn.sortable.Constructor=i}(jQuery,window,document,Math),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.bootbox=e(t.jQuery)}(this,function t(e,o){"use strict";function n(t){var e=m[h.locale];return e?e[t]:m.en[t]}function i(t,o,n){t.stopPropagation(),t.preventDefault();var i=e.isFunction(n)&&n.call(o,t)===!1;i||o.modal("hide")}function a(t){var e,o=0;for(e in t)o++;return o}function r(t,o){var n=0;e.each(t,function(t,e){o(t,e,n++)})}function s(t){var o,n;if("object"!=typeof t)throw new Error("Please supply an object of options");if(!t.message)throw new Error("Please specify a message");return t=e.extend({},h,t),t.buttons||(t.buttons={}),o=t.buttons,n=a(o),r(o,function(t,i,a){if(e.isFunction(i)&&(i=o[t]={callback:i}),"object"!==e.type(i))throw new Error("button with key "+t+" must be an object");i.label||(i.label=t),i.className||(2===n&&("ok"===t||"confirm"===t)||1===n?i.className="btn-primary":i.className="btn-default")}),t}function l(t,e){var o=t.length,n={};if(1>o||o>2)throw new Error("Invalid argument length");return 2===o||"string"==typeof t[0]?(n[e[0]]=t[0],n[e[1]]=t[1]):n=t[0],n}function p(t,o,n){return e.extend(!0,{},t,l(o,n))}function f(t,e,o,n){var i={className:"bootbox-"+t,buttons:c.apply(null,e)};return d(p(i,n,o),e)}function c(){for(var t={},e=0,o=arguments.length;o>e;e++){var i=arguments[e],a=i.toLowerCase(),r=i.toUpperCase();t[a]={label:n(r)}}return t}function d(t,e){var n={};return r(e,function(t,e){n[e]=!0}),r(t.buttons,function(t){if(n[t]===o)throw new Error("button key "+t+" is not allowed (options are "+e.join("\n")+")")}),t}var u={dialog:"
",header:"
",footer:"",closeButton:"",form:"",inputs:{text:"",textarea:"",email:"",select:"",checkbox:"",date:"",time:"",number:"",password:""}},h={locale:e.zui&&e.zui.clientLang?e.zui.clientLang():"zh_cn",backdrop:"static",animate:!0,className:null,closeButton:!0,show:!0,container:"body"},g={};g.alert=function(){var t;if(t=f("alert",["ok"],["message","callback"],arguments),t.callback&&!e.isFunction(t.callback))throw new Error("alert requires callback property to be a function when provided");return t.buttons.ok.callback=t.onEscape=function(){return e.isFunction(t.callback)?t.callback.call(this):!0},g.dialog(t)},g.confirm=function(){var t;if(t=f("confirm",["confirm","cancel"],["message","callback"],arguments),t.buttons.cancel.callback=t.onEscape=function(){return t.callback.call(this,!1)},t.buttons.confirm.callback=function(){return t.callback.call(this,!0)},!e.isFunction(t.callback))throw new Error("confirm requires a callback");return g.dialog(t)},g.prompt=function(){var t,n,i,a,s,l,f;if(a=e(u.form),n={className:"bootbox-prompt",buttons:c("cancel","confirm"),value:"",inputType:"text"},t=d(p(n,arguments,["title","callback"]),["confirm","cancel"]),l=t.show===o?!0:t.show,t.message=a,t.buttons.cancel.callback=t.onEscape=function(){return t.callback.call(this,null)},t.buttons.confirm.callback=function(){var o;switch(t.inputType){case"text":case"textarea":case"email":case"select":case"date":case"time":case"number":case"password":o=s.val();break;case"checkbox":var n=s.find("input:checked");o=[],r(n,function(t,n){o.push(e(n).val())})}return t.callback.call(this,o)},t.show=!1,!t.title)throw new Error("prompt requires a title");if(!e.isFunction(t.callback))throw new Error("prompt requires a callback");if(!u.inputs[t.inputType])throw new Error("invalid prompt type");switch(s=e(u.inputs[t.inputType]),t.inputType){case"text":case"textarea":case"email":case"date":case"time":case"number":case"password":s.val(t.value);break;case"select":var h={};if(f=t.inputOptions||[],!e.isArray(f))throw new Error("Please pass an array of input options");if(!f.length)throw new Error("prompt with select requires options");r(f,function(t,n){var i=s;if(n.value===o||n.text===o)throw new Error("given options in wrong format");n.group&&(h[n.group]||(h[n.group]=e("").attr("label",n.group)),i=h[n.group]),i.append("")}),r(h,function(t,e){s.append(e)}),s.val(t.value);break;case"checkbox":var m=e.isArray(t.value)?t.value:[t.value];if(f=t.inputOptions||[],!f.length)throw new Error("prompt with checkbox requires options");if(!f[0].value||!f[0].text)throw new Error("given options in wrong format");s=e(""),r(f,function(o,n){var i=e(u.inputs[t.inputType]);i.find("input").attr("value",n.value),i.find("label").append(n.text),r(m,function(t,e){e===n.value&&i.find("input").prop("checked",!0)}),s.append(i)})}return t.placeholder&&s.attr("placeholder",t.placeholder),t.pattern&&s.attr("pattern",t.pattern),t.maxlength&&s.attr("maxlength",t.maxlength),a.append(s),a.on("submit",function(t){t.preventDefault(),t.stopPropagation(),i.find(".btn-primary").click()}),i=g.dialog(t),i.off("shown.zui.modal"),i.on("shown.zui.modal",function(){s.focus()}),l===!0&&i.modal("show"),i},g.dialog=function(t){t=s(t);var n=e(u.dialog),a=n.find(".modal-dialog"),l=n.find(".modal-body"),p=t.buttons,f="",c={onEscape:t.onEscape};if(e.fn.modal===o)throw new Error("$.fn.modal is not defined; please double check you have included the Bootstrap JavaScript library. See http://getbootstrap.com/javascript/ for more details.");if(r(p,function(t,e){f+="",c[t]=e.callback}),l.find(".bootbox-body").html(t.message),t.animate===!0&&n.addClass("fade"),t.className&&n.addClass(t.className),"large"===t.size?a.addClass("modal-lg"):"small"===t.size&&a.addClass("modal-sm"),t.title&&l.before(u.header),t.closeButton){var d=e(u.closeButton);t.title?n.find(".modal-header").prepend(d):d.css("margin-top","-10px").prependTo(l)}return t.title&&n.find(".modal-title").html(t.title),f.length&&(l.after(u.footer),n.find(".modal-footer").html(f)),n.on("hidden.zui.modal",function(t){t.target===this&&n.remove()}),n.on("shown.zui.modal",function(){n.find(".btn-primary:first").focus()}),"static"!==t.backdrop&&n.on("click.dismiss.zui.modal",function(t){n.children(".modal-backdrop").length&&(t.currentTarget=n.children(".modal-backdrop").get(0)),t.target===t.currentTarget&&n.trigger("escape.close.bb")}),n.on("escape.close.bb",function(t){c.onEscape&&i(t,n,c.onEscape)}),n.on("click",".modal-footer button",function(t){var o=e(this).data("bb-handler");i(t,n,c[o])}),n.on("click",".bootbox-close-button",function(t){i(t,n,c.onEscape)}),n.on("keyup",function(t){27===t.which&&n.trigger("escape.close.bb")}),e(t.container).append(n),n.modal({backdrop:t.backdrop?"static":!1,keyboard:!1,show:!1}),t.show&&n.modal("show"),n},g.setDefaults=function(){var t={};2===arguments.length?t[arguments[0]]=arguments[1]:t=arguments[0],e.extend(h,t)},g.hideAll=function(){return e(".bootbox").modal("hide"),g};var m={en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},zh_cn:{OK:"确认",CANCEL:"取消",CONFIRM:"确认"},zh_tw:{OK:"確認",CANCEL:"取消",CONFIRM:"確認"}};return g.addLocale=function(t,o){return e.each(["OK","CANCEL","CONFIRM"],function(t,e){if(!o[e])throw new Error("Please supply a translation for '"+e+"'")}),m[t]={OK:o.OK,CANCEL:o.CANCEL,CONFIRM:o.CONFIRM},g},g.removeLocale=function(t){return delete m[t],g},g.setLocale=function(t){return g.setDefaults("locale",t)},g.init=function(o){return t(o||e)},g}),function(t){"use strict";var e=function(e,o){this.$=t(e),this.options=this.getOptions(o),this.init()};e.DEFAULTS={container:"body",move:!0},e.prototype.getOptions=function(o){return o=t.extend({},e.DEFAULTS,this.$.data(),o)},e.prototype.init=function(){this.handleMouseEvents()},e.prototype.handleMouseEvents=function(){var e,o,n,i,a,r=this.$,s="before",l="drag",p="finish",f=this.options,c=function(l){if(f.hasOwnProperty(s)&&t.isFunction(f[s])){var p=f[s]({event:l,element:r});if(void 0!==p&&!p)return}var c=t(f.container),h=r.offset();o=c.offset(),e={x:l.pageX,y:l.pageY},n={x:l.pageX-h.left+o.left,y:l.pageY-h.top+o.top},i=t.extend({},e),a=!1,r.addClass("drag-ready"),t(document).bind("mousemove",d).bind("mouseup",u),l.preventDefault(),f.stopPropagation&&l.stopPropagation()},d=function(o){a=!0;var s=o.pageX,p=o.pageY,c={left:s-n.x,top:p-n.y};r.removeClass("drag-ready").addClass("dragging"),f.move&&r.css(c),f.hasOwnProperty(l)&&t.isFunction(f[l])&&f[l]({event:o,element:r,startOffset:n,pos:c,offset:{x:s-e.x,y:p-e.y},smallOffset:{x:s-i.x,y:p-i.y}}),i.x=s,i.y=p,f.stopPropagation&&o.stopPropagation()},u=function(o){if(t(document).unbind("mousemove",d).unbind("mouseup",u),!a)return void r.removeClass("drag-ready");var s={left:o.pageX-n.x,top:o.pageY-n.y};r.removeClass("drag-ready").removeClass("dragging"),f.move&&r.css(s),f.hasOwnProperty(p)&&t.isFunction(f[p])&&f[p]({event:o,element:r,pos:s,offset:{x:o.pageX-e.x,y:o.pageY-e.y},smallOffset:{x:o.pageX-i.x,y:o.pageY-i.y}}),o.preventDefault(),f.stopPropagation&&o.stopPropagation()};f.handle?r.on("mousedown",f.handle,c):r.on("mousedown",c)},t.fn.draggable=function(o){return this.each(function(){var n=t(this),i=n.data("zui.draggable"),a="object"==typeof o&&o;i||n.data("zui.draggable",i=new e(this,a)),"string"==typeof o&&i[o]()})},t.fn.draggable.Constructor=e}(jQuery),function(t){"use strict";var e="zui.tree",o=function(o,n){this.name=e,this.$=t(o),this.getOptions(n),this.init()};o.DEFAULTS={animate:null,initialState:"normal"},o.prototype.init=function(){this.options.animate&&this.$.addClass("tree-animate"),this.$lists=this.$.find("ul"),this.$lists.parent("li").addClass("has-list").prepend('');var e=this;this.$.on("click",".list-toggle, a[href=#]",function(o){e.toggle(t(this).parent("li")),o.preventDefault()}),"expand"===this.options.initialState?this.expand():"collapse"===this.options.initialState?this.collapse():this.options.animate&&this.$.find("li.has-list.open").addClass("in")},o.prototype.expand=function(t,e){t?(t.addClass("open"),!e&&this.options.animate?setTimeout(function(){t.addClass("in")},10):t.addClass("in")):this.$.find("li.has-list").addClass("open in"),this.callEvent("expand",t,this)},o.prototype.collapse=function(t,e){t?!e&&this.options.animate?(t.removeClass("in"),setTimeout(function(){t.removeClass("open")},300)):t.removeClass("open in"):this.$.find("li.has-list").removeClass("open in"),this.callEvent("collapse",t,this)},o.prototype.toggle=function(t){var e=t&&t.hasClass("open")||t===!1||void 0===t&&this.$.find("li.has-list.open").length;this[e?"collapse":"expand"](t)},o.prototype.getOptions=function(e){this.options=t.extend({},o.DEFAULTS,this.$.data(),e),null===this.options.animate&&this.$.hasClass("tree-animate")&&(this.options.animate=!0)},o.prototype.callEvent=function(t,e){var o=this.$.callEvent(t+"."+this.name,e,this);return!(void 0!==o.result&&!o.result)},t.fn.tree=function(n,i){return this.each(function(){var a=t(this),r=a.data(e),s="object"==typeof n&&n;r||a.data(e,r=new o(this,s)),"string"==typeof n&&r[n](i)})},t.fn.tree.Constructor=o,t(function(){t('[data-ride="tree"]').tree()})}(jQuery),function(t,e){function o(e,i){if(t.isArray(e))return void t.each(e,function(t,e){o(e,i)});var a={};a[e]=n[e],i?t.extend(i,a):t.extend(a)}var n=t.zui;n&&(o(["uuid","callEvent","clientLang","browser","messager","Messager","showMessager","closeModal","ajustModalPosition","ModalTrigger","modalTrigger","store"]),o(["Color","imgReady","messager","Messager","showMessager","closeModal","ajustModalPosition","ModalTrigger","modalTrigger","store"],e))}(jQuery,window);
\ No newline at end of file
diff --git a/www/theme/default/style.css b/www/theme/default/style.css
index 584af2cd7d..24d17d7c1c 100644
--- a/www/theme/default/style.css
+++ b/www/theme/default/style.css
@@ -425,10 +425,10 @@ body {font-size: 13px; color:#141414;padding-bottom: 40px;}
/* Wrapper */
#wrap {padding:0 19px 20px 19px; background:#e5e5e5;}
-#wrap .outer {position: relative; text-align:left; background:#fff;border:1px solid #cfcfcf; -webkit-box-shadow: 0 0px 6px rgba(0, 0, 0, 0.10);box-shadow: 0 0px 6px rgba(0, 0, 0, 0.10); padding: 20px}
+#wrap .outer {position: relative; text-align:left; background:#fff;border:1px solid #cfcfcf; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); padding: 20px}
/* Footer. */
-#footer {position: relative; width:100%;position:fixed; bottom:0; left:0; margin:0; border-top: 1px solid #e1e1e1; background:#eef4fe;height:40px; line-height:40px;-webkit-box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); z-index: 10}
+#footer {position: relative; width:100%;position:fixed; bottom:0; left:0; margin:0; border-top: 1px solid #ddd; background:#eef4fe;height:40px; line-height:40px;-webkit-box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05); z-index: 10}
#crumbs a i.icon-home{display: none;}
#crumbs {float: left;margin-left: 20px;}
#crumbs .icon-angle-right{margin-right: 6px;}
@@ -694,7 +694,7 @@ body {font-size: 13px; color:#141414;padding-bottom: 40px;}
#passwordStrength{display:none;}
.fixedTfootAction {position: fixed; bottom: 40px; box-shadow: 0 -3px 4px rgba(0,0,0,0.05)}
-.table > .fixedTfootAction > tr > td {background: #F8FAFE; border-top-color: #bbb}
+.table > .fixedTfootAction > tr > td {background: #F8FAFE; border-top-color: #bbb; border-bottom: none}
.fixedTheadOfList {position: fixed; top: 0px; z-index:10;}
.datatable.head-fixed > .datatable-head .table > thead > tr > th, .fixedTheadOfList > thead > tr > th {background-color: #114f8e; border-bottom-color: #bbb; color: #aaa}
.tablesorter.fixedTheadOfList thead tr .headerSortUp > a:after,