提交 d5052a2a 编写于 作者: C Catouse

* updated documents.

 * rebuilt.
上级 185bb972
......@@ -2,14 +2,12 @@ module.exports = function(grunt)
{
var banner = '/*!\n' +
' * ====================================================\n' +
' * <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? " * " + pkg.homepage + "\\n" : "" %>' +
' * GitHub: <%= pkg.repository.url %> \n' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>;' +
' Licensed <%= pkg.license %>\n' +
' * ====================================================\n' +
' */\n\n',
statement = '/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/\n\n',
jqueryCheck = 'if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery") }\n\n',
......
# ZUI #
----------
一个开源免费的前端框架,主要用于快速构建禅道系列web产品。
项目网站 [http://easysoft.github.io/zui/]
一个开源前端实践方案,帮助你快速构现代跨屏应用。
从项目网站了解更多: http://easysoft.github.io/zui/ 。
## 特色 ##
- 简单美观,易于使用,快速构建简洁大方的现代web应用。
- 新颖但健壮,采用html5但支持大部分流行的移动及桌面浏览器平台,一些旧的浏览器也能够降级支持。
- 轻快独立稳定,最佳的可用性能,最大限度的不依赖于其他框架,以优先支持禅道官方产品为主,不做大而全的解决方案
- 新颖健壮,采用HTML5且支持所有流行的移动及桌面浏览器平台,一些旧的浏览器也能够降级支持。
- 轻快独立稳定,最佳的可用性能,最大限度的不依赖于外部组件
- 全平台响应,一次编写,响应任何尺寸的设备。
## 受支持的平台浏览器 ##
桌面浏览器:
- IE8+
- Opera 12+
- Firefox 4+
- Safari 5+
- Chrome 10+
移动平台浏览器:
- IOS 4+ Safari
- Chrome for Android
- Chrome for IOS
- Chrome for Android
- Windows Phone 7+ IE
## 使用ZUI开发的项目
- 蝉知开源企业门户系统 [http://chanzhi.org]
## 设计 ##
- 简单:“不要让我思考”,提供清晰的思路,用户应该能立即明白如何操作去完成目标,尽可能减少操作步骤及弹出窗口或页面。
- 高效:用户能够快速达到自己的目标,尽可能在产品中提供预置设置或默认值,让用户无需配置。应用程序也应该保障性能能够快速响应和反馈。
- 生动:尽可能的考虑更多的细节,生动的交互体验让用户在使用的过程中是享受,充满人情味的文字表述,少量而得当的动画,令人舒适的配色。
- [禅道项目管理软件](http://zentao.net)
- [蝉知企业门户系统](http://chanzhi.org)
- [然之企业管理系统](http://ranzhi.org)
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/*!
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
window.Chart=function(a){function b(a,b,c){var d=b.steps*b.stepValue,e=a-b.graphMin,f=g(e/d,1,0);return c*b.steps*f}function c(a,b,c,d){function e(){var e=a.animation?g(i(j),null,0):1;o(d),a.scaleOverlay?(c(e),b()):(b(),c(e))}function f(){j+=h,e(),1>=j?q(f):"function"==typeof a.onAnimationComplete&&a.onAnimationComplete()}var h=a.animation?1/g(a.animationSteps,Number.MAX_VALUE,1):1,i=l[a.animationEasing],j=a.animation?0:1;"function"!=typeof b&&(b=function(){}),q(f)}function d(a,b,c,d,f,g){function h(a){return Math.floor(Math.log(a)/Math.LN10)}var i,j,k,l,m,n,o;for(n=d-f,o=h(n),i=Math.floor(f/(1*Math.pow(10,o)))*Math.pow(10,o),j=Math.ceil(d/(1*Math.pow(10,o)))*Math.pow(10,o),k=j-i,l=Math.pow(10,o),m=Math.round(k/l);c>m||m>b;)c>m?(l/=2,m=Math.round(k/l)):(l*=2,m=Math.round(k/l));var p=[];return e(g,p,m,i,l),{steps:m,stepValue:l,graphMin:i,labels:p}}function e(a,b,c,d,e){if(a)for(var f=1;c+1>f;f++)b.push(j(a,{value:(d+e*f).toFixed(h(e))}))}function f(a){return!isNaN(parseFloat(a))&&isFinite(a)}function g(a,b,c){return f(b)&&a>b?b:f(c)&&c>a?c:a}function h(a){return a%1!=0?a.toString().split(".")[1].length:0}function i(a,b){var c={};for(var d in a)c[d]=a[d];for(var d in b)c[d]=b[d];return c}function j(a,b){var c=/\W/.test(a)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g," ").split("<%").join(" ").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split(" ").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):r[a]=r[a]||j(document.getElementById(a).innerHTML);return b?c(b):c}var k=this,l={linear:function(a){return a},easeInQuad:function(a){return a*a},easeOutQuad:function(a){return-1*a*(a-2)},easeInOutQuad:function(a){return(a/=.5)<1?.5*a*a:-0.5*(--a*(a-2)-1)},easeInCubic:function(a){return a*a*a},easeOutCubic:function(a){return 1*((a=a/1-1)*a*a+1)},easeInOutCubic:function(a){return(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},easeInQuart:function(a){return a*a*a*a},easeOutQuart:function(a){return-1*((a=a/1-1)*a*a*a-1)},easeInOutQuart:function(a){return(a/=.5)<1?.5*a*a*a*a:-0.5*((a-=2)*a*a*a-2)},easeInQuint:function(a){return 1*(a/=1)*a*a*a*a},easeOutQuint:function(a){return 1*((a=a/1-1)*a*a*a*a+1)},easeInOutQuint:function(a){return(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)},easeInSine:function(a){return-1*Math.cos(a/1*(Math.PI/2))+1},easeOutSine:function(a){return 1*Math.sin(a/1*(Math.PI/2))},easeInOutSine:function(a){return-0.5*(Math.cos(Math.PI*a/1)-1)},easeInExpo:function(a){return 0==a?1:1*Math.pow(2,10*(a/1-1))},easeOutExpo:function(a){return 1==a?1:1*(-Math.pow(2,-10*a/1)+1)},easeInOutExpo:function(a){return 0==a?0:1==a?1:(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(-Math.pow(2,-10*--a)+2)},easeInCirc:function(a){return a>=1?a:-1*(Math.sqrt(1-(a/=1)*a)-1)},easeOutCirc:function(a){return 1*Math.sqrt(1-(a=a/1-1)*a)},easeInOutCirc:function(a){return(a/=.5)<1?-0.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},easeInElastic:function(a){var b=1.70158,c=0,d=1;if(0==a)return 0;if(1==(a/=1))return 1;if(c||(c=.3),d<Math.abs(1)){d=1;var b=c/4}else var b=c/(2*Math.PI)*Math.asin(1/d);return-(d*Math.pow(2,10*(a-=1))*Math.sin(2*(1*a-b)*Math.PI/c))},easeOutElastic:function(a){var b=1.70158,c=0,d=1;if(0==a)return 0;if(1==(a/=1))return 1;if(c||(c=.3),d<Math.abs(1)){d=1;var b=c/4}else var b=c/(2*Math.PI)*Math.asin(1/d);return d*Math.pow(2,-10*a)*Math.sin(2*(1*a-b)*Math.PI/c)+1},easeInOutElastic:function(a){var b=1.70158,c=0,d=1;if(0==a)return 0;if(2==(a/=.5))return 1;if(c||(c=.3*1.5),d<Math.abs(1)){d=1;var b=c/4}else var b=c/(2*Math.PI)*Math.asin(1/d);return 1>a?-.5*d*Math.pow(2,10*(a-=1))*Math.sin(2*(1*a-b)*Math.PI/c):d*Math.pow(2,-10*(a-=1))*Math.sin(2*(1*a-b)*Math.PI/c)*.5+1},easeInBack:function(a){var b=1.70158;return 1*(a/=1)*a*((b+1)*a-b)},easeOutBack:function(a){var b=1.70158;return 1*((a=a/1-1)*a*((b+1)*a+b)+1)},easeInOutBack:function(a){var b=1.70158;return(a/=.5)<1?.5*a*a*(((b*=1.525)+1)*a-b):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},easeInBounce:function(a){return 1-l.easeOutBounce(1-a)},easeOutBounce:function(a){return(a/=1)<1/2.75?7.5625*a*a:2/2.75>a?1*(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1*(7.5625*(a-=2.25/2.75)*a+.9375):1*(7.5625*(a-=2.625/2.75)*a+.984375)},easeInOutBounce:function(a){return.5>a?.5*l.easeInBounce(2*a):.5*l.easeOutBounce(2*a-1)+.5}},m=a.canvas.width,n=a.canvas.height;window.devicePixelRatio&&(a.canvas.style.width=m+"px",a.canvas.style.height=n+"px",a.canvas.height=n*window.devicePixelRatio,a.canvas.width=m*window.devicePixelRatio,a.scale(window.devicePixelRatio,window.devicePixelRatio)),this.Line=function(b,c){k.Line.defaults={scaleOverlay:!1,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!1,scaleLabel:"<%=value%>",scaleFontFamily:"'Arial'",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",scaleShowGridLines:!1,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,bezierCurve:!0,pointDot:!1,pointDotRadius:4,pointDotStrokeWidth:2,datasetStroke:!0,datasetStrokeWidth:1,datasetFill:!0,animation:!0,animationSteps:30,animationEasing:"easeOutQuart",onAnimationComplete:null};var d=c?i(k.Line.defaults,c):k.Line.defaults;return new p(b,d,a)};var o=function(a){a.clearRect(0,0,m,n)},p=function(a,f,g){function h(c){function d(d,e){return z-c*b(a.datasets[d].data[e],q,p)}function e(a){return y+v*a}for(var h=0;h<a.datasets.length;h++){g.strokeStyle=a.datasets[h].strokeColor,g.lineWidth=f.datasetStrokeWidth,g.beginPath(),g.moveTo(y,z-c*b(a.datasets[h].data[0],q,p));for(var i=1;i<a.datasets[h].data.length;i++)f.bezierCurve?g.bezierCurveTo(e(i-.5),d(h,i-1),e(i-.5),d(h,i),e(i),d(h,i)):g.lineTo(e(i),d(h,i));if(g.stroke(),f.datasetFill?(g.lineTo(y+v*(a.datasets[h].data.length-1),z),g.lineTo(y,z),g.closePath(),g.fillStyle=a.datasets[h].fillColor,g.fill()):g.closePath(),f.pointDot){g.fillStyle=a.datasets[h].pointColor,g.strokeStyle=a.datasets[h].pointStrokeColor,g.lineWidth=f.pointDotStrokeWidth;for(var j=0;j<a.datasets[h].data.length;j++)g.beginPath(),g.arc(y+v*j,z-c*b(a.datasets[h].data[j],q,p),f.pointDotRadius,0,2*Math.PI,!0),g.fill(),g.stroke()}}}function i(){g.lineWidth=f.scaleLineWidth,g.strokeStyle=f.scaleLineColor,g.beginPath(),g.moveTo(m-w/2+5,z),g.lineTo(m-w/2-x-5,z),g.stroke(),A>0?(g.save(),g.textAlign="right"):g.textAlign="center",g.fillStyle=f.scaleFontColor;for(var b=0;b<a.labels.length;b++)g.save(),g.beginPath(),g.moveTo(y+b*v,z+3),f.scaleShowGridLines&&b>0?(g.lineWidth=f.scaleGridLineWidth,g.strokeStyle=f.scaleGridLineColor,g.lineTo(y+b*v,5)):g.lineTo(y+b*v,z+3),g.stroke();g.lineWidth=f.scaleLineWidth,g.strokeStyle=f.scaleLineColor,g.textAlign="right",g.textBaseline="middle";for(var c=0;c<q.steps;c++)g.beginPath(),g.moveTo(y-3,z-(c+1)*p),f.scaleShowGridLines?(g.lineWidth=f.scaleGridLineWidth,g.strokeStyle=f.scaleGridLineColor,g.lineTo(y+x+5,z-(c+1)*p)):g.lineTo(y-.5,z-(c+1)*p),g.stroke(),f.scaleShowLabels&&g.fillText(q.labels[c],y-8,z-(c+1)*p)}function j(){x=m,v=x/(a.labels.length-1),y=0,z=n}function k(){o=n,g.font=f.scaleFontStyle+" "+f.scaleFontSize+"px "+f.scaleFontFamily,w=1;for(var b=0;b<a.labels.length;b++){var c=0;w=c>w?c:w}m/a.labels.length<w?(A=45,m/a.labels.length<Math.cos(A)*w?(A=90,o-=w):o-=Math.sin(A)*w):o-=f.scaleFontSize,r=f.scaleFontSize,o=n,s=o}function l(){for(var b=Number.MIN_VALUE,c=Number.MAX_VALUE,d=0;d<a.datasets.length;d++)for(var e=0;e<a.datasets[d].data.length;e++)a.datasets[d].data[e]>b&&(b=a.datasets[d].data[e]),a.datasets[d].data[e]<c&&(c=a.datasets[d].data[e]);var f=Math.floor(s/(.66*r)),g=Math.floor(s/r*.5);return{maxValue:b,minValue:c,maxSteps:f,minSteps:g}}var o,p,q,r,s,t,u,v,w,x,y,z,A=0;k(),t=l(),u=f.scaleShowLabels?f.scaleLabel:"",f.scaleOverride?(q={steps:f.scaleSteps,stepValue:f.scaleStepWidth,graphMin:f.scaleStartValue,labels:[]},e(u,q.labels,q.steps,f.scaleStartValue,f.scaleStepWidth)):q=d(s,t.maxSteps,t.minSteps,t.maxValue,t.minValue,u),p=Math.floor(s/q.steps),j(),c(f,i,h,g)},q=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){window.setTimeout(a,1e3/60)}}(),r={}};
\ No newline at end of file
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/*!
......@@ -1222,12 +1220,10 @@ This file is generated by `grunt build`, do not edit it by hand.
+function(o,e,t,n){"use strict";var s=function(e,t){this.$=o(e),this.options=this.getOptions(t),this.lang=s.LANGS[this.options.lang],this.id="chosen-icons-"+parseInt(1e10*n.random()+1),this.init()};s.DEFAULTS={canEmpty:!0,lang:"zh-cn",commonIcons:["heart","user","group","list-ul","th","star","star-empty","search","envelope","dashboard","sitemap","umbrella","lightbulb","envelope-alt","cog","ok","remove","home","time","flag","flag-alt","flag-checkered","qrcode","tag","tags","book","bookmark","bookmark-empty","print","camera","picture","globe","map-marker","edit","edit-sign","play","stop","plus-sign","minus-sign","remove-sign","ok-sign","check-sign","question-sign","info-sign","exclamation-sign","plus","plus-sign","minus","minus-sign","asterisk","calendar","calendar-empty","comment","comment-alt","comments","comments-alt","folder-close","folder-open","folder-close-alt","folder-open-alt","gears","thumbs-up-alt","thumbs-up","thumbs-down-alt","thumbs-down","pushpin","building","phone","rss","rss-sign","bullhorn","bell","bell-alt","certificate","wrench","tasks","cloud","beaker","magic","smile","frown","meh","code","location-arrow"],webIcons:["share","pencil","trash","file-alt","file","file-text","download-alt","upload-alt","inbox","repeat","rotate-left","refresh","lock","unlock","check","check-empty","eye-open","eye-close","key","signin","signout","external-link","external-link-sign","link","reorder","quote-left","quote-right","spinner","reply","question","info","exclamation","archive","collapse","collapse-top"],editorIcons:["table","copy","paperclip","save","list-ol","paste","keyboard","crop","unlink","sort-by-alphabet","sort-by-alphabet-alt","sort-by-attributes","sort-by-attributes-alt","sort-by-order","sort-by-order-alt"],directionalIcons:["chevron-left","chevron-right","chevron-down","chevron-up","arrow-left","arrow-right","arrow-down","arrow-up","hand-right","hand-left","hand-up","hand-down","circle-arrow-left","circle-arrow-right","circle-arrow-up","circle-arrow-down","double-angle-left","double-angle-right","double-angle-down","double-angle-up","angle-left","angle-right","angle-down","angle-up","long-arrow-left","long-arrow-right","long-arrow-down","long-arrow-up","caret-left","caret-right","caret-down","caret-up"],otherIcons:["desktop","laptop","tablet","mobile-phone","github","building","yen","cny","firefox","ie","opera","qq","lemon","sign-blank","circle","circle-blank","terminal","html5","female","male","andriod","apple","windows","weibo","renren","bug","moon","sun"]},s.LANGS={},s.LANGS["zh-cn"]={commonIcons:"常用图标",webIcons:"Web 图标",editorIcons:"编辑器图标",directionalIcons:"箭头总汇",otherIcons:"其他图标"},s.LANGS.en={commonIcons:"Common Icons",webIcons:"Web Icons",editorIcons:"Editor Icons",directionalIcons:"Directional Icons",otherIcons:"Other Icons"},s.LANGS["zh-tw"]={commonIcons:"常用圖標",webIcons:"Web 圖標",editorIcons:"編輯器圖標",directionalIcons:"箭頭總匯",otherIcons:"其他圖標"},s.prototype.getOptions=function(e){return e=o.extend({},s.DEFAULTS,this.$.data(),e)},s.prototype.init=function(){var e=this.$.addClass("chosen-icons").addClass(this.id);e.empty(),this.options.canEmpty&&e.append(this.getOptionHtml()),e.append(this.getgroupHtml("commonIcons")),e.append(this.getgroupHtml("webIcons")),e.append(this.getgroupHtml("editorIcons")),e.append(this.getgroupHtml("directionalIcons")),e.append(this.getgroupHtml("otherIcons")),e.chosen({placeholder_text:" ",disable_search:!0,width:"100%",inherit_select_classes:!0});var t=".chosen-container."+this.id;e.on("chosen:showing_dropdown",function(){o(t+" .chosen-results .group-option").each(function(){var e=o(this).addClass("icon"),t=e.text();e.html('<i class="'+t+'" title="'+t+'"></i>')})}).change(function(){o(t+" .chosen-single > span");var e=o(this).val();o(t+" .chosen-single > span").html('<i class="'+e+'"></i> &nbsp; '+e)});var n=e.data("value");n&&e.val(n).change()},s.prototype.getgroupHtml=function(o){var e=this.options[o],t='<optgroup label="'+this.lang[o]+'">';for(var n in e)t+=this.getOptionHtml(e[n]);return t+"</optgroup>"},s.prototype.getOptionHtml=function(o){return o=o&&o.length>0?"icon-"+o:"",'<option value="'+o+'">'+o+"</option>"},o.fn.chosenIcons=function(e){return this.each(function(){var t=o(this),n=t.data("zui.chosenIcons"),r="object"==typeof e&&e;n||t.data("zui.chosenIcons",n=new s(this,r)),"string"==typeof e&&n[e]()})},o.fn.chosenIcons.Constructor=s}(jQuery,window,document,Math);
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* ChosenIcons */
......
此差异已折叠。
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* ChosenIcons */
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
+function(a,b,c,d){"use strict";var e=function(b,c){this.$=a(b),this.options=this.getOptions(c),this.lang=e.LANGS[this.options.lang],this.id="chosen-icons-"+parseInt(1e10*d.random()+1),this.init()};e.DEFAULTS={canEmpty:!0,lang:"zh-cn",commonIcons:["heart","user","group","list-ul","th","th-large","star","star-empty","search","envelope","dashboard","sitemap","umbrella","lightbulb","envelope-alt","cog","ok","remove","home","time","flag","flag-alt","flag-checkered","qrcode","tag","tags","book","bookmark","bookmark-empty","print","camera","picture","globe","map-marker","edit","edit-sign","play","stop","plus-sign","minus-sign","remove-sign","ok-sign","check-sign","question-sign","info-sign","exclamation-sign","plus","plus-sign","minus","minus-sign","asterisk","calendar","calendar-empty","comment","comment-alt","comments","comments-alt","folder-close","folder-open","folder-close-alt","folder-open-alt","thumbs-up","thumbs-down","pushpin","building","phone","rss","rss-sign","bullhorn","bell","bell-alt","certificate","wrench","tasks","cloud","beaker","magic","smile","frown","meh","code","location-arrow"],webIcons:["share","pencil","trash","file-alt","file","file-text","download-alt","upload-alt","inbox","repeat","refresh","lock","check","check-empty","eye-open","eye-close","key","signin","signout","external-link","external-link-sign","link","reorder","quote-left","quote-right","spinner","reply","question","info","archive","collapse","collapse-top"],editorIcons:["table","copy","save","list-ol","paste","keyboard","paper-clip","crop","unlink","sort-by-alphabet","sort-by-alphabet-alt","sort-by-attributes","sort-by-attributes-alt","sort-by-order","sort-by-order-alt"],directionalIcons:["chevron-left","chevron-right","chevron-down","chevron-up","arrow-left","arrow-right","arrow-down","arrow-up","hand-right","hand-left","hand-up","hand-down","circle-arrow-left","circle-arrow-right","circle-arrow-up","circle-arrow-down","double-angle-left","double-angle-right","double-angle-down","double-angle-up","angle-left","angle-right","angle-down","angle-up","long-arrow-left","long-arrow-right","long-arrow-down","long-arrow-up","caret-left","caret-right","caret-down","caret-up"],otherIcons:["desktop","laptop","tablet","mobile","building","firefox","ie","opera","qq","lemon","sign-blank","circle","circle-blank","terminal","html5","android","apple","windows","weibo","renren","bug","moon","sun"]},e.LANGS={},e.LANGS["zh-cn"]={emptyIcon:"[没有图标]",commonIcons:"常用图标",webIcons:"Web 图标",editorIcons:"编辑器图标",directionalIcons:"箭头总汇",otherIcons:"其他图标"},e.LANGS.en={emptyIcon:"[No Icon]",commonIcons:"Common Icons",webIcons:"Web Icons",editorIcons:"Editor Icons",directionalIcons:"Directional Icons",otherIcons:"Other Icons"},e.LANGS["zh-tw"]={emptyIcon:"[沒有圖標]",commonIcons:"常用圖標",webIcons:"Web 圖標",editorIcons:"編輯器圖標",directionalIcons:"箭頭總匯",otherIcons:"其他圖標"},e.prototype.getOptions=function(b){return b=a.extend({},e.DEFAULTS,this.$.data(),b)},e.prototype.init=function(){var b=this.$.addClass("chosen-icons").addClass(this.id);b.empty(),this.options.canEmpty&&b.append(this.getOptionHtml());var c=this.lang;b.append(this.getgroupHtml("commonIcons")),b.append(this.getgroupHtml("webIcons")),b.append(this.getgroupHtml("editorIcons")),b.append(this.getgroupHtml("directionalIcons")),b.append(this.getgroupHtml("otherIcons")),b.chosen({placeholder_text:" ",disable_search:!0,width:"100%",inherit_select_classes:!0});var d=".chosen-container."+this.id;b.on("chosen:showing_dropdown",function(){a(d+" .chosen-results .group-option").each(function(){var b=a(this).addClass("icon"),c=a(this).text();b.html('<i class="icon-'+c+'" title="'+c+'"></i>')})}).change(function(){var b=a(d+" .chosen-single > span"),e=a(this).val();b.html(e&&e.length>0?'<i class="'+e+'"></i> &nbsp; <span class="text-muted">'+e.substr(5).replace(/-/g," ")+"</span>":'<span class="text-muted">'+c.emptyIcon+"</span>")});var e=b.data("value");e&&b.val(e).change()},e.prototype.getgroupHtml=function(a){var b=this.options[a],c='<optgroup label="'+this.lang[a]+'">';for(var d in b)c+=this.getOptionHtml(b[d]);return c+"</optgroup>"},e.prototype.getOptionHtml=function(a){return name=a,a&&a.length>0?a="icon-"+a:(a="",name=this.lang.emptyIcon),'<option value="'+a+'">'+name+"</option>"},a.fn.chosenIcons=function(b){return this.each(function(){var c=a(this),d=c.data("zui.chosenIcons"),f="object"==typeof b&&b;d||c.data("zui.chosenIcons",d=new e(this,f)),"string"==typeof b&&d[b]()})},a.fn.chosenIcons.Constructor=e}(jQuery,window,document,Math);
\ No newline at end of file
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
/*!
* ====================================================
* ZUI - v0.9.0 - 2014-07-23
* https://github.com/easysoft/zui
* ZUI - v1.0.0 - 2014-07-24
* http://easysoft.github.io/zui/
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
*/
/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/
......
......@@ -34,22 +34,22 @@ base_url: "./"
<li class="nav-heading">开始</li>
<li><a href="docs/start.html#about">约定</a></li>
<li><a href="docs/start.html#files">文件目录结构</a></li>
<li><a href="start.html#lite">关于简洁版</a></li>
<li><a href="start.html#grunt">编译及定制</a></li>
<li><a href="start.html#browsers">受支持的平台</a></li>
<li><a href="docs/start.html#lite">关于简洁版</a></li>
<li><a href="docs/start.html#grunt">编译及定制</a></li>
<li><a href="docs/start.html#browsers">受支持的平台</a></li>
</ul>
<ul class="nav navbar-nav collapsed">
<li class="nav-heading">基础</li>
<li><a href="basic.html#hello">Hello world</a></li>
<li><a href="basic.html#global">全局样式表</a></li>
<li><a href="basic.html#ie">兼容IE浏览器</a></li>
<li><a href="basic.html#responsive">响应式设计</a></li>
<li><a href="basic.html#grid">栅格系统</a></li>
<li><a href="basic.html#type">文字排版</a></li>
<li><a href="basic.html#utility">辅助类</a></li>
<li><a href="basic.html#scrollbars">滚动条</a></li>
<li><a href="basic.html#colorset">配色</a></li>
<li><a href="basic.html#themes">主题</a></li>
<li><a href="docs/basic.html#hello">Hello world</a></li>
<li><a href="docs/basic.html#global">全局样式表</a></li>
<li><a href="docs/basic.html#ie">兼容IE浏览器</a></li>
<li><a href="docs/basic.html#responsive">响应式设计</a></li>
<li><a href="docs/basic.html#grid">栅格系统</a></li>
<li><a href="docs/basic.html#type">文字排版</a></li>
<li><a href="docs/basic.html#utility">辅助类</a></li>
<li><a href="docs/basic.html#scrollbars">滚动条</a></li>
<li><a href="docs/basic.html#colorset">配色</a></li>
<li><a href="docs/basic.html#themes">主题</a></li>
</ul>
<ul class="nav navbar-nav collapsed">
<li class="nav-heading">控件</li>
......@@ -112,7 +112,7 @@ base_url: "./"
<div id="main">
<div class="jumbotron text-center">
<h1>ZUI</h1>
<p class='text-muted'>一个开源免费的前端框架,用于快速构建禅道系列跨屏应用。</p>
<p class='text-muted'>一个开源前端实践方案,帮助你快速构现代跨屏应用。</p>
<br>
<p>
<a target="_blank" href="https://github.com/easysoft/zui" class="btn btn-success"><i class="icon-code"></i> 项目</a> &nbsp;
......@@ -123,8 +123,8 @@ base_url: "./"
<h2 class='text-special'>特色</h2>
<ul class='list-unstyled'>
<li>简单美观,易于使用,快速构建简洁大方的现代web应用。</li>
<li>新颖但健壮,采用html5但支持大部分流行的移动及桌面浏览器平台,一些旧的浏览器也能够降级支持。</li>
<li>轻快独立稳定,最佳的可用性能,最大限度的不依赖于其他框架,以优先支持禅道官方产品为主,不做大而全的解决方案</li>
<li>新颖健壮,采用HTML5且支持所有流行的移动及桌面浏览器平台,一些旧的浏览器也能够降级支持。</li>
<li>轻快独立稳定,最佳的可用性能,最大限度的不依赖于外部组件</li>
<li>全平台响应,一次编写,响应任何尺寸的设备。</li>
</ul>
<hr>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册