增加dlshouwen.grid

This commit is contained in:
shuzheng 2016-12-13 20:59:05 +08:00
parent 16d8298e1e
commit d749e1d8ce
134 changed files with 27821 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "Invalid date or the date out of range,redo or not?",
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"],
clearStr: "Clear",
todayStr: "Today",
okStr: "OK",
updateStr: "OK",
timeStr: "Time",
quickStr: "Quick Selection",
err_1: 'MinDate Cannot be bigger than MaxDate!'
}

View File

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?",
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
clearStr: "\u6E05\u7A7A",
todayStr: "\u4ECA\u5929",
okStr: "\u786E\u5B9A",
updateStr: "\u786E\u5B9A",
timeStr: "\u65F6\u95F4",
quickStr: "\u5FEB\u901F\u9009\u62E9",
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!'
}

View File

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?",
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
clearStr: "\u6E05\u7A7A",
todayStr: "\u4ECA\u5929",
okStr: "\u78BA\u5B9A",
updateStr: "\u78BA\u5B9A",
timeStr: "\u6642\u9593",
quickStr: "\u5FEB\u901F\u9078\u64C7",
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!'
}

View File

@ -0,0 +1,11 @@
.Wdate{
border:#999 1px solid;
height:20px;
background:#fff url(datePicker.gif) no-repeat right;
}
.Wdate::-ms-clear{display:none;}
.WdateFmtErr{
font-weight:bold;
color:red;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,246 @@
/*
* My97 DatePicker 4.8
*/
.WdateDiv{
width:180px;
background-color:#FFFFFF;
border:#bbb 1px solid;
padding:2px;
}
.WdateDiv2{
width:360px;
}
.WdateDiv *{font-size:9pt;}
.WdateDiv .NavImg a{
display:block;
cursor:pointer;
height:16px;
width:16px;
}
.WdateDiv .NavImgll a{
float:left;
background:transparent url(img.gif) no-repeat scroll 0 0;
}
.WdateDiv .NavImgl a{
float:left;
background:transparent url(img.gif) no-repeat scroll -16px 0;
}
.WdateDiv .NavImgr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -32px 0;
}
.WdateDiv .NavImgrr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -48px 0;
}
.WdateDiv #dpTitle{
height:24px;
margin-bottom:2px;
padding:1px;
}
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
height:20px;
border:0px;
width:50px;
cursor:pointer;
}
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
font-weight:bold;
height:20px;
color:blue;
border:#ccc 1px solid;
width:50px;
}
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#ccc 1px solid;
display:none;
}
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
}
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
.WdateDiv .invalidMenu{
color:#aaa;
}
.WdateDiv .YMenu{
margin-top:20px;
}
.WdateDiv .MMenu{
margin-top:20px;
*width:62px;
}
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
.WdateDiv .MTitle{
background-color:#BDEBEE;
}
.WdateDiv .WdayTable2{
border-collapse:collapse;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable2 table{
border:0;
}
.WdateDiv .WdayTable{
line-height:20px;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable td{
text-align:center;
}
.WdateDiv .Wday{
cursor:pointer;
}
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#C0EBEF;
}
.WdateDiv .Wwday{
cursor:pointer;
color:#FF2F2F;
}
.WdateDiv .WwdayOn{
cursor:pointer;
color:#000;
background-color:#C0EBEF;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A9E4E9;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
.WdateDiv .WotherDay{
cursor:pointer;
color:#6A6AFF;
}
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
.WdateDiv .WinvalidDay{
color:#aaa;
}
.WdateDiv #dpTime{
float:left;
margin-top:3px;
margin-right:30px;
}
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
}
.WdateDiv #dpTime input{
width:18px;
height:20px;
text-align:center;
border:#ccc 1px solid;
}
.WdateDiv #dpTime .tB{
border-right:0px;
}
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
border:#ccc 1px solid;
margin-top:2px;
margin-right:1px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@ -0,0 +1,256 @@
/*
* My97 DatePicker 4.8 Skin:whyGreen
*/
.WdateDiv{
width:180px;
background-color:#fff;
border:#C5E1E4 1px solid;
padding:2px;
}
.WdateDiv2{
width:360px;
}
.WdateDiv *{font-size:9pt;}
.WdateDiv .NavImg a{
cursor:pointer;
display:block;
width:16px;
height:16px;
margin-top:1px;
}
.WdateDiv .NavImgll a{
float:left;
background:url(img.gif) no-repeat;
}
.WdateDiv .NavImgl a{
float:left;
background:url(img.gif) no-repeat -16px 0px;
}
.WdateDiv .NavImgr a{
float:right;
background:url(img.gif) no-repeat -32px 0px;
}
.WdateDiv .NavImgrr a{
float:right;
background:url(img.gif) no-repeat -48px 0px;
}
.WdateDiv #dpTitle{
height:24px;
padding:1px;
border:#c5d9e8 1px solid;
background:url(bg.jpg);
margin-bottom:2px;
}
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
border:0px;
height:20px;
width:50px;
color:#034c50;
background-color:transparent;
cursor:pointer;
}
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
border:#939393 1px solid;
font-weight:bold;
color:#034c50;
height:20px;
width:50px;
}
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#A3C6C8 1px solid;
display:none;
}
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
color:#11777C;
}
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
.WdateDiv .invalidMenu{
color:#aaa;
}
.WdateDiv .YMenu{
margin-top:20px;
}
.WdateDiv .MMenu{
margin-top:20px;
*width:62px;
}
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
.WdateDiv .MTitle{
color:#13777e;
background-color:#bdebee;
}
.WdateDiv .WdayTable2{
border-collapse:collapse;
border:#BEE9F0 1px solid;
}
.WdateDiv .WdayTable2 table{
border:0;
}
.WdateDiv .WdayTable{
line-height:20px;
color:#13777e;
background-color:#edfbfb;
border:#BEE9F0 1px solid;
}
.WdateDiv .WdayTable td{
text-align:center;
}
.WdateDiv .Wday{
cursor:pointer;
}
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#74d2d9 ;
}
.WdateDiv .Wwday{
cursor:pointer;
color:#ab1e1e;
}
.WdateDiv .WwdayOn{
cursor:pointer;
background-color:#74d2d9;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A7E2E7;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
.WdateDiv .WotherDay{
cursor:pointer;
color:#0099CC;
}
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
.WdateDiv .WinvalidDay{
color:#aaa;
}
.WdateDiv #dpTime{
float:left;
margin-top:3px;
margin-right:30px;
}
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
color:#497F7F;
}
.WdateDiv #dpTime input{
height:20px;
width:18px;
text-align:center;
color:#333;
border:#61CAD0 1px solid;
}
.WdateDiv #dpTime .tB{
border-right:0px;
}
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
margin-top:3px;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
margin-top:2px;
border:#38B1B9 1px solid;
background-color:#CFEBEE;
color:#08575B;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "Invalid date or the date out of range,redo or not?",
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"],
clearStr: "Clear",
todayStr: "Today",
okStr: "OK",
updateStr: "OK",
timeStr: "Time",
quickStr: "Quick Selection",
err_1: 'MinDate Cannot be bigger than MaxDate!'
}

View File

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "不合法的日期格式或者日期超出限定范围,需要撤销吗?",
aWeekStr: ["周","日","一","二","三","四","五","六"],
aLongWeekStr:["周","星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
aLongMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
clearStr: "清空",
todayStr: "今天",
okStr: "确定",
updateStr: "确定",
timeStr: "时间",
quickStr: "快速选择",
err_1: '最小日期不能大于最大日期!'
}

View File

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "不合法的日期格式或者日期超出限定範圍,需要撤銷嗎?",
aWeekStr: ["周","日","一","二","三","四","五","六"],
aLongWeekStr:["周","星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
aLongMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
clearStr: "清空",
todayStr: "今天",
okStr: "確定",
updateStr: "確定",
timeStr: "時間",
quickStr: "快速選擇",
err_1: '最小日期不能大於最大日期!'
}

View File

@ -0,0 +1,3 @@
正式发布时,可将此文件夹删去

View File

@ -0,0 +1,11 @@
.Wdate{
border:#999 1px solid;
height:20px;
background:#fff url(datePicker.gif) no-repeat right;
}
.Wdate::-ms-clear{display:none;}
.WdateFmtErr{
font-weight:bold;
color:red;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,267 @@
/*
* My97 DatePicker 4.7
* 皮肤名称:default
*/
/* 日期选择容器 DIV */
.WdateDiv{
width:180px;
background-color:#FFFFFF;
border:#bbb 1px solid;
padding:2px;
}
/* 双月日历的宽度 */
.WdateDiv2{
width:360px;
}
.WdateDiv *{font-size:9pt;}
/****************************
* 导航图标 全部是A标签
***************************/
.WdateDiv .NavImg a{
display:block;
cursor:pointer;
height:16px;
width:16px;
}
.WdateDiv .NavImgll a{
float:left;
background:transparent url(img.gif) no-repeat scroll 0 0;
}
.WdateDiv .NavImgl a{
float:left;
background:transparent url(img.gif) no-repeat scroll -16px 0;
}
.WdateDiv .NavImgr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -32px 0;
}
.WdateDiv .NavImgrr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -48px 0;
}
/****************************
* 年份月份相关
***************************/
/* 年份月份栏 DIV */
.WdateDiv #dpTitle{
height:24px;
margin-bottom:2px;
padding:1px;
}
/* 年份月份输入框 INPUT */
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
height:20px;
border:0px;
width:50px;
cursor:pointer;
}
/* 年份月份输入框获得焦点时的样式 INPUT */
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
font-weight:bold;
height:20px;
color:blue;
border:#ccc 1px solid;
width:50px;
}
/* 菜单选择框 DIV */
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#ccc 1px solid;
display:none;
}
/* 菜单的样式 TD */
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
}
/* 菜单的mouseover样式 TD */
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
/* 菜单无效时的样式 TD */
.WdateDiv .invalidMenu{
color:#aaa;
}
/* 年选择框的偏移 DIV */
.WdateDiv .YMenu{
margin-top:20px;
}
/* 月选择框的偏移 DIV */
.WdateDiv .MMenu{
margin-top:20px;
*width:62px;
}
/* 时选择框的位置 DIV */
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
/* 分选择框的位置 DIV */
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
/* 秒选择框的位置 DIV */
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
/****************************
* 周相关
***************************/
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
/****************************
* 星期,日期相关
***************************/
/* 星期栏 TR */
.WdateDiv .MTitle{
background-color:#BDEBEE;
}
.WdateDiv .WdayTable2{
border-collapse:collapse;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable2 table{
border:0;
}
/* 日期栏表格 TABLE */
.WdateDiv .WdayTable{
line-height:20px;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable td{
text-align:center;
}
/* 日期格的样式 TD */
.WdateDiv .Wday{
cursor:pointer;
}
/* 日期格的mouseover样式 TD */
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#C0EBEF;
}
/* 周末日期格的样式 TD */
.WdateDiv .Wwday{
cursor:pointer;
color:#FF2F2F;
}
/* 周末日期格的mouseover样式 TD */
.WdateDiv .WwdayOn{
cursor:pointer;
color:#000;
background-color:#C0EBEF;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A9E4E9;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
/* 其他月份的日期 */
.WdateDiv .WotherDay{
cursor:pointer;
color:#6A6AFF;
}
/* 其他月份的日期mouseover样式 */
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
/* 无效日期的样式,即在日期范围以外日期格的样式,不能选择的日期 */
.WdateDiv .WinvalidDay{
color:#aaa;
}
/****************************
* 时间相关
***************************/
/* 时间栏 DIV */
.WdateDiv #dpTime{
float:left;
margin-top:3px;
margin-right:30px;
}
/* 时间文字 SPAN */
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
}
/* 时间输入框 INPUT */
.WdateDiv #dpTime input{
width:18px;
height:20px;
text-align:center;
border:#ccc 1px solid;
}
/* 时间 时 INPUT */
.WdateDiv #dpTime .tB{
border-right:0px;
}
/* 时间 分和间隔符 ':' INPUT */
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
/* 时间 秒 INPUT */
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
/* 时间右边的向上按钮 BUTTON */
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
/* 时间右边的向下按钮 BUTTON */
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
/****************************
* 其他
***************************/
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
border:#ccc 1px solid;
margin-top:2px;
margin-right:1px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@ -0,0 +1,277 @@
/*
* My97 DatePicker 4.7
* 皮肤名称:whyGreen
*/
/* 日期选择容器 DIV */
.WdateDiv{
width:180px;
background-color:#fff;
border:#C5E1E4 1px solid;
padding:2px;
}
/* 双月日历的宽度 */
.WdateDiv2{
width:360px;
}
.WdateDiv *{font-size:9pt;}
/****************************
* 导航图标 全部是A标签
***************************/
.WdateDiv .NavImg a{
cursor:pointer;
display:block;
width:16px;
height:16px;
margin-top:1px;
}
.WdateDiv .NavImgll a{
float:left;
background:url(img.gif) no-repeat;
}
.WdateDiv .NavImgl a{
float:left;
background:url(img.gif) no-repeat -16px 0px;
}
.WdateDiv .NavImgr a{
float:right;
background:url(img.gif) no-repeat -32px 0px;
}
.WdateDiv .NavImgrr a{
float:right;
background:url(img.gif) no-repeat -48px 0px;
}
/****************************
* 年份月份相关
***************************/
/* 年份月份栏 DIV */
.WdateDiv #dpTitle{
height:24px;
padding:1px;
border:#c5d9e8 1px solid;
background:url(bg.jpg);
margin-bottom:2px;
}
/* 年份月份输入框 INPUT */
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
border:0px;
height:20px;
width:50px;
color:#034c50;
background-color:transparent;
cursor:pointer;
}
/* 年份月份输入框获得焦点时的样式 INPUT */
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
border:#939393 1px solid;
font-weight:bold;
color:#034c50;
height:20px;
width:50px;
}
/* 菜单选择框 DIV */
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#A3C6C8 1px solid;
display:none;
}
/* 菜单的样式 TD */
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
color:#11777C;
}
/* 菜单的mouseover样式 TD */
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
/* 菜单无效时的样式 TD */
.WdateDiv .invalidMenu{
color:#aaa;
}
/* 年选择框的偏移 DIV */
.WdateDiv .YMenu{
margin-top:20px;
}
/* 月选择框的偏移 DIV */
.WdateDiv .MMenu{
margin-top:20px;
*width:62px;
}
/* 时选择框的位置 DIV */
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
/* 分选择框的位置 DIV */
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
/* 秒选择框的位置 DIV */
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
/****************************
* 周相关
***************************/
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
/****************************
* 星期,日期相关
***************************/
/* 星期栏 TR */
.WdateDiv .MTitle{
color:#13777e;
background-color:#bdebee;
}
.WdateDiv .WdayTable2{
border-collapse:collapse;
border:#BEE9F0 1px solid;
}
.WdateDiv .WdayTable2 table{
border:0;
}
/* 日期栏表格 TABLE */
.WdateDiv .WdayTable{
line-height:20px;
color:#13777e;
background-color:#edfbfb;
border:#BEE9F0 1px solid;
}
.WdateDiv .WdayTable td{
text-align:center;
}
/* 日期格的样式 TD */
.WdateDiv .Wday{
cursor:pointer;
}
/* 日期格的mouseover样式 TD */
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#74d2d9 ;
}
/* 周末日期格的样式 TD */
.WdateDiv .Wwday{
cursor:pointer;
color:#ab1e1e;
}
/* 周末日期格的mouseover样式 TD */
.WdateDiv .WwdayOn{
cursor:pointer;
background-color:#74d2d9;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A7E2E7;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
/* 其他月份的日期 */
.WdateDiv .WotherDay{
cursor:pointer;
color:#0099CC;
}
/* 其他月份的日期mouseover样式 */
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
/* 无效日期的样式,即在日期范围以外日期格的样式,不能选择的日期 */
.WdateDiv .WinvalidDay{
color:#aaa;
}
/****************************
* 时间相关
***************************/
/* 时间栏 DIV */
.WdateDiv #dpTime{
float:left;
margin-top:3px;
margin-right:30px;
}
/* 时间文字 SPAN */
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
color:#497F7F;
}
/* 时间输入框 INPUT */
.WdateDiv #dpTime input{
height:20px;
width:18px;
text-align:center;
color:#333;
border:#61CAD0 1px solid;
}
/* 时间 时 INPUT */
.WdateDiv #dpTime .tB{
border-right:0px;
}
/* 时间 分和间隔符 ':' INPUT */
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
/* 时间 秒 INPUT */
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
/* 时间右边的向上按钮 BUTTON */
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
/* 时间右边的向下按钮 BUTTON */
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
/****************************
* 其他
***************************/
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
margin-top:3px;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
margin-top:2px;
border:#38B1B9 1px solid;
background-color:#CFEBEE;
color:#08575B;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,198 @@
.dlshouwen-grid-container {
font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial,
Verdana, sans-serif;
position: relative;
overflow: auto;
}
.dlshouwen-grid-container>.table {
margin: 5px 0;
}
.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td
{
padding: 8px;
line-height: 1;
vertical-align: middle;
cursor: default;
}
.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>tbody>tr>td.extra-column
{
cursor: pointer;
}
.table>thead>tr>td:hover,.table>tbody>tr>td:hover,.table>tfoot>tr>td:hover,.dlshouwen-grid-extra-columns>td>p:hover
{
background: #dcf8ff;
}
.table>thead>tr.dlshouwen-grid-extra-columns>td:hover,.table>tbody>tr.dlshouwen-grid-extra-columns>td:hover,.table>tfoot>tr.dlshouwen-grid-extra-columns>td:hover
{
background: none;
}
.dlshouwen-grid-toolbar-container {
text-align: right;
margin: 5px 0;
}
.dlshouwen-grid-toolbar-container .dlshouwen-grid-tools {
float: left;
margin: 0;
margin: 5px 0;
}
.dlshouwen-grid-toolbar-container .dlshouwen-grid-pager {
float: right;
}
.dlshouwen-grid-toolbar-container .dlshouwen-grid-pager .dlshouwen-grid-pager-status {
float: right;
margin: 0;
margin: 6px 20px 0 0;
height: 28px;
line-height: 28px;
}
.dlshouwen-grid-toolbar-container .dlshouwen-grid-pager .dlshouwen-grid-pager-button {
float: right;
margin: 0;
margin-top: 5px;
}
.dlshouwen-grid th {
text-align: center;
position: relative;
}
.dlshouwen-grid-extra-columns {
background: #fafafa;
}
.dlshouwen-grid-extra-columns p {
padding: 4px;
margin-bottom: 0px;
line-height: 100%;
text-indent: 0px;
}
.extra-column {
text-align: center;
cursor: pointer;
}
.dlshouwen-grid-status {
float: right;
padding-top: 6px;
margin-right: 12px;
}
.change-page-size {
width: 68px;
display: inline;
padding: 2px 4px;
line-height: 0px;
height: auto;
}
.dlshouwen-grid-process-bar-top {
position: absolute;
width: 0%;
height: 3px;
top: 0px;
left: 0px;
}
.dlshouwen-grid-process-bar-bottom {
position: absolute;
width: 0%;
height: 3px;
bottom: 0px;
left: 0px;
}
.advance-search-iframe {
border: 0px;
width: 100%;
height: 400px;
}
.dlshouwen-grid-sort {
position: absolute;
top: 4px;
right: 8px;
color: #999;
}
.dlshouwen-grid-sort-desc {
top: 0px;
}
.table-print th,.table-print td {
text-align: center;
}
.table-print {
margin-bottom: 0px;
border-top: 0px;
border-bottom: 0px;
}
.form-export .form-group {
margin-bottom: 0px;
}
.form-export .control-label,.form-export .checkbox {
padding-top: 0px;
}
.table-export th,.table-export td {
text-align: center;
}
.table-export {
margin-bottom: 0px;
border-bottom: 0px;
}
.advance-query .tab-pane .panel {
border-top: 0px;
margin-bottom: 0px;
}
.advance-query .advance-query-buttons {
border-bottom: 0px;
padding: 10px;
}
.advance-query .advance-query-table-container {
overflow-x: auto;
margin: 10px;
margin-top: 0;
}
.advance-query .table {
margin-bottom: 0px;
}
.advance-query .table-center th {
text-align: center;
}
.advance-query .table-center td {
text-align: center;
}
.toast {
position: fixed;
bottom: 10px;
background: black;
padding: 10px 20px;
line-height: 18px;
border-radius: 5px;
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 1);
-moz-box-shadow: 0 0 6px rgba(0, 0, 0, 1);
-o-box-shadow: 0 0 6px rgba(0, 0, 0, 1);
box-shadow: 0 0 6px rgba(0, 0, 0, 1);
}

View File

@ -0,0 +1 @@
.dlshouwen-grid-container{font-family:"Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif;position:relative;overflow:auto}.dlshouwen-grid-container>.table{margin:5px 0}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1;vertical-align:middle;cursor:default}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>tbody>tr>td.extra-column{cursor:pointer}.table>thead>tr>td:hover,.table>tbody>tr>td:hover,.table>tfoot>tr>td:hover,.dlshouwen-grid-extra-columns>td>p:hover{background:#dcf8ff}.table>thead>tr.dlshouwen-grid-extra-columns>td:hover,.table>tbody>tr.dlshouwen-grid-extra-columns>td:hover,.table>tfoot>tr.dlshouwen-grid-extra-columns>td:hover{background:0}.dlshouwen-grid-toolbar-container{text-align:right;margin:5px 0}.dlshouwen-grid-toolbar-container .dlshouwen-grid-tools{float:left;margin:0;margin:5px 0}.dlshouwen-grid-toolbar-container .dlshouwen-grid-pager{float:right}.dlshouwen-grid-toolbar-container .dlshouwen-grid-pager .dlshouwen-grid-pager-status{float:right;margin:0;margin:6px 20px 0 0;height:28px;line-height:28px}.dlshouwen-grid-toolbar-container .dlshouwen-grid-pager .dlshouwen-grid-pager-button{float:right;margin:0;margin-top:5px}.dlshouwen-grid th{text-align:center;position:relative}.dlshouwen-grid-extra-columns{background:#fafafa}.dlshouwen-grid-extra-columns p{padding:4px;margin-bottom:0;line-height:100%;text-indent:0}.extra-column{text-align:center;cursor:pointer}.dlshouwen-grid-status{float:right;padding-top:6px;margin-right:12px}.change-page-size{width:68px;display:inline;padding:2px 4px;line-height:0;height:auto}.dlshouwen-grid-process-bar-top{position:absolute;width:0;height:3px;top:0;left:0}.dlshouwen-grid-process-bar-bottom{position:absolute;width:0;height:3px;bottom:0;left:0}.advance-search-iframe{border:0;width:100%;height:400px}.dlshouwen-grid-sort{position:absolute;top:4px;right:8px;color:#999}.dlshouwen-grid-sort-desc{top:0}.table-print th,.table-print td{text-align:center}.table-print{margin-bottom:0;border-top:0;border-bottom:0}.form-export .form-group{margin-bottom:0}.form-export .control-label,.form-export .checkbox{padding-top:0}.table-export th,.table-export td{text-align:center}.table-export{margin-bottom:0;border-bottom:0}.advance-query .tab-pane .panel{border-top:0;margin-bottom:0}.advance-query .advance-query-buttons{border-bottom:0;padding:10px}.advance-query .advance-query-table-container{overflow-x:auto;margin:10px;margin-top:0}.advance-query .table{margin-bottom:0}.advance-query .table-center th{text-align:center}.advance-query .table-center td{text-align:center}.toast{position:fixed;bottom:10px;background:black;padding:10px 20px;line-height:18px;border-radius:5px;-webkit-box-shadow:0 0 6px rgba(0,0,0,1);-moz-box-shadow:0 0 6px rgba(0,0,0,1);-o-box-shadow:0 0 6px rgba(0,0,0,1);box-shadow:0 0 6px rgba(0,0,0,1)}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,91 @@
body, html{
background:#fbfaf8;
margin:0px;
font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
font-size:12px;
}
::-webkit-srollbar-track-piece{background:none;-webkit-border-radius:0;}
::-webkit-scrollbar{width:8px;height:8px;}
::-webkit-scrollbar-thumb:vertical{height:50px;background-color:#bbbbbb;-webkit-border-radius:4px;outline:0px solid #ffffff;ouline-offset:-2px;border:2px solid #ffffff;}
::-webkit-scrollbar-thumb:hover{height:50px;background-color:#999999;-webkit-border-radius:4px;}
::-webkit-scrollbar-thumb:horizontal{width:50px;background-color:#bbbbbb;-webkit-border-radius:4px;outline:0px solid #ffffff;ouline-offset:-2px;border:2px solid #ffffff;}
.navbar{margin-bottom:0px;}
.navbar-inverse .navbar-nav>li.language>a{color:#e6db26;}
.navbar-inverse .navbar-nav>li.language>a:hover{color:#fff600;}
.navbar-inverse .navbar-nav>li.donate>a{color:#eb2d2d;}
.navbar-inverse .navbar-nav>li.donate>a:hover{color:#f90000;}
@media (min-width: 1200px) {
.home-responsive-image{width:660px;}
}
.home-description{margin-top:10px;margin-bottom:10px;}
.home-description h4{text-align:center;}
.home-bottons{margin-top:20px;}
.home-bottons a.btn{padding:3px 10px;}
.bdsharebuttonbox{padding-top:10px;display:inline-block; *display:inline;}
.bdsharebuttonbox a.bds_qq_group{background:none;color:#aa0000;padding-left:0;margin-right:10px;}
.bdsharebuttonbox a.bds_qq_group:hover{text-decoration: none;color:#aa0000;}
.footer{position:relative;color:#999;}
.copyright{text-align:center;padding:20px 0;}
.copyright a{color:#666;text-decoration: none;}
.copyright a:hover{border-bottom:0;color:#333;}
.col-md-3, .col-md-9{padding:0 10px;}
.left-sider{padding:10px;height:auto;border:1px solid #d0d0d0;background:#fff;margin-top:20px;overflow:auto;}
.left-sider>ul{padding-left:0px;list-style-type:none;margin-bottom:0px;}
.left-sider>ul>li{list-style-type:none;}
.left-sider>ul>li>a{display:block;padding:4px 10px;font-size:13px;font-weight:bold;text-decoration: none;color:#333;}
.left-sider>ul>li>a>i{width:6px;}
.left-sider>ul>li>a:hover{background:#eaeaea;}
.left-sider>ul>li>ul{padding-left:20px;list-style-type:none;}
.left-sider>ul>li>ul>li{list-style-type:none;}
.left-sider>ul>li>ul>li>a{display:block;padding:4px 10px;font-size:12px;text-decoration: none;color:#666;}
.left-sider>ul>li>ul>li>a:hover{background:#f0f0f0;}
.left-sider>ul>li{margin-left:0px;}
.left-sider dd a{display:block;padding:4px;padding-left:24px;font-size:12px;text-decoration: none;color:#666;}
.left-sider dd a:hover{background:#f0f0f0;color:#080808;border:0px;}
.left-sider dd a.active{background:#333;color:white;border:0px;}
.left-sider dd a.active:hover{background:#111;color:white;border:0px;}
.main-container{padding:10px;height:auto;border:1px solid #d0d0d0;background:#fff;margin-left:0px;margin-top:20px;}
.main-container .title{font-size:14px;color:#333;padding:2px;padding-left:10px;border-left:4px solid #333;font-weight:bold;margin:15px 5px;}
.main-container .sub-title{font-size:14px;padding:5px 2px;margin:5px;color:#333;font-weight:bold;}
.main-container hr{border:1px solid #eaeaea;border-top:0px;margin:5px;}
.main-container .log{padding:10px;line-height:18px;border:1px solid #e0e0e0;height:200px;overflow:auto;}
.main-container .log p{text-indent:0px;color:#be1616;}
.main-container p{font-size:12px;color:#666;padding:2px;margin:5px;line-height:24px;text-indent: 24px;}
.main-container .dlshouwen-grid-container p{padding:4px;
margin-bottom:0px;
line-height:100%;
text-indent: 0px;}
.main-container p.attr{color:#00a2ca;text-indent: 48px;}
.main-container p.attention{color:red;}
.main-container p a{text-indent:0px;}
.main-container p i{text-indent:0px;}
.main-container .doc-img{text-align:center;cursor:pointer;}
.main-container .doc-img .img-thumbnail{padding:4px;border:1px solid #ddd;}
.main-container .doc-img p{text-align:center;font-weight:bold;}
.donate-type{float:left;margin:5px 10px;margin-top:5px;margin-bottom:5px;cursor:pointer;padding:5px 10px;border:1px solid #f0f0f0;}
.donate-type:hover{background:#fcfcfc;border:1px solid #66c5dc;}
.donate-type-select{background:#fcfcfc;border:1px solid #00a2ca;}
.donate-type-select:hover{border:1px solid #00a2ca;}
.donate-paypal-container{float:left;margin-left:18px;margin-top:5px;}
.donate-container{padding:0 15px;}
.donate-container .thumbnail{background:#fafafa;padding:0px;}
.donate-container .thumbnail .caption h3{text-align:center;font-size:40px;}
.donate-container .thumbnail .caption p{margin-top:30px;text-align:center;text-indent: 0px;}
.donate-container .thumbnail .info{margin:0px;}
.donate-container .thumbnail .info p{margin:0px;padding:10px;}
.label-doc{padding:0 5px;font-weight:normal;margin-left:10px;}
#wechat{position:fixed;bottom:10px;right:10px;z-index:1000;}

View File

@ -0,0 +1,26 @@
@font-face {
font-family: 'dlshouwen';
src:url('../fonts/dlshouwen.eot?43zkgx');
src:url('../fonts/dlshouwen.eot?#iefix43zkgx') format('embedded-opentype'),
url('../fonts/dlshouwen.woff?43zkgx') format('woff'),
url('../fonts/dlshouwen.ttf?43zkgx') format('truetype'),
url('../fonts/dlshouwen.svg?43zkgx#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'dlshouwen';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-dlshouwen:before {
content: "\e601";
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -0,0 +1,167 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid - About</title>
<meta name="Keywords" content="DaLianShouWen Grid,DLShouWen Grid,Responsive Grid,jQuery Grid,Open Source Grid"/>
<meta name="Description" content="DaLian ShouWen Grid(DLShouWen Grid) is a responsive grid by DaLian ShouWen Technology Co., it's based on MIT open source licenses. It's with cross brower support, procedures clear, powerful, efficient load, and many other good qualities, it perhaps the best known reponstive grid controls."/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- toTop -->
<script type="text/javascript" src="../../toTop/jquery.toTop.js"></script>
<link rel="stylesheet" type="text/css" href="../../toTop/jquery.toTop.css" />
<!-- jquery pin -->
<script type="text/javascript" src="../../jquery.pin/jquery.pin.js"></script>
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
$(function(){
//Pin the Left Sider
$(".left-sider").pin({
minWidth: 992,
pinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
},
unpinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
}
});
});
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Tools</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;Home</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;Example</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;Reference</a>
</li>
<li id="nav_download">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;Download</a>
</li>
<li id="nav_about" class="active">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;About</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;Language</a>
<ul class="dropdown-menu" role="menu">
<li><a href="javascript:;">English</a></li>
<li><a href="../zh-cn/about.html">Simple Chinese</a></li>
</ul>
</li>
<li id="nav_donate" class="donate">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;Donate</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="col-md-3">
<div class="layout left-sider">
<ul>
<li><a href="#5.1"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;DaLian ShouWen</a></li>
<li><a href="#5.2"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;Products</a></li>
<li><a href="#5.3"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;Contact</a></li>
<li><a href="#5.4"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;Comments</a></li>
<li><a href="#5.5"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;License</a></li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="layout main-container">
<div id="5.1" class="title">DaLian ShouWen</div>
<hr />
<p><a href="http://www.dlshouwen.com" target="_blank">Dalian ShouWen Technology Co. Ltd.</a> (hereinafter referred to as the Dalian ShouWen) was founded in 2014, is a strong technology of IT network service enterprises with many IT practitioners who has years of experience, provide software technology products, services and industry project information system oriented solution, have many cooperative enterprises in dalian.</p>
<p>Dalian ShouWen is an emerging enterprise IT network, we have the strength, the ability to have the confidence to grow and develop.</p>
<p>Facing the future, Dalian ShouWen strict requirements, through the products, projects to improve and strengthen ourselves, we will is famous for exquisite.</p>
<div id="5.2" class="title">Products</div>
<hr />
<p>DLShouWen Grid <code>[ MIT Open Source ]</code>: <a href="http://os.dlshouwen.com/grid" target="_blank">http://os.dlshouwen.com/grid</a></p>
<p>DLShouWen Validator <code>[ MIT Open Source ]</code>: <a href="http://os.dlshouwen.com/validator" target="_blank">http://os.dlshouwen.com/validator</a></p>
<p>Core - Classic<code>[ CORE - CLASSIC ]</code>: <a href="http://core.dlshouwen.com/classic" target="_blank">http://core.dlshouwen.com/classic</a></p>
<p>Core - Lite <code>[ CORE - LITE ]</code>: <a href="http://core.dlshouwen.com/lite" target="_blank">http://core.dlshouwen.com/lite</a></p>
<p>Core - Responsive<code>[ CORE - RESPONSIVE ]</code>: <a href="http://core.dlshouwen.com/responsive" target="_blank">http://core.dlshouwen.com/responsive</a></p>
<div id="5.3" class="title">Contact</div>
<hr />
<p>Official Website: <a href="http://www.dlshouwen.com" target="_blank">http://www.dlshouwen.com</a></p>
<p>E-Mail: <a href="mailto:service@dlshouwen.com" target="_blank">service@dlshouwen.com</a></p>
<p>Address: <a href="javascript:;">LiaoNing Dalian Ganjingzi XinKang 12-3 402</a></p>
<p>Cooperate Tencent QQ: <a href="http://wpa.qq.com/msgrd?v=3&uin=1739881799&site=qq&menu=yes" target="_blank">1739881799</a></p>
<p>Sina Weibo: <a href="http://weibo.com/dlshouwen" target="_blank">@大连首闻科技有限公司</a></p>
<div id="5.4" class="title">Comments</div>
<hr />
<p>Tencent QQ Group: <a href="http://jq.qq.com/?_wv=1027&k=XVXCyZ" target="_blank">152084937</a></p>
<p>BBS: <a href="http://bbs.dlshouwen.com" target="_blank">http://bbs.dlshouwen.com</a></p>
<div id="5.4" class="title">License</div>
<hr />
<p>MIT, please refer to the <a href="http://en.wikipedia.org/wiki/MIT_License" target="_blank">Wikipedia MIT</a>.</p>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

View File

@ -0,0 +1,336 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid - Donate</title>
<meta name="Keywords" content="DaLianShouWen Grid,DLShouWen Grid,Responsive Grid,jQuery Grid,Open Source Grid"/>
<meta name="Description" content="DaLian ShouWen Grid(DLShouWen Grid) is a responsive grid by DaLian ShouWen Technology Co., it's based on MIT open source licenses. It's with cross brower support, procedures clear, powerful, efficient load, and many other good qualities, it perhaps the best known reponstive grid controls."/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- DLShouWen Grid -->
<script type="text/javascript" src="../../../dlshouwen.grid.min.js"></script>
<script type="text/javascript" src="../../../i18n/en.js"></script>
<script type="text/javascript" src="../../../i18n/zh-cn.js"></script>
<script type="text/javascript" src="../../../i18n/zh-tw.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dlshouwen.grid.min.css" />
<!-- toTop -->
<script type="text/javascript" src="../../toTop/jquery.toTop.js"></script>
<link rel="stylesheet" type="text/css" href="../../toTop/jquery.toTop.css" />
<!-- jquery pin -->
<script type="text/javascript" src="../../jquery.pin/jquery.pin.js"></script>
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
//Define Donate Type
var donateType = 'paypal';
//Initialization
$(function(){
//Pin the Left Sider
$(".left-sider").pin({
minWidth: 992,
pinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
},
unpinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
}
});
//Show or Hide the Left Sider's Sub Menu
$(".left-sider>ul>li>a").toggle(function(){
$(this).children('i').removeClass('fa-caret-right').addClass('fa-caret-down');
$(this).next('ul').slideDown(200);
}, function(){
$(this).children('i').removeClass('fa-caret-down').addClass('fa-caret-right');
$(this).next('ul').slideUp(200);
});
//All Close Except the First Menu
$(".left-sider>ul>li>ul:not(:first)").hide();
$(".left-sider>ul>li>a:first").click();
//Default the Donate Type
selectDonateType(donateType);
});
//Select the Donate Type
function selectDonateType(type){
$('#donate_type_alipay').removeClass('donate-type-select');
$('#donate_type_paypal').removeClass('donate-type-select');
if(type=='alipay'){
$('.donate-type-icon').removeClass('fa-usd');
$('.donate-type-icon').addClass('fa-cny');
$('#donate_type_alipay').addClass('donate-type-select');
}
if(type=='paypal'){
$('.donate-type-icon').removeClass('fa-cny');
$('.donate-type-icon').addClass('fa-usd');
$('#donate_type_paypal').addClass('donate-type-select');
}
donateType = type;
}
//Donate
function donate(amount){
if(!amount){
amount = $('#donate_amount').val();
if($.trim(amount)==''){
$.fn.dlshouwen.grid.tools.toast('Please input your donation amount.', 'error', 3000);
$('#donate_amount').focus();
return;
}
if(!$.trim(amount).match(/^\d+(\.\d+)?$/)){
$.fn.dlshouwen.grid.tools.toast('Please input the amount of format is incorrect, please confirm.', 'error', 3000);
$('#donate_amount').focus();
return;
}
amount = $.trim(amount);
}
if(donateType=='alipay'){
$('#alipay_donate_form #WIDtotal_fee').val(amount);
document.forms['alipay_donate_form'].submit();
}
if(donateType=='paypal'){
$('#paypal_donate_form input[name=amount]').val(amount);
document.forms['paypal_donate_form'].submit();
}
}
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Tools</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;Home</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;Example</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;Reference</a>
</li>
<li id="nav_download">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;Download</a>
</li>
<li id="nav_about">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;About</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;Language</a>
<ul class="dropdown-menu" role="menu">
<li><a href="javascript:;">English</a></li>
<li><a href="../zh-cn/donate.html">Simple Chinese</a></li>
</ul>
</li>
<li id="nav_donate" class="donate active">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;Donate</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="col-md-3">
<div class="layout left-sider">
<ul>
<li>
<a href="#6.1"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;DLShouWen Grid Donate</a>
<ul>
<li><a href="#6.1.1">DLShouWen Grid</a></li>
</ul>
</li>
<li>
<a href="#6.2"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;Other Donate</a>
<ul>
<li><a href="#6.2.1">jQuery</a></li>
<li><a href="#6.2.2">Bootstrap</a></li>
<li><a href="#6.2.3">Font Awesome</a></li>
<li><a href="#6.2.4">My97 DatePicker</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="layout main-container">
<div id="6.1" class="title">DLShouWen Grid Donate</div>
<div id="6.1.1" class="sub-title">DLShouWen Grid</div>
<hr />
<p>Thanks for your support! You can contact us through the following content, we will according to your needs in your donation information displayed below, thanks again for your donation!</p>
<p class="attention">You can donate us by alipay scan: </p>
<p><img class="img-thumbnail" width="180" height="180" src="../../images/donate.jpg" /></p>
<p class="attention">or donate by those type: </p>
<div>
<form id="alipay_donate_form" action="http://pay.dlshouwen.com/alipay/pay/os" method="post">
<input type="hidden" id="WIDtotal_fee" name="WIDtotal_fee" />
</form>
<form id="paypal_donate_form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="VHQ86BPCJWU6A">
<input type="hidden" name="item_name" value="Donate For DT Grid">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount">
</form>
<div id="donate_type_paypal" class="donate-type" onclick="selectDonateType('paypal');">
<img src="../../images/paypal.png" height=48" data-toggle="modal" data-target="#alipayDonateModal" />
</div>
<div id="donate_type_alipay" class="donate-type" onclick="selectDonateType('alipay');">
<img src="../../images/alipay.png" height=48" data-toggle="modal" data-target="#alipayDonateModal" />
</div>
<div class="clearfix"></div>
</div>
<p class="attention">Please choose or fill in the donation amount: </p>
<div class="row donate-container">
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;20</h3>
<p>
<a href="javascript:void(0)" class="btn btn-default" role="button" onclick="donate(20);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;Donate</a>
</p>
</div>
<div class="info" style="background:#fff;">
<p style="color:#666;">
Thank you for your donation! We hope that you can help more people in your ability range.
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;50</h3>
<p>
<a href="javascript:void(0)" class="btn btn-warning" role="button" onclick="donate(50);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;Donate</a>
</p>
</div>
<div class="info" style="background:#f0ad4e;">
<p style="color:white;">
Thank you for your donation! We hope that you can help more people in your ability range.
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;120</h3>
<p>
<a href="javascript:void(0)" class="btn btn-danger" role="button" onclick="donate(120);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;Donate</a>
</p>
</div>
<div class="info" style="background:#d9534f;">
<p style="color:white;">
Thank you for your donation! If you have any intention of cooperation, please contact us.
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;200</h3>
<p>
<a href="javascript:void(0)" class="btn btn-success" role="button" onclick="donate(200);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;Donate</a>
</p>
</div>
<div class="info" style="background:#5cb85c;">
<p style="color:white;">
Thank you for your donation! If you have any intention of cooperation, please contact us.
</p>
</div>
</div>
</div>
</div>
<div>
<form id="donate_form" class="form-inline" action="http://pay.dlshouwen.com/alipay/pay/os" method="post">
<div class="form-group">
<label class="sr-only">Enter the amount of contributions:</label>
<p class="form-control-static donate-alipay">Enter the amount of contributions:</p>
</div>
<div class="form-group">
<label for="inputPassword2" class="sr-only">Password</label>
<input type="text" class="form-control" id="donate_amount" placeholder="Please enter a different amount of">
</div>
<button type="button" class="btn btn-success" onclick="donate();"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;Donate</button>
</form>
</div>
<p>Contact us: <a href="about.html#5.3">Click Here to Show the Contact Info</a></p>
<div id="6.2" class="title">Other Donate</div>
<hr />
<div id="6.2.1" class="sub-title">jQuery</div>
<p>jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML. Used by over 60% of the 10,000 most visited websites, jQuery is the most popular JavaScript library in use today. jQuery is free, open-source software licensed under the MIT License.</p>
<p>Official website: </p>
<p><a href="http://jquery.com" target="_blank">JQuery official website</a></p>
<div id="6.2.2" class="sub-title">Bootstrap</div>
<p>Bootstrap is a free collection of tools for creating websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. In June 2014 it was the No.1 project on GitHub with over 73,000 stars and more than 27,000 forks, and a user base that includes MSNBC and NASA.</p>
<p>Official website: </p>
<p><a href="http://getbootstrap.com" target="_blank">Bootstrap Official website</a></p>
<p><a href="http://www.bootcss.com" target="_blank">Bootstrap Chinese website</a></p>
<div id="6.2.3" class="sub-title">Font Awesome</div>
<p>Official website: </p>
<p><a href="http://fontawesome.io" target="_blank">Font Awesome Official website</a></p>
<div id="6.2.4" class="sub-title">My97 DatePicker</div>
<p>Official website: </p>
<p><a href="http://www.my97.net" target="_blank">My97 Official website</a></p>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

View File

@ -0,0 +1,272 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid - Download</title>
<meta name="Keywords" content="DaLianShouWen Grid,DLShouWen Grid,Responsive Grid,jQuery Grid,Open Source Grid"/>
<meta name="Description" content="DaLian ShouWen Grid(DLShouWen Grid) is a responsive grid by DaLian ShouWen Technology Co., it's based on MIT open source licenses. It's with cross brower support, procedures clear, powerful, efficient load, and many other good qualities, it perhaps the best known reponstive grid controls."/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- toTop -->
<script type="text/javascript" src="../../toTop/jquery.toTop.js"></script>
<link rel="stylesheet" type="text/css" href="../../toTop/jquery.toTop.css" />
<!-- jquery pin -->
<script type="text/javascript" src="../../jquery.pin/jquery.pin.js"></script>
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
$(function(){
//Pin the Left Sider
$(".left-sider").pin({
minWidth: 992,
pinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
},
unpinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
}
});
//Show or Hide the Left Sider's Sub Menu
$(".left-sider>ul>li>a").toggle(function(){
$(this).children('i').removeClass('fa-caret-right').addClass('fa-caret-down');
$(this).next('ul').slideDown(200);
}, function(){
$(this).children('i').removeClass('fa-caret-down').addClass('fa-caret-right');
$(this).next('ul').slideUp(200);
});
//All Close Except the First Menu
$(".left-sider>ul>li>ul:not(:first)").hide();
$(".left-sider>ul>li>a:first").click();
});
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Tools</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;Home</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;Example</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;Reference</a>
</li>
<li id="nav_download" class="active">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;Download</a>
</li>
<li id="nav_about">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;About</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;Language</a>
<ul class="dropdown-menu" role="menu">
<li><a href="javascript:;">English</a></li>
<li><a href="../zh-cn/download.html">Simple Chinese</a></li>
</ul>
</li>
<li id="nav_donate" class="donate">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;Donate</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="col-md-3">
<div class="layout left-sider">
<ul>
<li>
<a href="#4.1"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;DLShouWen Grid Download</a>
<ul>
<li><a href="#4.1.1">Version 1.2.1<span class="label label-danger label-doc">New</span></a></li>
</ul>
</li>
<li>
<a href="#4.2"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;Project Download</a>
<ul>
<li><a href="#4.2.1">Version 1.2.1 - Java<span class="label label-danger label-doc">New</span></a></li>
</ul>
</li>
<li>
<a href="#4.3"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;History</a>
<ul>
<li><a href="#4.3.1">Version 1.2.0</a></li>
<li><a href="#4.3.2">Version 1.1.9</a></li>
<li><a href="#4.3.3">Version 1.1.8</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="layout main-container">
<div id="4.1" class="title">DLShouWen Grid Download</div>
<hr />
<div id="4.1.1" class="sub-title">Version 1.2.1<span class="label label-danger label-doc">New</span></div>
<p>Welcome to download the DLShouWen Grid, we hope our products can give your project some help. If you hope that the long-term cooperation with us, please contact us as follows:</p>
<p class="attr"><code>Official Website</code>: <a href="http://www.dlshouwen.com" target="_blank">http://www.dlshouwen.com</a></p>
<p class="attr"><code>E-Mail</code>: <a href="mailto:service@dlshouwen.com" target="_blank">service@dlshouwen.com</a></p>
<p class="attr"><code>Address</code>: <a href="javascript:;">LiaoNing Dalian Ganjingzi XinKang 12-3 402</a></p>
<p class="attr"><code>Cooperate Tencent QQ</code>: <a href="http://wpa.qq.com/msgrd?v=3&uin=1739881799&site=qq&menu=yes" target="_blank">1739881799</a></p>
<p class="attr"><code>Sina Weibo</code>: <a href="http://weibo.com/dlshouwen" target="_blank">@大连首闻科技有限公司</a></p>
<p class="attr"><code>Tencent QQ Group</code>: <a href="http://jq.qq.com/?_wv=1027&k=XVXCyZ" target="_blank">152084937</a></p>
<p class="attr"><code>BBS</code>: <a href="http://bbs.dlshouwen.com" target="_blank">http://bbs.dlshouwen.com</a></p>
<p class="attention">Update: </p>
<p class="attr"><code>1</code>. Fix the get data error when change the show count per page. </p>
<p class="attr"><code>2</code>. Fix check/cancel all checkbox invalid when after the second click, only found this bug in higher jquery. (Thanks for @半夜不想鸣蝉 [ QQ:1057590631 Mr. Chou ] assisted). </p>
<p class="attr"><code>3</code>. Parameter width add to the column parameter. </p>
<p class="attr"><code>4</code>. Parameter extraWidth add to the grid parameter. </p>
<p class="attr"><code>5</code>. Parameter checkWidth add to the grid parameter. </p>
<p class="attention">Will support in next version: </p>
<p class="attr"><code>1</code>. Online editing.</p>
<p class="attr"><code>2</code>. Custom complex head.</p>
<p class="attr"><code>3</code>. Pin head.</p>
<p class="attr"><code>4</code>. Other languages support(Japanese, Korean).</p>
<p>Our products are completely independent development, if you plenty of money, welcome you to donate us, thanks for your support.</p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.1/dlshouwen.grid.v1.2.1.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;DLShouWen Grid Download
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;Donate
</a>
</p>
<div id="4.2" class="title">Project Download</div>
<hr />
<div id="4.2.1" class="sub-title">Version 1.2.1 - Java<span class="label label-danger label-doc">New</span></div>
<p>This project uses Spring + Spring MVC + JDBC Template, if you not using those, you can modified for servlet, you only ensure that the return value is the JSON object or JSON array format just like this project.</p>
<p>In this project the database uses MySQL, if you need to transplant to other databases, you can modified some SQL, such as paging function in sever etc..</p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.1/dlshouwen.grid.v1.2.1.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;DLShouWen Grid Java Web Download
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;Donate
</a>
</p>
<div id="4.3" class="title">History</div>
<hr />
<div id="4.3.1" class="sub-title">Version 1.2.0</div>
<p class="attention">Update: </p>
<p class="attr"><code>1</code>. Fix the word error 'faseQuery' to 'fastQuery' (Thanks for @elfits feedback). </p>
<p class="attr"><code>2</code>. Fix the sort error (Thanks for @郑起 feedback). </p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.0/dlshouwen.grid.v1.2.0.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Download
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.0/dlshouwen.grid.v1.2.0.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Java Web Download
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;Donate
</a>
</p>
<div id="4.3.2" class="sub-title">Version 1.1.9</div>
<p class="attention">Update: </p>
<p class="attr"><code>1</code>. Change the load type of international, add parameter lang in grid options, multiple languages can coexist in one page.</p>
<p class="attr"><code>2</code>. Improve grid events, add event parameters, please refer to the example and reference documents.</p>
<p class="attr"><code>3</code>. Modified the number of record per page, support select, input, the original display types, please refer to the pageSizeLimit parameter in the table options.</p>
<p class="attr"><code>4</code>. Update resolution parameter, improve the callback method arguments.</p>
<p class="attr"><code>5</code>. Fix can't jump page when user click the page button in Internet Explorer(Less or Equals Version 8).</p>
<p class="attr"><code>6</code>. Fix go to page's top when user do the print.</p>
<p class="attr"><code>7</code>. Add the background color style when cell hover.</p>
<p class="attr"><code>8</code>. Add the cursor is pointer when header hover.</p>
<p class="attr"><code>9</code>. Add the English, the browser loads the document language by browser language, you can also switch the document language by manual.</p>
<p class="attr"><code>10</code>. Fix the process bar and loading complete not synchronized by 100 millisecond delay.</p>
<p class="attr"><code>11</code>. Add custom transfer parameters example.</p>
<p class="attr"><code>12</code>. Java, Php server code using prepare statement mode to avoid the SQL injection.</p>
<p class="attr"><code>13</code>. Add interaction parameters, DT Grid object options in the reference.</p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.9/dlshouwen.grid.v1.1.9.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Download
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.9/dlshouwen.grid.v1.1.9.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Java Web Download
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.9/dlshouwen.grid.v1.1.9.php.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Php Download
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;Donate
</a>
</p>
<div id="4.3.3" class="sub-title">Version 1.1.8</div>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.8/dlshouwen.grid.v1.1.8.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Download
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.8/dlshouwen.grid.v1.1.8.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Java Web Download
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.8/dlshouwen.grid.v1.1.8.php.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Php Download
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;Donate
</a>
</p>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

View File

@ -0,0 +1,117 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid, DaLian ShouWen Grid Home - jQuery Responsive Grid Controls - DaLian ShouWen Technology co.</title>
<meta name="Keywords" content="DaLianShouWen Grid,DLShouWen Grid,Responsive Grid,jQuery Grid,Open Source Grid"/>
<meta name="Description" content="DaLian ShouWen Grid(DLShouWen Grid) is a responsive grid by DaLian ShouWen Technology Co., it's based on MIT open source licenses. It's with cross brower support, procedures clear, powerful, efficient load, and many other good qualities, it perhaps the best known reponstive grid controls."/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Tools</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home" class="active">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;Home</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;Example</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;Reference</a>
</li>
<li id="nav_download">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;Download</a>
</li>
<li id="nav_about">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;About</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;Language</a>
<ul class="dropdown-menu" role="menu">
<li><a href="javascript:;">English</a></li>
<li><a href="../zh-cn/index.html">Simple Chinese</a></li>
</ul>
</li>
<li id="nav_donate" class="donate">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;Donate</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container home-description">
<h4>DaLian ShouWen Grid(DLShouWen Grid) is a responsive grid by <a href="http://www.dlshouwen.com" target="_blank">DaLian ShouWen Technology co.</a>, it's based on <a href="http://en.wikipedia.org/wiki/MIT_License" target="_blank">MIT open source licenses</a></h4>
<h4>It's with <code>cross brower support</code>, <code>procedures clear</code>, <code>powerful</code>, <code>efficient load</code>, and many other good qualities, it perhaps the best known reponstive grid controls</h4>
</div>
<div class="container home-responsive-image">
<img class="img-responsive" src="../../images/responsive.png"/>
</div>
<div class="container text-center home-bottons">
<a href="example.html" class="btn btn-xs btn-warning"><i class="fa fa-table"></i>&nbsp;&nbsp;Example</a>
<a href="reference.html" class="btn btn-xs btn-warning"><i class="fa fa-file-o"></i>&nbsp;&nbsp;Reference</a>
<a href="download.html" class="btn btn-xs btn-success"><i class="fa fa-download"></i>&nbsp;&nbsp;DLShouWen Grid v1.2.1 Download<span class="label label-danger label-doc">New</span></a>
<a href="donate.html" class="btn btn-xs btn-danger"><i class="fa fa-usd"></i>&nbsp;&nbsp;Donate</a>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

View File

@ -0,0 +1,167 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid - 关于</title>
<meta name="Keywords" content="DLShouWen Grid,大连首闻Grid,响应式表格,jQuery表格,开源表格"/>
<meta name="Description" content="大连首闻 GridDLShouWen Grid是一款由 大连首闻科技有限公司自主研发的基于MIT开源协议的响应式表格控件拥有跨浏览器支持、程序思路清晰、功能强大、高效加载等众多优秀素质或许是目前已知的最好的响应式表格控件"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- toTop -->
<script type="text/javascript" src="../../toTop/jquery.toTop.js"></script>
<link rel="stylesheet" type="text/css" href="../../toTop/jquery.toTop.css" />
<!-- jquery pin -->
<script type="text/javascript" src="../../jquery.pin/jquery.pin.js"></script>
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
$(function(){
//钉住菜单
$(".left-sider").pin({
minWidth: 992,
pinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
},
unpinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
}
});
});
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">工具</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;首页</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;示例</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;参考文档</a>
</li>
<li id="nav_download">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;下载</a>
</li>
<li id="nav_about" class="active">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;关于</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;切换语言</a>
<ul class="dropdown-menu" role="menu">
<li><a href="../en/about.html">英文版</a></li>
<li><a href="javascript:;">简体中文版</a></li>
</ul>
</li>
<li id="nav_donate" class="donate">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;捐助DLShouWen Grid</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="col-md-3">
<div class="layout left-sider">
<ul>
<li><a href="#5.1"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;大连首闻科技有限公司</a></li>
<li><a href="#5.2"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;旗下产品</a></li>
<li><a href="#5.3"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;联系方式</a></li>
<li><a href="#5.4"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;技术交流</a></li>
<li><a href="#5.5"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;授权协议</a></li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="layout main-container">
<div id="5.1" class="title">大连首闻科技有限公司</div>
<hr />
<p><a href="http://www.dlshouwen.com" target="_blank">大连首闻科技有限公司</a>以下简称大连首闻成立于2014年是由众多拥有多年经验的IT从业者组成的实力强大的技术性IT网络服务企业面向全国提供领先的软件技术产品、项目服务及行业信息化体系解决方案在大连拥有众多的合作企业。</p>
<p>大连首闻是一个新兴的IT网络企业在这个IT届鱼龙混杂、市场趋于饱和的时代我们有实力、有能力也有信心发展壮大目前大连首闻出于发展中解决我们将通过我们过硬的技术实力强力的底层支撑平台不断的市场行为借鉴不断的吸收国内外优秀产品、技术经验促进技术和业务的双线房展实现公司产业、技术的不断创新。目前我公司已经同多家优秀软件企业签订合作协议并已经开放出多个技术开源产品在发展壮大的同时也为国内的IT从业者贡献力量。</p>
<p>面向未来,大连首闻一直严格要求自己,通过产品、项目来完善壮大自己,我们将以成果的精致程度著称,将网络项目、产品做到极致优秀,达到并有信心超越国际优秀企业水平。</p>
<div id="5.2" class="title">旗下产品</div>
<hr />
<p>响应式表格组件 <code>[ MIT开源产品 ]</code><a href="http://os.dlshouwen.com/grid" target="_blank">http://os.dlshouwen.com/grid</a></p>
<p>表单验证组件 <code>[ MIT开源产品 ]</code><a href="http://os.dlshouwen.com/validator" target="_blank">http://os.dlshouwen.com/validator</a></p>
<p>核心系统 - 经典版 <code>[ CORE - CLASSIC ]</code><a href="http://core.dlshouwen.com/classic" target="_blank">http://core.dlshouwen.com/classic</a></p>
<p>核心系统 - 轻盈版 <code>[ CORE - LITE ]</code><a href="http://core.dlshouwen.com/lite" target="_blank">http://core.dlshouwen.com/lite</a></p>
<p>核心系统 - 响应式版 <code>[ CORE - RESPONSIVE ]</code><a href="http://core.dlshouwen.com/responsive" target="_blank">http://core.dlshouwen.com/responsive</a></p>
<div id="5.3" class="title">联系方式</div>
<hr />
<p>官方网站:<a href="http://www.dlshouwen.com" target="_blank">http://www.dlshouwen.com</a></p>
<p>邮箱:<a href="mailto:service@dlshouwen.com" target="_blank">service@dlshouwen.com</a></p>
<p>地址:<a href="javascript:;">辽宁省大连市甘井子区辛康园13-3号4层2号</a></p>
<p>合作洽谈QQ<a href="http://wpa.qq.com/msgrd?v=3&uin=1739881799&site=qq&menu=yes" target="_blank">1739881799</a></p>
<p>新浪微博:<a href="http://weibo.com/dlshouwen" target="_blank">@大连首闻科技有限公司</a></p>
<div id="5.4" class="title">技术交流</div>
<hr />
<p>技术交流QQ群<a href="http://jq.qq.com/?_wv=1027&k=XVXCyZ" target="_blank">152084937</a></p>
<p>技术交流论坛:<a href="http://bbs.dlshouwen.com" target="_blank">http://bbs.dlshouwen.com</a></p>
<div id="5.4" class="title">授权协议</div>
<hr />
<p>MIT开源协议请您查阅 <a href="http://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89" target="_blank">维基百科MIT协议</a> 内容。</p>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

View File

@ -0,0 +1,337 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid - 捐助</title>
<meta name="Keywords" content="DLShouWen Grid,大连首闻Grid,响应式表格,jQuery表格,开源表格"/>
<meta name="Description" content="大连首闻 GridDLShouWen Grid是一款由 大连首闻科技有限公司自主研发的基于MIT开源协议的响应式表格控件拥有跨浏览器支持、程序思路清晰、功能强大、高效加载等众多优秀素质或许是目前已知的最好的响应式表格控件"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- DLShouWen Grid -->
<script type="text/javascript" src="../../../dlshouwen.grid.min.js"></script>
<script type="text/javascript" src="../../../i18n/en.js"></script>
<script type="text/javascript" src="../../../i18n/zh-cn.js"></script>
<script type="text/javascript" src="../../../i18n/zh-tw.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dlshouwen.grid.min.css" />
<!-- toTop -->
<script type="text/javascript" src="../../toTop/jquery.toTop.js"></script>
<link rel="stylesheet" type="text/css" href="../../toTop/jquery.toTop.css" />
<!-- jquery pin -->
<script type="text/javascript" src="../../jquery.pin/jquery.pin.js"></script>
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
//定义捐赠类别
var donateType = 'alipay';
//初始化操作
$(function(){
//钉住菜单
$(".left-sider").pin({
minWidth: 992,
pinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
},
unpinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
}
});
//左侧菜单注册事件
$(".left-sider>ul>li>a").toggle(function(){
$(this).children('i').removeClass('fa-caret-right').addClass('fa-caret-down');
$(this).next('ul').slideDown(200);
}, function(){
$(this).children('i').removeClass('fa-caret-down').addClass('fa-caret-right');
$(this).next('ul').slideUp(200);
});
//左侧菜单除了第一个全部关闭
$(".left-sider>ul>li>ul:not(:first)").hide();
$(".left-sider>ul>li>a:first").click();
//默认捐赠类别
selectDonateType(donateType);
});
//选择捐赠类别
function selectDonateType(type){
$('#donate_type_alipay').removeClass('donate-type-select');
$('#donate_type_paypal').removeClass('donate-type-select');
if(type=='alipay'){
$('.donate-type-icon').removeClass('fa-usd');
$('.donate-type-icon').addClass('fa-cny');
$('#donate_type_alipay').addClass('donate-type-select');
}
if(type=='paypal'){
$('.donate-type-icon').removeClass('fa-cny');
$('.donate-type-icon').addClass('fa-usd');
$('#donate_type_paypal').addClass('donate-type-select');
}
donateType = type;
}
//捐赠
function donate(amount){
if(!amount){
amount = $('#donate_amount').val();
if($.trim(amount)==''){
$.fn.dlshouwen.grid.tools.toast('请您输入捐赠的金额。', 'error', 3000);
$('#donate_amount').focus();
return;
}
if(!$.trim(amount).match(/^\d+(\.\d+)?$/)){
$.fn.dlshouwen.grid.tools.toast('请您输入金额格式有误,请您确认。', 'error', 3000);
$('#donate_amount').focus();
return;
}
amount = $.trim(amount);
}
if(donateType=='alipay'){
$('#alipay_donate_form #WIDtotal_fee').val(amount);
document.forms['alipay_donate_form'].submit();
}
if(donateType=='paypal'){
$('#paypal_donate_form input[name=amount]').val(amount);
document.forms['paypal_donate_form'].submit();
}
}
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">工具</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;首页</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;示例</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;参考文档</a>
</li>
<li id="nav_download">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;下载</a>
</li>
<li id="nav_about">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;关于</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;切换语言</a>
<ul class="dropdown-menu" role="menu">
<li><a href="../en/donate.html">英文版</a></li>
<li><a href="javascript:;">简体中文版</a></li>
</ul>
</li>
<li id="nav_donate" class="donate active">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;捐助DLShouWen Grid</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="col-md-3">
<div class="layout left-sider">
<ul>
<li>
<a href="#6.1"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;DLShouWen Grid捐助</a>
<ul>
<li><a href="#6.1.1">DLShouWen Grid</a></li>
</ul>
</li>
<li>
<a href="#6.2"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;其他捐助信息</a>
<ul>
<li><a href="#6.2.1">jQuery</a></li>
<li><a href="#6.2.2">Bootstrap</a></li>
<li><a href="#6.2.3">Font Awesome</a></li>
<li><a href="#6.2.4">My97 DatePicker</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="layout main-container">
<div id="6.1" class="title">DLShouWen Grid捐助</div>
<hr />
<div id="6.1.1" class="sub-title">DLShouWen Grid</div>
<p>感谢您对DLShouWen Grid的支持您在捐助后可以通过以下联系方式联系我们我们将会按照您需要在下方显示您的捐赠信息再次表示感谢</p>
<p class="attention">您可以使用支付宝扫码方式对我们进行捐赠:</p>
<p><img class="img-thumbnail" width="180" height="180" src="../../images/donate.jpg" /></p>
<p class="attention">或采用以下其他捐赠模式:</p>
<div>
<form id="alipay_donate_form" action="http://pay.dlshouwen.com/alipay/pay/os" method="post">
<input type="hidden" id="WIDtotal_fee" name="WIDtotal_fee" />
</form>
<form id="paypal_donate_form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="VHQ86BPCJWU6A">
<input type="hidden" name="item_name" value="Donate For DLShouWen Grid">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount">
</form>
<div id="donate_type_alipay" class="donate-type" onclick="selectDonateType('alipay');">
<img src="../../images/alipay.png" height=48" data-toggle="modal" data-target="#alipayDonateModal" />
</div>
<div id="donate_type_paypal" class="donate-type" onclick="selectDonateType('paypal');">
<img src="../../images/paypal.png" height=48" data-toggle="modal" data-target="#alipayDonateModal" />
</div>
<div class="clearfix"></div>
</div>
<p class="attention">请选择或填写您的捐赠金额:</p>
<div class="row donate-container">
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;20</h3>
<p>
<a href="javascript:void(0)" class="btn btn-default" role="button" onclick="donate(20);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;捐助</a>
</p>
</div>
<div class="info" style="background:#fff;">
<p style="color:#666;">
感谢您的捐助!希望您能在您力所能及的情况下帮助更多人!
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;50</h3>
<p>
<a href="javascript:void(0)" class="btn btn-warning" role="button" onclick="donate(50);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;捐助</a>
</p>
</div>
<div class="info" style="background:#f0ad4e;">
<p style="color:white;">
感谢您的捐助!希望您能在您力所能及的情况下帮助更多人!
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;120</h3>
<p>
<a href="javascript:void(0)" class="btn btn-danger" role="button" onclick="donate(120);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;捐助</a>
</p>
</div>
<div class="info" style="background:#d9534f;">
<p style="color:white;">
感谢您的捐助!如果您有任何合作意向,请与我们联系。
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<div class="caption">
<h3><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;200</h3>
<p>
<a href="javascript:void(0)" class="btn btn-success" role="button" onclick="donate(200);"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;捐助</a>
</p>
</div>
<div class="info" style="background:#5cb85c;">
<p style="color:white;">
感谢您的捐助!如果您有任何合作意向,请与我们联系。
</p>
</div>
</div>
</div>
</div>
<div>
<form id="donate_form" class="form-inline" action="http://pay.dlshouwen.com/alipay/pay/os" method="post">
<div class="form-group">
<label class="sr-only">输入捐助金额:</label>
<p class="form-control-static">输入捐助金额:</p>
</div>
<div class="form-group">
<label for="inputPassword2" class="sr-only">Password</label>
<input type="text" class="form-control" id="donate_amount" placeholder="请输入其他金额">
</div>
<button type="button" class="btn btn-success" onclick="donate();"><i class="fa fa-cny donate-type-icon"></i>&nbsp;&nbsp;捐助</button>
</form>
</div>
<p>联系我们:<a href="about.html#5.3">点击查阅联系方式</a></p>
<div id="6.2" class="title">其他捐助信息</div>
<hr />
<div id="6.2.1" class="sub-title">jQuery</div>
<p>jQuery是一套跨浏览器的JavaScript库简化HTML与JavaScript之间的操作。由约翰·雷西格John Resig在2006年1月的BarCamp NYC上发布第一个版本。目前是由Dave Methvin领导的开发团队进行开发。全球前10000个访问最高的网站中有65%使用了jQuery是目前最受欢迎的JavaScript库。</p>
<p>官方网站:</p>
<p><a href="http://jquery.com" target="_blank">jQuery官方网站</a></p>
<div id="6.2.2" class="sub-title">Bootstrap</div>
<p>Bootstrap是一组用于制作网站及网络应用程序的工具里面包含有HTML、层叠样式表CSS及JavaScript的框架提供字体排印、表单、按钮、导航及其他各种元件并提供了Javascript扩充套件。对于同时要供不同上网装置及浏览器如一般电脑、手机及平板电脑等浏览的网站及网络应用程序Bootstrap提供了CSS媒体查询Media Query节省网站制作者分别制作不同版本的时间及不便。</p>
<p>据2014年6月的统计Bootstrap在GitHub里面排名第一获得了7万3千颗星的评价。不少热门网站如MSNBC与美国航太总署NASA等均使用了Bootstrap。</p>
<p>官方网站:</p>
<p><a href="http://getbootstrap.com" target="_blank">Bootstrap官方网站</a></p>
<p><a href="http://www.bootcss.com" target="_blank">Bootstrap中文网</a></p>
<div id="6.2.3" class="sub-title">Font Awesome</div>
<p>官方网站:</p>
<p><a href="http://fontawesome.io" target="_blank">Font Awesome官方网站</a></p>
<div id="6.2.4" class="sub-title">My97 DatePicker</div>
<p>官方网站:</p>
<p><a href="http://www.my97.net" target="_blank">My97官方网站</a></p>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

View File

@ -0,0 +1,273 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid - 下载</title>
<meta name="Keywords" content="DLShouWen Grid,大连首闻Grid,响应式表格,jQuery表格,开源表格"/>
<meta name="Description" content="大连首闻 GridDLShouWen Grid是一款由 大连首闻科技有限公司自主研发的基于MIT开源协议的响应式表格控件拥有跨浏览器支持、程序思路清晰、功能强大、高效加载等众多优秀素质或许是目前已知的最好的响应式表格控件"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- toTop -->
<script type="text/javascript" src="../../toTop/jquery.toTop.js"></script>
<link rel="stylesheet" type="text/css" href="../../toTop/jquery.toTop.css" />
<!-- jquery pin -->
<script type="text/javascript" src="../../jquery.pin/jquery.pin.js"></script>
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
$(function(){
//钉住菜单
$(".left-sider").pin({
minWidth: 992,
pinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
},
unpinCallback : function(){
$(".left-sider").css('max-height', $(window).height()-112);
}
});
//左侧菜单注册事件
$(".left-sider>ul>li>a").toggle(function(){
$(this).children('i').removeClass('fa-caret-right').addClass('fa-caret-down');
$(this).next('ul').slideDown(200);
}, function(){
$(this).children('i').removeClass('fa-caret-down').addClass('fa-caret-right');
$(this).next('ul').slideUp(200);
});
//左侧菜单除了第一个全部关闭
$(".left-sider>ul>li>ul:not(:first)").hide();
$(".left-sider>ul>li>a:first").click();
});
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">工具</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;首页</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;示例</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;参考文档</a>
</li>
<li id="nav_download" class="active">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;下载</a>
</li>
<li id="nav_about">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;关于</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;切换语言</a>
<ul class="dropdown-menu" role="menu">
<li><a href="../en/download.html">英文版</a></li>
<li><a href="javascript:;">简体中文版</a></li>
</ul>
</li>
<li id="nav_donate" class="donate">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;捐助DLShouWen Grid</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="col-md-3">
<div class="layout left-sider">
<ul>
<li>
<a href="#4.1"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;DLShouWen Grid下载</a>
<ul>
<li><a href="#4.1.1">Version 1.2.1<span class="label label-danger label-doc">新版本</span></a></li>
</ul>
</li>
<li>
<a href="#4.2"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;项目下载</a>
<ul>
<li><a href="#4.2.1">Version 1.2.1 - Java<span class="label label-danger label-doc">新版本</span></a></li>
</ul>
</li>
<li>
<a href="#4.3"><i class="fa fa-caret-right"></i>&nbsp;&nbsp;历史版本</a>
<ul>
<li><a href="#4.3.1">Version 1.2.0</a></li>
<li><a href="#4.3.2">Version 1.1.9</a></li>
<li><a href="#4.3.3">Version 1.1.8</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="layout main-container">
<div id="4.1" class="title">DLShouWen Grid下载</div>
<hr />
<div id="4.1.1" class="sub-title">Version 1.2.1<span class="label label-danger label-doc">新版本</span></div>
<p>欢迎您下载DLShouWen Grid表格控件希望我们的产品能给您的项目带来帮助。如果您希望长期同我们合作请您按如下方式联系我们</p>
<p class="attr"><code>官方网站</code><a href="http://www.dlshouwen.com" target="_blank">http://www.dlshouwen.com</a></p>
<p class="attr"><code>邮箱</code><a href="mailto:service@dlshouwen.com" target="_blank">service@dlshouwen.com</a></p>
<p class="attr"><code>地址</code><a href="javascript:;">辽宁省大连市甘井子区辛康园13-3号4层2号</a></p>
<p class="attr"><code>合作洽谈QQ</code><a href="http://wpa.qq.com/msgrd?v=3&uin=1739881799&site=qq&menu=yes" target="_blank">1739881799</a></p>
<p class="attr"><code>新浪微博</code><a href="http://weibo.com/dlshouwen" target="_blank">@大连首闻科技有限公司</a></p>
<p class="attr"><code>技术交流QQ群</code><a href="http://jq.qq.com/?_wv=1027&k=XVXCyZ" target="_blank">152084937</a></p>
<p class="attr"><code>技术交流论坛</code><a href="http://bbs.dlshouwen.com" target="_blank">http://bbs.dlshouwen.com</a></p>
<p class="attention">更新日志:</p>
<p class="attr"><code>1</code>. 更新Ajax获取数据时更换每页显示条数出现数据显示范围错误的BUG。</p>
<p class="attr"><code>2</code>. 更新在引入高版本jQuery时全选反选功能第二次点击失效的BUG感谢网友 @半夜不想鸣蝉 [ QQ:1057590631 周先生 ] 协助调试)。</p>
<p class="attr"><code>3</code>. 表格列属性追加width参数。</p>
<p class="attr"><code>4</code>. 表格属性追加extraWidth参数。</p>
<p class="attr"><code>5</code>. 表格属性追加checkWidth参数。</p>
<p class="attention">即将支持:</p>
<p class="attr"><code>1</code>. 表格在线编辑数据。</p>
<p class="attr"><code>2</code>. 自定义复杂表头。</p>
<p class="attr"><code>3</code>. 钉住表头。</p>
<p class="attr"><code>4</code>. 其他多国语言(日语、韩语)。</p>
<p>我们的产品完全由自主团队研发,如果您有一定的经济基础,欢迎您捐助我们,感谢您对我们的支持。</p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.1/dlshouwen.grid.v1.2.1.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;DLShouWen Grid 下载
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;捐助 DLShouWen Grid 项目
</a>
</p>
<div id="4.2" class="title">项目下载</div>
<hr />
<div id="4.2.1" class="sub-title">Version 1.2.1 - Java<span class="label label-danger label-doc">新版本</span></div>
<p>本项目采用Spring + Spring MVC + JDBC Template的模式架构如果您的框架中并未使用此套件将对应内容修改为原生servlet方式只需要保证返回值是原项目中规范的JSON对象或JSON数组格式即可。</p>
<p>本项目中的数据库采用MySQL进行演示如果您需要移植到其他数据库请修改对应的SQL封装即可如分页函数等。</p>
<p>如果您无法独立完成移植,您可以直接与我们联系。</p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.1/dlshouwen.grid.v1.2.1.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;DLShouWen Grid Java Web 版本下载
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;捐助 DLShouWen Grid 项目
</a>
</p>
<div id="4.3" class="title">历史版本</div>
<hr />
<div id="4.3.1" class="sub-title">Version 1.2.0</div>
<p class="attention">更新日志:</p>
<p class="attr"><code>1</code>. 修复程序中fastQuery写成faseQuery的错误感谢网友 @elfits 提供反馈)。</p>
<p class="attr"><code>2</code>. 修复排序功能在某些情况下排序错误的BUG感谢网友 @郑起 提供反馈)。</p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.0/dlshouwen.grid.v1.2.0.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;下载
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.2.0/dlshouwen.grid.v1.2.0.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Java Web 版本下载
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;捐助
</a>
</p>
<div id="4.3.2" class="sub-title">Version 1.1.9</div>
<p class="attention">更新日志:</p>
<p class="attr"><code>1</code>. 更改了国际化处理的加载方式修改为使用lang参数配置同一页面多语言可以共存。</p>
<p class="attr"><code>2</code>. 完善大量事件,追加事件参数,详情请参阅示例及参考文档。</p>
<p class="attr"><code>3</code>. 自定义修改每页显示条数配置参数支持下拉选择、输入、原样显示请参阅表格属性中的pageSizeLimit参数。</p>
<p class="attr"><code>4</code>. 更新自定义解析参数resolution完善回调方法传递的参数。</p>
<p class="attr"><code>5</code>. 修复IE8及以下浏览器点击页码不能跳转的问题。</p>
<p class="attr"><code>6</code>. 修复打印执行后自动跳转到页面顶端的问题。</p>
<p class="attr"><code>7</code>. 追加了单元格滑过背景颜色变更的样式。</p>
<p class="attr"><code>8</code>. 追加表头、扩展按钮单元格鼠标样式为pointer。</p>
<p class="attr"><code>9</code>. 文档加入英文版,通过首页判断浏览器加载文档语言,文档可以针对语言切换。</p>
<p class="attr"><code>10</code>. 解决进度条与数据加载完成不同步的问题统一延时100毫秒。</p>
<p class="attr"><code>11</code>. 示例的高级功能中加入自定义参数传递的示例。</p>
<p class="attr"><code>12</code>. Java、Php服务器端代码采用Preparestatement模式防止SQL注入。</p>
<p class="attr"><code>13</code>. 文档加入交互参数、对象属性的说明。</p>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.9/dlshouwen.grid.v1.1.9.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;下载
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.9/dlshouwen.grid.v1.1.9.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Java Web 版本下载
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.9/dlshouwen.grid.v1.1.9.php.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Php 版本下载
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;捐助
</a>
</p>
<div id="4.3.3" class="sub-title">Version 1.1.8</div>
<p>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.8/dlshouwen.grid.v1.1.8.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;下载
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.8/dlshouwen.grid.v1.1.8.java.web.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Java Web 版本下载
</a>
<a class="btn btn-xs btn-success" href="http://mirror.dlshouwen.com/os/grid/v1.1.8/dlshouwen.grid.v1.1.8.php.zip" target="_blank">
<i class="fa fa-download"></i>&nbsp;&nbsp;Php 版本下载
</a>
<a class="btn btn-xs btn-danger" href="donate.html">
<i class="fa fa-usd"></i>&nbsp;&nbsp;捐助
</a>
</p>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

View File

@ -0,0 +1,117 @@
<!DOCTYPE html>
<head>
<title>DLShouWen Grid、DaLian ShouWen Grid官方首页、文档、示例和下载 - jQuery 响应式表格插件 - 大连首闻科技有限公司</title>
<meta name="Keywords" content="DLShouWen Grid,大连首闻Grid,响应式表格,jQuery表格,开源表格"/>
<meta name="Description" content="大连首闻 GridDLShouWen Grid是一款由 大连首闻科技有限公司自主研发的基于MIT开源协议的响应式表格控件拥有跨浏览器支持、程序思路清晰、功能强大、高效加载等众多优秀素质或许是目前已知的最好的响应式表格控件"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<!-- favicon -->
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon" />
<!-- jQuery -->
<script type="text/javascript" src="../../../dependents/jquery/jquery.min.js"></script>
<!-- bootstrap -->
<script type="text/javascript" src="../../../dependents/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dependents/bootstrap/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="../../../dependents/bootstrap/plugins/ie/html5shiv.js"></script>
<script src="../../../dependents/bootstrap/plugins/ie/respond.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="../../../dependents/bootstrap/plugins/ie/json2.js"></script>
<![endif]-->
<!-- font-awesome -->
<link rel="stylesheet" type="text/css" href="../../../dependents/fontAwesome/css/font-awesome.min.css" media="all" />
<!-- doc css -->
<link rel="stylesheet" type="text/css" href="../../css/doc.css" />
<!-- icon css -->
<link rel="stylesheet" type="text/css" href="../../css/icons.css" />
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f21a6d67b641b8f405d3c2be6193bc53";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<header class="navbar navbar-inverse navbar-absolute-top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">工具</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://os.dlshouwen.com/grid" class="navbar-brand">
<i class="icon icon-dlshouwen"></i>&nbsp;&nbsp;DLShouWen Grid
</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li id="nav_home" class="active">
<a href="index.html"><i class="fa fa-home"></i>&nbsp;&nbsp;首页</a>
</li>
<li id="nav_example">
<a href="example.html"><i class="fa fa-table"></i>&nbsp;&nbsp;示例</a>
</li>
<li id="nav_reference">
<a href="reference.html"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;参考文档</a>
</li>
<li id="nav_download">
<a href="download.html"><i class="fa fa-download"></i>&nbsp;&nbsp;下载</a>
</li>
<li id="nav_about">
<a href="about.html"><i class="fa fa-info"></i>&nbsp;&nbsp;关于</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav_donate" class="language">
<a href="javascript:;" data-toggle="dropdown"><i class="fa fa-language"></i>&nbsp;&nbsp;切换语言</a>
<ul class="dropdown-menu" role="menu">
<li><a href="../en/index.html">英文版</a></li>
<li><a href="javascript:;">简体中文版</a></li>
</ul>
</li>
<li id="nav_donate" class="donate">
<a href="donate.html"><i class="fa fa-usd"></i>&nbsp;&nbsp;捐助DLShouWen Grid</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container home-description">
<h4>大连首闻 GridDLShouWen Grid是一款由 <a href="http://www.dlshouwen.com" target="_blank">大连首闻科技有限公司</a> 自主研发的基于 <a href="http://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89" target="_blank">MIT开源协议</a> 的响应式表格控件</h4>
<h4>拥有<code>跨浏览器支持</code><code>程序思路清晰</code><code>功能强大</code><code>高效加载</code>等众多优秀素质,或许是目前已知的最好的响应式表格控件</h4>
</div>
<div class="container home-responsive-image">
<img class="img-responsive" src="../../images/responsive.png"/>
</div>
<div class="container text-center home-bottons">
<a href="example.html" class="btn btn-xs btn-warning"><i class="fa fa-table"></i>&nbsp;&nbsp;查看示例</a>
<a href="reference.html" class="btn btn-xs btn-warning"><i class="fa fa-file-o"></i>&nbsp;&nbsp;查看文档</a>
<a href="download.html" class="btn btn-xs btn-success"><i class="fa fa-download"></i>&nbsp;&nbsp;下载 DLShouWen Grid v1.2.1 <span class="label label-danger label-doc">新版本</span></a>
<a href="donate.html" class="btn btn-xs btn-danger"><i class="fa fa-usd"></i>&nbsp;&nbsp;捐助 DLShouWen Grid</a>
</div>
<div class="footer">
<div class="container copyright">
<a href="http://www.dlshouwen.com">大连首闻科技有限公司</a>旗下产品
&nbsp;&nbsp;
<a href="http://os.dlshouwen.com/grid">http://os.dlshouwen.com/grid</a>
&nbsp;&nbsp;
<a href="javascript:;">辽ICP备14014868号</a>
&nbsp;&nbsp;
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259182271'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1259182271%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</div>
<div id="back-to-top" class="back-to-top" title="回到顶部"><i class="fa fa-arrow-circle-up"></i></div>
<div id="wechat"><img width="129" height="129" src="../../images/wechat.jpg" /></div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,9 @@
<script type="text/javascript">
var language = navigator.browserLanguage ? navigator.browserLanguage : navigator.language;
if (language.indexOf('en') > -1)
document.location.href = 'i18n/en/index.html';
else if (language.indexOf('zh') > -1)
document.location.href = 'i18n/zh-cn/index.html';
else
document.location.href = 'english.htm';
</script>

View File

@ -0,0 +1,116 @@
(function ($) {
"use strict";
$.fn.pin = function (options) {
var scrollY = 0, elements = [], disabled = false, $window = $(window);
options = options || {};
var recalculateLimits = function () {
for (var i=0, len=elements.length; i<len; i++) {
var $this = elements[i];
if (options.minWidth && $window.width() <= options.minWidth) {
if ($this.parent().is(".pin-wrapper")) { $this.unwrap(); }
$this.css({width: "", left: "", top: "", position: ""});
if (options.activeClass) { $this.removeClass(options.activeClass); }
disabled = true;
continue;
} else {
disabled = false;
}
var $container = options.containerSelector ? $this.closest(options.containerSelector) : $(document.body);
var offset = $this.offset();
var containerOffset = $container.offset();
var parentOffset = $this.offsetParent().offset();
if (!$this.parent().is(".pin-wrapper")) {
$this.wrap("<div class='pin-wrapper'>");
}
var pad = $.extend({
top: 0,
bottom: 0
}, options.padding || {});
$this.data("pin", {
pad: pad,
from: (options.containerSelector ? containerOffset.top : offset.top) - pad.top,
to: containerOffset.top + $container.height() - $this.outerHeight() - pad.bottom,
end: containerOffset.top + $container.height(),
parentTop: parentOffset.top
});
$this.css({width: $this.outerWidth()});
$this.parent().css("height", $this.outerHeight());
}
};
var onScroll = function () {
if (disabled) { return; }
scrollY = $window.scrollTop();
var elmts = [];
for (var i=0, len=elements.length; i<len; i++) {
var $this = $(elements[i]),
data = $this.data("pin");
if (!data) { // Removed element
continue;
}
elmts.push($this);
var from = data.from - data.pad.bottom,
to = data.to - data.pad.top;
if (from + $this.outerHeight() > data.end) {
$this.css('position', '');
continue;
}
if (from < scrollY && to > scrollY) {
!($this.css("position") == "fixed") && $this.css({
left: $this.offset().left,
top: data.pad.top
}).css("position", "fixed");
if (options.activeClass) { $this.addClass(options.activeClass); }
if (options.pinCallback) { options.pinCallback(); }
} else if (scrollY >= to) {
$this.css({
left: "",
top: to - data.parentTop + data.pad.top
}).css("position", "absolute");
if (options.activeClass) { $this.addClass(options.activeClass); }
} else {
$this.css({position: "", top: "", left: ""});
if (options.activeClass) { $this.removeClass(options.activeClass); }
if (options.unpinCallback) { options.unpinCallback(); }
}
}
elements = elmts;
};
var update = function () { recalculateLimits(); onScroll(); };
this.each(function () {
var $this = $(this),
data = $(this).data('pin') || {};
if (data && data.update) { return; }
elements.push($this);
$("img", this).one("load", recalculateLimits);
data.update = update;
$(this).data('pin', data);
});
$window.scroll(onScroll);
$window.resize(function () { recalculateLimits(); });
recalculateLimits();
$window.load(update);
return this;
};
})(jQuery);

View File

@ -0,0 +1,61 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.AS3 = function()
{
// Created by Peter Atoria @ http://iAtoria.com
var inits = 'class interface function package';
var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' +
'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' +
'extends false final finally flash_proxy for get if implements import in include Infinity ' +
'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' +
'Null Number Object object_proxy override parseFloat parseInt private protected public ' +
'return set static String super switch this throw true try typeof uint undefined unescape ' +
'use void while with'
;
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
{ regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
{ regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
{ regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
];
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
};
SyntaxHighlighter.brushes.AS3.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.AS3.aliases = ['actionscript3', 'as3'];

View File

@ -0,0 +1,66 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Bash = function()
{
var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le';
var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
'vi watch wc whereis which who whoami Wget xargs yes'
;
this.findMatches = function(regexList, code)
{
code = code.replace(/&gt;/g, '>').replace(/&lt;/g, '<');
this.code = code;
return SyntaxHighlighter.Highlighter.prototype.findMatches.apply(this, [regexList, code]);
};
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
{ regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands
];
}
SyntaxHighlighter.brushes.Bash.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Bash.aliases = ['bash', 'shell'];

View File

@ -0,0 +1,67 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.CSharp = function()
{
var keywords = 'abstract as base bool break byte case catch char checked class const ' +
'continue decimal default delegate do double else enum event explicit ' +
'extern false finally fixed float for foreach get goto if implicit in int ' +
'interface internal is lock long namespace new null object operator out ' +
'override params private protected public readonly ref return sbyte sealed set ' +
'short sizeof stackalloc static string struct switch this throw true try ' +
'typeof uint ulong unchecked unsafe ushort using virtual void while';
function fixComments(match, regexInfo)
{
var css = (match[0].indexOf("///") == 0)
? 'color1'
: 'comments'
;
return [new SyntaxHighlighter.Match(match[0], match.index, css)];
}
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
{ regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
];
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
};
SyntaxHighlighter.brushes.CSharp.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.CSharp.aliases = ['c#', 'c-sharp', 'csharp'];

View File

@ -0,0 +1,102 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.ColdFusion = function()
{
// Contributed by Jen
// http://www.jensbits.com/2009/05/14/coldfusion-brush-for-syntaxhighlighter-plus
var funcs = 'Abs ACos AddSOAPRequestHeader AddSOAPResponseHeader AjaxLink AjaxOnLoad ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ' +
'ArrayInsertAt ArrayIsDefined ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArraySet ArraySort ArraySum ArraySwap ArrayToList ' +
'Asc ASin Atn BinaryDecode BinaryEncode BitAnd BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN BitSHRN BitXor ' +
'Ceiling CharsetDecode CharsetEncode Chr CJustify Compare CompareNoCase Cos CreateDate CreateDateTime CreateObject ' +
'CreateODBCDate CreateODBCDateTime CreateODBCTime CreateTime CreateTimeSpan CreateUUID DateAdd DateCompare DateConvert ' +
'DateDiff DateFormat DatePart Day DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear DE DecimalFormat DecrementValue ' +
'Decrypt DecryptBinary DeleteClientVariable DeserializeJSON DirectoryExists DollarFormat DotNetToCFType Duplicate Encrypt ' +
'EncryptBinary Evaluate Exp ExpandPath FileClose FileCopy FileDelete FileExists FileIsEOF FileMove FileOpen FileRead ' +
'FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute FileSetLastModified FileWrite Find FindNoCase FindOneOf ' +
'FirstDayOfMonth Fix FormatBaseN GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList GetBaseTemplatePath ' +
'GetClientVariablesList GetComponentMetaData GetContextRoot GetCurrentTemplatePath GetDirectoryFromPath GetEncoding ' +
'GetException GetFileFromPath GetFileInfo GetFunctionList GetGatewayHelper GetHttpRequestData GetHttpTimeString ' +
'GetK2ServerDocCount GetK2ServerDocCountLimit GetLocale GetLocaleDisplayName GetLocalHostIP GetMetaData GetMetricData ' +
'GetPageContext GetPrinterInfo GetProfileSections GetProfileString GetReadableImageFormats GetSOAPRequest GetSOAPRequestHeader ' +
'GetSOAPResponse GetSOAPResponseHeader GetTempDirectory GetTempFile GetTemplatePath GetTickCount GetTimeZoneInfo GetToken ' +
'GetUserRoles GetWriteableImageFormats Hash Hour HTMLCodeFormat HTMLEditFormat IIf ImageAddBorder ImageBlur ImageClearRect ' +
'ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect ImageDrawCubicCurve ImageDrawLine ImageDrawLines ImageDrawOval ' +
'ImageDrawPoint ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob ImageGetBufferedImage ' +
'ImageGetEXIFTag ImageGetHeight ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay ImagePaste ' +
'ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit ImageSetAntialiasing ImageSetBackgroundColor ' +
'ImageSetDrawingColor ImageSetDrawingStroke ImageSetDrawingTransparency ImageSharpen ImageShear ImageShearDrawingAxis ImageTranslate ' +
'ImageTranslateDrawingAxis ImageWrite ImageWriteBase64 ImageXORDrawingMode IncrementValue InputBaseN Insert Int IsArray IsBinary ' +
'IsBoolean IsCustomFunction IsDate IsDDX IsDebugMode IsDefined IsImage IsImageFile IsInstanceOf IsJSON IsLeapYear IsLocalHost ' +
'IsNumeric IsNumericDate IsObject IsPDFFile IsPDFObject IsQuery IsSimpleValue IsSOAPRequest IsStruct IsUserInAnyRole IsUserInRole ' +
'IsUserLoggedIn IsValid IsWDDX IsXML IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot JavaCast JSStringFormat LCase Left Len ' +
'ListAppend ListChangeDelims ListContains ListContainsNoCase ListDeleteAt ListFind ListFindNoCase ListFirst ListGetAt ListInsertAt ' +
'ListLast ListLen ListPrepend ListQualify ListRest ListSetAt ListSort ListToArray ListValueCount ListValueCountNoCase LJustify Log ' +
'Log10 LSCurrencyFormat LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime ' +
'LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Max Mid Min Minute Month MonthAsString Now NumberFormat ParagraphFormat ParseDateTime ' +
'Pi PrecisionEvaluate PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow QueryConvertForGrid QueryNew QuerySetCell QuotedValueList Rand ' +
'Randomize RandRange REFind REFindNoCase ReleaseComObject REMatch REMatchNoCase RemoveChars RepeatString Replace ReplaceList ReplaceNoCase ' +
'REReplace REReplaceNoCase Reverse Right RJustify Round RTrim Second SendGatewayMessage SerializeJSON SetEncoding SetLocale SetProfileString ' +
'SetVariable Sgn Sin Sleep SpanExcluding SpanIncluding Sqr StripCR StructAppend StructClear StructCopy StructCount StructDelete StructFind ' +
'StructFindKey StructFindValue StructGet StructInsert StructIsEmpty StructKeyArray StructKeyExists StructKeyList StructKeyList StructNew ' +
'StructSort StructUpdate Tan TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase URLDecode URLEncodedFormat URLSessionFormat Val ' +
'ValueList VerifyClient Week Wrap Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform ' +
'XmlValidate Year YesNoFormat';
var keywords = 'cfabort cfajaximport cfajaxproxy cfapplet cfapplication cfargument cfassociate cfbreak cfcache cfcalendar ' +
'cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection cfcomponent cfcontent cfcookie cfdbinfo ' +
'cfdefaultcase cfdirectory cfdiv cfdocument cfdocumentitem cfdocumentsection cfdump cfelse cfelseif cferror ' +
'cfexchangecalendar cfexchangeconnection cfexchangecontact cfexchangefilter cfexchangemail cfexchangetask ' +
'cfexecute cfexit cffeed cffile cfflush cfform cfformgroup cfformitem cfftp cffunction cfgrid cfgridcolumn ' +
'cfgridrow cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam cfif cfimage cfimport cfinclude cfindex ' +
'cfinput cfinsert cfinterface cfinvoke cfinvokeargument cflayout cflayoutarea cfldap cflocation cflock cflog ' +
'cflogin cfloginuser cflogout cfloop cfmail cfmailparam cfmailpart cfmenu cfmenuitem cfmodule cfNTauthenticate ' +
'cfobject cfobjectcache cfoutput cfparam cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod cfpop ' +
'cfpresentation cfpresentationslide cfpresenter cfprint cfprocessingdirective cfprocparam cfprocresult ' +
'cfproperty cfquery cfqueryparam cfregistry cfreport cfreportparam cfrethrow cfreturn cfsavecontent cfschedule ' +
'cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfsprydataset cfstoredproc cfswitch cftable ' +
'cftextarea cfthread cfthrow cftimer cftooltip cftrace cftransaction cftree cftreeitem cftry cfupdate cfwddx ' +
'cfwindow cfxml cfzip cfzipparam';
var operators = 'all and any between cross in join like not null or outer some';
this.regexList = [
{ regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
];
}
SyntaxHighlighter.brushes.ColdFusion.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.ColdFusion.aliases = ['coldfusion','cf'];

View File

@ -0,0 +1,99 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Cpp = function()
{
// Copyright 2006 Shin, YoungJin
var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +
'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +
'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +
'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +
'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +
'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +
'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +
'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +
'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +
'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +
'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +
'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +
'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +
'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +
'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +
'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +
'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +
'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +
'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +
'__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
'va_list wchar_t wctrans_t wctype_t wint_t signed';
var keywords = 'break case catch class const __finally __exception __try ' +
'const_cast continue private public protected __declspec ' +
'default delete deprecated dllexport dllimport do dynamic_cast ' +
'else enum explicit extern if for friend goto inline ' +
'mutable naked namespace new noinline noreturn nothrow ' +
'register reinterpret_cast return selectany ' +
'sizeof static static_cast struct switch template this ' +
'thread throw true false try typedef typeid typename union ' +
'using uuid virtual void volatile whcar_t while';
var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' +
'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +
'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +
'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +
'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +
'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +
'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +
'fwrite getc getchar gets perror printf putc putchar puts remove ' +
'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +
'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +
'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +
'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +
'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +
'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +
'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +
'clock ctime difftime gmtime localtime mktime strftime time';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
{ regex: /^ *#.*/gm, css: 'preprocessor' },
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' },
{ regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' },
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }
];
};
SyntaxHighlighter.brushes.Cpp.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Cpp.aliases = ['cpp', 'c'];

View File

@ -0,0 +1,93 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.CSS = function()
{
function getKeywordsCSS(str)
{
return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
};
function getValuesCSS(str)
{
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
};
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
{ regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
{ regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
{ regex: /!important/g, css: 'color3' }, // !important
{ regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
{ regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
{ regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
];
this.forHtmlScript({
left: /(&lt;|<)\s*style.*?(&gt;|>)/gi,
right: /(&lt;|<)\/\s*style\s*(&gt;|>)/gi
});
};
SyntaxHighlighter.brushes.CSS.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.CSS.aliases = ['css'];

View File

@ -0,0 +1,57 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Delphi = function()
{
var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
'case char class comp const constructor currency destructor div do double ' +
'downto else end except exports extended false file finalization finally ' +
'for function goto if implementation in inherited int64 initialization ' +
'integer interface is label library longint longword mod nil not object ' +
'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' +
'pint64 pointer private procedure program property pshortstring pstring ' +
'pvariant pwidechar pwidestring protected public published raise real real48 ' +
'record repeat set shl shortint shortstring shr single smallint string then ' +
'threadvar to true try type unit until uses val var varirnt while widechar ' +
'widestring with word write writeln xor';
this.regexList = [
{ regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
{ regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
{ regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
{ regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
];
};
SyntaxHighlighter.brushes.Delphi.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Delphi.aliases = ['delphi', 'pascal', 'pas'];

View File

@ -0,0 +1,43 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Diff = function()
{
this.regexList = [
{ regex: /^\+\+\+.*$/gm, css: 'color2' },
{ regex: /^\-\-\-.*$/gm, css: 'color2' },
{ regex: /^\s.*$/gm, css: 'color1' },
{ regex: /^@@.*@@$/gm, css: 'variable' },
{ regex: /^\+[^\+]{1}.*$/gm, css: 'string' },
{ regex: /^\-[^\-]{1}.*$/gm, css: 'comments' }
];
};
SyntaxHighlighter.brushes.Diff.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Diff.aliases = ['diff', 'patch'];

View File

@ -0,0 +1,54 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Erlang = function()
{
// Contributed by Jean-Lou Dupont
// http://jldupont.blogspot.com/2009/06/erlang-syntax-highlighter.html
// According to: http://erlang.org/doc/reference_manual/introduction.html#1.5
var keywords = 'after and andalso band begin bnot bor bsl bsr bxor '+
'case catch cond div end fun if let not of or orelse '+
'query receive rem try when xor'+
// additional
' module export import define';
this.regexList = [
{ regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
{ regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
{ regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
{ regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
];
};
SyntaxHighlighter.brushes.Erlang.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Erlang.aliases = ['erl', 'erlang'];

View File

@ -0,0 +1,69 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Groovy = function()
{
// Contributed by Andres Almiray
// http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
var keywords = 'as assert break case catch class continue def default do else extends finally ' +
'if in implements import instanceof interface new package property return switch ' +
'throw throws try while public protected private static';
var types = 'void boolean byte char short int long float double';
var constants = 'null';
var methods = 'allProperties count get size '+
'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
'findIndexOf grep inject max min reverseEach sort ' +
'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
'transformChar transformLine withOutputStream withPrintWriter withStream ' +
'withStreams withWriter withWriterAppend write writeLine '+
'dump inspect invokeMethod print println step times upto use waitForOrKill '+
'getText';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
{ regex: /""".*"""/g, css: 'string' }, // GStrings
{ regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword
{ regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type
{ regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants
{ regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
];
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
}
SyntaxHighlighter.brushes.Groovy.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Groovy.aliases = ['groovy'];

View File

@ -0,0 +1,52 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.JScript = function()
{
var keywords = 'break case catch continue ' +
'default delete do else false ' +
'for function if in instanceof ' +
'new null return super switch ' +
'this throw true try typeof var while with'
;
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
];
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
};
SyntaxHighlighter.brushes.JScript.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.JScript.aliases = ['js', 'jscript', 'javascript'];

View File

@ -0,0 +1,59 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Java = function()
{
var keywords = 'abstract assert boolean break byte case catch char class const ' +
'continue default do double else enum extends ' +
'false final finally float for goto if implements import ' +
'instanceof int interface long native new null ' +
'package private protected public return ' +
'short static strictfp super switch synchronized this throw throws true ' +
'transient try void volatile while';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
{ regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments
{ regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
{ regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno
{ regex: /\@interface\b/g, css: 'color2' }, // @interface keyword
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
];
this.forHtmlScript({
left : /(&lt;|<)%[@!=]?/g,
right : /%(&gt;|>)/g
});
};
SyntaxHighlighter.brushes.Java.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Java.aliases = ['java'];

View File

@ -0,0 +1,60 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.JavaFX = function()
{
// Contributed by Patrick Webster
// http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
var datatypes = 'Boolean Byte Character Double Duration '
+ 'Float Integer Long Number Short String Void'
;
var keywords = 'abstract after and as assert at before bind bound break catch class '
+ 'continue def delete else exclusive extends false finally first for from '
+ 'function if import in indexof init insert instanceof into inverse last '
+ 'lazy mixin mod nativearray new not null on or override package postinit '
+ 'protected public public-init public-read replace return reverse sizeof '
+ 'step super then this throw true try tween typeof var where while with '
+ 'attribute let private readonly static trigger'
;
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
];
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
};
SyntaxHighlighter.brushes.JavaFX.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.JavaFX.aliases = ['jfx', 'javafx'];

View File

@ -0,0 +1,74 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Perl = function()
{
// Contributed by David Simmons-Duffin and Marty Kube
var funcs =
'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' +
'chroot close closedir connect cos crypt defined delete each endgrent ' +
'endhostent endnetent endprotoent endpwent endservent eof exec exists ' +
'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' +
'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' +
'getnetbyname getnetent getpeername getpgrp getppid getpriority ' +
'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' +
'getservbyname getservbyport getservent getsockname getsockopt glob ' +
'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' +
'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' +
'oct open opendir ord pack pipe pop pos print printf prototype push ' +
'quotemeta rand read readdir readline readlink readpipe recv rename ' +
'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' +
'semget semop send setgrent sethostent setnetent setpgrp setpriority ' +
'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' +
'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' +
'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' +
'system syswrite tell telldir time times tr truncate uc ucfirst umask ' +
'undef unlink unpack unshift utime values vec wait waitpid warn write';
var keywords =
'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
'for foreach goto if import last local my next no our package redo ref ' +
'require return sub tie tied unless untie until use wantarray while';
this.regexList = [
{ regex: new RegExp('#[^!].*$', 'gm'), css: 'comments' },
{ regex: new RegExp('^\\s*#!.*$', 'gm'), css: 'preprocessor' }, // shebang
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
{ regex: new RegExp('(\\$|@|%)\\w+', 'g'), css: 'variable' },
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
];
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
}
SyntaxHighlighter.brushes.Perl.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Perl.aliases = ['perl', 'Perl', 'pl'];

View File

@ -0,0 +1,91 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Php = function()
{
var funcs = 'abs acos acosh addcslashes addslashes ' +
'array_change_key_case array_chunk array_combine array_count_values array_diff '+
'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
'array_push array_rand array_reduce array_reverse array_search array_shift '+
'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
'parse_ini_file parse_str parse_url passthru pathinfo readlink realpath rewind rewinddir rmdir '+
'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
'strtoupper strtr strval substr substr_compare';
var keywords = 'and or xor array as break case ' +
'cfunction class const continue declare default die do else ' +
'elseif enddeclare endfor endforeach endif endswitch endwhile ' +
'extends for foreach function include include_once global if ' +
'new old_function return static switch use require require_once ' +
'var while abstract interface public implements extends private protected throw';
var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
{ regex: /\$\w+/g, css: 'variable' }, // variables
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
{ regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
];
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
};
SyntaxHighlighter.brushes.Php.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Php.aliases = ['php'];

View File

@ -0,0 +1,35 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Plain = function()
{
};
SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain'];

View File

@ -0,0 +1,76 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.PowerShell = function()
{
// Contributes by B.v.Zanten, Getronics
// http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro
var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' +
'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' +
'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' +
'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' +
'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' +
'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' +
'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' +
'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' +
'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' +
'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' +
'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' +
'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' +
'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' +
'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' +
'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' +
'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' +
'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' +
'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' +
'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' +
'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' +
'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning';
var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' +
'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' +
'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' +
'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' +
'spps spsv sv tee cat cd cp h history kill lp ls ' +
'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' +
'erase rd ren type % \\?';
this.regexList = [
{ regex: /#.*$/gm, css: 'comments' }, // one line comments
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // variables $Computer1
{ regex: /\-[a-zA-Z]+\b/g, css: 'keyword' }, // Operators -not -and -eq
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' },
{ regex: new RegExp(this.getKeywords(alias), 'gmi'), css: 'keyword' }
];
};
SyntaxHighlighter.brushes.PowerShell.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.PowerShell.aliases = ['powershell', 'ps'];

View File

@ -0,0 +1,66 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Python = function()
{
// Contributed by Gheorghe Milas and Ahmad Sherif
var keywords = 'and assert break class continue def del elif else ' +
'except exec finally for from global if import in is ' +
'lambda not or pass print raise return try yield while';
var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
'chr classmethod cmp coerce compile complex delattr dict dir ' +
'divmod enumerate eval execfile file filter float format frozenset ' +
'getattr globals hasattr hash help hex id input int intern ' +
'isinstance issubclass iter len list locals long map max min next ' +
'object oct open ord pow print property range raw_input reduce ' +
'reload repr reversed round set setattr slice sorted staticmethod ' +
'str sum super tuple type type unichr unicode vars xrange zip';
var special = 'None True False self cls class_';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
{ regex: /^\s*@\w+/gm, css: 'decorator' },
{ regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
{ regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
{ regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
{ regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
{ regex: /\b\d+\.?\w*/g, css: 'value' },
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
{ regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
];
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
};
SyntaxHighlighter.brushes.Python.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Python.aliases = ['py', 'python'];

View File

@ -0,0 +1,57 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Ruby = function()
{
// Contributed by Erik Peterson.
var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
'self super then throw true undef unless until when while yield';
var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
'ThreadGroup Thread Time TrueClass';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
{ regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
{ regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
{ regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
];
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
};
SyntaxHighlighter.brushes.Ruby.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Ruby.aliases = ['ruby', 'rails', 'ror', 'rb'];

View File

@ -0,0 +1,53 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Scala = function()
{
// Contributed by Yegor Jbanov and David Bernard.
var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
'override try lazy for var catch throw type extends class while with new final yield abstract ' +
'else do if return protected private this package false';
var keyops = '[_:=><%#@]+';
this.regexList = [
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
{ regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
{ regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
];
}
SyntaxHighlighter.brushes.Scala.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Scala.aliases = ['scala'];

View File

@ -0,0 +1,68 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Sql = function()
{
var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +
'current_user day isnull left lower month nullif replace right ' +
'session_user space substring sum system_user upper user year';
var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +
'binary bit by cascade char character check checkpoint close collate ' +
'column commit committed connect connection constraint contains continue ' +
'create cube current current_date current_time cursor database date ' +
'deallocate dec decimal declare default delete desc distinct double drop ' +
'dynamic else end end-exec escape except exec execute false fetch first ' +
'float for force foreign forward free from full function global goto grant ' +
'group grouping having hour ignore index inner insensitive insert instead ' +
'int integer intersect into is isolation key last level load local max min ' +
'minute modify move name national nchar next no numeric of off on only ' +
'open option order out output partial password precision prepare primary ' +
'prior privileges procedure public read real references relative repeatable ' +
'restrict return returns revoke rollback rollup rows rule schema scroll ' +
'second section select sequence serializable set size smallint static ' +
'statistics table temp temporary then time timestamp to top transaction ' +
'translation trigger true truncate uncommitted union unique update values ' +
'varchar varying view when where with work';
var operators = 'all and any between cross in join like not null or outer some';
this.regexList = [
{ regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
];
};
SyntaxHighlighter.brushes.Sql.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Sql.aliases = ['sql'];

View File

@ -0,0 +1,58 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Vb = function()
{
var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
'Variant When While With WithEvents WriteOnly Xor';
this.regexList = [
{ regex: /'.*$/gm, css: 'comments' }, // one line comments
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
{ regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
];
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
};
SyntaxHighlighter.brushes.Vb.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Vb.aliases = ['vb', 'vbnet'];

View File

@ -0,0 +1,71 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
SyntaxHighlighter.brushes.Xml = function()
{
function process(match, regexInfo)
{
var constructor = SyntaxHighlighter.Match,
code = match[0],
tag = new XRegExp('(&lt;|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)', 'xg').exec(code),
result = []
;
if (match.attributes != null)
{
var attributes,
regex = new XRegExp('(?<name> [\\w:\\-\\.]+)' +
'\\s*=\\s*' +
'(?<value> ".*?"|\'.*?\'|\\w+)',
'xg');
while ((attributes = regex.exec(code)) != null)
{
result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
}
}
if (tag != null)
result.push(
new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
);
return result;
}
this.regexList = [
{ regex: new XRegExp('(\\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\&gt;|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
{ regex: new XRegExp('(&lt;|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)', 'sg'), func: process }
];
};
SyntaxHighlighter.brushes.Xml.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Xml.aliases = ['xml', 'xhtml', 'xslt', 'html'];

View File

@ -0,0 +1,30 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 y={d:{}};y.d={F:6(S,l,q,k,m,n){6 J(z,Y){1 V=16 15("^"+Y+"\\\\[(?<o>\\\\w+)\\\\]$","14"),x=2;h(1 i=0;i<z.g;i++){7((x=V.17(z[i]))!=2){4 x.o}}4 2};6 3(r,U){4 r!=2?r:U};6 9(s){4 s!=2?s.13():2};1 f=S.18(":"),E=f[0],c={},u={"p":"p"};C={"p":"1a"},v=2,5=d.5;h(1 i 19 f){c[f[i]]="p"}l=9(3(l,5.O));q=9(3(q,5.T));k=9(3(k,5.A));n=9(3(n,5.W));m=9(3(m,5["K-L"]));v={1b:E,O:3(C[c.12],l),T:3(C[c.1g],q),A:3(u[c.A],k),W:3(u[c.1t],n),"K-L":3(J(f,"1q"),m)};4 v},1x:6(B,I,D,H,N,M){6 Z(){1 a=1r;h(1 i=0;i<a.g;i++){7(a[i]===2){10}7(G(a[i])=="1s"&&a[i]!=""){4 a[i]+""}7(G(a[i])=="1c"&&a[i].o!=""){4 a[i].o+""}}4 2};6 t(Q,R,11){1 j=1w.1v(11);h(1 i=0;i<j.g;i++){7(j[i].1u("1p")==R){Q.1n(j[i])}}};1 b=[],1o=2,1f={},1e="1d";t(b,B,"1h");t(b,B,"1i");7(b.g===0){4}h(1 i=0;i<b.g;i++){1 8=b[i],e=Z(8.X["1m"],8.1l,8.X["P"],8.P),1k="";7(e===2){10}e=y.d.F(e,I,D,H,N,M);d.1j(e,8)}}};',62,96,'|var|null|defaultValue|return|defaults|function|if|_26|asString||_21|_11|SyntaxHighlighter|_27|_f|length|for||_1f|_4|_2|_5|_6|value|true|_3|_c|_e|findTagsByName|_12|result||_a|dp|_7|collapse|_14|reverse|_16|_10|parseParams|typeof|_17|_15|getValue|first|line|_19|_18|gutter|language|_1c|_1d|_1|toolbar|_d|_9|ruler|attributes|_8|findValue|continue|_1e|nogutter|toString|gi|XRegExp|new|exec|split|in|false|brush|object|innerHTML|_24|_23|nocontrols|pre|textarea|highlight|_28|className|class|push|_22|name|firstline|arguments|string|showcolumns|getAttribute|getElementsByTagName|document|HighlightAll'.split('|'),0,{}))

View File

@ -0,0 +1,330 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
.syntaxhighlighter,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody
{
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
outline: 0 !important;
background: none !important;
text-align: left !important;
float: none !important;
vertical-align: baseline !important;
position: static !important;
left: auto !important;
top: auto !important;
right: auto !important;
bottom: auto !important;
height: auto !important;
width: auto !important;
line-height: 1.1em !important;
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
font-weight: normal !important;
font-style: normal !important;
font-size: 1em !important;
min-height: inherit !important; /* For IE8, FF & WebKit */
min-height: auto !important; /* For IE7 */
}
.syntaxhighlighter
{
width: 99% !important; /* 99% fixes IE8 horizontal scrollbar */
margin: 1em 0 1em 0 !important;
padding: 1px !important; /* adds a little border on top and bottom */
position: relative !important;
}
.syntaxhighlighter .bold
{
font-weight: bold !important;
}
.syntaxhighlighter .italic
{
font-style: italic !important;
}
.syntaxhighlighter .line
{
}
.syntaxhighlighter .no-wrap .line .content
{
white-space: pre !important;
}
.syntaxhighlighter .line table
{
border-collapse: collapse !important;
}
.syntaxhighlighter .line td
{
vertical-align: top !important;
}
.syntaxhighlighter .line .number
{
width: 3em !important;
}
.syntaxhighlighter .line .number code
{
width: 2.7em !important;
padding-right: .3em !important;
text-align: right !important;
display: block !important;
}
.syntaxhighlighter .line .content
{
padding-left: .5em !important;
}
.syntaxhighlighter .line .spaces
{
}
/* Disable border and margin on the lines when no gutter option is set */
.syntaxhighlighter.nogutter .line .content
{
border-left: none !important;
}
.syntaxhighlighter .bar
{
display: none !important;
}
.syntaxhighlighter .bar.show
{
display: block !important;
}
.syntaxhighlighter.collapsed .bar
{
display: block !important;
}
/* Adjust some properties when collapsed */
.syntaxhighlighter.collapsed .lines
{
display: none !important;
}
.syntaxhighlighter .lines.no-wrap
{
overflow: auto !important;
overflow-y: hidden !important;
}
/* Styles for the toolbar */
.syntaxhighlighter .toolbar
{
position: absolute !important;
right: 0px !important;
top: 0px !important;
font-size: 1px !important;
padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */
}
.syntaxhighlighter.collapsed .toolbar
{
font-size: 80% !important;
padding: .2em 0 .5em .5em !important;
position: static !important;
}
.syntaxhighlighter .toolbar a.item,
.syntaxhighlighter .toolbar .item
{
display: block !important;
float: left !important;
margin-left: 8px !important;
background-repeat: no-repeat !important;
overflow: hidden !important;
text-indent: -5000px !important;
}
.syntaxhighlighter.collapsed .toolbar .item
{
display: none !important;
}
.syntaxhighlighter.collapsed .toolbar .item.expandSource
{
background-image: url(magnifier.png) !important;
display: inline !important;
text-indent: 0 !important;
width: auto !important;
float: none !important;
height: 16px !important;
padding-left: 20px !important;
}
.syntaxhighlighter .toolbar .item.viewSource
{
background-image: url(page_white_code.png) !important;
}
.syntaxhighlighter .toolbar .item.printSource
{
background-image: url(printer.png) !important;
}
.syntaxhighlighter .toolbar .item.copyToClipboard
{
text-indent: 0 !important;
background: none !important;
overflow: visible !important;
}
.syntaxhighlighter .toolbar .item.about
{
background-image: url(help.png) !important;
}
/**
* Print view.
* Colors are based on the default theme without background.
*/
.syntaxhighlighter.printing,
.syntaxhighlighter.printing .line.alt1 .content,
.syntaxhighlighter.printing .line.alt2 .content,
.syntaxhighlighter.printing .line.highlighted .number,
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
.syntaxhighlighter.printing .line.highlighted.alt2 .content,
{
background: none !important;
}
/* Gutter line numbers */
.syntaxhighlighter.printing .line .number
{
color: #bbb !important;
}
/* Add border to the lines */
.syntaxhighlighter.printing .line .content
{
color: #000 !important;
}
/* Toolbar when visible */
.syntaxhighlighter.printing .toolbar
{
display: none !important;
}
.syntaxhighlighter.printing a
{
text-decoration: none !important;
}
.syntaxhighlighter.printing .plain,
.syntaxhighlighter.printing .plain a
{
color: #000 !important;
}
.syntaxhighlighter.printing .comments,
.syntaxhighlighter.printing .comments a
{
color: #008200 !important;
}
.syntaxhighlighter.printing .string,
.syntaxhighlighter.printing .string a
{
color: blue !important;
}
.syntaxhighlighter.printing .keyword
{
color: #069 !important;
font-weight: bold !important;
}
.syntaxhighlighter.printing .preprocessor
{
color: gray !important;
}
.syntaxhighlighter.printing .variable
{
color: #a70 !important;
}
.syntaxhighlighter.printing .value
{
color: #090 !important;
}
.syntaxhighlighter.printing .functions
{
color: #ff1493 !important;
}
.syntaxhighlighter.printing .constants
{
color: #0066CC !important;
}
.syntaxhighlighter.printing .script
{
font-weight: bold !important;
}
.syntaxhighlighter.printing .color1,
.syntaxhighlighter.printing .color1 a
{
color: #808080 !important;
}
.syntaxhighlighter.printing .color2,
.syntaxhighlighter.printing .color2 a
{
color: #ff1493 !important;
}
.syntaxhighlighter.printing .color3,
.syntaxhighlighter.printing .color3 a
{
color: red !important;
}

View File

@ -0,0 +1,173 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/************************************
* Default Syntax Highlighter theme.
*
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #fff !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
color: black !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #e0e0e0 !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #afafaf !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 3px solid #6CE26C !important;
color: #000 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1
{
background-color: #fff !important;
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #F8F8F8 !important;
}
.syntaxhighlighter .toolbar
{
background-color: #F8F8F8 !important;
border: #E7E5DC solid 1px !important;
}
.syntaxhighlighter .toolbar a
{
color: #a0a0a0 !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: red !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #000 !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #008200 !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: blue !important;
}
.syntaxhighlighter .keyword
{
color: #069 !important;
font-weight: bold !important;
}
.syntaxhighlighter .preprocessor
{
color: gray !important;
}
.syntaxhighlighter .variable
{
color: #a70 !important;
}
.syntaxhighlighter .value
{
color: #090 !important;
}
.syntaxhighlighter .functions
{
color: #ff1493 !important;
}
.syntaxhighlighter .constants
{
color: #0066CC !important;
}
.syntaxhighlighter .script
{
background-color: yellow !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #808080 !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #ff1493 !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: red !important;
}

View File

@ -0,0 +1,176 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/**
* Django SyntaxHighlighter theme
*/
/************************************
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #0B2F20 !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #497958 !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 3px solid #41A83E !important;
color: #B9BDB6 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1
{
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #0a2b1d !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
background-color: #336442 !important;
color: #fff !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #336442 !important;
}
.syntaxhighlighter .toolbar
{
background-color: #245032 !important;
border: #0B2F20 solid 1px !important;
}
.syntaxhighlighter .toolbar a
{
color: #C4B14A !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: #FFE862 !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #F8F8F8 !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #336442 !important;
font-style: italic !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: #9DF39F !important;
}
.syntaxhighlighter .keyword
{
color: #96DD3B !important;
font-weight: bold !important;
}
.syntaxhighlighter .preprocessor
{
color: #91BB9E !important;
}
.syntaxhighlighter .variable
{
color: #FFAA3E !important;
}
.syntaxhighlighter .value
{
color: #F7E741 !important;
}
.syntaxhighlighter .functions
{
color: #FFAA3E !important;
}
.syntaxhighlighter .constants
{
color: #E0E8FF !important;
}
.syntaxhighlighter .script
{
background-color: #497958 !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #EB939A !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #91BB9E !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: #EDEF7D !important;
}

View File

@ -0,0 +1,190 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/**
* Eclipse IDE SyntaxHighlighter color theme
* (C) Code-House
* http://blog.code-house.org/2009/10/xml-i-adnotacje-kod-ogolnego-przeznaczenia-i-jpa/
*/
.syntaxhighlighter
{
background-color: #fff !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
background-color: #c3defe !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #c3defe !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #787878 !important;
background-color: #fff !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 1px solid #d4d0c8 !important;
color: #000 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1
{
background-color: #fff !important;
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #fff !important;
}
.syntaxhighlighter .toolbar
{
background-color: #F8F8F8 !important;
border: #E7E5DC solid 1px !important;
}
.syntaxhighlighter .toolbar a
{
color: #a0a0a0 !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: red !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #000 !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #3f5fbf !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: #2a00ff !important;
}
.syntaxhighlighter .keyword
{
color: #7f0055 !important;
font-weight: bold !important;
}
.syntaxhighlighter .preprocessor
{
color: #646464 !important;
}
.syntaxhighlighter .variable
{
color: #a70 !important;
}
.syntaxhighlighter .value
{
color: #090 !important;
}
.syntaxhighlighter .functions
{
color: #ff1493 !important;
}
.syntaxhighlighter .constants
{
color: #0066CC !important;
}
.syntaxhighlighter .script
{
background-color: yellow !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #808080 !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #ff1493 !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: red !important;
}
.xml .keyword {
color: #3f7f7f !important;
font-weight: normal !important;
}
.xml .color1,
.xml .color1 a{
color: #7f007f !important;
}
.xml .string {
font-style: italic !important;
color: #2a00ff !important;
}

View File

@ -0,0 +1,175 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/**
* Emacs SyntaxHighlighter theme based on theme by Joshua Emmons
* http://www.skia.net/
*/
/************************************
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #000000 !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #D3D3D3 !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 3px solid #990000 !important;
color: #B9BDB6 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1
{
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #0f0f0f !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
background-color: #435A5F !important;
color: #fff !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #435A5F !important;
}
.syntaxhighlighter .toolbar
{
background-color: #000000 !important;
border: #000000 solid 1px !important;
}
.syntaxhighlighter .toolbar a
{
color: #646763 !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: #9CCFF4 !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #D3D3D3 !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #FF7D27 !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: #FF9E7B !important;
}
.syntaxhighlighter .keyword
{
color: #00FFFF !important;
}
.syntaxhighlighter .preprocessor
{
color: #AEC4DE !important;
}
.syntaxhighlighter .variable
{
color: #FFAA3E !important;
}
.syntaxhighlighter .value
{
color: #090 !important;
}
.syntaxhighlighter .functions
{
color: #81CEF9 !important;
}
.syntaxhighlighter .constants
{
color: #FF9E7B !important;
}
.syntaxhighlighter .script
{
background-color: #990000 !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #EBDB8D !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #FF7D27 !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: #AEC4DE !important;
}

View File

@ -0,0 +1,177 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/**
* Fade to Grey SyntaxHighlighter theme based on theme by Brasten Sager
* http://www.ibrasten.com/
*/
/************************************
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #121212 !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #C3C3C3 !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 3px solid #3185B9 !important;
color: #B9BDB6 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1
{
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #000000 !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
background-color: #3A3A00 !important;
color: #fff !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #3A3A00 !important;
}
.syntaxhighlighter .toolbar
{
background-color: #000000 !important;
border: #000000 solid 1px !important;
}
.syntaxhighlighter .toolbar a
{
color: #808080 !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: #96DAFF !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #FFFFFF !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #696854 !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: #E3E658 !important;
}
.syntaxhighlighter .keyword
{
color: #D01D33 !important;
}
.syntaxhighlighter .preprocessor
{
color: #435A5F !important;
}
.syntaxhighlighter .variable
{
color: #898989 !important;
}
.syntaxhighlighter .value
{
color: #090 !important;
}
.syntaxhighlighter .functions
{
color: #AAAAAA !important;
font-weight: bold !important;
}
.syntaxhighlighter .constants
{
color: #96DAFF !important;
}
.syntaxhighlighter .script
{
background-color: #C3C3C3 !important;
color: #000 !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #FFC074 !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #4A8CDB !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: #96DAFF !important;
}

View File

@ -0,0 +1,175 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/**
* Midnight SyntaxHighlighter theme based on theme by J.D. Myers
* http://webdesign.lsnjd.com/
*/
/************************************
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #0F192A !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #38566F !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 3px solid #435A5F !important;
color: #B9BDB6 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1
{
background-color: #0F192A !important;
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #0F192A !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
background-color: #253E5A !important;
color: #fff !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #253E5A !important;
}
.syntaxhighlighter .toolbar
{
background-color: #0F192A !important;
}
.syntaxhighlighter .toolbar a
{
color: #38566F !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: #8AA6C1 !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #D1EDFF !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #428BDD !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: #1DC116 !important;
}
.syntaxhighlighter .keyword
{
color: #B43D3D !important;
}
.syntaxhighlighter .preprocessor
{
color: #8AA6C1 !important;
}
.syntaxhighlighter .variable
{
color: #FFAA3E !important;
}
.syntaxhighlighter .value
{
color: #F7E741 !important;
}
.syntaxhighlighter .functions
{
color: #FFAA3E !important;
}
.syntaxhighlighter .constants
{
color: #E0E8FF !important;
}
.syntaxhighlighter .script
{
background-color: #404040 !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #F8BB00 !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #FFFFFF !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: #FFAA3E !important;
}

View File

@ -0,0 +1,175 @@
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.382 (June 24 2010)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/**
* RDark SyntaxHighlighter theme based on theme by Radu Dineiu
* http://www.vim.org/scripts/script.php?script_id=1732
*/
/************************************
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #1B2426 !important;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #B9BDB6 !important;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 3px solid #435A5F !important;
color: #B9BDB6 !important;
}
.syntaxhighlighter.printing .line .content
{
border: 0 !important;
}
/* First line */
.syntaxhighlighter .line.alt1
{
background-color: #1B2426 !important;
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #1B2426 !important;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
background-color: #435A5F !important;
color: #fff !important;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #435A5F !important;
}
.syntaxhighlighter .toolbar
{
background-color: #1B2426 !important;
}
.syntaxhighlighter .toolbar a
{
color: #646763 !important;
}
.syntaxhighlighter .toolbar a:hover
{
color: #E0E8FF !important;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #B9BDB6 !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #878A85 !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: #5CE638 !important;
}
.syntaxhighlighter .keyword
{
color: #5BA1CF !important;
}
.syntaxhighlighter .preprocessor
{
color: #435A5F !important;
}
.syntaxhighlighter .variable
{
color: #FFAA3E !important;
}
.syntaxhighlighter .value
{
color: #090 !important;
}
.syntaxhighlighter .functions
{
color: #FFAA3E !important;
}
.syntaxhighlighter .constants
{
color: #E0E8FF !important;
}
.syntaxhighlighter .script
{
background-color: #435A5F !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #E0E8FF !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #FFFFFF !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: #FFAA3E !important;
}

View File

@ -0,0 +1,13 @@
.back-to-top {
position: fixed;
_position: absolute;
float: left;
display: none;
right: 15px;
bottom: 140px;
_bottom: 0px;
cursor: pointer;
z-index: 99;
font-size:40px;
color:#666;
}

View File

@ -0,0 +1,26 @@
$(function(){
$("#back-to-top").click(function(){
$('html,body').animate({scrollTop:0}, 200);
});
var ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);
$(window).scroll(function(){
if(ie6){
var windowHeight = $(window).height();
$("#back-to-top").css('top', windowHeight+$(window).scrollTop()-50);
}
if ($(window).scrollTop()>100){
$("#back-to-top").fadeIn(300);
}else{
$("#back-to-top").fadeOut(300);
}
});
if(ie6){
var windowHeight = $(window).height();
$("#back-to-top").css('top', windowHeight+$(window).scrollTop()-50);
}
if ($(window).scrollTop()>100){
$("#back-to-top").fadeIn(300);
}else{
$("#back-to-top").fadeOut(300);
}
});

View File

@ -0,0 +1,266 @@
/*!
* DLShouWen Grid v1.2.1
*
* includes: jquery, bootstrap, fontawesome, My97 DatePicker
* Copyright 2016, http://os.dlshouwen.com/grid, http://www.dlshouwen.com
*/
(function($) {
if(!$.fn.dlshouwen.grid.lang){
$.fn.dlshouwen.grid.lang = {};
}
$.fn.dlshouwen.grid.lang['en'] = {
errors : {
ajaxLoadError : 'Data failed to load, please check your condition options is had some errors.'
},
buttons : {
close : '<i class="fa fa-times"></i>&nbsp;&nbsp;Close'
},
extraColumn : {
open : '<i class="fa fa-plus"></i>',
close : '<i class="fa fa-minus"></i>'
},
sortColumn : {
asc : '<i class="fa fa-sort-asc"></i>',
desc : '<i class="fa fa-sort-desc"></i>'
},
toolbar : {
refresh : '<i class="fa fa-refresh"></i>',
refreshTitle : 'Refresh',
fastQuery : '<i class="fa fa-search"></i>',
fastQueryTitle : 'Fast Query',
advanceQuery : '<i class="fa fa-filter"></i>',
advanceQueryTitle : 'Advance Query',
exportExcel : '<i class="fa fa-file-excel-o"></i> EXCEL',
exportExcelTitle : 'Export Excel File',
exportCsv : '<i class="fa fa-file-o"></i> CSV',
exportCsvTitle : 'Export Csv File',
exportPdf : '<i class="fa fa-file-pdf-o"></i> PDF',
exportPdfTitle : 'Export Pdf File',
exportTxt : '<i class="fa fa-file-o"></i> TXT',
exportTxtTitle : 'Export Txt File',
print : '<i class="fa fa-print"></i>',
printTitle : 'Print'
},
pageInfo : {
nothing : 'No Data...',
info : 'There is {recordCount} records, {pageSize} records per page, toatal {pageCount} pages.',
firstPage : '<i class="fa fa-angle-double-left"></i>',
prevPage : '<i class="fa fa-angle-left"></i>',
nextPage : '<i class="fa fa-angle-right"></i>',
lastPage : '<i class="fa fa-angle-double-right"></i>',
firstPageTitle : 'First Page',
prevPageTitle : 'Prev Page',
nextPageTitle : 'Next Page',
lastPageTitle : 'Last Page',
alreadyFirstPage : 'Already First Page',
alreadyLastPage : 'Already Last Page',
nowPage : '{nowPage}',
nowPageTitle : 'Page {nowPage}',
errors : {
notANumber : 'Your input is not a number',
maxPageSize : 'The page does not allow more than {pageSizeLimit}, has been restored to original setting'
}
},
fastQuery : {
title : '<i class="fa fa-search"></i>&nbsp;&nbsp;Fast Query',
codeTableSelectAll : 'All',
input : 'Please Input ',
selectStart : 'Please Select Start ',
selectEnd : 'Please Select End',
inputStart : 'Please Input Start ',
inputEnd : 'Please Input End ',
buttons : {
reset : '<i class="fa fa-reply"></i>&nbsp;&nbsp;Reset',
query : '<i class="fa fa-search"></i>&nbsp;&nbsp;Query'
}
},
advanceQuery : {
title : '<i class="fa fa-search"></i>&nbsp;&nbsp;Advance Query',
plan : {
title : 'Advance Query Plan',
advanceQueryName : 'Advance Query Name:',
advanceQueryNamePlaceHoder : 'Please Input Advance Query Name',
remark : 'Advance Query Remark:',
remarkPlaceHoder : 'Please Input Advance Query Remark',
buttons : {
addAdvanceQuery : '<i class="fa fa-plus"></i>&nbsp;&nbsp;Add',
addAdvanceQueryTitle : 'Add Advance Query Plan',
editAdvanceQuery : '<i class="fa fa-pencil"></i>&nbsp;&nbsp;Edit',
editAdvanceQueryTitle : 'Edit Advance Query Plan',
copyAdvanceQuery : '<i class="fa fa-copy"></i>&nbsp;&nbsp;Copy',
copyAdvanceQueryTitle : 'Copy Advance Query Plan',
deleteAdvanceQuery : '<i class="fa fa-trash-o"></i>&nbsp;&nbsp;Delete',
deleteAdvanceQueryTitle : 'Delete Advance Query Plan'
}
},
condition : {
title : 'Conditions',
table : {
sequence : 'Sequence',
operation : 'Operation',
leftParentheses : 'Left (',
field : 'Field',
condition : 'Condition',
value : 'Value',
rightParentheses : 'Right )',
logic : 'Logic',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>',
upTitle : 'Up Condition',
down : '<i class="fa fa-arrow-circle-down"></i>',
downTitle : 'Down Condition',
'delete' : '<i class="fa fa-times"></i>',
deleteTitle : 'Delete Condition'
}
},
buttons : {
insert : '<i class="fa fa-plus"></i>&nbsp;&nbsp;Insert',
insertTitle : 'Insert New Line',
clear : '<i class="fa fa-eraser"></i>&nbsp;&nbsp;Clear',
clearTitle : 'Clear All Conditions'
},
errors : {
fieldMustSelect : 'You must select field on line No. {sequence} in Conditions.',
conditionMustSelect : 'You must select condition on line No. {sequence} in Conditions.',
conditionError : 'Condition had some errors, please check.'
}
},
sort : {
title : 'Sorts',
logic : {
asc : 'Asc',
desc : 'Desc'
},
table : {
sequence : 'Sequence',
operation : 'Operation',
field : 'Field',
logic : 'Logic',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>',
upTitle : 'Up Sort',
down : '<i class="fa fa-arrow-circle-down"></i>',
downTitle : 'Down Sort',
'delete' : '<i class="fa fa-times"></i>',
deleteTitle : 'Delete Sort'
}
},
buttons : {
insert : '<i class="fa fa-plus"></i>&nbsp;&nbsp;Insert',
insertTitle : 'Insert New Line',
clear : '<i class="fa fa-eraser"></i>&nbsp;&nbsp;Clear',
clearTitle : 'Clear All Sorts'
},
errors : {
fieldMustSelect : 'You must select field on line No. {sequence} in Sorts.',
logicMustSelect : 'You must select logic on line No. {sequence} in Sorts.'
}
},
buttons : {
query : '<i class="fa fa-search"></i>&nbsp;&nbsp;Query'
}
},
print : {
title : '<i class="fa fa-print"></i>&nbsp;&nbsp;Print Options',
table : {
column : 'Column',
operation : 'Operation',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;UP',
upTitle : 'Up',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;Down',
downTitle : 'Down'
}
},
buttons : {
print : '<i class="fa fa-print"></i>&nbsp;&nbsp;Print'
}
},
'export' : {
excel : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;Export Excel Options',
exportType : {
title : 'Export Type:',
now : 'Export Now Datas',
all : 'Export All Datas'
},
table : {
column : 'Column',
operation : 'Operation',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;Up',
upTitle : 'Up',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;Down',
downTitle : 'Down'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;Export Excel File'
}
},
csv : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;Export Csv Options',
exportType : {
title : 'Export Type:',
now : 'Export Now Datas',
all : 'Export All Datas'
},
table : {
column : 'Column',
operation : 'Operation',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;Up',
upTitle : 'Up',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;Down',
downTitle : 'Down'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;Export Csv File'
}
},
pdf : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;Export Pdf Options',
exportType : {
title : 'Export Type:',
now : 'Export Now Datas',
all : 'Export All Datas'
},
table : {
column : 'Column',
operation : 'Operation',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;Up',
upTitle : 'Up',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;Down',
downTitle : 'Down'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;Export Pdf File'
}
},
txt : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;Export Txt Options',
exportType : {
title : 'Export Type:',
now : 'Export Now Datas',
all : 'Export All Datas'
},
table : {
column : 'Column',
operation : 'Operation',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;Up',
upTitle : 'Up',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;Down',
downTitle : 'Down'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;Export Txt File'
}
}
}
};
})(jQuery);

View File

@ -0,0 +1,266 @@
/*!
* DLShouWen Grid v1.2.1
*
* includes: jquery, bootstrap, fontawesome, My97 DatePicker
* Copyright 2016, http://os.dlshouwen.com/grid, http://www.dlshouwen.com
*/
(function($) {
if(!$.fn.dlshouwen.grid.lang){
$.fn.dlshouwen.grid.lang = {};
}
$.fn.dlshouwen.grid.lang['zh-cn'] = {
errors : {
ajaxLoadError : '数据加载失败,请检查您的条件配置是否存在错误。'
},
buttons : {
close : '<i class="fa fa-times"></i>&nbsp;&nbsp;关闭'
},
extraColumn : {
open : '<i class="fa fa-plus"></i>',
close : '<i class="fa fa-minus"></i>'
},
sortColumn : {
asc : '<i class="fa fa-sort-asc"></i>',
desc : '<i class="fa fa-sort-desc"></i>'
},
toolbar : {
refresh : '<i class="fa fa-refresh"></i>',
refreshTitle : '刷新数据',
fastQuery : '<i class="fa fa-search"></i>',
fastQueryTitle : '快速查询',
advanceQuery : '<i class="fa fa-filter"></i>',
advanceQueryTitle : '高级查询',
exportExcel : '<i class="fa fa-file-excel-o"></i> EXCEL',
exportExcelTitle : '导出EXCEL文件',
exportCsv : '<i class="fa fa-file-o"></i> CSV',
exportCsvTitle : '导出CSV文件',
exportPdf : '<i class="fa fa-file-pdf-o"></i> PDF',
exportPdfTitle : '导出PDF文件',
exportTxt : '<i class="fa fa-file-o"></i> TXT',
exportTxtTitle : '导出TXT文件',
print : '<i class="fa fa-print"></i>',
printTitle : '打印'
},
pageInfo : {
nothing : '无查询记录...',
info : '查询出 {recordCount} 条记录,每页 {pageSize} 条,共 {pageCount} 页',
firstPage : '<i class="fa fa-angle-double-left"></i>',
prevPage : '<i class="fa fa-angle-left"></i>',
nextPage : '<i class="fa fa-angle-right"></i>',
lastPage : '<i class="fa fa-angle-double-right"></i>',
firstPageTitle : '第一页',
prevPageTitle : '上一页',
nextPageTitle : '下一页',
lastPageTitle : '最后一页',
alreadyFirstPage : '已经是第一页了',
alreadyLastPage : '已经是最后一页了',
nowPage : '{nowPage}',
nowPageTitle : '第 {nowPage} 页',
errors : {
notANumber : '您输入的内容不是数字',
maxPageSize : '每页显示数量不得超过 {pageSizeLimit} 条,已还原为原设置'
}
},
fastQuery : {
title : '<i class="fa fa-search"></i>&nbsp;&nbsp;快速查询',
codeTableSelectAll : '全部',
input : '请输入',
selectStart : '请选择开始',
selectEnd : '请选择结束',
inputStart : '请输入开始',
inputEnd : '请输入结束',
buttons : {
reset : '<i class="fa fa-reply"></i>&nbsp;&nbsp;参数重置',
query : '<i class="fa fa-search"></i>&nbsp;&nbsp;执行查询'
}
},
advanceQuery : {
title : '<i class="fa fa-search"></i>&nbsp;&nbsp;高级查询',
plan : {
title : '查询方案',
advanceQueryName : '方案名称:',
advanceQueryNamePlaceHoder : '请输入方案名称',
remark : '备注:',
remarkPlaceHoder : '请输入备注',
buttons : {
addAdvanceQuery : '<i class="fa fa-plus"></i>&nbsp;&nbsp;新增',
addAdvanceQueryTitle : '新增高级查询方案',
editAdvanceQuery : '<i class="fa fa-pencil"></i>&nbsp;&nbsp;编辑',
editAdvanceQueryTitle : '编辑高级查询方案',
copyAdvanceQuery : '<i class="fa fa-copy"></i>&nbsp;&nbsp;复制',
copyAdvanceQueryTitle : '复制高级查询方案',
deleteAdvanceQuery : '<i class="fa fa-trash-o"></i>&nbsp;&nbsp;删除',
deleteAdvanceQueryTitle : '删除高级查询方案'
}
},
condition : {
title : '查询条件',
table : {
sequence : '序号',
operation : '操作',
leftParentheses : '左括号',
field : '字段',
condition : '条件',
value : '值',
rightParentheses : '右括号',
logic : '逻辑',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>',
upTitle : '条件上移',
down : '<i class="fa fa-arrow-circle-down"></i>',
downTitle : '条件下移',
'delete' : '<i class="fa fa-times"></i>',
deleteTitle : '删除条件'
}
},
buttons : {
insert : '<i class="fa fa-plus"></i>&nbsp;&nbsp;新增一行',
insertTitle : '新增一行',
clear : '<i class="fa fa-eraser"></i>&nbsp;&nbsp;清空条件',
clearTitle : '清空条件'
},
errors : {
fieldMustSelect : '查询条件中第 {sequence} 行的字段信息必须选择!',
conditionMustSelect : '查询条件中第 {sequence} 行的条件信息必须选择!',
conditionError : '您的条件有误,请核实后进行查询。'
}
},
sort : {
title : '排序条件',
logic : {
asc : '升序',
desc : '降序'
},
table : {
sequence : '序号',
operation : '操作',
field : '字段',
logic : '逻辑',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>',
upTitle : '排序上移',
down : '<i class="fa fa-arrow-circle-down"></i>',
downTitle : '排序下移',
'delete' : '<i class="fa fa-times"></i>',
deleteTitle : '删除排序'
}
},
buttons : {
insert : '<i class="fa fa-plus"></i>&nbsp;&nbsp;新增一行',
insertTitle : '新增一行',
clear : '<i class="fa fa-eraser"></i>&nbsp;&nbsp;清空条件',
clearTitle : '清空条件'
},
errors : {
fieldMustSelect : '排序条件中第 {sequence} 行的字段信息必须选择!',
logicMustSelect : '排序条件中第 {sequence} 行的排序逻辑必须选择!'
}
},
buttons : {
query : '<i class="fa fa-search"></i>&nbsp;&nbsp;执行查询'
}
},
print : {
title : '<i class="fa fa-print"></i>&nbsp;&nbsp;打印选项',
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
print : '<i class="fa fa-print"></i>&nbsp;&nbsp;执行打印'
}
},
'export' : {
excel : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;导出EXCEL选项',
exportType : {
title : '导出方式:',
now : '导出当前数据',
all : '导出全部数据'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;执行导出EXCEL文件'
}
},
csv : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;导出CSV选项',
exportType : {
title : '导出方式:',
now : '导出当前数据',
all : '导出全部数据'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;执行导出CSV文件'
}
},
pdf : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;导出PDF选项',
exportType : {
title : '导出方式:',
now : '导出当前数据',
all : '导出全部数据'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;执行导出PDF文件'
}
},
txt : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;导出TXT选项',
exportType : {
title : '导出方式:',
now : '导出当前数据',
all : '导出全部数据'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;执行导出TXT文件'
}
}
}
};
})(jQuery);

View File

@ -0,0 +1,266 @@
/*!
* DLShouWen Grid v1.2.1
*
* includes: jquery, bootstrap, fontawesome, My97 DatePicker
* Copyright 2016, http://os.dlshouwen.com/grid, http://www.dlshouwen.com
*/
(function($) {
if(!$.fn.dlshouwen.grid.lang){
$.fn.dlshouwen.grid.lang = {};
}
$.fn.dlshouwen.grid.lang['zh-tw'] = {
errors : {
ajaxLoadError : '資料載入失敗,請檢查您的條件配置是否存在錯誤。'
},
buttons : {
close : '<i class="fa fa-times"></i>&nbsp;&nbsp;關閉'
},
extraColumn : {
open : '<i class="fa fa-plus"></i>',
close : '<i class="fa fa-minus"></i>'
},
sortColumn : {
asc : '<i class="fa fa-sort-asc"></i>',
desc : '<i class="fa fa-sort-desc"></i>'
},
toolbar : {
refresh : '<i class="fa fa-refresh"></i>',
refreshTitle : '刷新資料',
fastQuery : '<i class="fa fa-search"></i>',
fastQueryTitle : '快速查詢',
advanceQuery : '<i class="fa fa-filter"></i>',
advanceQueryTitle : '高級查詢',
exportExcel : '<i class="fa fa-file-excel-o"></i> EXCEL',
exportExcelTitle : '匯出EXCEL文件',
exportCsv : '<i class="fa fa-file-o"></i> CSV',
exportCsvTitle : '匯出CSV文件',
exportPdf : '<i class="fa fa-file-pdf-o"></i> PDF',
exportPdfTitle : '匯出PDF文件',
exportTxt : '<i class="fa fa-file-o"></i> TXT',
exportTxtTitle : '匯出TXT文件',
print : '<i class="fa fa-print"></i>',
printTitle : '列印'
},
pageInfo : {
nothing : '無查詢記錄...',
info : '查詢出 {recordCount} 條記錄,每頁 {pageSize} 條,共 {pageCount} 頁',
firstPage : '<i class="fa fa-angle-double-left"></i>',
prevPage : '<i class="fa fa-angle-left"></i>',
nextPage : '<i class="fa fa-angle-right"></i>',
lastPage : '<i class="fa fa-angle-double-right"></i>',
firstPageTitle : '第一頁',
prevPageTitle : '上一頁',
nextPageTitle : '下一頁',
lastPageTitle : '最後一頁',
alreadyFirstPage : '已經是第一頁了',
alreadyLastPage : '已經是最後一頁了',
nowPage : '{nowPage}',
nowPageTitle : '第 {nowPage} 頁',
errors : {
notANumber : '您輸入的內容不是數位',
maxPageSize : '每頁顯示數量不得超過 {pageSizeLimit} 條,已還原為原設置'
}
},
fastQuery : {
title : '<i class="fa fa-search"></i>&nbsp;&nbsp;快速查詢',
codeTableSelectAll : '全部',
input : '請輸入',
selectStart : '請選擇開始',
selectEnd : '請選擇結束',
inputStart : '請輸入開始',
inputEnd : '請輸入結束',
buttons : {
reset : '<i class="fa fa-reply"></i>&nbsp;&nbsp;參數重置',
query : '<i class="fa fa-search"></i>&nbsp;&nbsp;執行查詢'
}
},
advanceQuery : {
title : '<i class="fa fa-search"></i>&nbsp;&nbsp;高級查詢',
plan : {
title : '查詢方案',
advanceQueryName : '方案名稱:',
advanceQueryNamePlaceHoder : '請輸入方案名稱',
remark : '備註:',
remarkPlaceHoder : '請輸入備註',
buttons : {
addAdvanceQuery : '<i class="fa fa-plus"></i>&nbsp;&nbsp;新增',
addAdvanceQueryTitle : '新增高級查詢方案',
editAdvanceQuery : '<i class="fa fa-pencil"></i>&nbsp;&nbsp;編輯',
editAdvanceQueryTitle : '編輯高級查詢方案',
copyAdvanceQuery : '<i class="fa fa-copy"></i>&nbsp;&nbsp;複製',
copyAdvanceQueryTitle : '複製高級查詢方案',
deleteAdvanceQuery : '<i class="fa fa-trash-o"></i>&nbsp;&nbsp;刪除',
deleteAdvanceQueryTitle : '刪除高級查詢方案'
}
},
condition : {
title : '查詢準則',
table : {
sequence : '序號',
operation : '操作',
leftParentheses : '左括弧',
field : '欄位',
condition : '條件',
value : '值',
rightParentheses : '右括弧',
logic : '邏輯',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>',
upTitle : '條件上移',
down : '<i class="fa fa-arrow-circle-down"></i>',
downTitle : '條件下移',
'delete' : '<i class="fa fa-times"></i>',
deleteTitle : '刪除條件'
}
},
buttons : {
insert : '<i class="fa fa-plus"></i>&nbsp;&nbsp;新增一行',
insertTitle : '新增一行',
clear : '<i class="fa fa-eraser"></i>&nbsp;&nbsp;清空條件',
clearTitle : '清空條件'
},
errors : {
fieldMustSelect : '查詢準則中第 {sequence} 行的欄位資訊必須選擇!',
conditionMustSelect : '查詢準則中第 {sequence} 行的條件資訊必須選擇!',
conditionError : '您的條件有誤,請核實後進行查詢。'
}
},
sort : {
title : '排序條件',
logic : {
asc : '昇冪',
desc : '降冪'
},
table : {
sequence : '序號',
operation : '操作',
field : '欄位',
logic : '邏輯',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>',
upTitle : '排序上移',
down : '<i class="fa fa-arrow-circle-down"></i>',
downTitle : '排序下移',
'delete' : '<i class="fa fa-times"></i>',
deleteTitle : '刪除排序'
}
},
buttons : {
insert : '<i class="fa fa-plus"></i>&nbsp;&nbsp;新增一行',
insertTitle : '新增一行',
clear : '<i class="fa fa-eraser"></i>&nbsp;&nbsp;清空條件',
clearTitle : '清空條件'
},
errors : {
fieldMustSelect : '排序條件中第 {sequence} 行的欄位資訊必須選擇!',
logicMustSelect : '排序條件中第 {sequence} 行的排序邏輯必須選擇!'
}
},
buttons : {
query : '<i class="fa fa-search"></i>&nbsp;&nbsp;執行查詢'
}
},
print : {
title : '<i class="fa fa-print"></i>&nbsp;&nbsp;列印選項',
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
print : '<i class="fa fa-print"></i>&nbsp;&nbsp;執行列印'
}
},
'export' : {
excel : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;匯出EXCEL選項',
exportType : {
title : '匯出方式:',
now : '匯出當前資料',
all : '匯出全部資料'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;執行匯出EXCEL檔'
}
},
csv : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;匯出CSV選項',
exportType : {
title : '匯出方式:',
now : '匯出當前資料',
all : '匯出全部資料'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;執行匯出CSV檔'
}
},
pdf : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;匯出PDF選項',
exportType : {
title : '匯出方式:',
now : '匯出當前資料',
all : '匯出全部資料'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;執行匯出PDF檔'
}
},
txt : {
title : '<i class="fa fa-download"></i>&nbsp;&nbsp;匯出TXT選項',
exportType : {
title : '匯出方式:',
now : '匯出當前資料',
all : '匯出全部資料'
},
table : {
column : '列',
operation : '操作',
buttons : {
up : '<i class="fa fa-arrow-circle-up"></i>&nbsp;&nbsp;上移',
upTitle : '上移',
down : '<i class="fa fa-arrow-circle-down"></i>&nbsp;&nbsp;下移',
downTitle : '下移'
}
},
buttons : {
'export' : '<i class="fa fa-print"></i>&nbsp;&nbsp;執行匯出TXT檔'
}
}
}
};
})(jQuery);

View File

@ -0,0 +1,7 @@
I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project,
Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome,
comprehensive icon sets or copy and paste your own.
Please. Check it out.
-Dave Gandy

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More