Commit c0d13b25 authored by Liang's avatar Liang

💄 admin style

parent 32af1c06
......@@ -61,6 +61,7 @@ emailSubject1Label=Email Subject:
emailContent1Label=Email Content:
linkDescriptionLabel=Link Description
linkDescription1Label=Description:
descriptionLabel=Description
addressInvalidLabel=start protocol, e.g.: http://
ToolLabel=Tool
replayEmailTemplateLabel=Email Template for Reply
......
......@@ -61,6 +61,7 @@ emailSubject1Label=\u90AE\u4EF6\u4E3B\u9898\uFF1A
emailContent1Label=\u90AE\u4EF6\u5185\u5BB9\uFF1A
linkDescriptionLabel=\u94FE\u63A5\u63CF\u8FF0
linkDescription1Label=\u63CF\u8FF0\uFF1A
descriptionLabel=\u63CF\u8FF0
addressInvalidLabel=\u8BF7\u4EE5\u534F\u8BAE\u5F00\u5934\uFF0C\u5982: http://
ToolLabel=\u5DE5\u5177
replayEmailTemplateLabel=\u56DE\u590D\u63D0\u9192\u90AE\u4EF6\u6A21\u7248
......
......@@ -122,6 +122,7 @@
"changeRoleLabel": "${changeRoleLabel}",
"visitorUserLabel": "${visitorUserLabel}",
"categoryTooLongLabel": "${categoryTooLongLabel}",
"descriptionLabel": "${descriptionLabel}",
"autoSaveLabel": "${autoSaveLabel}"
};
......
......@@ -17,7 +17,7 @@
* admin style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 2.1.6.4, Nov 9, 2016
* @version 2.1.7.4, Apr 8, 2017
*/
/* start resset */
......@@ -45,17 +45,6 @@ a:hover {
text-decoration: underline;
}
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot?1450');
src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?1450') format('truetype'),
url('fonts/icomoon.woff?1450') format('woff'),
url('fonts/icomoon.svg#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
.content-reset {
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
word-wrap: break-word;
......@@ -203,47 +192,37 @@ button:hover {
/* end reset */
/* start ico */
[class^="icon-"], [class*=" icon-"] {
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?f71494');
src: url('fonts/icomoon.eot?f71494#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?f71494') format('truetype'),
url('fonts/icomoon.woff?f71494') format('woff'),
url('fonts/icomoon.svg?f71494#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a[class^="icon-"],
a[class*=" icon-"] {
color: #333;
}
a[class^="icon-"]:hover,
a[class*=" icon-"]:hover {
text-decoration: none;
color: #4183c4;
}
.icon-upload:before {
content: "\f0ee";
.icon-move-down:before {
content: "\e90a";
}
.icon-copy:before {
content: "\e908";
}
.icon-time:before {
content: "\e906";
}
.icon-sortasc:before {
content: "\e905";
}
.icon-locked:before {
content: "\e61e";
}
.icon-close:before {
content: "\e909";
.icon-move-up:before {
content: "\e90b";
}
.icon-points:before {
content: "\e900";
......@@ -391,11 +370,9 @@ a[class*=" icon-"]:hover {
}
.icon-chevron-down:before {
content: "\e618";
margin-right: 10px;
}
.icon-chevron-up:before {
content: "\e619";
margin-right: 10px;
}
.icon-reply:before {
content: "\e61a";
......@@ -409,12 +386,44 @@ a[class*=" icon-"]:hover {
.icon-heart:before {
content: "\e9da";
}
.icon-locked:before {
content: "\e61e";
}
.icon-close:before {
content: "\e909";
}
.icon-wechat:before {
content: "\e907";
}
.icon-upload:before {
content: "\f0ee";
}
.icon-copy:before {
content: "\e908";
}
.icon-time:before {
content: "\e906";
}
.icon-sortasc:before {
content: "\e905";
}
a[class^="icon-"],
a[class*=" icon-"] {
color: #333;
}
a[class^="icon-"]:hover,
a[class*=" icon-"]:hover {
text-decoration: none;
color: #4183c4;
}
.aboutIcon {
background-position: -16px -48px;
}
.icon-move-down,
.icon-move-up {
cursor: pointer;
}
/* end ico */
/* start frame */
......@@ -580,6 +589,10 @@ a[class*=" icon-"]:hover {
#tabs .aboutIcon {
display: none;
}
#tabs .icon-chevron-up,
#tabs .icon-chevron-down {
margin-right: 10px;
}
/* end first tabs */
/* start sub tabs */
......@@ -882,7 +895,7 @@ button#submitArticle:hover,
height: 100%;
left: 0;
opacity: .3;
position: absolute;
position: fixed;
top: 0;
width: 100%;
z-index: 90;
......@@ -911,8 +924,7 @@ button#submitArticle:hover,
height: 34px;
}
.dialog-close-icon {
background: url("../images/bowknot/dialog-close.png") no-repeat scroll 0 0 transparent;
.dialog-header-bg .icon-close {
cursor: pointer;
float: right;
height: 18px;
......@@ -921,10 +933,6 @@ button#submitArticle:hover,
width: 22px;
}
.dialog-close-icon:hover {
background-image: url("../images/bowknot/dialog-close-hover.png");
}
.dialog-main {
background-color: #FFFFFF;
border: 1px solid #666666;
......@@ -1039,18 +1047,6 @@ button#submitArticle:hover,
.table-center {
margin: 0 auto;
}
.table-upIcon,.table-downIcon {
background-image: url("../images/icon.png");
cursor: pointer;
float: left;
height: 16px;
width: 16px;
background-position: -81px -32px;
}
.table-upIcon {
background-position: -64px -32px;
margin-right: 6px;
}
.table-tag {
color: #D54121;
......
......@@ -17,7 +17,7 @@
* base style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 1.0.2.2, Aug 27, 2012
* @version 1.0.3.2, Apr 8, 2017
*/
html, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dd, dl, ol {
margin: 0;
......@@ -57,10 +57,6 @@ textarea {
overflow: auto;
}
li {
margin-left: 12px;
}
button, .button {
background: url(../images/icon.png) repeat center bottom;
border: 1px solid;
......
No preview for this file type
......@@ -65,6 +65,8 @@
<glyph unicode="&#xe907;" glyph-name="wechat" horiz-adv-x="1170" d="M331.429 687.428q0 23.429-14.286 37.714t-37.714 14.286q-24.571 0-43.429-14.571t-18.857-37.429q0-22.286 18.857-36.857t43.429-14.571q23.429 0 37.714 14t14.286 37.429zM756 397.714q0 16-14.571 28.571t-37.429 12.571q-15.429 0-28.286-12.857t-12.857-28.286q0-16 12.857-28.857t28.286-12.857q22.857 0 37.429 12.571t14.571 29.143zM621.143 687.428q0 23.429-14 37.714t-37.429 14.286q-24.571 0-43.429-14.571t-18.857-37.429q0-22.286 18.857-36.857t43.429-14.571q23.429 0 37.429 14t14 37.429zM984 397.714q0 16-14.857 28.571t-37.143 12.571q-15.429 0-28.286-12.857t-12.857-28.286q0-16 12.857-28.857t28.286-12.857q22.286 0 37.143 12.571t14.857 29.143zM832 624.571q-17.714 2.286-40 2.286-96.571 0-177.714-44t-127.714-119.143-46.571-164.286q0-44.571 13.143-86.857-20-1.714-38.857-1.714-14.857 0-28.571 0.857t-31.429 3.714-25.429 4-31.143 6-28.571 6l-144.571-72.571 41.143 124.571q-165.714 116-165.714 280 0 96.571 55.714 177.714t150.857 127.714 207.714 46.571q100.571 0 190-37.714t149.714-104.286 78-148.857zM1170.286 304q0-66.857-39.143-127.714t-106-110.571l31.429-103.429-113.714 62.286q-85.714-21.143-124.571-21.143-96.571 0-177.714 40.286t-127.714 109.429-46.571 150.857 46.571 150.857 127.714 109.429 177.714 40.286q92 0 173.143-40.286t130-109.714 48.857-150.571z" />
<glyph unicode="&#xe908;" glyph-name="copy" d="M852.199 928.002h-680.228c-85.031 0-155.887-70.855-155.887-155.886v-680.229c0-85.031 70.856-155.887 155.887-155.887h680.228c85.031 0 155.887 70.856 155.887 155.887v680.228c-0.001 85.031-70.857 155.887-155.887 155.887zM586.966 295.875l-148.653-148.496c-64.179-64.040-169.159-64.040-233.329 0l-2.782 2.781c-64.174 64.036-64.174 168.916 0 233.039l104.051 103.775c-0.527-30.558 5.038-61.305 16.695-90.102l-67.262-67.171c-34.845-34.71-34.845-91.344 0-126.139l2.781-2.776c34.845-34.751 91.511-34.751 126.36 0l148.702 148.455c34.845 34.799 34.845 91.421 0 126.18l-2.781 2.776c-5.436 5.428-11.439 9.92-17.802 13.671l54.371 54.339c5.872-4.454 11.572-9.263 16.912-14.599h0.004l2.735-2.735c64.084-64.038 64.084-168.919-0.002-233zM803.906 512.556l-104.005-103.821c0.527 30.565-4.994 61.263-16.657 90.063l67.221 67.171c34.849 34.751 34.849 91.381 0 126.181l-2.781 2.735c-34.845 34.8-91.511 34.8-126.267 0l-148.748-148.455c-34.85-34.799-34.85-91.422 0-126.221l2.739-2.694c5.432-5.424 11.439-9.965 17.797-13.674l-54.407-54.38c-5.832 4.5-11.526 9.308-16.871 14.649l-2.745 2.689c-64.171 64.125-64.171 168.961 0 233.039l148.663 148.5c64.171 64.081 169.151 64.081 233.321 0l2.785-2.777v-0.004c64.176-64.077 64.176-168.912-0.040-232.998z" />
<glyph unicode="&#xe909;" glyph-name="close" d="M1002.667 818.543l-391.876-391.876 391.876-391.876-98.791-98.791-391.876 391.876-391.876-391.876-98.791 98.791 391.876 391.876-391.876 391.876 98.791 98.791 391.876-391.876 391.876 391.876z" />
<glyph unicode="&#xe90a;" glyph-name="move-down" d="M832 640h-192v320h-256v-320h-192l320-384 320 384zM192-64h640v192h-640v-192z" />
<glyph unicode="&#xe90b;" glyph-name="move-up" d="M192 256h192v-320h256v320h192l-320 384-320-384zM192 960v-192h640v192h-640z" />
<glyph unicode="&#xe9da;" glyph-name="heart" d="M705.949 826.125c-85.838 0-159.71-69.827-193.928-142.757-34.244 72.928-108.126 142.757-193.971 142.757-118.337 0-214.379-96.053-214.379-214.4 0-240.73 242.845-303.852 408.348-541.85 156.437 236.525 408.313 308.804 408.313 541.85 0 118.347-96.046 214.4-214.383 214.4z" />
<glyph unicode="&#xf057;" glyph-name="video" d="M576 768c-35.347 0-64-28.653-64-64s28.653-64 64-64 64 28.653 64 64-28.653 64-64 64zM896 576l-128-128v64c0 30.625-21.515 56.21-50.25 62.503 31.208 34.143 50.25 79.594 50.25 129.495 0 106.040-85.961 192.002-192 192.002-101.123 0-183.986-78.178-191.45-177.393-34.034 30.699-79.108 49.393-128.55 49.393-106.038 0-192-85.962-192-192.002 0-106.037 85.962-191.998 192-191.998h-64v-128h64v-128c0-35.347 28.653-64 64-64h384c35.347 0 64 28.653 64 64v64l128-128h64v512h-64zM256 640c-35.347 0-64-28.653-64-64s28.653-64 64-64v-64c-70.692 0-128 57.308-128 127.999 0 70.693 57.308 128.001 128 128.001s128-57.307 128-128h-64c0 35.347-28.653 64-64 64zM576 256h-128v128h128v-128zM704 365.213c-33.526 33.547-70.276 70.317-73.373 73.414-5.79 5.791-13.79 9.373-22.627 9.373h-192c-17.674 0-32-14.326-32-32v-192c0-8.329 3.183-15.915 8.396-21.607 0.53-0.58 39.123-39.164 74.409-74.393h-114.805c-17.674 0-32 14.326-32 32v320c0 17.674 14.326 32 32 32h320c17.674 0 32-14.326 32-32v-114.787zM576 576c-70.692 0-128 57.308-128 127.999 0 70.693 57.308 128.001 128 128.001s128-57.308 128-128.001c0-70.691-57.308-127.999-128-127.999zM896 256l-64 64 0.082 128.084 63.918 63.918v-256.002z" />
<glyph unicode="&#xf0ee;" glyph-name="upload" horiz-adv-x="1097" d="M731.429 457.143q0 8-5.143 13.143l-201.143 201.143q-5.143 5.143-13.143 5.143t-13.143-5.143l-200.571-200.571q-5.714-6.857-5.714-13.714 0-8 5.143-13.143t13.143-5.143h128v-201.143q0-7.429 5.429-12.857t12.857-5.429h109.714q7.429 0 12.857 5.429t5.429 12.857v201.143h128q7.429 0 12.857 5.429t5.429 12.857zM1097.143 292.571q0-90.857-64.286-155.143t-155.143-64.286h-621.714q-105.714 0-180.857 75.143t-75.143 180.857q0 74.286 40 137.143t107.429 94.286q-1.143 17.143-1.143 24.571 0 121.143 85.714 206.857t206.857 85.714q89.143 0 163.143-49.714t107.714-132q40.571 35.429 94.857 35.429 60.571 0 103.429-42.857t42.857-103.429q0-43.429-23.429-78.857 74.286-17.714 122-77.429t47.714-136.286z" />
......
No preview for this file type
No preview for this file type
......@@ -4,157 +4,62 @@
{
"icon": {
"paths": [
"M731.429 502.857q0-8-5.143-13.143l-201.143-201.143q-5.143-5.143-13.143-5.143t-13.143 5.143l-200.571 200.571q-5.714 6.857-5.714 13.714 0 8 5.143 13.143t13.143 5.143h128v201.143q0 7.429 5.429 12.857t12.857 5.429h109.714q7.429 0 12.857-5.429t5.429-12.857v-201.143h128q7.429 0 12.857-5.429t5.429-12.857zM1097.143 667.429q0 90.857-64.286 155.143t-155.143 64.286h-621.714q-105.714 0-180.857-75.143t-75.143-180.857q0-74.286 40-137.143t107.429-94.286q-1.143-17.143-1.143-24.571 0-121.143 85.714-206.857t206.857-85.714q89.143 0 163.143 49.714t107.714 132q40.571-35.429 94.857-35.429 60.571 0 103.429 42.857t42.857 103.429q0 43.429-23.429 78.857 74.286 17.714 122 77.429t47.714 136.286z"
"M832 320h-192v-320h-256v320h-192l320 384 320-384zM192 1024h640v-192h-640v192z"
],
"width": 1097,
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"defaultCode": 61678,
"grid": 0
},
"attrs": [],
"properties": {
"id": 0,
"order": 61,
"ligatures": "",
"prevSize": 32,
"code": 61678,
"name": "upload"
},
"setIdx": 0,
"setId": 6,
"iconIdx": 0
},
{
"icon": {
"paths": [
"M852.199 31.998h-680.228c-85.031 0-155.887 70.855-155.887 155.886v680.229c0 85.031 70.856 155.887 155.887 155.887h680.228c85.031 0 155.887-70.856 155.887-155.887v-680.228c-0.001-85.031-70.857-155.887-155.887-155.887zM586.966 664.125l-148.653 148.496c-64.179 64.040-169.159 64.040-233.329 0l-2.782-2.781c-64.174-64.036-64.174-168.916 0-233.039l104.051-103.775c-0.527 30.558 5.038 61.305 16.695 90.102l-67.262 67.171c-34.845 34.71-34.845 91.344 0 126.139l2.781 2.776c34.845 34.751 91.511 34.751 126.36 0l148.702-148.455c34.845-34.799 34.845-91.421 0-126.18l-2.781-2.776c-5.436-5.428-11.439-9.92-17.802-13.671l54.371-54.339c5.872 4.454 11.572 9.263 16.912 14.599h0.004l2.735 2.735c64.084 64.038 64.084 168.919-0.002 233zM803.906 447.444l-104.005 103.821c0.527-30.565-4.994-61.263-16.657-90.063l67.221-67.171c34.849-34.751 34.849-91.381 0-126.181l-2.781-2.735c-34.845-34.8-91.511-34.8-126.267 0l-148.748 148.455c-34.85 34.799-34.85 91.422 0 126.221l2.739 2.694c5.432 5.424 11.439 9.965 17.797 13.674l-54.407 54.38c-5.832-4.5-11.526-9.308-16.871-14.649l-2.745-2.689c-64.171-64.125-64.171-168.961 0-233.039l148.663-148.5c64.171-64.081 169.151-64.081 233.321 0l2.785 2.777v0.004c64.176 64.077 64.176 168.912-0.040 232.998z"
"attrs": [
{}
],
"attrs": [],
"width": 1024,
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"复制"
"move-down"
],
"grid": 0
},
"attrs": [],
"properties": {
"order": 4,
"id": 1,
"prevSize": 32,
"code": 59656,
"name": "copy"
},
"setIdx": 0,
"setId": 6,
"iconIdx": 1
"grid": 16
},
{
"icon": {
"paths": [
"M479.087 638.77l-112.283-112.308c-9.896-9.893-23.061-15.347-37.052-15.347-14.004 0-27.155 5.457-37.035 15.348-9.894 9.895-15.351 23.062-15.355 37.060-0.004 14.009 5.44 27.16 15.326 37.030l149.332 149.339c9.896 9.896 23.058 15.351 37.045 15.351 12.175 0 23.715-4.13 33.028-11.723l3.315-0.009 2.353-5.277 234.067-234.035c20.386-20.418 20.386-53.643-0.006-74.076-9.897-9.896-23.063-15.352-37.057-15.352s-27.16 5.447-37.057 15.353l-198.621 198.645z",
"M846.717 438.045c7.788 21.634 13.405 44 16.821 66.768l2.281 15.131 108.674-3.964-2.467-18.658c-4.338-33.052-12.193-65.556-23.509-96.883l-5.917-16.269-101.626 37.938 5.733 15.938z",
"M784.243 328.908l3.23 4.213c2.666 4.855 6.037 9.264 9.963 13.111 11.425 15.368 21.666 31.653 30.477 48.666l6.974 13.521 101.912-38.087-8.371-17.005c-11.325-22.979-24.56-44.997-39.538-65.802-7.72-21.54-28.309-36.944-52.499-36.944-30.798 0-55.77 24.971-55.77 55.77 0 7.774 1.595 15.174 4.468 21.894l-0.848 0.662z",
"M975.913 548.37l-0.368-17.407-108.337 3.936 0.256 16.821c0.044 2.123 0.073 4.288 0.073 6.43 0 21.852-1.981 43.626-5.99 65.11l-2.801 15.168 104.233 30.924 3.714-18.323c6.203-30.551 9.295-61.688 9.295-92.87-0.001-3.266-0.001-6.503-0.074-9.771z",
"M849.954 668.826c-17.341 53.032-47.082 101.253-86.559 140.691-66.878 66.908-156.743 104.152-251.386 104.152-94.61 0-184.473-37.244-251.357-104.152-66.903-66.907-104.147-156.742-104.147-251.385 0-94.608 37.244-184.472 104.147-251.351 50.032-50.053 113.489-83.943 182.612-97.503l-0.145 94.939 262.144-150.681-261.563-151.683-0.213 97.357c-98.278 14.543-189.068 60.414-259.543 130.854-87.252 87.296-135.913 204.634-135.913 328.073 0 123.469 48.657 240.807 135.913 328.069 87.301 87.3 204.639 135.933 328.074 135.933 123.468 0 240.806-48.633 328.107-135.933 51.996-51.996 91.076-115.651 113.625-185.642l5.36-16.716-103.933-30.851-5.213 15.829z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"iconfont-iconfonttime"
"attrs": [
{}
],
"grid": 0
},
"attrs": [],
"properties": {
"order": 5,
"id": 2,
"order": 83,
"id": 61,
"name": "move-down",
"prevSize": 32,
"code": 59654,
"name": "time"
"code": 59658
},
"setIdx": 0,
"setId": 6,
"iconIdx": 2
"setId": 4,
"iconIdx": 0
},
{
"icon": {
"paths": [
"M769.144 750.249q0-35.999-25.151-66.27t-58.846-30.271q-29.727 0-47.423 21.151t-17.727 53.726 20.863 54.27 59.71 21.727q28.575 0 48.574-15.424t19.999-38.847zM420.579 822.822q0 6.848-5.728 13.728l-182.266 182.266q-5.728 5.152-13.152 5.152-6.848 0-13.152-5.152l-182.842-182.842q-8.576-9.152-4-19.999 4.576-11.424 17.151-11.424h109.725v-786.247q0-8 5.152-13.152t13.152-5.152h109.725q8 0 13.152 5.152t5.152 13.152v786.247h109.725q8 0 13.152 5.152t5.152 13.152zM849.141 783.4q0 35.423-7.424 69.438t-23.423 65.15-38.847 54.558-56.286 37.439-72.862 14.016q-35.423 0-61.726-9.152-13.728-4.576-23.999-8.576l22.271-64.574q8.576 4 17.727 6.272 21.151 7.424 42.847 7.424 47.999 0 76.862-33.439t38.015-83.133h-1.152q-12 13.152-35.135 21.151t-48.286 8q-60.574 0-98.845-40.863t-38.271-98.557q0-59.998 41.151-101.725t103.421-41.727q70.27 0 117.148 54.014t46.847 144.283zM831.99 373.716v65.15h-267.992v-65.15h95.421v-246.84q0-4 0.288-10.848t0.288-9.728v-9.152h-1.152l-4 6.848q-4.576 7.424-14.848 17.727l-35.423 33.151-46.847-49.15 109.725-105.725h70.27v373.716h94.269z"
"M192 704h192v320h256v-320h192l-320-384-320 384zM192 0v192h640v-192h-640z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"iconfont-sortnumericasc"
],
"grid": 0
},
"attrs": [],
"properties": {
"order": 3,
"id": 3,
"prevSize": 32,
"code": 59653,
"name": "sortasc"
},
"setIdx": 0,
"setId": 6,
"iconIdx": 3
},
{
"icon": {
"paths": [
"M128 992v-512h96v-160c0-141.376 114.592-256 256-256h32c141.376 0 256 114.624 256 256v160h96v512h-736zM471.808 729.184l-23.808 166.816h96l-23.84-166.816c23.328-9.536 39.84-32.416 39.84-59.2 0-35.328-28.672-64-64-64-35.36 0-64 28.672-64 64 0 26.784 16.48 49.664 39.808 59.2zM672 336c0-97.216-78.816-176-176-176-97.216 0-176 78.784-176 176v144h352v-144z"
"attrs": [
{}
],
"attrs": [],
"width": 1024,
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"locked",
"secure"
"move-up"
],
"grid": 32
},
"attrs": [],
"properties": {
"order": 6,
"id": 0,
"prevSize": 32,
"code": 58910,
"name": "locked"
},
"setIdx": 1,
"setId": 5,
"iconIdx": 0
"grid": 16
},
{
"icon": {
"paths": [
"M1002.667 120.124l-391.876 391.876 391.876 391.876-98.791 98.791-391.876-391.876-391.876 391.876-98.791-98.791 391.876-391.876-391.876-391.876 98.791-98.791 391.876 391.876 391.876-391.876z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"close"
"attrs": [
{}
],
"grid": 24
},
"attrs": [],
"properties": {
"order": 1,
"id": 0,
"prevSize": 24,
"code": 59657,
"name": "close"
"order": 84,
"id": 62,
"name": "move-up",
"prevSize": 32,
"code": 59659
},
"setIdx": 2,
"setIdx": 0,
"setId": 4,
"iconIdx": 0
"iconIdx": 1
},
{
"icon": {
......@@ -171,15 +76,15 @@
},
"attrs": [],
"properties": {
"order": 7,
"id": 0,
"order": 87,
"id": 6,
"prevSize": 32,
"code": 59648,
"name": "points"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 0
"setIdx": 0,
"setId": 4,
"iconIdx": 4
},
{
"icon": {
......@@ -202,15 +107,15 @@
},
"attrs": [],
"properties": {
"order": 8,
"id": 1,
"order": 88,
"id": 7,
"prevSize": 32,
"code": 59652,
"name": "goods"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 1
"setIdx": 0,
"setId": 4,
"iconIdx": 5
},
{
"icon": {
......@@ -228,16 +133,16 @@
},
"attrs": [],
"properties": {
"id": 2,
"order": 9,
"id": 8,
"order": 89,
"ligatures": "",
"prevSize": 32,
"code": 57344,
"name": "bold"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 2
"setIdx": 0,
"setId": 4,
"iconIdx": 6
},
{
"icon": {
......@@ -252,16 +157,16 @@
},
"attrs": [],
"properties": {
"id": 3,
"order": 10,
"id": 9,
"order": 90,
"ligatures": "",
"prevSize": 32,
"code": 57345,
"name": "italic"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 3
"setIdx": 0,
"setId": 4,
"iconIdx": 7
},
{
"icon": {
......@@ -276,16 +181,16 @@
},
"attrs": [],
"properties": {
"id": 4,
"order": 11,
"id": 10,
"order": 91,
"ligatures": "",
"prevSize": 32,
"code": 57347,
"name": "quote"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 4
"setIdx": 0,
"setId": 4,
"iconIdx": 8
},
{
"icon": {
......@@ -300,16 +205,16 @@
},
"attrs": [],
"properties": {
"id": 5,
"order": 12,
"id": 11,
"order": 92,
"ligatures": "",
"prevSize": 32,
"code": 57348,
"name": "unordered-list"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 5
"setIdx": 0,
"setId": 4,
"iconIdx": 9
},
{
"icon": {
......@@ -324,16 +229,16 @@
},
"attrs": [],
"properties": {
"id": 6,
"order": 13,
"id": 12,
"order": 93,
"ligatures": "",
"prevSize": 32,
"code": 57349,
"name": "ordered-list"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 6
"setIdx": 0,
"setId": 4,
"iconIdx": 10
},
{
"icon": {
......@@ -348,16 +253,16 @@
},
"attrs": [],
"properties": {
"id": 7,
"order": 14,
"id": 13,
"order": 94,
"ligatures": "",
"prevSize": 32,
"code": 57350,
"name": "link"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 7
"setIdx": 0,
"setId": 4,
"iconIdx": 11
},
{
"icon": {
......@@ -372,16 +277,16 @@
},
"attrs": [],
"properties": {
"id": 8,
"order": 15,
"id": 14,
"order": 95,
"ligatures": "",
"prevSize": 32,
"code": 57351,
"name": "image"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 8
"setIdx": 0,
"setId": 4,
"iconIdx": 12
},
{
"icon": {
......@@ -396,16 +301,16 @@
},
"attrs": [],
"properties": {
"id": 9,
"order": 16,
"id": 15,
"order": 96,
"ligatures": "",
"prevSize": 32,
"code": 57352,
"name": "play"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 9
"setIdx": 0,
"setId": 4,
"iconIdx": 13
},
{
"icon": {
......@@ -420,16 +325,16 @@
},
"attrs": [],
"properties": {
"id": 10,
"order": 17,
"id": 16,
"order": 97,
"ligatures": "",
"prevSize": 32,
"code": 57353,
"name": "music"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 10
"setIdx": 0,
"setId": 4,
"iconIdx": 14
},
{
"icon": {
......@@ -444,16 +349,16 @@
},
"attrs": [],
"properties": {
"id": 11,
"order": 18,
"id": 17,
"order": 98,
"ligatures": "",
"prevSize": 32,
"code": 57354,
"name": "contract"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 11
"setIdx": 0,
"setId": 4,
"iconIdx": 15
},
{
"icon": {
......@@ -468,16 +373,16 @@
},
"attrs": [],
"properties": {
"id": 12,
"order": 19,
"id": 18,
"order": 99,
"ligatures": "",
"prevSize": 32,
"code": 57355,
"name": "fullscreen"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 12
"setIdx": 0,
"setId": 4,
"iconIdx": 16
},
{
"icon": {
......@@ -492,16 +397,16 @@
},
"attrs": [],
"properties": {
"id": 13,
"order": 20,
"id": 19,
"order": 100,
"ligatures": "",
"prevSize": 32,
"code": 57356,
"name": "question"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 13
"setIdx": 0,
"setId": 4,
"iconIdx": 17
},
{
"icon": {
......@@ -516,16 +421,16 @@
},
"attrs": [],
"properties": {
"id": 14,
"order": 21,
"id": 20,
"order": 101,
"ligatures": "",
"prevSize": 32,
"code": 57357,
"name": "info"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 14
"setIdx": 0,
"setId": 4,
"iconIdx": 18
},
{
"icon": {
......@@ -540,16 +445,16 @@
},
"attrs": [],
"properties": {
"id": 15,
"order": 22,
"id": 21,
"order": 102,
"ligatures": "",
"prevSize": 32,
"code": 57358,
"name": "undo"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 15
"setIdx": 0,
"setId": 4,
"iconIdx": 19
},
{
"icon": {
......@@ -564,16 +469,16 @@
},
"attrs": [],
"properties": {
"id": 16,
"order": 23,
"id": 22,
"order": 103,
"ligatures": "",
"prevSize": 32,
"code": 57359,
"name": "redo"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 16
"setIdx": 0,
"setId": 4,
"iconIdx": 20
},
{
"icon": {
......@@ -588,16 +493,16 @@
},
"attrs": [],
"properties": {
"id": 17,
"order": 24,
"id": 23,
"order": 104,
"ligatures": "",
"prevSize": 32,
"code": 57361,
"name": "code"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 17
"setIdx": 0,
"setId": 4,
"iconIdx": 21
},
{
"icon": {
......@@ -612,16 +517,16 @@
},
"attrs": [],
"properties": {
"id": 18,
"order": 25,
"id": 24,
"order": 105,
"ligatures": "",
"prevSize": 32,
"code": 57346,
"name": "preview"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 18
"setIdx": 0,
"setId": 4,
"iconIdx": 22
},
{
"icon": {
......@@ -638,15 +543,15 @@
},
"attrs": [],
"properties": {
"order": 26,
"id": 19,
"order": 106,
"id": 25,
"prevSize": 32,
"code": 59651,
"name": "navigation"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 19
"setIdx": 0,
"setId": 4,
"iconIdx": 23
},
{
"icon": {
......@@ -663,15 +568,15 @@
},
"attrs": [],
"properties": {
"order": 27,
"id": 20,
"order": 107,
"id": 26,
"prevSize": 32,
"code": 59649,
"name": "thumbs-down"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 20
"setIdx": 0,
"setId": 4,
"iconIdx": 24
},
{
"icon": {
......@@ -688,15 +593,15 @@
},
"attrs": [],
"properties": {
"order": 28,
"id": 21,
"order": 108,
"id": 27,
"prevSize": 32,
"code": 59650,
"name": "thumbs-up"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 21
"setIdx": 0,
"setId": 4,
"iconIdx": 25
},
{
"icon": {
......@@ -714,15 +619,15 @@
},
"attrs": [],
"properties": {
"id": 22,
"order": 29,
"id": 28,
"order": 109,
"prevSize": 32,
"code": 61527,
"name": "video"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 22
"setIdx": 0,
"setId": 4,
"iconIdx": 26
},
{
"icon": {
......@@ -743,15 +648,15 @@
},
"attrs": [],
"properties": {
"order": 30,
"id": 23,
"order": 110,
"id": 29,
"prevSize": 32,
"code": 58911,
"name": "feed"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 23
"setIdx": 0,
"setId": 4,
"iconIdx": 27
},
{
"icon": {
......@@ -768,15 +673,15 @@
},
"attrs": [],
"properties": {
"order": 31,
"id": 24,
"order": 111,
"id": 30,
"prevSize": 32,
"code": 58909,
"name": "article"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 24
"setIdx": 0,
"setId": 4,
"iconIdx": 28
},
{
"icon": {
......@@ -802,15 +707,15 @@
}
],
"properties": {
"id": 25,
"order": 32,
"id": 31,
"order": 112,
"prevSize": 32,
"code": 58880,
"name": "star"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 25
"setIdx": 0,
"setId": 4,
"iconIdx": 29
},
{
"icon": {
......@@ -837,15 +742,15 @@
}
],
"properties": {
"id": 27,
"order": 34,
"id": 32,
"order": 113,
"prevSize": 32,
"code": 58882,
"name": "register"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 27
"setIdx": 0,
"setId": 4,
"iconIdx": 30
},
{
"icon": {
......@@ -871,15 +776,15 @@
}
],
"properties": {
"id": 28,
"order": 35,
"id": 33,
"order": 114,
"prevSize": 32,
"code": 58883,
"name": "logout"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 28
"setIdx": 0,
"setId": 4,
"iconIdx": 31
},
{
"icon": {
......@@ -905,15 +810,15 @@
}
],
"properties": {
"id": 29,
"order": 36,
"id": 34,
"order": 115,
"prevSize": 32,
"code": 58884,
"name": "setting"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 29
"setIdx": 0,
"setId": 4,
"iconIdx": 32
},
{
"icon": {
......@@ -939,15 +844,15 @@
}
],
"properties": {
"id": 30,
"order": 37,
"id": 35,
"order": 116,
"prevSize": 32,
"code": 58885,
"name": "google"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 30
"setIdx": 0,
"setId": 4,
"iconIdx": 33
},
{
"icon": {
......@@ -973,15 +878,15 @@
}
],
"properties": {
"id": 31,
"order": 38,
"id": 36,
"order": 117,
"prevSize": 32,
"code": 58886,
"name": "search"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 31
"setIdx": 0,
"setId": 4,
"iconIdx": 34
},
{
"icon": {
......@@ -1007,15 +912,15 @@
}
],
"properties": {
"id": 32,
"order": 39,
"id": 37,
"order": 118,
"prevSize": 32,
"code": 58887,
"name": "weibo"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 32
"setIdx": 0,
"setId": 4,
"iconIdx": 35
},
{
"icon": {
......@@ -1041,15 +946,15 @@
}
],
"properties": {
"id": 33,
"order": 40,
"id": 38,
"order": 119,
"prevSize": 32,
"code": 58888,
"name": "date"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 33
"setIdx": 0,
"setId": 4,
"iconIdx": 36
},
{
"icon": {
......@@ -1075,15 +980,15 @@
}
],
"properties": {
"id": 34,
"order": 41,
"id": 39,
"order": 120,
"prevSize": 32,
"code": 58889,
"name": "view"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 34
"setIdx": 0,
"setId": 4,
"iconIdx": 37
},
{
"icon": {
......@@ -1109,15 +1014,15 @@
}
],
"properties": {
"id": 35,
"order": 42,
"id": 40,
"order": 121,
"prevSize": 32,
"code": 58890,
"name": "cmts"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 35
"setIdx": 0,
"setId": 4,
"iconIdx": 38
},
{
"icon": {
......@@ -1143,15 +1048,15 @@
}
],
"properties": {
"id": 36,
"order": 43,
"id": 41,
"order": 122,
"prevSize": 32,
"code": 58891,
"name": "refresh"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 36
"setIdx": 0,
"setId": 4,
"iconIdx": 39
},
{
"icon": {
......@@ -1177,15 +1082,15 @@
}
],
"properties": {
"id": 37,
"order": 44,
"id": 42,
"order": 123,
"prevSize": 32,
"code": 58892,
"name": "up"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 37
"setIdx": 0,
"setId": 4,
"iconIdx": 40
},
{
"icon": {
......@@ -1211,15 +1116,15 @@
}
],
"properties": {
"id": 38,
"order": 45,
"id": 43,
"order": 124,
"prevSize": 32,
"code": 58893,
"name": "twitter"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 38
"setIdx": 0,
"setId": 4,
"iconIdx": 41
},
{
"icon": {
......@@ -1245,15 +1150,15 @@
}
],
"properties": {
"id": 39,
"order": 46,
"id": 44,
"order": 125,
"prevSize": 32,
"code": 58894,
"name": "edit"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 39
"setIdx": 0,
"setId": 4,
"iconIdx": 42
},
{
"icon": {
......@@ -1279,15 +1184,15 @@
}
],
"properties": {
"id": 40,
"order": 47,
"id": 45,
"order": 126,
"prevSize": 32,
"code": 58895,
"name": "tencent"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 40
"setIdx": 0,
"setId": 4,
"iconIdx": 43
},
{
"icon": {
......@@ -1313,15 +1218,15 @@
}
],
"properties": {
"id": 41,
"order": 48,
"id": 46,
"order": 127,
"prevSize": 32,
"code": 58896,
"name": "tag"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 41
"setIdx": 0,
"setId": 4,
"iconIdx": 44
},
{
"icon": {
......@@ -1348,15 +1253,15 @@
}
],
"properties": {
"id": 42,
"order": 49,
"id": 47,
"order": 128,
"prevSize": 32,
"code": 58897,
"name": "tags"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 42
"setIdx": 0,
"setId": 4,
"iconIdx": 45
},
{
"icon": {
......@@ -1382,15 +1287,15 @@
}
],
"properties": {
"id": 43,
"order": 50,
"id": 48,
"order": 129,
"prevSize": 32,
"code": 58898,
"name": "addfile"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 43
"setIdx": 0,
"setId": 4,
"iconIdx": 46
},
{
"icon": {
......@@ -1416,15 +1321,15 @@
}
],
"properties": {
"id": 44,
"order": 51,
"id": 49,
"order": 130,
"prevSize": 32,
"code": 58899,
"name": "login"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 44
"setIdx": 0,
"setId": 4,
"iconIdx": 47
},
{
"icon": {
......@@ -1450,15 +1355,15 @@
}
],
"properties": {
"id": 45,
"order": 52,
"id": 50,
"order": 131,
"prevSize": 32,
"code": 58900,
"name": "articles"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 45
"setIdx": 0,
"setId": 4,
"iconIdx": 48
},
{
"icon": {
......@@ -1485,15 +1390,15 @@
}
],
"properties": {
"id": 46,
"order": 53,
"id": 51,
"order": 132,
"prevSize": 32,
"code": 58901,
"name": "userrole"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 46
"setIdx": 0,
"setId": 4,
"iconIdx": 49
},
{
"icon": {
......@@ -1519,15 +1424,15 @@
}
],
"properties": {
"id": 47,
"order": 54,
"id": 52,
"order": 133,
"prevSize": 32,
"code": 58902,
"name": "email"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 47
"setIdx": 0,
"setId": 4,
"iconIdx": 50
},
{
"icon": {
......@@ -1553,15 +1458,15 @@
}
],
"properties": {
"id": 48,
"order": 55,
"id": 53,
"order": 134,
"prevSize": 32,
"code": 58903,
"name": "flag"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 48
"setIdx": 0,
"setId": 4,
"iconIdx": 51
},
{
"icon": {
......@@ -1588,15 +1493,15 @@
}
],
"properties": {
"id": 49,
"order": 56,
"id": 54,
"order": 135,
"prevSize": 32,
"code": 58904,
"name": "chevron-down"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 49
"setIdx": 0,
"setId": 4,
"iconIdx": 52
},
{
"icon": {
......@@ -1623,15 +1528,15 @@
}
],
"properties": {
"id": 50,
"order": 57,
"id": 55,
"order": 136,
"prevSize": 32,
"code": 58905,
"name": "chevron-up"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 50
"setIdx": 0,
"setId": 4,
"iconIdx": 53
},
{
"icon": {
......@@ -1657,15 +1562,15 @@
}
],
"properties": {
"id": 51,
"order": 58,
"id": 56,
"order": 137,
"prevSize": 32,
"code": 58906,
"name": "reply"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 51
"setIdx": 0,
"setId": 4,
"iconIdx": 54
},
{
"icon": {
......@@ -1691,15 +1596,15 @@
}
],
"properties": {
"id": 52,
"order": 59,
"id": 57,
"order": 138,
"prevSize": 32,
"code": 58907,
"name": "clock"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 52
"setIdx": 0,
"setId": 4,
"iconIdx": 55
},
{
"icon": {
......@@ -1725,21 +1630,24 @@
}
],
"properties": {
"id": 53,
"order": 60,
"id": 58,
"order": 139,
"prevSize": 32,
"code": 58908,
"name": "compass"
},
"setIdx": 3,
"setId": 3,
"iconIdx": 53
"setIdx": 0,
"setId": 4,
"iconIdx": 56
},
{
"icon": {
"paths": [
"M705.949 133.875c-85.838 0-159.71 69.827-193.928 142.757-34.244-72.928-108.126-142.757-193.971-142.757-118.337 0-214.379 96.053-214.379 214.4 0 240.73 242.845 303.852 408.348 541.85 156.437-236.525 408.313-308.804 408.313-541.85 0-118.347-96.046-214.4-214.383-214.4z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"heart",
"like",
......@@ -1747,21 +1655,71 @@
"favorite"
],
"defaultCode": 59866,
"grid": 16,
"attrs": []
"grid": 16
},
"attrs": [],
"properties": {
"ligatures": "heart, like",
"name": "heart",
"order": 2,
"id": 219,
"order": 140,
"id": 59,
"prevSize": 32,
"code": 59866
},
"setIdx": 5,
"setId": 1,
"iconIdx": 218
"setIdx": 0,
"setId": 4,
"iconIdx": 57
},
{
"icon": {
"paths": [
"M128 992v-512h96v-160c0-141.376 114.592-256 256-256h32c141.376 0 256 114.624 256 256v160h96v512h-736zM471.808 729.184l-23.808 166.816h96l-23.84-166.816c23.328-9.536 39.84-32.416 39.84-59.2 0-35.328-28.672-64-64-64-35.36 0-64 28.672-64 64 0 26.784 16.48 49.664 39.808 59.2zM672 336c0-97.216-78.816-176-176-176-97.216 0-176 78.784-176 176v144h352v-144z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"locked",
"secure"
],
"grid": 32
},
"attrs": [],
"properties": {
"order": 85,
"id": 4,
"prevSize": 32,
"code": 58910,
"name": "locked"
},
"setIdx": 0,
"setId": 4,
"iconIdx": 2
},
{
"icon": {
"paths": [
"M1002.667 120.124l-391.876 391.876 391.876 391.876-98.791 98.791-391.876-391.876-391.876 391.876-98.791-98.791 391.876-391.876-391.876-391.876 98.791-98.791 391.876 391.876 391.876-391.876z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"close"
],
"grid": 24
},
"attrs": [],
"properties": {
"order": 86,
"id": 5,
"prevSize": 24,
"code": 59657,
"name": "close"
},
"setIdx": 0,
"setId": 4,
"iconIdx": 3
},
{
"icon": {
......@@ -1780,15 +1738,119 @@
},
"attrs": [],
"properties": {
"order": 2,
"id": 0,
"order": 141,
"id": 60,
"prevSize": 28,
"code": 59655,
"name": "wechat"
},
"setIdx": 4,
"setId": 2,
"iconIdx": 0
"setIdx": 0,
"setId": 4,
"iconIdx": 58
},
{
"icon": {
"paths": [
"M731.429 502.857q0-8-5.143-13.143l-201.143-201.143q-5.143-5.143-13.143-5.143t-13.143 5.143l-200.571 200.571q-5.714 6.857-5.714 13.714 0 8 5.143 13.143t13.143 5.143h128v201.143q0 7.429 5.429 12.857t12.857 5.429h109.714q7.429 0 12.857-5.429t5.429-12.857v-201.143h128q7.429 0 12.857-5.429t5.429-12.857zM1097.143 667.429q0 90.857-64.286 155.143t-155.143 64.286h-621.714q-105.714 0-180.857-75.143t-75.143-180.857q0-74.286 40-137.143t107.429-94.286q-1.143-17.143-1.143-24.571 0-121.143 85.714-206.857t206.857-85.714q89.143 0 163.143 49.714t107.714 132q40.571-35.429 94.857-35.429 60.571 0 103.429 42.857t42.857 103.429q0 43.429-23.429 78.857 74.286 17.714 122 77.429t47.714 136.286z"
],
"width": 1097,
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"defaultCode": 61678,
"grid": 0
},
"attrs": [],
"properties": {
"id": 0,
"order": 142,
"ligatures": "",
"prevSize": 32,
"code": 61678,
"name": "upload"
},
"setIdx": 0,
"setId": 4,
"iconIdx": 59
},
{
"icon": {
"paths": [
"M852.199 31.998h-680.228c-85.031 0-155.887 70.855-155.887 155.886v680.229c0 85.031 70.856 155.887 155.887 155.887h680.228c85.031 0 155.887-70.856 155.887-155.887v-680.228c-0.001-85.031-70.857-155.887-155.887-155.887zM586.966 664.125l-148.653 148.496c-64.179 64.040-169.159 64.040-233.329 0l-2.782-2.781c-64.174-64.036-64.174-168.916 0-233.039l104.051-103.775c-0.527 30.558 5.038 61.305 16.695 90.102l-67.262 67.171c-34.845 34.71-34.845 91.344 0 126.139l2.781 2.776c34.845 34.751 91.511 34.751 126.36 0l148.702-148.455c34.845-34.799 34.845-91.421 0-126.18l-2.781-2.776c-5.436-5.428-11.439-9.92-17.802-13.671l54.371-54.339c5.872 4.454 11.572 9.263 16.912 14.599h0.004l2.735 2.735c64.084 64.038 64.084 168.919-0.002 233zM803.906 447.444l-104.005 103.821c0.527-30.565-4.994-61.263-16.657-90.063l67.221-67.171c34.849-34.751 34.849-91.381 0-126.181l-2.781-2.735c-34.845-34.8-91.511-34.8-126.267 0l-148.748 148.455c-34.85 34.799-34.85 91.422 0 126.221l2.739 2.694c5.432 5.424 11.439 9.965 17.797 13.674l-54.407 54.38c-5.832-4.5-11.526-9.308-16.871-14.649l-2.745-2.689c-64.171-64.125-64.171-168.961 0-233.039l148.663-148.5c64.171-64.081 169.151-64.081 233.321 0l2.785 2.777v0.004c64.176 64.077 64.176 168.912-0.040 232.998z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"复制"
],
"grid": 0
},
"attrs": [],
"properties": {
"order": 143,
"id": 1,
"prevSize": 32,
"code": 59656,
"name": "copy"
},
"setIdx": 0,
"setId": 4,
"iconIdx": 60
},
{
"icon": {
"paths": [
"M479.087 638.77l-112.283-112.308c-9.896-9.893-23.061-15.347-37.052-15.347-14.004 0-27.155 5.457-37.035 15.348-9.894 9.895-15.351 23.062-15.355 37.060-0.004 14.009 5.44 27.16 15.326 37.030l149.332 149.339c9.896 9.896 23.058 15.351 37.045 15.351 12.175 0 23.715-4.13 33.028-11.723l3.315-0.009 2.353-5.277 234.067-234.035c20.386-20.418 20.386-53.643-0.006-74.076-9.897-9.896-23.063-15.352-37.057-15.352s-27.16 5.447-37.057 15.353l-198.621 198.645z",
"M846.717 438.045c7.788 21.634 13.405 44 16.821 66.768l2.281 15.131 108.674-3.964-2.467-18.658c-4.338-33.052-12.193-65.556-23.509-96.883l-5.917-16.269-101.626 37.938 5.733 15.938z",
"M784.243 328.908l3.23 4.213c2.666 4.855 6.037 9.264 9.963 13.111 11.425 15.368 21.666 31.653 30.477 48.666l6.974 13.521 101.912-38.087-8.371-17.005c-11.325-22.979-24.56-44.997-39.538-65.802-7.72-21.54-28.309-36.944-52.499-36.944-30.798 0-55.77 24.971-55.77 55.77 0 7.774 1.595 15.174 4.468 21.894l-0.848 0.662z",
"M975.913 548.37l-0.368-17.407-108.337 3.936 0.256 16.821c0.044 2.123 0.073 4.288 0.073 6.43 0 21.852-1.981 43.626-5.99 65.11l-2.801 15.168 104.233 30.924 3.714-18.323c6.203-30.551 9.295-61.688 9.295-92.87-0.001-3.266-0.001-6.503-0.074-9.771z",
"M849.954 668.826c-17.341 53.032-47.082 101.253-86.559 140.691-66.878 66.908-156.743 104.152-251.386 104.152-94.61 0-184.473-37.244-251.357-104.152-66.903-66.907-104.147-156.742-104.147-251.385 0-94.608 37.244-184.472 104.147-251.351 50.032-50.053 113.489-83.943 182.612-97.503l-0.145 94.939 262.144-150.681-261.563-151.683-0.213 97.357c-98.278 14.543-189.068 60.414-259.543 130.854-87.252 87.296-135.913 204.634-135.913 328.073 0 123.469 48.657 240.807 135.913 328.069 87.301 87.3 204.639 135.933 328.074 135.933 123.468 0 240.806-48.633 328.107-135.933 51.996-51.996 91.076-115.651 113.625-185.642l5.36-16.716-103.933-30.851-5.213 15.829z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"iconfont-iconfonttime"
],
"grid": 0
},
"attrs": [],
"properties": {
"order": 144,
"id": 2,
"prevSize": 32,
"code": 59654,
"name": "time"
},
"setIdx": 0,
"setId": 4,
"iconIdx": 61
},
{
"icon": {
"paths": [
"M769.144 750.249q0-35.999-25.151-66.27t-58.846-30.271q-29.727 0-47.423 21.151t-17.727 53.726 20.863 54.27 59.71 21.727q28.575 0 48.574-15.424t19.999-38.847zM420.579 822.822q0 6.848-5.728 13.728l-182.266 182.266q-5.728 5.152-13.152 5.152-6.848 0-13.152-5.152l-182.842-182.842q-8.576-9.152-4-19.999 4.576-11.424 17.151-11.424h109.725v-786.247q0-8 5.152-13.152t13.152-5.152h109.725q8 0 13.152 5.152t5.152 13.152v786.247h109.725q8 0 13.152 5.152t5.152 13.152zM849.141 783.4q0 35.423-7.424 69.438t-23.423 65.15-38.847 54.558-56.286 37.439-72.862 14.016q-35.423 0-61.726-9.152-13.728-4.576-23.999-8.576l22.271-64.574q8.576 4 17.727 6.272 21.151 7.424 42.847 7.424 47.999 0 76.862-33.439t38.015-83.133h-1.152q-12 13.152-35.135 21.151t-48.286 8q-60.574 0-98.845-40.863t-38.271-98.557q0-59.998 41.151-101.725t103.421-41.727q70.27 0 117.148 54.014t46.847 144.283zM831.99 373.716v65.15h-267.992v-65.15h95.421v-246.84q0-4 0.288-10.848t0.288-9.728v-9.152h-1.152l-4 6.848q-4.576 7.424-14.848 17.727l-35.423 33.151-46.847-49.15 109.725-105.725h70.27v373.716h94.269z"
],
"attrs": [],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"iconfont-sortnumericasc"
],
"grid": 0
},
"attrs": [],
"properties": {
"order": 145,
"id": 3,
"prevSize": 32,
"code": 59653,
"name": "sortasc"
},
"setIdx": 0,
"setId": 4,
"iconIdx": 62
}
],
"height": 1024,
......@@ -1821,6 +1883,7 @@
},
"historySize": 100,
"showCodes": false,
"gridSize": 16
"gridSize": 16,
"showGrid": true
}
}
\ No newline at end of file
......@@ -18,7 +18,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.0.1, Apr 7, 2017
* @version 1.0.1.1, Apr 9, 2017
* @since 2.0.0
*/
......@@ -50,7 +50,7 @@ admin.categoryList = {
width: 230
}, {
style: "padding-left: 12px;",
text: Label.linkDescription1Label,
text: Label.descriptionLabel,
index: "categoryDesc",
minWidth: 180
}]);
......@@ -98,17 +98,17 @@ admin.categoryList = {
categoryData[i].linkOrder = "";
} else {
categoryData[i].linkOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'down\');" class="table-downIcon"></span>\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'down\');" class="icon-move-down"></span>\
</div>';
}
} else if (i === categories.length - 1) {
categoryData[i].linkOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
</div>';
} else {
categoryData[i].linkOrder = '<div class="table-center" style="width:38px">\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'down\');" class="table-downIcon"></span>\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'down\');" class="icon-move-down"></span>\
</div>';
}
......
......@@ -2235,11 +2235,11 @@ admin.pageList = {
}
} else if (i === pages.length - 1) {
pageData[i].pageOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
</div>';
} else {
pageData[i].pageOrder = '<div class="table-center" style="width:38px">\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'down\');" class="table-downIcon"></span>\
</div>';
}
......@@ -2790,11 +2790,11 @@ admin.linkList = {
}
} else if (i === links.length - 1) {
linkData[i].linkOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
</div>';
} else {
linkData[i].linkOrder = '<div class="table-center" style="width:38px">\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'down\');" class="table-downIcon"></span>\
</div>';
}
......@@ -3973,7 +3973,7 @@ admin.categoryList = {
}
} else if (i === categories.length - 1) {
categoryData[i].linkOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.categoryList.changeOrder(' + categories[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
</div>';
} else {
categoryData[i].linkOrder = '<div class="table-center" style="width:38px">\
......
......@@ -18,7 +18,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.1.4, Feb 23, 2013
* @version 1.1.1.4, Apr 9, 2017
*/
/* link-list 相关操作 */
......@@ -102,17 +102,17 @@ admin.linkList = {
linkData[i].linkOrder = "";
} else {
linkData[i].linkOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'down\');" class="table-downIcon"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'down\');" class="icon-move-down"></span>\
</div>';
}
} else if (i === links.length - 1) {
linkData[i].linkOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
</div>';
} else {
linkData[i].linkOrder = '<div class="table-center" style="width:38px">\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'down\');" class="table-downIcon"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
<span onclick="admin.linkList.changeOrder(' + links[i].oId + ', ' + i + ', \'down\');" class="icon-move-down"></span>\
</div>';
}
......
......@@ -18,7 +18,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.1.2.5, Nov 8, 2016
* @version 1.2.2.5, Apr 9, 2017
*/
/* page-list 相关操作 */
......@@ -140,16 +140,16 @@ admin.pageList = {
} else {
pageData[i].pageOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'down\');" \
class="table-downIcon"></span></div>';
class="icon-move-down"></span></div>';
}
} else if (i === pages.length - 1) {
pageData[i].pageOrder = '<div class="table-center" style="width:14px">\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
</div>';
} else {
pageData[i].pageOrder = '<div class="table-center" style="width:38px">\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="table-upIcon"></span>\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'down\');" class="table-downIcon"></span>\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'up\');" class="icon-move-up"></span>\
<span onclick="admin.pageList.changeOrder(' + pages[i].oId + ', ' + i + ', \'down\');" class="icon-move-down"></span>\
</div>';
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,7 +16,7 @@
(function(a){var b=function(){};a.extend(b.prototype,{bowknot:{version:"0.0.0.9",author:"lly219@gmail.com"},getDate:function(a,b){var c=new Date(a);var d=c.getFullYear().toString().substr(2,2),e=c.getMonth()+1,f=c.getDate(),g=c.getHours(),h=c.getSeconds(),i=c.getMinutes();switch(b){case undefined:return e+"/"+f+"/"+d;break;case 1:return e+"/"+f+"/"+d+" "+g+":"+i+":"+h;break;default:return false;break}}});a.bowknot=new b})(jQuery);
(function($){$.fn.extend({paginate:{version:"0.0.0.8",author:"lly219@gmail.com"}});var dpuuid=new Date().getTime();var PROP_NAME="paginate";var Paginate=function(){this._defaults={"styleClass":{"pageCountClass":"paginate-pageCount","goPageClass":"paginate-goPage","inputPageClass":"paginate-inputPage","goPageHoverClass":"paginate-goPageHover","prePageClass":"paginate-prePage","nextPageClass":"paginate-nextPage","prePageDisableClass":"paginate-prePageDisable","nextPageDisableClass":"paginate-nextPageDisable","prePageHoverClass":"paginate-prePageHover","nextPageHoverClass":"paginate-nextPageHover","paginateClass":"paginate-paginate"}}};$.extend(Paginate.prototype,{_attach:function(target,settings){if(!target.id){this.uuid++;target.id="dp"+this.uuid}var inst=this._newInst($(target));inst.settings=$.extend({"errorMessage":"input error!"},settings||{});$.data(target,PROP_NAME,inst);this._init(target)},_newInst:function(target){var id=target[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1");return{id:id}},_getInst:function(target){try{return $.data(target,PROP_NAME)}catch(err){throw"Missing instance data for this paginate";}},_init:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;$("#"+id).html("<div id='"+id+"Paginate' class='"+this._getDefaults($.paginate._defaults,settings,"styleClass").paginateClass+"'></div>");this._build(target)},_build:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;var styleClass=this._getDefaults(this._defaults,settings,"styleClass"),pageCount=settings.pageCount,currentPage=settings.currentPage;var prePageHTML="<$tagStart class='button paginate-page'> <span class='button-left'></span> <span class='button-bg'>"+settings.previousPageText+"</span> <span class='button-right'></span> </$tagEnd>",nextPageHTML="<$tagStart class='button paginate-page'> <span class='button-left'></span> <span class='button-bg'>"+settings.nextPageText+"</span> <span class='button-right'></span> </$tagEnd>",pagesHTML="",pageCountHTML="<span class='"+styleClass.pageCountClass+"'>"+currentPage+"/"+pageCount+"</span>",goToPageHTML="<div class='button'> <span class='button-left'></span> <span class='button-bg'> <input class='"+styleClass.inputPageClass+"' id='"+id+"PaginateInput'/> </span> <span class='button-right'></span> </div> <a href='javascript:void(0);' class='button' id='"+id+"PaginateSubmit'> <span class='button-left'></span> <span class='button-bg'>"+settings.goText+"</span> <span class='button-right'></span> </a>";if(currentPage===1||currentPage===0){prePageHTML=prePageHTML.replace("$tagStart","div").replace("$tagEnd","div")}else{prePageHTML=prePageHTML.replace("$tagStart","a href='javascript:void(0)'").replace("$tagEnd","a")}if(currentPage!==pageCount){nextPageHTML=nextPageHTML.replace("$tagStart","a href='javascript:void(0)'").replace("$tagEnd","a")}else{nextPageHTML=nextPageHTML.replace("$tagStart","div").replace("$tagEnd","div")}switch(settings.type){case"taobao":var pages=this._getTaobaoPages(currentPage,pageCount),currentClass="";goToPageHTML="";for(var i=0;i<pages.length;i++){if(currentPage===pages[i].pageNum){currentClass=" pagination-current-page"}else{currentClass=""}pagesHTML+="<span data-page='"+pages[i].pageNum+"' class='pagination-pages"+currentClass+"'>"+pages[i].text+"</span>"}break;case"custom":var pages=settings.custom,currentClass="";for(var i=0;i<pages.length;i++){if(currentPage===pages[i]){currentClass=" pagination-current-page"}else{currentClass=""}pagesHTML+="<span data-page='"+pages[i]+"' class='pagination-pages"+currentClass+"'>"+pages[i]+"</span>"}break;default:break}if(pageCount===1){$("#"+id+"Paginate").html(pageCountHTML)}else{$("#"+id+"Paginate").html(prePageHTML+pagesHTML+nextPageHTML+pageCountHTML+goToPageHTML)}this._bindEvent(target)},_getTaobaoPages:function(currentPage,pageCount){var pagination=[],i=2,len=4,begin=3,end=0,maxEnd=0,pre=0;if(currentPage>=len){begin=currentPage-Math.ceil(len/2);maxEnd=currentPage+Math.ceil(len/2)+1;if(maxEnd<pageCount){end=maxEnd}else{end=pageCount}}else if(currentPage<len){maxEnd=currentPage+Math.ceil(len/2)+1;if(maxEnd<pageCount){end=maxEnd}else{end=pageCount}}if(begin<3){begin=3}for(i=begin;i<=end;i++){pagination.push({"pageNum":i,"text":i})}if(begin>3){pre=2+(begin-2);pagination.unshift({"pageNum":pre,"text":"..."})}if(pageCount<2){i=(currentPage===0)?0:1}else{i=2}for(;i>=1;i=i-1){pagination.unshift({"pageNum":i,"text":i})}if(end<pageCount){pre=end+Math.ceil(len/2);if(pre>pageCount){pre=pageCount}pagination.push({"pageNum":pre,"text":"..."})}return pagination},_bindEvent:function(target){var inst=this._getInst(target);var id=inst.id;$("#"+id+"PaginateInput").bind("keypress",{target:target},function(event){if(event.keyCode===13){$.paginate._goToPageAction(event)}});$("#"+id+"Paginate .pagination-pages").bind("click",{target:target,isPage:true},function(event){$.paginate._goToPageAction(event)});$("#"+id+"PaginateSubmit").bind("click",{target:target},this._goToPageAction);$("#"+id+"Paginate a.paginate-page").bind("click",{target:target,isPage:true},function(event){$.paginate._goToPageAction(event)})},_goToPageAction:function(event){var target=event.data.target;var inst=$.paginate._getInst(target);var id=inst.id,settings=inst.settings;var currentPage=$("#"+id+"PaginateInput").val();if(event.data.isPage){currentPage=settings.currentPage;var text=$(event.target).closest('a').text();if($.trim(text)===settings.previousPageText){currentPage--}else if($.trim(text)===settings.nextPageText){currentPage++}else{currentPage=parseInt($(event.target).data("page"))}}if(settings.currentPage===currentPage){return}var r=/^[0-9]*[1-9][0-9]*$/;if(currentPage>0&&currentPage<=settings.pageCount&&r.test(currentPage)){settings.bind(currentPage)}else{settings.bind(currentPage,settings.errorMessage);$("#"+id+"PaginateInput").val("")}},_updatePaginate:function(target,updateSettings){if(updateSettings){$.extend(this._getInst(target).settings,updateSettings)}this._build(target)},_getDefaults:function(defaults,settings,key){if(key==="styleClass"){if(settings.theme==="default"||settings.theme===undefined){return defaults.styleClass}settings.styleClass={};for(var styleName in defaults[key]){settings.styleClass[styleName]=settings.theme+"-"+defaults.styleClass[styleName]}}else if((key==="height"&&settings[key]!=="auto")||key==="width"){if(settings[key]===null||settings[key]===undefined){return defaults[key]+"px"}else{return settings[key]+"px"}}else{if(settings[key]===null||settings[key]===undefined){return defaults[key]}}return settings[key]},_destroyPaginate:function(){}});$.fn.paginate=function(options){var otherArgs=Array.prototype.slice.call(arguments);if(typeof options==='string'){otherArgs.shift();return $.paginate['_'+options+'Paginate'].apply($.paginate,[this[0]].concat(otherArgs))}return this.each(function(){$.paginate._attach(this,options)})};$.paginate=new Paginate();window["DP_jQuery_"+dpuuid]=$})(jQuery);
(function($){$.fn.extend({table:{version:"0.0.1.0",author:"lly219@gmail.com"}});var n=new Date().getTime();var o="table";var p=function(){this._defaults={"styleClass":{"lineSelectedClass":"table-lineSelected","mainClass":"table-main","bodyClass":"table-body","headerClass":"table-header","lineHoverClass":"table-lineHover","sortClass":"table-sort","sortASCClass":"table-sortASC","sortDESCClass":"table-sortDESC","sortUnASCClass":"table-sortUnactiveASC","sortUnDESCClass":"table-sortUnactiveDESC","oddRowClass":"table-oddRow","evenRowClass":"table-evenRow","subTitleClass":"table-subTitle","subTitleHoverClass":"table-subTitleHover","subTitleShowClass":"table-subTitleShow","subTitleHideClass":"table-subTitleHide","expendRowClass":"table-expendRow","hasExpendClass":"table-hasExpend"}}};$.extend(p.prototype,{_attach:function(a,b){if(!a.id){this.uuid++;a.id="dp"+this.uuid}var c=this._newInst($(a));c.settings=$.extend({length:0,noDataTip:"no data!",selectedRows:[]},b||{});$.data(a,o,c);this._init(a)},_newInst:function(a){var b=a[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1");return{id:b}},_getInst:function(a){try{return $.data(a,o)}catch(err){throw"Missing instance data for this table";}},_init:function(a){var b=this._getInst(a),settings=b.settings;$(a).html("<div class='"+this._getDefaults(this._defaults,settings,"styleClass").mainClass+"' id='"+b.id+"Table'></div>");this._build(a)},_build:function(a){var b=this._getInst(a),settings=b.settings;var c=b.id;var d=this._getDefaults(this._defaults,settings,"styleClass");var e="<div id='"+c+"TableHeader' class='"+d.headerClass+"'></div>"+"<div id='"+c+"TableMain' class='"+d.bodyClass+"' style='height:"+(settings.height?settings.height+"px":"auto")+"'></div>";$("#"+c+"Table").html(e);this._buildHeader(a);if(settings.data){this._buildBody(a);this._bindEvent(a)}},_buildHeader:function(a){var b=this._getInst(a).settings;var c=b.colModel,id=this._getInst(a).id,headerHTML="<table cellpadding='0' cellspacing='0' style='width:100%'><tr>";for(var i=0;i<c.length;i++){var d=id+"_"+c[i].index;if(c[i].minWidth){headerHTML+="<th style='min-width:"+c[i].minWidth+"px;'>"}else{headerHTML+="<th style='width:"+c[i].width+"px;'>"}if(c[i].type==="checkbox"){if(c[i].isLabel){headerHTML+=c[i].text}else{headerHTML+="<input id='"+d+"' onclick=\"DP_jQuery_"+n+".table._selectHeaderCheckbox(this);\" type='checkbox'/></th>"}}else{headerHTML+="<span id='"+d+"'>"+c[i].text?c[i].text:""+"</span></th>"}}$("#"+id+"TableHeader").html(headerHTML+"</tr></table>")},_buildBody:function(a){var b=this._getInst(a).id,settings=this._getInst(a).settings,data=settings.data;var c=this._getDefaults(this._defaults,settings,"styleClass"),bodyHTML="";for(var d=0;d<data.length;d++){if(data[d].groupName!=="all"){bodyHTML+="<div id='"+b+"SubTitle"+d+"'class='"+c.subTitleClass+"'><div class='left "+c.subTitleShowClass+"'></div><div class='left'>"+data[d].groupName+"</div><div class='clear'></div></div>"}bodyHTML+="<table id="+b+"SubTable"+d+" style='width:100%;' cellpadding='0' cellspacing='0'>"+this._buildData(a,data[d].groupData,d)+"</table>"}$("#"+b+"TableMain").html(bodyHTML)},_buildData:function(a,b,c){var d=this._getInst(a).id,settings=this._getInst(a).settings;var e=settings.colModel,styleClass=this._getDefaults(this._defaults,settings,"styleClass");var f="";for(var i=0;i<b.length;i++){var g=b[i],tBodyHTML="<tbody class='$CLASS'>",trHTML="<tr>",rowClass=styleClass.oddRowClass;if(i%2===1){rowClass=styleClass.evenRowClass}if(settings.expendRow){trHTML='<tr class="'+styleClass.hasExpendClass+'">'}g.uuuid=settings.length++;for(var j=0;j<e.length;j++){var h=e[j].index;var k=g[h],styleHTML=e[j].align?"text-align:"+e[j].align+";":"";if(k===undefined||k===null||$.trim(k)===""){k="&nbsp;"}if(i===0){if(e[j].minWidth){styleHTML+="min-width:"+e[j].minWidth+"px;"}else{styleHTML+="width:"+e[j].width+"px;"}}trHTML+="<td style='"+styleHTML+"'>";if(e[j].type){var l="",isCheckedHTML="",isDisabledHTML="",inputId=d+"_"+h+"_"+c+"_"+i;if(g[h].value){isCheckedHTML="checked='checked'";tBodyHTML=tBodyHTML.replace("$CLASS",styleClass.lineSelectedClass+" "+rowClass);settings.selectedRows.push(g)}if(g[h].disabled){isDisabledHTML="disabled='disabled'"}l="<input name='"+d+"_"+h+"' id='"+inputId+"' type='"+e[j].type+"' onclick=\"DP_jQuery_"+n+".table._selectCheckbox(this);\" "+isCheckedHTML+" "+isDisabledHTML+"/>";k=l}if(e[j].style){k="<div style='"+e[j].style+"'>"+k+"</div>"}trHTML+=k+"</td>"}f+=tBodyHTML.replace("$CLASS",rowClass)+trHTML+"</tr>";if(settings.expendRow){var m=g[settings.expendRow.index];if(m===undefined){m=""}f+="<tr class='none "+styleClass.expendRowClass+" "+rowClass+"'><td colspan='"+e.length+"'>"+m+"</td></tr>"}f+="</tbody>"}if(b.length===0){f="<tbody><tr><td align='center' colspan='"+e.length+"'>"+settings.noDataTip+"</td></tr></tbody>"}return f},_bindEvent:function(b){var c=this._getInst(b);var d=c.id,settings=c.settings,colModel=c.settings.colModel,styleClass=this._getDefaults(this._defaults,settings,"styleClass"),data=settings.data;for(var e=0;e<data.length;e++){if(data[0].groupName!=="all"){$("#"+d+"SubTitle"+e).click(function(){var a=$(this).find("div")[0];if(a.className.indexOf(styleClass.subTitleShowClass)!=-1){a.className=a.className.replace(styleClass.subTitleShowClass,styleClass.subTitleHideClass);$(this).next().hide()}else{a.className=a.className.replace(styleClass.subTitleHideClass,styleClass.subTitleShowClass);$(this).next().show()}}).mouseover(function(){this.className=styleClass.subTitleHoverClass}).mouseout(function(){this.className=styleClass.subTitleClass})}var f=settings.bind?settings.bind:[],groupData=data[e].groupData;for(var m=0;m<groupData.length;m++){var g=$($("#"+d+"SubTable"+e+" tbody")[m]);for(var l=0;l<f.length;l++){g.bind(f[l].type,{"groupData":groupData[m],"bindNum":l},function(a){f[a.data.bindNum].action(a,a.data.groupData)})}g.mouseover(function(){if(!$(this).hasClass(styleClass.lineHoverClass)){$("#"+d+" tbody").each(function(){$(this).removeClass(styleClass.lineHoverClass);if($(this).find("tr").length===2){$(this).find("tr")[1].style.display="none"}});$(this).addClass(styleClass.lineHoverClass);if($(this).find("tr").length===2){if($.browser.msie){if($.browser.version>7){$(this).find("tr")[1].style.display="block"}}else{$(this).find("tr")[1].style.display="table-row"}}}});for(var j=0;j<colModel.length;j++){if(colModel[j].bind){var h=colModel[j].bind;for(var i=0;i<h.length;i++){$(g.find("td")[j]).bind(h[i].type,{"groupData":groupData[m],"bindNum":i,"colNum":j},function(a){colModel[a.data.colNum].bind[a.data.bindNum].action(a,a.data.groupData)})}}}}}},_selectHeaderCheckbox:function(a){var b=a.id.split("_")[0],index=a.id.split("_")[1];var c=$("#"+b).data(o).settings;var d=c.data,styleClass=this._getDefaults(this._defaults,c,"styleClass");for(var i=0;i<d.length;i++){var e=d[i].groupData;for(var j=0;j<e.length;j++){var f=$("#"+b+"_"+index+"_"+i+"_"+j);if(f.prop("disabled")===false){if(a.checked){c.selectedRows.push(e[j])}else{c.selectedRows.splice(j,1)}f.prop("checked",a.checked)}}}if(a.checked){$("#"+b+"TableMain tbody").addClass(styleClass.lineSelectedClass)}else{$("#"+b+"TableMain tbody").removeClass(styleClass.lineSelectedClass)}$.unique(c.selectedRows)},_selectCheckbox:function(a){var b=a.id.split("_")[0],index=a.id.split("_")[1],groupNum=a.id.split("_")[2],rowNum=a.id.split("_")[3];var c=$("#"+b).data(o).settings;var d=c.data,styleClass=this._getDefaults(this._defaults,c,"styleClass"),$checkbox=$("#"+b+"_"+index),$row=$($("#"+b+"SubTable"+groupNum+" tbody")[rowNum]);if(a.checked){$row.addClass(styleClass.lineSelectedClass);c.selectedRows.push(d[groupNum].groupData[rowNum])}else{$row.removeClass(styleClass.lineSelectedClass);for(var j in c.selectedRows){if(c.selectedRows[j].uuuid===d[groupNum].groupData[rowNum].uuuid){c.selectedRows.splice(j,1)}}}if(c.selectedRows.length===c.length){$checkbox.prop("checked",true)}else{$checkbox.prop("checked",false)}},_getRow:function(a,b,c){var d={};for(var e in b){var f=b[e].groupData;for(var g in f){if(c===f[g].uuuid){d.data=f[g];d.$row=$($("#"+a+"SubTable"+e+" tbody")[g])}}}return d},_getDefaults:function(a,b,c){if(c==="styleClass"){if(b.theme==="default"||b.theme===undefined){return a.styleClass}b.styleClass={};for(var d in a[c]){b.styleClass[d]=b.theme+"-"+a.styleClass[d]}}else{if(b[c]===null||b[c]===undefined){return a[c]}}return b[c]},_strToInt:function(a){if(!a){return false}return parseInt(a.substring(0,a.length-2))},_updateTable:function(a,b,c){var d=this._getInst(a);var e=d.id,settings=d.settings;if(!c){if(b.height){var f=b.height;$("#"+e+"TableMain").height(f);settings.height=f}else{settings.data=b.data;this._build(a)}}else{var g=settings.data,colModel=settings.colModel;var h=this._getRow(e,g,b);$.extend(h.data,c);for(var i=0;i<colModel.length;i++){if(colModel[i].type!=="checkbox"){var j=colModel[i].index;h.$row.find("td")[i].innerHTML=h.data[j]?h.data[j]:"&nbsp;"}}if(settings.expendRow){$(h.$row.find("tr")[1]).find("td").html(c[settings.expendRow.index]?c[settings.expendRow.index]:"&nbsp;")}}},_getRowsTable:function(a,b,c){var d=this._getInst(a);var e=d.settings;if(!b){return e.selectedRows}var f=[];for(var i=0;i<e.data.length;i++){var g=e.data[i].groupData;for(var h in g){if(g[h][b]===c){f.push(g[h])}}}return f},_destroyTable:function(a){var b=this._getInst(a);$.removeData(a,o);$("#"+b.id).remove()},_selectedTable:function(a,b){var c=this._getInst(a);var d=c.id,settings=c.settings;var e=c.settings.data,styleClass=this._getDefaults(this._defaults,settings,"styleClass");for(var f in e){var g=e[f].groupData;for(var h in g){if(b===g[h].uuuid){settings.selectedRows.push(g[h]);$.unique(settings.selectedRows);var i=$($("#"+d+"SubTable"+f+" tbody")[h]);i.addClass(styleClass.lineSelectedClass);i.find("input").prop("checked",true)}}}},_unSelectedTable:function(a,b){var c=this._getInst(a);var d=c.id,settings=c.settings;var e=c.settings.data,styleClass=this._getDefaults(this._defaults,settings,"styleClass");for(var f in e){var g=e[f].groupData;for(var h in g){if(b===g[h].uuuid){var j=settings.selectedRows;for(var i=0;i<j.length;i++){if(j[i].uuuid===b){j.splice(i,1)}}var k=$($("#"+d+"SubTable"+f+" tbody")[h]);k.removeClass(styleClass.lineSelectedClass);k.find("input").prop("checked",false)}}}}});$.fn.table=function(a){var b=Array.prototype.slice.call(arguments);if(typeof a==='string'){b.shift();return $.table['_'+a+'Table'].apply($.table,[this[0]].concat(b))}return this.each(function(){$.table._attach(this,a)})};$.table=new p();window["DP_jQuery_"+n]=$})(jQuery);
(function($){$.fn.extend({dialog:{version:"0.0.1.7",author:"lly219@gmail.com"}});var dpuuid=new Date().getTime();var PROP_NAME='dialog';var Dialog=function(){this._defaults={"styleClass":{"background":"dialog-background","panel":"dialog-panel","main":"dialog-main","footer":"dialog-footer","headerMiddle":"dialog-header-middle","headerBg":"dialog-header-bg","closeIcon":"dialog-close-icon","closeIconHover":"dialog-close-icon-hover","title":"dialog-title"}}};$.extend(Dialog.prototype,{_attach:function(target,settings){if(!target.id){this.uuid++;target.id='dp'+this.uuid}var inst=this._newInst($(target));inst.settings=$.extend({},settings||{});$.data(target,PROP_NAME,inst);this._init(target)},_newInst:function(target){var id=target[0].id.replace(/([^A-Za-z0-9_])/g,'\\\\$1');return{id:id}},_getInst:function(target){try{return $.data(target,PROP_NAME)}catch(err){throw'Missing instance data for this dialog';}},_destroyDialog:function(target){var inst=$.dialog._getInst(target);var id=inst.id;$.removeData(target,PROP_NAME);$(target).prependTo("#"+id+"Wrap").unwrap();$(target).removeAttr("style");var styleClass=this._getDefaults($.dialog._defaults,inst.settings,"styleClass");$("."+styleClass.background).remove();$("#"+id+"Dialog").remove()},_init:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;var windowH=$(window).height(),windowW=$(window).width();var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass"),dialogH=settings.height?settings.height:parseInt(windowH*0.6),dialogW=settings.width?settings.width:parseInt(windowW*0.6);settings.title=settings.title?settings.title:"";settings.okText=settings.okText?settings.okText:"Ok";settings.cancelText=settings.cancelText?settings.cancelText:"Cancel";var footerHTML="",headerHTML="<div class='"+styleClass.headerBg+"'><div class='"+styleClass.title+"'>"+settings.title+"</div><a href='javascript:void(0);' class='"+styleClass.closeIcon+"'></a></div>";if(!settings.hideFooter){footerHTML="<a href='javascript:void(0);'>"+settings.okText+"</a><a href='javascript:void(0);'>"+settings.cancelText+"</a>"}var dialogHTML="<div id='"+id+"Dialog' class='"+styleClass.panel+"' style='width: "+(dialogW+26)+"px;' onselectstart='return false;'>"+headerHTML+"<div class='"+styleClass.main+"'><div style='overflow: auto; height: "+dialogH+"px;'></div><div class='"+styleClass.footer+"'>"+footerHTML+"</div></div>";var bgHTML="";if(settings.modal&&$("."+styleClass.background).length===0){var bgHeight=windowH<document.documentElement.scrollHeight?document.documentElement.scrollHeight:windowH;bgHTML="<div style='height:"+bgHeight+"px;' class='"+styleClass.background+"'></div>"}$("#"+id).wrap("<div id='"+id+"Wrap'></div>");var cloneObj=$(target).clone(true);$(target).remove();$('body').append(bgHTML+dialogHTML);$($("#"+id+"Dialog ."+styleClass.main+" div").get(0)).append(cloneObj);$(cloneObj).show();var top="",left="",$dialog=$("#"+id+"Dialog");if(settings.position){top=settings.position.top;left=settings.position.left}else{top=parseInt((windowH-dialogH)/2);left=parseInt((windowW-dialogW)/2)}$dialog.css({"top":top+"px","left":left+"px"});$("#"+id+"Dialog ."+styleClass.closeIcon).bind("click",function(){$.dialog._close(id,settings)});var $buttons=$("#"+id+"Dialog ."+styleClass.footer+" a");$($buttons.get(1)).bind("click",function(){$.dialog._close(id,settings)});$($buttons.get(0)).bind("click",function(){if(settings.ok===undefined||settings.ok()){$.dialog._close(id,settings)}});this._bindMove(id,styleClass.headerBg,dialogH,dialogW);$(window).keyup(function(event){if(event.keyCode===27){$.dialog._close(id,settings)}})},_bindMove:function(id,className){$("#"+id+"Dialog ."+className).mousedown(function(event){var _document=document;if(!event){event=window.event}var dialog=document.getElementById(id+"Dialog");var x=event.clientX-parseInt(dialog.style.left),y=event.clientY-parseInt(dialog.style.top);_document.ondragstart="return false;";_document.onselectstart="return false;";_document.onselect="document.selection.empty();";if(this.setCapture){this.setCapture()}else if(window.captureEvents){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP)}_document.onmousemove=function(event){if(!event){event=window.event}var positionX=event.clientX-x,positionY=event.clientY-y;if(positionX<0){positionX=0}if(positionX>$(window).width()-$(dialog).width()){positionX=$(window).width()-$(dialog).width()}if(positionY<0){positionY=0}if(positionY>$(window).height()-$(dialog).height()){positionY=$(window).height()-$(dialog).height()}dialog.style.left=positionX+"px";dialog.style.top=positionY+"px"};_document.onmouseup=function(){if(this.releaseCapture){this.releaseCapture()}else if(window.captureEvents){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP)}_document.onmousemove=null;_document.onmouseup=null;_document.ondragstart=null;_document.onselectstart=null;_document.onselect=null}})},_close:function(id,settings){if($("#"+id+"Dialog").css("display")==="none"){return}if(settings.close===undefined||settings.close()){$("#"+id+"Dialog").hide();if(settings.modal){var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass");$("."+styleClass.background).hide()}}},_closeDialog:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;$.dialog._close(id,settings)},_openDialog:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;$("#"+id+"Dialog").show();if(settings.modal){var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass");$("."+styleClass.background).show()}},_updateDialog:function(target,data){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass");$.extend(settings,data);var $dialog=$("#"+id+"Dialog");if(data.position){$dialog.css({"top":data.position.top,"left":data.position.left})}if(data.width){$dialog.width(data.width+26);$dialog.find("."+styleClass.main+" div")[0].style.width=data.width+"px";$dialog.find("."+styleClass.headerBg).width(data.width+18)}if(data.height){$dialog.find("."+styleClass.main+" div")[0].style.height=data.height+"px"}if(data.title){$dialog.find("."+styleClass.title).html(data.title)}if(data.modal!==undefined){if(data.modal){$("."+styleClass.background).show()}else{$("."+styleClass.background).hide()}}if(data.hideFooter!==undefined){if(data.hideFooter){$dialog.find("."+styleClass.footer).hide()}else{$dialog.find("."+styleClass.footer).show()}}},_getDefaults:function(defaults,settings,key){if(key==="styleClass"){if(settings.theme==="default"||settings.theme===undefined){return defaults.styleClass}settings.styleClass={};for(var styleName in defaults[key]){settings.styleClass[styleName]=settings.theme+"-"+defaults.styleClass[styleName]}}else if(key==="height"||key==="width"){if(settings[key]===null||settings[key]===undefined){return"auto"}else{return settings[key]+"px"}}else{if(settings[key]===null||settings[key]===undefined){return defaults[key]}}return settings[key]}});$.fn.dialog=function(options){var otherArgs=Array.prototype.slice.call(arguments);if(typeof options==='string'){otherArgs.shift();return $.dialog['_'+options+'Dialog'].apply($.dialog,[this[0]].concat(otherArgs))}return this.each(function(){$.dialog._attach(this,options)})};$.dialog=new Dialog();window['DP_jQuery_'+dpuuid]=$})(jQuery);
(function($){$.fn.extend({dialog:{version:"0.0.1.7",author:"lly219@gmail.com"}});var dpuuid=new Date().getTime();var PROP_NAME='dialog';var Dialog=function(){this._defaults={"styleClass":{"background":"dialog-background","panel":"dialog-panel","main":"dialog-main","footer":"dialog-footer","headerMiddle":"dialog-header-middle","headerBg":"dialog-header-bg","closeIcon":"icon-close","closeIconHover":"dialog-close-icon-hover","title":"dialog-title"}}};$.extend(Dialog.prototype,{_attach:function(target,settings){if(!target.id){this.uuid++;target.id='dp'+this.uuid}var inst=this._newInst($(target));inst.settings=$.extend({},settings||{});$.data(target,PROP_NAME,inst);this._init(target)},_newInst:function(target){var id=target[0].id.replace(/([^A-Za-z0-9_])/g,'\\\\$1');return{id:id}},_getInst:function(target){try{return $.data(target,PROP_NAME)}catch(err){throw'Missing instance data for this dialog';}},_destroyDialog:function(target){var inst=$.dialog._getInst(target);var id=inst.id;$.removeData(target,PROP_NAME);$(target).prependTo("#"+id+"Wrap").unwrap();$(target).removeAttr("style");var styleClass=this._getDefaults($.dialog._defaults,inst.settings,"styleClass");$("."+styleClass.background).remove();$("#"+id+"Dialog").remove()},_init:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;var windowH=$(window).height(),windowW=$(window).width();var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass"),dialogH=settings.height?settings.height:parseInt(windowH*0.6),dialogW=settings.width?settings.width:parseInt(windowW*0.6);settings.title=settings.title?settings.title:"";settings.okText=settings.okText?settings.okText:"Ok";settings.cancelText=settings.cancelText?settings.cancelText:"Cancel";var footerHTML="",headerHTML="<div class='"+styleClass.headerBg+"'><div class='"+styleClass.title+"'>"+settings.title+"</div><a href='javascript:void(0);' class='"+styleClass.closeIcon+"'></a></div>";if(!settings.hideFooter){footerHTML="<a href='javascript:void(0);'>"+settings.okText+"</a><a href='javascript:void(0);'>"+settings.cancelText+"</a>"}var dialogHTML="<div id='"+id+"Dialog' class='"+styleClass.panel+"' style='width: "+(dialogW+26)+"px;' onselectstart='return false;'>"+headerHTML+"<div class='"+styleClass.main+"'><div style='overflow: auto; height: "+dialogH+"px;'></div><div class='"+styleClass.footer+"'>"+footerHTML+"</div></div>";var bgHTML="";if(settings.modal&&$("."+styleClass.background).length===0){var bgHeight=windowH<document.documentElement.scrollHeight?document.documentElement.scrollHeight:windowH;bgHTML="<div style='height:"+bgHeight+"px;' class='"+styleClass.background+"'></div>"}$("#"+id).wrap("<div id='"+id+"Wrap'></div>");var cloneObj=$(target).clone(true);$(target).remove();$('body').append(bgHTML+dialogHTML);$($("#"+id+"Dialog ."+styleClass.main+" div").get(0)).append(cloneObj);$(cloneObj).show();var top="",left="",$dialog=$("#"+id+"Dialog");if(settings.position){top=settings.position.top;left=settings.position.left}else{top=parseInt((windowH-dialogH)/2);left=parseInt((windowW-dialogW)/2)}$dialog.css({"top":top+"px","left":left+"px"});$("#"+id+"Dialog ."+styleClass.closeIcon).bind("click",function(){$.dialog._close(id,settings)});var $buttons=$("#"+id+"Dialog ."+styleClass.footer+" a");$($buttons.get(1)).bind("click",function(){$.dialog._close(id,settings)});$($buttons.get(0)).bind("click",function(){if(settings.ok===undefined||settings.ok()){$.dialog._close(id,settings)}});this._bindMove(id,styleClass.headerBg,dialogH,dialogW);$(window).keyup(function(event){if(event.keyCode===27){$.dialog._close(id,settings)}})},_bindMove:function(id,className){$("#"+id+"Dialog ."+className).mousedown(function(event){var _document=document;if(!event){event=window.event}var dialog=document.getElementById(id+"Dialog");var x=event.clientX-parseInt(dialog.style.left),y=event.clientY-parseInt(dialog.style.top);_document.ondragstart="return false;";_document.onselectstart="return false;";_document.onselect="document.selection.empty();";if(this.setCapture){this.setCapture()}else if(window.captureEvents){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP)}_document.onmousemove=function(event){if(!event){event=window.event}var positionX=event.clientX-x,positionY=event.clientY-y;if(positionX<0){positionX=0}if(positionX>$(window).width()-$(dialog).width()){positionX=$(window).width()-$(dialog).width()}if(positionY<0){positionY=0}if(positionY>$(window).height()-$(dialog).height()){positionY=$(window).height()-$(dialog).height()}dialog.style.left=positionX+"px";dialog.style.top=positionY+"px"};_document.onmouseup=function(){if(this.releaseCapture){this.releaseCapture()}else if(window.captureEvents){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP)}_document.onmousemove=null;_document.onmouseup=null;_document.ondragstart=null;_document.onselectstart=null;_document.onselect=null}})},_close:function(id,settings){if($("#"+id+"Dialog").css("display")==="none"){return}if(settings.close===undefined||settings.close()){$("#"+id+"Dialog").hide();if(settings.modal){var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass");$("."+styleClass.background).hide()}}},_closeDialog:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;$.dialog._close(id,settings)},_openDialog:function(target){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;$("#"+id+"Dialog").show();if(settings.modal){var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass");$("."+styleClass.background).show()}},_updateDialog:function(target,data){var inst=this._getInst(target);var id=inst.id,settings=inst.settings;var styleClass=this._getDefaults($.dialog._defaults,settings,"styleClass");$.extend(settings,data);var $dialog=$("#"+id+"Dialog");if(data.position){$dialog.css({"top":data.position.top,"left":data.position.left})}if(data.width){$dialog.width(data.width+26);$dialog.find("."+styleClass.main+" div")[0].style.width=data.width+"px";$dialog.find("."+styleClass.headerBg).width(data.width+18)}if(data.height){$dialog.find("."+styleClass.main+" div")[0].style.height=data.height+"px"}if(data.title){$dialog.find("."+styleClass.title).html(data.title)}if(data.modal!==undefined){if(data.modal){$("."+styleClass.background).show()}else{$("."+styleClass.background).hide()}}if(data.hideFooter!==undefined){if(data.hideFooter){$dialog.find("."+styleClass.footer).hide()}else{$dialog.find("."+styleClass.footer).show()}}},_getDefaults:function(defaults,settings,key){if(key==="styleClass"){if(settings.theme==="default"||settings.theme===undefined){return defaults.styleClass}settings.styleClass={};for(var styleName in defaults[key]){settings.styleClass[styleName]=settings.theme+"-"+defaults.styleClass[styleName]}}else if(key==="height"||key==="width"){if(settings[key]===null||settings[key]===undefined){return"auto"}else{return settings[key]+"px"}}else{if(settings[key]===null||settings[key]===undefined){return defaults[key]}}return settings[key]}});$.fn.dialog=function(options){var otherArgs=Array.prototype.slice.call(arguments);if(typeof options==='string'){otherArgs.shift();return $.dialog['_'+options+'Dialog'].apply($.dialog,[this[0]].concat(otherArgs))}return this.each(function(){$.dialog._attach(this,options)})};$.dialog=new Dialog();window['DP_jQuery_'+dpuuid]=$})(jQuery);
!function(e){var t=(new Date).getTime(),n="completed",a=function(){this._defaults={styleClass:{panelClass:"completed-panel",inputClass:"completed-input",ckClass:"completed-ck"},separator:","},this._settingsDataFormat={}};e.extend(a.prototype,{_attach:function(t,a){t.id||(this.uuid++,t.id="dp"+this.uuid);var s=this._newInst(e(t));s.settings=e.extend({buttonText:"选择"},a||{}),e.data(t,n,s),this._init(t)},_newInst:function(e){var t=e[0].id.replace(/([^A-Za-z0-9_])/g,"\\\\$1");return{id:t}},_getInst:function(t){try{return e.data(t,n)}catch(a){throw"Missing instance data for this completed"}},_destroyCompleted:function(){},_init:function(t){var n=this._getInst(t),a=n.id,s=n.settings;this._buildHTML(a,s),e(document).click(function(t){t.target.id!==a&&e("#"+a+"SelectedPanel").hide()}),s.onlySelect||this._buildCheckboxPanel(a,s.data)},_buildHTML:function(t,n){var a=n.height+"px",s=this._getDefaults(e.completed._defaults,n,"styleClass"),l=e("#"+t),i="";n.onlySelect||(i+="<button onclick=\"$('#"+t+"CheckboxPanel').toggle()\">"+n.buttonText+"</button>"),i+="<div id='"+t+"SelectedPanel' class='"+s.panelClass+"' style='height:"+a+";'></div><div class='none "+s.ckClass+"' id='"+t+"CheckboxPanel'><div>","object"==typeof n.data&&n.data.sort(),l.after(i).bind("keyup",{settings:n},this._keyupAction).bind("keydown",function(t){n.chinese=t.keyCode,n.keydownVal=e(this).val()}).addClass(s.inputClass),n.tipNum=0},_keyupAction:function(t){var n=t.data.settings,a=e.completed._getCurrentWord(this,n);if(""===a.currentWord||27===t.keyCode||16===t.keyCode)return e("#"+this.id+"SelectedPanel").hide(),n.tipNum=0,void(n.afterKeyup?n.afterKeyup(t):"");var s=e.completed._getMatchData(n.data,this.value,a.currentWord);if(38===t.keyCode&&(n.tipNum>0?n.tipNum--:n.tipNum=s.length-1),40===t.keyCode&&(n.tipNum<s.length-1?n.tipNum++:n.tipNum=0),e.completed._buildSelectedPanel(this.id,s,n,a.currentWord),13===t.keyCode&&s[n.tipNum]&&229!==n.chinese){var l=this.value;this.value=l.substring(0,a.startPos)+s[n.tipNum]+l.substring(a.endPos,l.length),e("#"+this.id+"SelectedPanel").hide(),n.chinese=void 0}38!==t.keyCode&&40!==t.keyCode&&(n.tipNum=0),n.afterKeyup?n.afterKeyup(t):""},_getCurrentWord:function(t,n){var a=e(t).val(),s=!0,l=0,i=0,o=e.completed._defaults.separator;if(""===a)return{currentWord:"",startPos:i,endPos:l};if(document.selection)try{var c=document.selection.createRange(),r=t.createTextRange();r.collapse(!0),r.select();var d=document.selection.createRange();d.setEndPoint("EndToEnd",c),n.curPos=d.text.length,c.select()}catch(u){delete u}else n.curPos=t.selectionStart;for(var h=n.curPos,p=0;p<a.length;p++)a.charAt(p)===o&&p>=h&&s&&(l=p,s=!1);s===!0&&(s=!1,l=a.length);for(var m=l;m>-1;m--)a.charAt(m)===o&&h>m&&!s&&(i=m+1,s=!0);return{currentWord:a.substring(i,l),startPos:i,endPos:l}},_getMatchData:function(t,n,a){for(var s=n.split(e.completed._defaults.separator),l=[],i=0;i<t.length;i++)if("number"==typeof t[i]&&(t[i]=t[i].toString()),t[i].toLowerCase().indexOf(a.toLowerCase())>-1){for(var o=!0,c=0;c<s.length;c++)t[i]===s[c].toString()&&t[i].toLowerCase()!==a.toLowerCase()&&(o=!1);o&&l.push(t[i])}return l},_mousemoveSelectPanel:function(t,n,a){e(t).parent().find("a").removeClass("selected"),t.className="selected";var s=e.completed._getInst(document.getElementById(a));s.settings.tipNum=n},_buildSelectedPanel:function(t,n,a,s){var l=e("#"+t+"SelectedPanel");if(0===n.length)return void l.html("").hide();a.tipNum>=n.length&&(a.tipNum=0);for(var i="",o=0;o<n.length;o++){var c="",r=n[o].replace(s,"<b>"+s+"</b>");a.tipNum===o&&(c="class='selected'"),i+="<a href='javascript:void(0);' onmousemove=\"$.completed._mousemoveSelectPanel(this, "+o+", '"+t+"');\" "+c+">"+r+"</a>"}l.html(i).show();var d=e("#"+t+"SelectedPanel a.selected");d.position().top+l.scrollTop()>50-d.height()&&l.scrollTop(d.position().top+l.scrollTop()+d.height()-50),d.position().top<0&&l.scrollTop(l.scrollTop-d.height()),e("#"+t+"SelectedPanel a").click(function(){var n=document.getElementById(t),s=e.completed._getCurrentWord(document.getElementById(t),a),l=e.completed._getMatchData(a.data,n.value,s.currentWord),i=n.value;n.value=i.substring(0,s.startPos)+l[a.tipNum]+i.substring(s.endPos,i.length),a.tipNum=0,e(n).focus(),a.afterSelected?a.afterSelected(e(this)):""})},_buildCheckboxPanel:function(t,n){for(var a="",s=e("#"+t),l=0;l<n.length;l++)a+="<span>"+n[l]+"</span>";e("#"+t+"CheckboxPanel").html(a+"<div class='clear'></div>"),e("#"+t+"CheckboxPanel").on("click","span",function(){var e=s.val(),t=this.innerHTML;if("selected"===this.className){this.className="";var n=e.substr(e.indexOf(t)+t.length,1);t===e||","!==n?s.val(e.replace(t,"")):s.val(e.replace(t+",",""))}else this.className="selected",""===e.replace(/\s/g,"")||","===e.substr(e.length-1,1)?s.val(e+t):s.val(e+","+t)}),this._matchChecked(t),s.blur(function(){e.completed._matchChecked(t)})},_matchChecked:function(t){var n=e("#"+t).val().split(",");e("#"+t+"CheckboxPanel span").removeClass().each(function(){for(var e=0;e<n.length;e++)this.innerHTML===n[e]&&(this.className="selected")})},_updateDataCompleted:function(t,n,a){var s=this._getInst(t),l=s.id,i=s.settings;i.data=a,e.completed._buildSelectedPanel(l,a,i,e("#"+l).val())},_getDefaults:function(e,t,n){if("styleClass"===n){if("default"===t.theme||void 0===t.theme)return e.styleClass;t.styleClass={};for(var a in e[n])t.styleClass[a]=t.theme+"-"+e.styleClass[a]}else{if("height"===n||"width"===n)return null===t[n]||void 0===t[n]?"auto":t[n]+"px";if(null===t[n]||void 0===t[n])return e[n]}return t[n]}}),e.fn.completed=function(t){var n=Array.prototype.slice.call(arguments);return this.each(function(){"string"==typeof t?e.completed["_"+t+"Completed"].apply(e.completed,[this].concat(n)):e.completed._attach(this,t)})},e.completed=new a,window["DP_jQuery_"+t]=e}(jQuery);
(function($){$.fn.extend({tip:{version:"0.0.0.3",author:"lly219@gmail.com"}});var f=new Date().getTime();var g='tip';var h=function(){this._defaults={"styleClass":{"panel":"tip-panel"}},this._settingsDataFormat={}};$.extend(h.prototype,{_attach:function(a,b){if(!a.id){this.uuid++;a.id='dp'+this.uuid}var c=this._newInst($(a));c.settings=$.extend({},b||{});$.data(a,g,c);this._init(a)},_newInst:function(a){var b=a[0].id.replace(/([^A-Za-z0-9_])/g,'\\\\$1');return{id:b}},_getInst:function(a){try{return $.data(a,g)}catch(err){throw'Missing instance data for this tip.';}},_destroyTip:function(a){$.removeData(a,g);$("#"+a.id+"Panel").remove()},_init:function(a){var b=this._getInst(a);var c=b.id,settings=b.settings;var d='',styleClass=settings.className?settings.className:this._getDefaults($.tip._defaults,settings,"styleClass").panel;d="<div id='"+c+"Panel' class='"+styleClass+"'>"+settings.content+"</div>";$(settings.appendId?"#"+settings.appendId:"body").append(d);$(a).hover(function(){$.tip._parsePosition(settings,a);$("#"+c+"Panel").fadeIn("normal")},function(){$("#"+c+"Panel").fadeOut("normal")})},_optionTip:function(a,b,c){var d=$.tip._getInst(a[0]);var e=d.settings;if(c){e[b]=c;$("#"+a[0].id+"Panel").html(c)}return e[b]},_parsePosition:function(a,b){var c="",$targetPanel=$("#"+b.id+"Panel");if(a.left===undefined&&a.right===undefined&&a.bottom===undefined&&a.top===undefined&&a.position===undefined){a.position="bottom"}if(a.position){var d=$(b);switch(a.position){case"top":c="left: "+parseInt(d.position().left)+"px; top: "+parseInt(d.position().top-$targetPanel.height()-6-parseInt(d.css("padding-top"))-parseInt($targetPanel.css("padding-top")))+"px;";break;case"bottom":c="left: "+parseInt(d.position().left)+"px; top: "+parseInt(d.position().top+d.height())+"px;";break;default:alert("Has no type!");break}$targetPanel.attr("style",c);return}if(a.left!==undefined){c+="left:"+a.left+"px;"}if(a.top!==undefined){c+="top:"+a.top+"px;"}if(a.bottom!==undefined){c+="bottom:"+a.bottom+"px;"}if(a.right!==undefined){c+="right:"+a.right+"px;"}$targetPanel.attr("style",c)},_getDefaults:function(a,b,c){if(c==="styleClass"){if(b.theme==="default"||b.theme===undefined){return a.styleClass}b.styleClass={};for(var d in a[c]){b.styleClass[d]=b.theme+"-"+a.styleClass[d]}}else if(c==="height"||c==="width"){if(b[c]===null||b[c]===undefined){return"auto"}else{return b[c]+"px"}}else{if(b[c]===null||b[c]===undefined){return a[c]}}return b[c]}});$.fn.tip=function(a){var b=Array.prototype.slice.call(arguments);if(a==="option"){b.shift();return $.tip['_'+a+'Tip'].apply($.tip,[this].concat(b))}return this.each(function(){typeof a=='string'?$.tip['_'+a+'Tip'].apply($.tip,[this].concat(b)):$.tip._attach(this,a)})};$.tip=new h();window['DP_jQuery_'+f]=$})(jQuery);
(function($){$.fn.extend({tabs:{version:"0.0.1.9",author:"lly219@gmail.com"}});var g=new Date().getTime();var h='tabs';var k=function(){};$.extend(k.prototype,{_attach:function(a,b){if(!a.id){this.uuid++;a.id='dp'+this.uuid}var c=this._newInst($(a));c.settings=$.extend({length:0},b||{});$.data(a,h,c);this._init(a)},_newInst:function(a){var b=a[0].id.replace(/([^A-Za-z0-9_])/g,'\\\\$1');return{id:b}},_getInst:function(a){try{return $.data(a,h)}catch(err){throw'Missing instance data for this tabs';}},_init:function(a){var b=this._getInst(a);var c=b.settings,id=b.id;var d=$(a).find("li");c.data=[];for(var i=0,j=0;i<d.length;i++){if(d[i].children[0].id){c.data[j]=d[i].children[0].id.replace(id+"_","");j++}}},_setCurrentTabs:function(a,b){var c=this._getInst(a);var d=c.settings,id=c.id;if($("#"+id+"_"+b+" a").hasClass("tab-current")){return}var e=d.data;for(var i=0;i<e.length;i++){var f=$("#"+id+"Panel_"+e[i]),$tab=$("#"+id+"_"+e[i]);if(b===e[i]){f.show();$tab.find("a").addClass("tab-current")}else{f.hide();$tab.find("a").removeClass("tab-current")}}},_addTabs:function(a,b){var c=this._getInst(a);var d=c.settings,id=c.id;d.data.push(b.id);var e="";if(b.hash){e="<a href='"+b.hash+"'>"+b.text+"</a>"}else{e="<span>"+b.text+"</span>"}$(b.target).before("<li><div id='"+id+"_"+b.id+"'>"+e+"</div></li>");$("#"+id+"Panel").append("<div id="+id+"Panel_"+b.id+" class='none'>"+b.content+"</div>")},_removeTabs:function(a,b){var c=this._getInst(a);var d=c.settings.data,id=c.id;for(var i=0;i<d.length;i++){if(d[i]===b){d.splice(i,1)}}$("#"+id+"_"+b).remove();$("#"+id+"Pabel_"+b).remove()}});$.fn.tabs=function(a){var b=Array.prototype.slice.call(arguments);if(typeof a==='string'){b.shift();return $.tabs['_'+a+'Tabs'].apply($.tabs,[this[0]].concat(b))}return this.each(function(){$.tabs._attach(this,a)})};$.tabs=new k();window['DP_jQuery_'+g]=$})(jQuery);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment