V1.88.5更新内容:

核心功能修复与优化
1. 网盘空间管理优化:
    修复了删除网盘文件后,剩余空间未正确更新的问题,确保用户空间显示准确。
2. 机构用户导航体验提升:
    优化了机构用户在使用中的导航栏返回逻辑,提升了用户在不同页面间跳转时的流畅性和一致性。
用户体验与界面改进
1. 登录页面样式优化:
    解决了登录页面样式重复引用的问题,提升了页面加载速度和用户体验。
2. 移动端界面适配:
    优化了移动端界面的头部名称居中显示,增强了在不同移动设备上的视觉一致性。
3. 卡片显示效果调整:
    修改了卡片的显示效果,使信息展示更加美观和易于阅读。
性能与稳定性提升
1. JS代码压缩问题修复:
    修复了压缩JS代码过程中导致的报错问题,确保了应用的稳定性和性能。
2. 压缩css、js代码优化前端性能
    对前端的CSS和JS代码进行了压缩处理,减少了文件体积,加快了加载速度,从而提升了前端性能。
插件与系统升级
1. jstree插件升级:
    升级了jstree插件版本,解决了在某些使用场景中无法选中节点的问题,提升了用户与树形结构交互的可靠性。
2. 应用市场UI优化:
    对应用市场界面进行了UI优化,提升了应用展示的美观度和易用性,使用户能够更方便地查找和安装所需的应用。
This commit is contained in:
小胡
2024-07-22 18:17:27 +08:00
Unverified
parent 5c6ade30ef
commit 1b15bba102
81 changed files with 364 additions and 113242 deletions

View File

@@ -1,97 +1 @@
.main-content {
padding: 0;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
flex-wrap: wrap;
align-items: center;
}
.main-content-ul{
display: flex;
text-align: center;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.main-content-ul .main-content-li{
float: left;
width: 175px;
overflow: hidden;
border-radius: 8px;
margin:10px;
background-color: rgba(255,255,255,0.55);
}
.main-content-ul .main-content-li:hover{
background: #D8DEEA;
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
box-shadow : 0px 0px 10px rgba(0, 0, 0, 0.05);
}
.main-content-li a{
height: 100%;
}
.main-content-li img{
width: 64px;
height: 64px;
}
@media (max-width:768px){
.main-content {
padding: 30px 30px;
}
}
@media (max-width:414px){
.main-content {
padding: 5px;
}
.main-content-ul .main-content-li{
padding:20px;
margin:10px;
}
}
@media (max-width:375px){
.main-content {
padding: 5px;
}
.main-content-ul .main-content-li{
width:160px;
height:160px;
padding:20px;
margin:10px;
}
.main-content-li a .row{
padding-top:10px;
}
}
@media (max-width:360px){
.main-content {
padding: 5px;
}
.main-content-ul .main-content-li{
width:160px;
height:160px;
padding:10px;
margin:6px;
}
.main-content-li a .row{
padding-top:10px;
}
}
@media (max-width:320px){
.main-content {
padding: 5px;
}
.main-content-ul .main-content-li{
width:145px;
height:140px;
padding:10px;
margin:4px;
}
.main-content-li a .row{
padding-top:10px;
}
}
.main-content{padding:0;height:100%;width:100%;display:flex;justify-content:center;flex-wrap:wrap;align-items:center;}.main-content-ul{display:flex;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;}.main-content-ul .main-content-li{float:left;width:175px;overflow:hidden;border-radius:8px;margin:10px;background-color:rgba(255,255,255,0.55);}.main-content-ul .main-content-li:hover{background:#D8DEEA;-moz-box-shadow:0px 0px 10px rgba(0,0,0,0.05);box-shadow:0px 0px 10px rgba(0,0,0,0.05);}.main-content-li a{height:100%;}.main-content-li img{width:64px;height:64px;}@media (max-width:768px){.main-content{padding:30px 30px;}}@media (max-width:414px){.main-content{padding:5px;}.main-content-ul .main-content-li{padding:20px;margin:10px;}}@media (max-width:375px){.main-content{padding:5px;}.main-content-ul .main-content-li{width:160px;height:160px;padding:20px;margin:10px;}.main-content-li a .row{padding-top:10px;}}@media (max-width:360px){.main-content{padding:5px;}.main-content-ul .main-content-li{width:160px;height:160px;padding:10px;margin:6px;}.main-content-li a .row{padding-top:10px;}}@media (max-width:320px){.main-content{padding:5px;}.main-content-ul .main-content-li{width:145px;height:140px;padding:10px;margin:4px;}.main-content-li a .row{padding-top:10px;}}

View File

@@ -1,489 +1 @@
/*! jQuery UI - v1.11.4 - 2018-01-24
* http://jqueryui.com
* Includes: core.css, sortable.css, theme.css
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
* Copyright jQuery Foundation and other contributors; Licensed MIT */
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: none;
font-size: 100%;
list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
content: "";
display: table;
border-collapse: collapse;
}
.ui-helper-clearfix:after {
clear: both;
}
.ui-helper-clearfix {
min-height: 0; /* support: IE7 */
}
.ui-helper-zfix {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
opacity: 0;
filter:Alpha(Opacity=0); /* support: IE8 */
}
.ui-front {
z-index: 100;
}
/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
cursor: default !important;
}
/* Icons
----------------------------------*/
/* states and images */
.ui-icon {
display: block;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
}
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.ui-sortable-handle {
-ms-touch-action: none;
touch-action: none;
}
/* Component containers
----------------------------------*/
.ui-widget {
font-family: Arial,Helvetica,sans-serif;
font-size: 1em;
}
.ui-widget .ui-widget {
font-size: 1em;
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
font-family: Arial,Helvetica,sans-serif;
font-size: 1em;
}
.ui-widget-content {
border: 1px solid #dddddd;
background: #ffffff;
color: #333333;
}
.ui-widget-content a {
color: #333333;
}
.ui-widget-header {
border: 1px solid #dddddd;
background: #e9e9e9;
color: #333333;
font-weight: bold;
}
.ui-widget-header a {
color: #333333;
}
/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
border: 1px solid #c5c5c5;
background: #f6f6f6;
font-weight: normal;
color: #454545;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
color: #454545;
text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
border: 1px solid #cccccc;
background: #ededed;
font-weight: normal;
color: #2b2b2b;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited {
color: #2b2b2b;
text-decoration: none;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
border: 1px solid #003eff;
background: #007fff;
font-weight: normal;
color: #ffffff;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
color: #ffffff;
text-decoration: none;
}
/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
border: 1px solid #dad55e;
background: #fffa90;
color: #777620;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
color: #777620;
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
border: 1px solid #f1a899;
background: #fddfdf;
color: #5f3f3f;
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
color: #5f3f3f;
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
color: #5f3f3f;
}
.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
font-weight: bold;
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
opacity: .7;
filter:Alpha(Opacity=70); /* support: IE8 */
font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
opacity: .35;
filter:Alpha(Opacity=35); /* support: IE8 */
background-image: none;
}
.ui-state-disabled .ui-icon {
filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
}
/* Icons
----------------------------------*/
/* states and images */
.ui-icon {
width: 16px;
height: 16px;
}
.ui-icon,
.ui-widget-content .ui-icon {
background-image: url("images/ui-icons_444444_256x240.png");
}
.ui-widget-header .ui-icon {
background-image: url("images/ui-icons_444444_256x240.png");
}
.ui-state-default .ui-icon {
background-image: url("images/ui-icons_777777_256x240.png");
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
background-image: url("images/ui-icons_555555_256x240.png");
}
.ui-state-active .ui-icon {
background-image: url("images/ui-icons_ffffff_256x240.png");
}
.ui-state-highlight .ui-icon {
background-image: url("images/ui-icons_777620_256x240.png");
}
.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
background-image: url("images/ui-icons_cc0000_256x240.png");
}
/* positioning */
.ui-icon-blank { background-position: 16px 16px; }
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
.ui-icon-carat-1-se { background-position: -48px 0; }
.ui-icon-carat-1-s { background-position: -64px 0; }
.ui-icon-carat-1-sw { background-position: -80px 0; }
.ui-icon-carat-1-w { background-position: -96px 0; }
.ui-icon-carat-1-nw { background-position: -112px 0; }
.ui-icon-carat-2-n-s { background-position: -128px 0; }
.ui-icon-carat-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -64px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -64px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-on { background-position: -96px -144px; }
.ui-icon-radio-off { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-start { background-position: -80px -160px; }
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
border-top-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
border-top-right-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
border-bottom-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
border-bottom-right-radius: 3px;
}
/* Overlays */
.ui-widget-overlay {
background: #aaaaaa;
opacity: .3;
filter: Alpha(Opacity=30); /* support: IE8 */
}
.ui-widget-shadow {
margin: 0px 0 0 0px;
padding: 5px;
background: #666666;
opacity: .3;
filter: Alpha(Opacity=30); /* support: IE8 */
border-radius: 8px;
}
.main-content{padding:0;height:100%;width:100%;display:flex;justify-content:center;flex-wrap:wrap;align-items:center;}.main-content-ul{display:flex;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;}.main-content-ul .main-content-li{float:left;width:175px;overflow:hidden;border-radius:8px;margin:10px;background-color:rgba(255,255,255,0.55);}.main-content-ul .main-content-li:hover{background:#D8DEEA;-moz-box-shadow:0px 0px 10px rgba(0,0,0,0.05);box-shadow:0px 0px 10px rgba(0,0,0,0.05);}.main-content-li a{height:100%;}.main-content-li img{width:64px;height:64px;}@media (max-width:768px){.main-content{padding:30px 30px;}}@media (max-width:414px){.main-content{padding:5px;}.main-content-ul .main-content-li{padding:20px;margin:10px;}}@media (max-width:375px){.main-content{padding:5px;}.main-content-ul .main-content-li{width:160px;height:160px;padding:20px;margin:10px;}.main-content-li a .row{padding-top:10px;}}@media (max-width:360px){.main-content{padding:5px;}.main-content-ul .main-content-li{width:160px;height:160px;padding:10px;margin:6px;}.main-content-li a .row{padding-top:10px;}}@media (max-width:320px){.main-content{padding:5px;}.main-content-ul .main-content-li{width:145px;height:140px;padding:10px;margin:4px;}.main-content-li a .row{padding-top:10px;}}

View File

@@ -1,305 +1 @@
@charset "utf-8";
.img_236{
max-width: 236px;
}
* html .img_236 {
width: expression(this.width > 236 && this.width>=this.height ? 236 : true);
}
.market-container .appitem{
background:#FFF;
width:236px;
height:330px;
box-shadow:0 1px 3px rgba(0,0,0,.3);
position:relative;
border-radius:2px;
margin:8px;
}
.ie8 .market-container .appitem{
border:1px solid #D9D9D7;
}
.img-container {
width:236px;
height:136px;
padding:0;
text-align:center;
position:relative;
overflow:hidden;
display:block;
border-radius:2px 2px 0 0;
}
.ie8 .img-container {
width:234px;
height:135px;
}
.appitem-desc{
padding:10px 0;
height:84px;
line-height:1.5;
overflow:hidden;
color:#808080;
}
.appitem-footer{
line-height:35px;
}
.appitem-title a{
font-size:14px;font-weight:bold;color:#333;
text-shadow:1px 1px 1px #FFF;
}
.appitem .appmeta{
color: #353535;
padding: 15px 15px 0 15px;
background: #fff;
}
.appmeta a {
color: #333;
font-weight: bold;
display: block;
text-decoration: none;
}
.appmeta a h3 {
display: block;
font-size: 14px;
line-height: 14px;
margin: 0 0 10px 0;
height:14px;
text-overflow: ellipsis;
overflow: hidden;font-weight: bold;
}
.appmeta h4 {
font-size: 11px;
color: #808080;
margin:0;
/*margin-top: -8px;*/
padding-bottom: 8px;
border-bottom: 1px solid #eee;
}
.color-block-1 {
background: #B82F68;
}
.color-block-2 {
background: #DB4B00;
}
.color-block-3 {
background: #BA4B3A;
}
.color-block-4 {
background: #009BCB;
}
.color-block-5 {
background: #37B298;
}
.color-block-6 {
background: #F1C42C;
}
.color-block-7 {
background: #7BBA39;
}
.color-block-8 {
background: #7938BA;
}
.color-block-9 {
background: #3850BA;
}
.color-block-10 {
background: #51CB8F;
}
.price-container p{ margin:0 0 5px 0}
.document-container {
background:#FFF;
}
.document-header{
padding:0;
position:relative;
margin:0;
border-bottom:1px solid #DDD;
min-height:137px;
text-shadow: 0 1px 0 rgba(0,0,0,.1);
background-color: #6f5499;
background-image: -webkit-gradient(linear,left top,left bottom,from(#563d7c),to(#6f5499));
background-image: -webkit-linear-gradient(top,#563d7c 0,#6f5499 100%);
background-image: -o-linear-gradient(top,#563d7c 0,#6f5499 100%);
background-image: linear-gradient(to bottom,#563d7c 0,#6f5499 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
background-repeat: repeat-x;
color: #cdbfe3;
border-radius:2px 2px 0 0;
}
.ie8 .document-header{
min-height:135px;
}
.document-header .img-container{
border-radius:2px 0 0 0;
position:absolute;
left:0;top:0;
}
.document-header .header-info{
padding: 0px 0 10px 246px;
line-height:30px;
min-width:500px;
}
.ie8 .document-header .header-info{
min-width:150px;
}
.document-header .header-info .appname{
font-size:16px;
line-height:35px;
color:#FFF;
}
.download-container{
position:absolute;
right:10px;top:10px;
z-index:100;
}
.document-container {
width:100%;
margin:0;
border:none;
background:#FFF;
box-shadow:none;
overflow-x:hidden;
}
.document-container .document-body {
padding: 20px 0 0 0;
margin: 0 20px 0 20px;
overflow-x:hidden;
position:relative;
line-height:2;
}
.document-container .document-body img.dzz-image{
max-width: 100%;
}
.document-container .document-Carousel {
padding: 20px 0 0 0;
margin: 0 20px 0 20px;
min-height:200px;
overflow-x:hidden;
position:relative;
}
.document-container .document-comment {
padding: 20px 0 0 0;
margin: 0 20px;
}
.document-comment .attach-item{
height:20px;
line-height:20px;
padding:0 10px;
}
span.attach-item{
line-height:24px;
display:inline-block;
height:24px;
padding-right:8px;
}
span.attach-item img{
max-height:100%;
padding-right:5px;
}
.carousel-inner>.item>img, .carousel-inner>.item>a>img{
margin:0 auto;
}
/*12.12修改*/
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
white-space:nowrap;
}
.group-td-wrapper{
max-width:120px;
white-space:normal;
overflow: hidden;
text-overflow: ellipsis;
}
.group-td-wrapper>span {
white-space:nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.group-td-wrapper>span>img {
margin:0;
vertical-align: text-bottom;
}
.tag-td-wrapper{
max-width:120px;
height: 20px;
white-space:normal;
overflow: hidden;
text-overflow: ellipsis;
}
.tag-td-wrapper a{
color:#666;
display:inline-block;
padding:0 2px;
white-space:nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.app-info{
display: inline-block;
}
.app-info .select-info{
display:none;
}
span.num {
color:#4A89FD;
font-weight:700;
padding:0 2px;
margin:0;
}
.app-name-wrapper {
padding-left: 55px;
position: relative;
max-width: 350px;
min-height: 50px;
display: inline-block;
}
.appname a{
font-weight:600;
font-size:14px;
}
.appdesc{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size:13px;
cursor:default;
line-height: 25px;
max-width:300px;
}
.btn-top{
margin-left: 30px;
}
.btn-top a{
margin-right: 10px;
}
.all-center-top{
padding: 13px;
position:relative;
}
/*结束*/
@charset "utf-8";.img_236{max-width:236px;}* html .img_236{width:expression(this.width > 236 && this.width>=this.height ? 236:true);}.market-container .appitem{background:#FFF;width:236px;height:330px;box-shadow:0 1px 3px rgba(0,0,0,.3);position:relative;border-radius:2px;margin:8px;}.ie8 .market-container .appitem{border:1px solid #D9D9D7;}.img-container{width:236px;height:136px;padding:0;text-align:center;position:relative;overflow:hidden;display:block;border-radius:2px 2px 0 0;}.ie8 .img-container{width:234px;height:135px;}.appitem-desc{padding:10px 0;height:84px;line-height:1.5;overflow:hidden;color:#808080;}.appitem-footer{line-height:35px;}.appitem-title a{font-size:14px;font-weight:bold;color:#333;text-shadow:1px 1px 1px #FFF;}.appitem .appmeta{color:#353535;padding:15px 15px 0 15px;background:#fff;}.appmeta a{color:#333;font-weight:bold;display:block;text-decoration:none;}.appmeta a h3{display:block;font-size:14px;line-height:14px;margin:0 0 10px 0;height:14px;text-overflow:ellipsis;overflow:hidden;font-weight:bold;}.appmeta h4{font-size:11px;color:#808080;margin:0;padding-bottom:8px;border-bottom:1px solid #eee;}.color-block-1{background:#B82F68;}.color-block-2{background:#DB4B00;}.color-block-3{background:#BA4B3A;}.color-block-4{background:#009BCB;}.color-block-5{background:#37B298;}.color-block-6{background:#F1C42C;}.color-block-7{background:#7BBA39;}.color-block-8{background:#7938BA;}.color-block-9{background:#3850BA;}.color-block-10{background:#51CB8F;}.price-container p{margin:0 0 5px 0}.document-container{background:#FFF;}.document-header{padding:0;position:relative;margin:0;border-bottom:1px solid #DDD;min-height:137px;text-shadow:0 1px 0 rgba(0,0,0,.1);background-color:#6f5499;background-image:-webkit-gradient(linear,left top,left bottom,from(#563d7c),to(#6f5499));background-image:-webkit-linear-gradient(top,#563d7c 0,#6f5499 100%);background-image:-o-linear-gradient(top,#563d7c 0,#6f5499 100%);background-image:linear-gradient(to bottom,#563d7c 0,#6f5499 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c',endColorstr='#6F5499',GradientType=0);background-repeat:repeat-x;color:#cdbfe3;border-radius:2px 2px 0 0;}.ie8 .document-header{min-height:135px;}.document-header .img-container{border-radius:2px 0 0 0;position:absolute;left:0;top:0;}.document-header .header-info{padding:0px 0 10px 246px;line-height:30px;min-width:500px;}.ie8 .document-header .header-info{min-width:150px;}.document-header .header-info .appname{font-size:16px;line-height:35px;color:#FFF;}.download-container{position:absolute;right:10px;top:10px;z-index:100;}.document-container{width:100%;margin:0;border:none;background:#FFF;box-shadow:none;overflow-x:hidden;}.document-container .document-body{padding:20px 0 0 0;margin:0 20px 0 20px;overflow-x:hidden;position:relative;line-height:2;}.document-container .document-body img.dzz-image{max-width:100%;}.document-container .document-Carousel{padding:20px 0 0 0;margin:0 20px 0 20px;min-height:200px;overflow-x:hidden;position:relative;}.document-container .document-comment{padding:20px 0 0 0;margin:0 20px;}.document-comment .attach-item{height:20px;line-height:20px;padding:0 10px;}span.attach-item{line-height:24px;display:inline-block;height:24px;padding-right:8px;}span.attach-item img{max-height:100%;padding-right:5px;}.carousel-inner>.item>img,.carousel-inner>.item>a>img{margin:0 auto;}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{white-space:nowrap;}.group-td-wrapper{max-width:120px;white-space:normal;overflow:hidden;text-overflow:ellipsis;}.group-td-wrapper>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.group-td-wrapper>span>img{margin:0;vertical-align:text-bottom;}.tag-td-wrapper{max-width:120px;height:20px;white-space:normal;overflow:hidden;text-overflow:ellipsis;}.tag-td-wrapper a{color:#666;display:inline-block;padding:0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.app-info{display:inline-block;}.app-info .select-info{display:none;}span.num{color:#4A89FD;font-weight:700;padding:0 2px;margin:0;}.app-name-wrapper{padding-left:55px;position:relative;max-width:350px;min-height:50px;display:inline-block;}.appname a{font-weight:600;font-size:14px;}.appdesc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;cursor:default;line-height:25px;max-width:300px;}.btn-top{margin-left:30px;}.btn-top a{margin-right:10px;}.all-center-top{padding:13px;position:relative;}

File diff suppressed because it is too large Load Diff

View File

@@ -1,44 +1 @@
.menu{ width:100px;}
.menu-text{width:70px;}
.thumbnails .cloud-item{
margin:15px;
width:165px;
float:left;
}
.thumbnails>li img{
cursor:pointer;
}
.thumbnails>li.hover .thumbnail{
background:#F7F7F7;
}
.thumbnails>li.Selected .thumbnail {
background:#F7F7F7/*RGBA(200,200,200,0.8)*/;
}
.thumbnails .thumbnail{
position:relative;
}
.thumbnails>li .selectbox{
position:absolute;
width:16px;
height:16px;
right:0px;
top:0px;
background:url(checkbox.png) no-repeat;
display:none;
}
.thumbnails>li.hover .selectbox {
display:block;
}
.thumbnails>li.Selected .selectbox{
background:url(selected_folder.png) no-repeat;
display:block;
}
.menu{width:100px;}.menu-text{width:70px;}.thumbnails .cloud-item{margin:15px;width:165px;float:left;}.thumbnails>li img{cursor:pointer;}.thumbnails>li.hover .thumbnail{background:#F7F7F7;}.thumbnails>li.Selected .thumbnail{background:#F7F7F7;}.thumbnails .thumbnail{position:relative;}.thumbnails>li .selectbox{position:absolute;width:16px;height:16px;right:0px;top:0px;background:url(checkbox.png) no-repeat;display:none;}.thumbnails>li.hover .selectbox{display:block;}.thumbnails>li.Selected .selectbox{background:url(selected_folder.png) no-repeat;display:block;}

View File

@@ -1,636 +0,0 @@
// ****************** dzzjs V1.00 ******************
// 作者dzzjs1.0
// 版本1.00
// 网站http://www.dzz.cc
// 邮件admin@dzz.cc
// 版权版权归dzz.cc所有,任何人未经允许,不得使用和修改此代码
// **********************************************************
// ----------------------------------------------------------
function OpenWindow(url, name,feature)
{
var content, title, features;
content = "[url]" + url;
title=name;
if(feature) features=feature;
else features = "pattern=title,width=500,height=370";
_window.Open(content, title, features);
}
function _window(features)
{
this.id=this.name="_W_test";
this.string="_window.windows."+this.id;
this.zIndex=++_window.zIndex;
this.className='mac';
this.bodyWidth= parseInt(_window.getFeature(features,"width")) || 800;
this.bodyHeight= parseInt(_window.getFeature(features,"height")) ||500;
this.left= _window.getFeature(features,"left");
this.top= _window.getFeature(features,"top");
this.right=_window.getFeature(features,"right");
this.bottom=_window.getFeature(features,"bottom");
this.move=_window.getFeature(features,"move").toLowerCase()||"move";
this.maxmine=_window.getFeature(features,"maxmine").toLowerCase()||"max";
this.minmine=_window.getFeature(features,"minmine").toLowerCase()||"min";
this.closeable=_window.getFeature(features,"close").toLowerCase()||"close";
this.isModal=_window.getFeature(features,"ismodal")?true:false;
this.button=_window.getFeature(features,"button").toUpperCase();
this.resize=_window.getFeature(features,"resize").toLowerCase()||"resize";
this.pattern=_window.getFeature(features,"pattern").toLowerCase()||"title";//样式分 noborder border title三种默认 title;
this.buttons={};
_window.windows[this.id]=this;
};
_window.windows={};
_window.Max=new Array();
_window.Version="dzzdesktop js 1.0";
_window.Width=400;
_window.Height=-1;
_window.Timer=0;
_window.zIndex=4000;
_window.wIndex=4000;
_window.windows={};
_window.clientWidth=document.documentElement.clientWidth;
_window.clientHeight=document.documentElement.clientHeight;
_window.onmousemove=null;
_window.onmouseup=null;
_window.onselectstart=1;
_window.sum=0;
_window.ctrl=0;
_window.alt=0;
_window.hidetime=500;
_window.getFeature=function(source,name)
{
var reg=new RegExp("(^|,|\\s)"+ name +"\\s*=\\s*([^,]*)(\\s|,|$)","i");
if (reg.test(source)) return RegExp.$2;
return "";
};
_window.getMaxNumber=function()
{
var num=0;
for(var i=0;i<arguments.length;i++) {if(arguments[i]>num) num=arguments[i];}
return num;
};
_window.Open=function(content,title,features)
{
var obj=new _window(features);
obj.Creat(content,title);
return obj;
};
_window.prototype.Creat=function(content,title)
{
this.board=document.createElement("div");
this.board.className=this.className;
this.board.style.position="absolute";
this.board.style.zIndex=this.zIndex;
this.board.style.visibility="hidden";
document.body.appendChild(this.board);
if(!_window.clientHeight)
{
this.board.style.left = "100%";
this.board.style.top = "100%";
_window.clientWidth = this.board.offsetLeft;
_window.clientHeight = this.board.offsetTop;
}
var styles=new Array("LEFT_TOP","TOP","RIGHT_TOP","RIGHT","RIGHT_BOTTOM","BOTTOM","LEFT_BOTTOM","LEFT","SHADOW_TOP","SHADOW_RIGHT","SHADOW_BOTTOM","SHADOW_LEFT","CONTENT","TITLE");
this.sides=new Array();
var obj=document.createElement("div");
var self=this;
if(this.button)
{
styles[4]="RIGHT_BOTTOM_BY_BUTTON";
styles[5]="BOTTOM_BY_BUTTON";
styles[6]="LEFT_BOTTOM_BY_BUTTON";
styles[styles.length]="BUTTON";
}
if(this.resize!="no") {styles[styles.length]="RESIZE";styles[styles.length]="RESIZE-X";styles[styles.length]="RESIZE-Y";}
if(this.closeable!="no") styles[styles.length]="CLOSE";
for(var i=0;i<styles.length;i++)
{
var obj=document.createElement("div");
obj.className=styles[i];
obj.style.position="absolute";
this.board.appendChild(obj);
switch(styles[i])
{
case "CONTENT":
this.contentCase=obj;
obj.style.width=this.bodyWidth+"px";
if(this.bodyHeight>0) obj.style.height=this.bodyHeight+"px";
obj.style.left=(this.sides[7].width+obj.offsetLeft)+"px";
obj.style.top=(this.sides[1].height+obj.offsetTop)+"px";
this.SetContent(content);
this.width=this.bodyWidth+this.sides[3].width+this.sides[7].width;
this.height=this.bodyHeight+this.sides[1].height+this.sides[5].height;
this.minWidth=_window.getMaxNumber(this.sides[0].width+this.sides[2].width,this.sides[3].width+this.sides[7].width,this.sides[4].width+this.sides[6].width)+20;
this.minHeight=_window.getMaxNumber(this.sides[0].height+this.sides[6].height,this.sides[1].height+this.sides[5].height,this.sides[2].height+this.sides[4].height)+2;
this.board.style.height=this.height+"px";
this.board.style.width=this.width+"px";
var self=this;
break;
case "TITLE":
this.titleCase=obj;
obj.style.width=this.width+"px";
this.titleCase.dx=obj.offsetWidth-this.width;
if(this.minWidth<this.titleCase.dx){ this.minWidth=this.titleCase.dx;this.titlewidth=this.titleCase.dx}
if(this.width>this.titleCase.dx){ obj.style.width=(this.width-this.titleCase.dx)+"px";this.titlewidth=this.width-this.titleCase.dx}
this.SetTitle(title);
jQuery(obj).bind('ondblclick',function(e){self.Max();});
jQuery(obj).bind('mousedown',function(e){self.PreMove(e?e:window.event);});
//jQuery(obj).bind('mouseup',function(e){self.Moved(e?e:window.event);});
break;
case "BUTTON":
this.buttonCase=obj;
obj.style.width=this.width+"px";
obj.style.bottom="0px";
this.buttonCase.dx=obj.offsetWidth-this.width;
if(this.minWidth<this.buttonCase.dx) this.minWidth=this.buttonCase.dx;
if(this.width>this.buttonCase.dx) obj.style.width=(this.width-this.buttonCase.dx)+"px";
var buttons=this.button.split("|");
for(var j=0;j<buttons.length;j++)
{
var ox=document.createElement("button");
ox.className=buttons[j];
ox.title=buttons[j];
obj.appendChild(ox);
jQuery(ox).bind('click',function(e){eval(self.string+".On"+this.title+"()")});
this.buttons[buttons[j]]=ox;
}
break;
case "RESIZE":
obj.style.cursor="url('dzz/images/cur/aero_nwse.cur'),auto";
jQuery(obj).bind('mousedown',function(e){self.resize='yes';self.PreResize(e?e:window.event);});
jQuery(obj).bind('mouseup',function(e){self.resize='resize-x';self.Resized(e?e:window.event);});
break;
case "CLOSE":
jQuery(obj).bind('click',function(e){self.Close();});
break;
case "RESIZE-X":
obj.style.height=this.height+'px';
this.resizexCase=obj;
obj.style.cursor="e-resize";
jQuery(obj).bind('mousedown',function(e){self.resize='resize-x';self.PreResize(e?e:window.event);});
jQuery(obj).bind('mouseup',function(e){self.resize='resize-x';self.Resized(e?e:window.event);});
break;
case "RESIZE-Y":
obj.style.width=this.width+'px';
this.resizeyCase=obj;
obj.style.cursor="s-resize";
jQuery(obj).bind('mousedown',function(e){self.resize='resize-y';self.PreResize(e?e:window.event);});
jQuery(obj).bind('mouseup',function(e){self.resize='resize-x';self.Resized(e?e:window.event);});
break;
default:
this.sides[i]=obj;
this.sides[i].width=obj.offsetWidth;
this.sides[i].height=obj.offsetHeight;
jQuery(obj).bind('mousedown',function(e){self.PreMove(e?e:window.event);});
jQuery(obj).bind('mouseup',function(e){self.Moved(e?e:window.event);});
break;
}
}
this.sides[1].dx=this.sides[0].width+this.sides[2].width;
if(this.width>this.sides[1].dx) this.sides[1].style.width=(this.width-this.sides[1].dx)+"px";
this.sides[3].dy=this.sides[2].height+this.sides[4].height;
if(this.height>this.sides[3].dy) this.sides[3].style.height=(this.height-this.sides[3].dy)+"px";
this.sides[5].dx=this.sides[4].width+this.sides[6].width;
if(this.width>this.sides[5].dx) this.sides[5].style.width=(this.width-this.sides[5].dx)+"px";
this.sides[7].dy=this.sides[6].height+this.sides[0].height;
if(this.height>this.sides[7].dy) this.sides[7].style.height=(this.height-this.sides[7].dy)+"px";
this.sides[0].style.left="0px";
this.sides[0].style.top="0px";
this.sides[1].style.left=this.sides[0].width+"px";
this.sides[1].style.top="0px";
this.sides[2].style.right="0px";
this.sides[2].style.top="0px";
this.sides[3].style.right="0px";
this.sides[3].style.top=this.sides[2].height+"px";
this.sides[4].style.right="0px";
this.sides[4].style.bottom="0px";
this.sides[5].style.left=this.sides[6].width+"px";
this.sides[5].style.bottom="0px";
this.sides[6].style.left="0px";
this.sides[6].style.bottom="0px";
this.sides[7].style.left="0px";
this.sides[7].style.top=this.sides[0].height+"px";
this.left=this.left?parseInt(this.left):(this.right?_window.clientWidth-this.width-parseInt(this.right):parseInt((_window.clientWidth-this.width)/2));
this.top=this.top?parseInt(this.top):(this.bottom?_window.clientHeight-this.height-parseInt(this.bottom):parseInt((_window.clientHeight-this.height)/2));
if(this.left<0) this.left=0;
if(this.top<0) this.top=0;
this.left+=document.documentElement.scrollLeft;
this.top+=document.documentElement.scrollTop;
this.board.style.left=this.left+"px";
this.board.style.top=this.top+"px";
this.board.style.visibility="visible";
this.status=1;
var self=this;
};
_window.prototype.SetContent=function(content)
{
var type=content.slice(0,5),tent=content.slice(5);
//if(this.oldcase)
//{
// this.oldcase.appendChild(this.oldcontent);
// this.oldcase = null;
//}
if(type=="[url]")
{
if(this.iframe)
{
if(this.contentCase.firstChild!=this.iframe) this.contentCase.replaceChild(this.iframe,this.contentCase.firstChild);
this.iframe.src=tent;
}
else
{
var url=tent;
if(url.substr(url.lastIndexOf('.')).toLowerCase()=='.swf'){
this.contentCase.innerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="FlashID" title="test"><param name="movie" value="'+url+'" /><param name="quality" value="high" /><param name="wmode" value="Opaque" /><param name="swfversion" value="8.0.35.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!--[if !IE]>--><object type="application/x-shockwave-flash" data="'+url+'" width="100%" height="100%"><!--<![endif]--><param name="quality" value="high" /><param name="wmode" value="Opaque" /><param name="swfversion" value="8.0.35.0" /><param name="expressinstall" value="Scripts/expressInstall.swf" /> <div><h4>Need Adobe Flash Player.</h4><p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" width="112" height="33" /></a></p></div><!--[if !IE]>--></object> <!--<![endif]--></object>';
}else{
window.onbeforeunload=function(){
return 'ddddddddd';
}
var xframe=document.createElement('iframe');
xframe.name = 'ifm0';
xframe.id = 'ifm0';
xframe.frameBorder=0;
xframe.marginHeight=0;
xframe.marginWidth=0;
xframe.allowtransparency=true;
xframe.src=url;
xframe.style.width='100%';
xframe.style.height='100%';
jQuery(xframe).bind('load',function(){window.onbeforeunload=null;});
this.contentCase.style.overflow='hidden';
this.contentCase.appendChild(xframe);
}
if(this.bodyHeight<0) this.bodyHeight=1;
}
}
};
_window.prototype.SetTitle=function(title)
{
if(this.pattern=='noborder') this.titleCase.style.display='none';
title=title||"dzz.cc";
if(this.title==title) return false;
var self=this;
jQuery(this.titleCase).bind('contextmenu',function(e){self.Windowmenu(e?e:window.event);});
this.title='<table width="90%" height="100%" border="0" cellspacing="0"><tr><td align="center" valign="bottom">'+title+'</td></tr></table>';
this.titleCase.innerHTML=this.title;
};
_window.prototype.Duplicate1=function()
{
if(this.copy1) return false;
this.copy1=document.createElement("DIV");
this.contentCase.appendChild(this.copy1);
this.copy1.style.cssText="position:absolute;left:"+(this.oldleft)+"px;top:"+(this.oldtop)+"px;width:0px;height:0px;border:2px dotted #000000;";
this.copy1.style.zIndex=5000;
};
_window.prototype.Focus=function(e)
{
if(this.zIndex<_window.zIndex) this.board.style.zIndex=this.zIndex=++_window.zIndex;
this.isHide=0;
this.status=1;
jQuery(this.board).show();
return false;
};
_window.prototype.Close=function()
{
jQuery(this.board).remove();
delete _window.windows[this.id];
for(var key in this) delete this[key];
};
_window.prototype.Showhide=function()
{
this.Focus();
this.board.style.display='block';
this.isHide=0;
this.status=1;
};
_window.prototype.Windowmenu=function()
{
};
_window.prototype.Hidden=function()
{
this.board.style.zIndex=-99999;
};
_window.prototype.Duplicate=function()
{
if(typeof(this.copy)=='undefined' || this.copy==null) {
this.copy=document.createElement("DIV");
document.body.appendChild(this.copy);
}
this.copy.style.cssText="position:absolute;background:url(dzz/images/b.gif);left:"+(this.left-2)+"px;top:"+(this.top-2)+"px;width:"+this.width+"px;height:"+this.height+"px;border:2px dotted #000000;";
this.copy.style.zIndex=this.zIndex+2;
document.getElementById('_blank').style.display='block';
};
_window.prototype.DetachEvent=function(e)
{
document.onmousemove=_window.onmousemove;
document.onmousemove=_window.onmousemove;
document.onmouseup=_window.onmouseup;
document.onselectstart=_window.onselectstart;
if(this.board.releaseCapture) this.board.releaseCapture();
//_window.tach=0;
document.getElementById('_blank').style.display='none';
};
_window.prototype.AttachEvent=function(e)
{
_window.onmousemove=document.onmousemove;
_window.onmouseup=document.onmouseup;
_window.onselectstart=document.onselectstart;
if(e.preventDefault) e.preventDefault();
else
{
document.onselectstart=function(){return false;}
if(this.board.setCapture) this.board.setCapture();
}
document.getElementById('_blank').style.display='block';
};
_window.prototype.PreResize=function(e)
{
if(this.move=='no') return;
if (typeof(this.ResizeTimer)!="undefined") clearTimeout(this.ResizeTimer);
this.Focus();
//this.Duplicate();
this.resizeX=e.clientX-this.width-4;
this.resizeY=e.clientY-this.height-4;
//document.body.style.cursor="url('dzz/images/cur/aero_nwse.cur'),auto";;
this.AttachEvent(e);
var self=this;
eval("document.onmousemove=function(e){"+this.string+".Resize(e?e:window.event);};");
eval("document.onmouseup=function(e){"+this.string+".Resized(e?e:window.event);};");
};
_window.prototype.Resize=function(e)
{
var dx=0;
var dy=0;
if(this.resize!="resize-y")
{
var w=e.clientX-this.resizeX-4;
w=(w>this.minWidth)?w:this.minWidth;
if((w+this.left)>document.documentElement.clientWidth) w=document.documentElement.clientWidth-this.left;
dx=w-this.width;
this.width+=dx;
this.resizeyCase.style.width=this.width+'px';
this.board.style.width=this.width+"px";
this.sides[1].style.width=(this.width-this.sides[1].dx)+"px";
this.sides[5].style.width=(this.width-this.sides[5].dx)+"px";
this.titleCase.style.width=(this.width-this.titleCase.dx)+"px";
if(this.buttonCase) this.buttonCase.style.width=(this.width-this.buttonCase.dx)+"px";
this.bodyWidth+=dx;
this.contentCase.style.width=this.bodyWidth+"px";
}
if(this.resize!="resize-x")
{
var h=e.clientY-this.resizeY;
var h=(h>this.minHeight)?h:this.minHeight;
if((h+this.top)>_window.clientHeight) h=_window.clientHeight-this.top;
dy=h-this.height;
this.height+=dy;
this.resizexCase.style.height=this.height+'px';
this.board.style.height=this.height+"px";
this.sides[3].style.height=(this.height-this.sides[3].dy)+"px";
this.sides[7].style.height=(this.height-this.sides[7].dy)+"px";
this.bodyHeight+=dy;
this.contentCase.style.height=this.bodyHeight+"px";
}
};
_window.prototype.Resized=function(e)
{
this.DetachEvent(e);
//记录窗口的大小
document.getElementById('width').value=this.bodyWidth;
document.getElementById('height').value=this.bodyHeight;
};
_window.prototype.ResizeBy=function(bodyWidth,bodyHeight)
{
var dx=bodyWidth-this.bodyWidth;
var dy=bodyHeight-this.bodyHeight;
if(dx)
{
this.width+=dx;
this.board.style.width=this.width+"px";
this.blank.style.width=this.width+'px';
this.sides[1].style.width=(this.width-this.sides[1].dx)+"px";
this.sides[5].style.width=(this.width-this.sides[5].dx)+"px";
this.titleCase.style.width=(this.width-this.titleCase.dx)+"px";
if(this.buttonCase) this.buttonCase.style.width=(this.width-this.buttonCase.dx)+"px";
this.bodyWidth+=dx;
this.contentCase.style.width=this.bodyWidth+"px";
if(this.folder && this.folder!='sys') this.blankcontent.style.width=this.bodyWidth+"px";
if(typeof(this.topbarCase)!='undefined'){
this.topbarCase.style.width=this.bodyWidth+this.sides['leftbar'].width+this.sides['rightbar'].width+"px";
}
if(typeof(this.bottombarCase)!='undefined'){
this.bottombarCase.style.width=this.bodyWidth+this.sides['leftbar'].width+this.sides['rightbar'].width+"px";
}
}
if(dy){
this.height+=dy;
this.board.style.height=this.height+"px";
this.blank.style.height=this.height+"px";
this.sides[3].style.height=(this.height-this.sides[3].dy)+"px";
this.sides[7].style.height=(this.height-this.sides[7].dy)+"px";
this.bodyHeight+=dy;
this.contentCase.style.height=this.bodyHeight+"px";
if(this.folder && this.folder!='sys') this.blankcontent.style.height=this.bodyHeight+"px";
if(typeof(this.bottombarCase)!='undefined'){
this.bottombarCase.style.top=(this.sides[1].height+this.sides['topbar'].height+this.bodyHeight)+"px";
}
if(typeof(this.leftbarCase)!='undefined'){
this.leftbarCase.style.height=this.bodyHeight+"px";
}
if(typeof(this.rightbarCase)!='undefined'){
this.rightbarCase.style.left=(this.width-this.sides[7].width-this.sides['rightbar'].width)+"px";
this.rightbarCase.style.height=this.bodyHeight+"px";
}
}
//if(this.folder) this.SetFolderContent(this.folder,this.id);
};
_window.prototype.Mousedown=function(e)
{
if(jQuery.browser.msie){
if(e.button>1) return;
}else{
if(e.button>0) return;
}
this.Focus();
this.mousedowndoing=false;
var self=this;
var XX=e.clientX;
var YY=e.clientY;
_window.even=e;
if(e.preventDefault) e.preventDefault();
_window.onselectstart=document.onselectstart;
document.onselectstart=function(){return false;};
this.PreMove(_window.even,XX,YY);
//eval("document.onmouseup=function(e){"+this.string+".Moved(e?e:window.event);};");
};
_window.prototype.Mouseup=function(e)
{
//alert('movedup');
document.onselectstart=_window.onselectstart;
clearTimeout(this.mousedownTimer);
this.DetachEvent(e);
};
_window.prototype.PreMove=function(e)
{
this.Focus();
if (this.move=="no") return;
var XX=e.clientX;
var YY=e.clientY;
//this.Duplicate();
jQuery('#_blank').show();
this.moveX=XX-this.left;
this.moveY=YY-this.top;
document.body.style.cursor="url('dzz/images/cur/aero_arrow.cur'),auto";
var self=this;
this.AttachEvent(e);
eval("document.onmousemove=function(e){"+this.string+".Move(e?e:window.event);};");
eval("document.onmouseup=function(e){"+this.string+".Moved(e?e:window.event);};");
};
_window.prototype.Move=function(e)
{
var XX=e.clientX;
var YY=e.clientY;
if(XX<0) XX=0;
if(YY<0) YY=0;
if(XX>_window.clientWidth) XX=_window.clientWidth;
if(YY>_window.clientHeight) YY=_window.clientHeight;
if (XX-this.moveX+this.width>_window.clientWidth) XX=_window.clientWidth+this.moveX-this.width;
if(XX-this.moveX<=0) XX=this.moveX;
if (YY-this.moveY+this.height>_window.clientHeight) YY=_window.clientHeight+this.moveY-this.height;
if(YY-this.moveY<=0) YY=this.moveY;
if(this.move!="move-y") {this.board.style.left=(XX-this.moveX)+"px";this.left=XX-this.moveX;}
if(this.move!="move-x") {this.board.style.top=(YY-this.moveY)+"px";this.top=YY-this.moveY;}
};
_window.prototype.Moved=function(e)
{
this.DetachEvent(e);
jQuery('#_blank').hide();
var XX=e.clientX;
var YY=e.clientY;
if(XX<0) XX=0;
if(YY<0) YY=0;
if(XX>_window.clientWidth) XX=_window.clientWidth;
if(YY>_window.clientHeight) YY=_window.clientHeight;
if (XX-this.moveX+this.width>_window.clientWidth) XX=_window.clientWidth+this.moveX-this.width;
if(XX-this.moveX<=0) XX=this.moveX;
if (YY-this.moveY+this.height>_window.clientHeight) YY=_window.clientHeight+this.moveY-this.height;
if(YY-this.moveY<=0) YY=this.moveY;
var tx=(this.move=="move-y")?null:(XX-this.moveX);
var ty=(this.move=="move-x")?null:(YY-this.moveY);
this.board.style.left=tx+"px";
this.board.style.top=ty+"px";
};
_window.prototype.DisableButton=function(name,style)
{
name=name.toUpperCase();
this.buttons[name].disabled=true;
this.buttons[name].className=(style?style:"DISABLED")+" "+name;
};
_window.prototype.EnableButton=function(name)
{
name=name.toUpperCase();
this.buttons[name].disabled=false;
this.buttons[name].className=name;
};
_window.prototype.OnBACK=function()
{
if(!this.step) this.step=0;
if(this.OnBACKS){ if(this.step>0) this.OnBACKS[--this.step]();}
};
_window.prototype.OnNEXT=function()
{
if(!this.step) this.step=0;
if(this.OnNEXTS){ if(this.step<this.OnNEXTS.length) this.OnNEXTS[this.step++]();}
};
_window.prototype.OnOK=function()
{
this.Close();
};
_window.prototype.OnCANCEL=function()
{
this.Close();
};

View File

@@ -1,265 +0,0 @@
/*公共*/
.table-hover>tbody>tr:hover{
background: none;
}
.nav>li>a{
color: #777;
}
.nav>li>a:focus, .nav>li>a:hover,.active>a{
/*background: none;*/
/*color: #4285F4;*/
}
ul,ul li,li{
list-style: none;
padding: 0;
margin: 0;
}
html{
/*width: 100%;
margin: 0;
overflow: hidden;*/
height: 100%;
}
body{
width: 100%;
height: 100%;
min-width:768px;
/*overflow-y: hidden;*/
font-family: "微软雅黑";
background: #fff;
}
button:focus{
outline: 0;
}
#middleconMenu{
padding: 0 60px;
}
.bs-left-container{
height:100%;
position: absolute;
top: 0;
left: 0;
z-index:10;
overflow:hidden;
transition: left .35s ease-in-out;
background: #FFF;
}
/*左边部分*/
.article_left_ul{
padding: 0px 0px;
}
.article_left_ul>li>a{
color: #838383;
display: block;
height: 55px;
line-height: 55px;
padding-left: 30px;
color: #818181;
cursor: pointer;
font-size: 14px;
}
.article_left_ul>li>ul>li>a{
padding-left: 60px;
}
.articleCon_left_ul{
padding-left: 30px;
display: none;
}
.article_left_ul li>a:hover {
background: #F4F4F4;
}
/*结束*/
/*右侧部分*/
.corpus-item{
margin:0px 35px 35px 0;
}
/*结束*/
/*头部*/
.navbar-corpus{
position: fixed;
height:60px;
left: 0;
right: 0;
z-index: 10;
min-width: 678px;
}
@media (min-width: 0px){
.navbar-nav>li {
float: left;
}
}
.navbar-corpus{
background: #3270d0;
border-color:#3270D0;
box-shadow : 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.navbar{
margin-bottom: 0;
}
.resCon{
height: 60px;
text-align: center;
}
.navbar-corpus .navbar-nav>li>a{
color: #FFFFFF;
font-size: 16px;
line-height: 30px;
padding: 15px;
}
@media (max-width: 768px){
.navbar-nav>li>a {
padding-top: 15px;
padding-bottom: 15px;
}
}
@media (min-width: 768px){
.navbar {
border-radius: 0px;
}
}
.left-drager-op .icon-bar{
background-color: #FFFFFF;
display: block;
width: 22px;
height: 1px;
}
.left-drager-op .icon-bar+.icon-bar {
margin-top: 6px;
}
.input-search-dark .form-search{
background: rgba(255,255,255,0.3);
border: 0;
}
/*.input-search .form2-search{
background-color:#fff;
}*/
.input-search-dark .form-search:focus{
background: rgba(255,255,255,1);
}
.resSearch{
width: 35%;
float: left;
margin-left: 25px;
}
.resSearch .form-group{
margin-bottom: 0;
padding-top: 10px;
}
.input-search .input-search-icon,.input-search .input-search-drop{
color: #FFFFFF;
opacity: 1;
}
.input-search-word input.search{
color: #fff;
}
.input-search-word input.leave{
color: rgba(255,255,255,0.7);
}
.container{
width:100%;
height:100%;
position:relative;
}
.main-header2 {
padding: 5px 8px;
position:relative;
margin:0;
}
.main-header2 span{
margin-left:20px;
}
.main-header2 .input-group{
margin:3px 0 0;
}
.main-header2 .input-group{
margin:3px 0 0;
}
.main-header2 .nav>li>a{
padding:5px 10px;
margin:5px;
}
.main-header2 .child-org .child-tree{
display:inline-block;
width:20px;
height:26px;
margin-left:10px;
}
.partion{
padding:10px;
margin:10px;
background:#F5F5F5;
}
.controls .nav-pills{
margin-bottom:5px;
}
.nav-pills form{
margin:0;
}
.p_right {
background: url(../../static/image/common/check_right.gif) no-repeat 10px 12px;
width: 30px;
}
.table td{
vertical-align:middle;
}
.table td input{
margin:0;
}
.table td img{
max-width:32px;
max-height:32px;
margin-right:10px;
padding:0;
}
.table td p{
margin:5px 0;
}
.tag-header{
border-bottom: 1px solid #DDD;
padding: 0 10px;
position:relative;
margin:0;
}
.tag-header .nav>li>a{
padding:5px;
margin:5px 10px;
}
.tag-header table td{
vertical-align:middle;
}
.tag-container{
margin:0;
}
.tag-container a{
padding:0 5px;
float:left;
}
.table thead th{
vertical-align:top;
}
a i{
font-size:1.2em;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -1,80 +1 @@
.container{
width:100%;
height:100%;
overflow:hidden;
position:relative;
}
.left-container{
width:180px;
height:100%;
background: url("images/aside-right-shadow.jpg") repeat-y scroll right top #F0F0F0;
border-right: 1px solid #C6C8CC;
bottom: 0;
left: 0;
overflow: hidden;
position: absolute;
padding-top:10px;
top: 0;
z-index: 900;
}
.main-container{
margin-left:180px;
height:100%;
}
.main-container .header-top{
background:url("images/outer_bn2.gif") repeat-x scroll left -53px #F7F7F7;
position:absolute;z-index:-1; width:100%;height:38px;overflow:hidden;left:0;top:0;
border-bottom:1px solid #C6C8CC;
}
ul li, .xl li {
list-style: none outside none;
}
.list-item{
margin:0;
}
.list-item a, .list-item a:link, .list-item a:visited {
color: #333333;
display: block;
font-size: 14px;
font-weight: bold;
height: 31px;
line-height: 31px;
padding: 1px 0;
text-decoration: none;
height: 31px;
line-height: 31px;
color: #999;
text-shadow:1px 1px 1px #EEE;
}
.list-item .active a,.list-item .active a:hover{
background: url('images/aside-hover-on.png') right -33px no-repeat;
color: #000;
text-shadow:1px 1px 1px #EEE;
}
.list-item li a:hover{
background: url('images/aside-hover-on.png') right top no-repeat;
color: #000;
text-shadow:1px 1px 1px #EEE;
}
.list-item a .text1{
cursor: pointer;
display: block;
height: 31px;
margin: 0 auto;
padding-left: 30px;
position: relative;
width: 125px;
}
.list-item a .img-ico {
height: 20px;
left: 2px;
margin: 0;
position: absolute;
top: 6px;
width: 23px;
background: url("images/btn_icon.gif?1") no-repeat scroll 0 0 transparent;
}
.list-item a .icon-app, .list-item a:link .icon-app, .list-item a:link .icon-app, .list-item a:hover .icon-app, .list-item a:active .icon-app {
background-position: -65px -14px;
}
.container{width:100%;height:100%;overflow:hidden;position:relative;}.left-container{width:180px;height:100%;background:url("images/aside-right-shadow.jpg") repeat-y scroll right top #F0F0F0;border-right:1px solid #C6C8CC;bottom:0;left:0;overflow:hidden;position:absolute;padding-top:10px;top:0;z-index:900;}.main-container{margin-left:180px;height:100%;}.main-container .header-top{background:url("images/outer_bn2.gif") repeat-x scroll left -53px #F7F7F7;position:absolute;z-index:-1;width:100%;height:38px;overflow:hidden;left:0;top:0;border-bottom:1px solid #C6C8CC;}ul li,.xl li{list-style:none outside none;}.list-item{margin:0;}.list-item a,.list-item a:link,.list-item a:visited{color:#333333;display:block;font-size:14px;font-weight:bold;height:31px;line-height:31px;padding:1px 0;text-decoration:none;height:31px;line-height:31px;color:#999;text-shadow:1px 1px 1px #EEE;}.list-item .active a,.list-item .active a:hover{background:url('images/aside-hover-on.png') right -33px no-repeat;color:#000;text-shadow:1px 1px 1px #EEE;}.list-item li a:hover{background:url('images/aside-hover-on.png') right top no-repeat;color:#000;text-shadow:1px 1px 1px #EEE;}.list-item a .text1{cursor:pointer;display:block;height:31px;margin:0 auto;padding-left:30px;position:relative;width:125px;}.list-item a .img-ico{height:20px;left:2px;margin:0;position:absolute;top:6px;width:23px;background:url("images/btn_icon.gif?1") no-repeat scroll 0 0 transparent;}.list-item a .icon-app,.list-item a:link .icon-app,.list-item a:link .icon-app,.list-item a:hover .icon-app,.list-item a:active .icon-app{background-position:-65px -14px;}

View File

@@ -1,49 +0,0 @@
.main-header2 span{
margin-left:20px;
}
.main-header2 {
border-bottom: 1px solid #CCCCCC;
height: 40px;
padding: 0 10px;
font-size: 12px;
position:relative;
line-height:40px;
margin:0;
}
.main-header2 .nput-group{
margin:5px 0 0;
}
.main-header2 .nput-group{
margin:5px 0 0;
}
.main-header2 .dropdown{
margin:3px 0 0;
}
.main-header2 .child-org .child-tree{
display:inline-block;
width:20px;
height:26px;
margin-left:10px;
}
.partion{
padding:10px;
margin:10px;
background:#F5F5F5;
}
.controls .nav-pills{
margin-bottom:5px;
}
.p_right {
background: url(../../static/image/common/check_right.gif) no-repeat 10px 12px;
width: 30px;
}
.table td{
vertical-align:middle;
}
.table td p{
margin:5px 0;
}

View File

@@ -1,140 +0,0 @@
#ajaxwaitid { display: none; position: absolute; right: 0; top: 0; z-index: 1; padding: 0 5px; background: #F7F7F7 }
a,a:hover,a:focus{
text-decoration:none;
}
.container{
width:100%;
height:100%;
overflow:hidden;
position:relative;
}
.left-container{
width:210px;
}
.main-container{
margin-left:220px;
}
/*ul li, .xl li {
list-style: none outside none;
}*/
.list-item{
margin:0;
padding-top:10px;
}
.list-item li {
color: black;
height: 34px;
line-height: 34px;
padding: 0 10px;
position: relative;
background-image: url("aside-hover-on.png");
background-position: 0 100px;
background-repeat: no-repeat;
overflow: hidden;
}
.list-item li.sel {
background-position: 0 -33px;
}
.list-item li.hover {
background-position:0 0;
}
.list-item li .list-wrap {
display: block;
/*float: left;*/
/* max-width: 150px;
overflow: hidden;
padding-right: 60px;*/
position: relative;
white-space: nowrap;
}
.list-item li .list-wrap .name {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
text-shadow:1px 1px 1px #F7F7F7;
width: 140px;
}
.list-item li .list-wrap .edit, .list-item li .list-wrap .del {
background-image: url("icon.png");
position: absolute;
}
.list-item li .list-wrap .del:hover {
background-position: -247px -87px;
}
.list-item li .list-wrap .hide {
left: 0;
visibility: hidden;
width: 0;
}
.list-wrap .g-edit input {
width: 150px;
font-size:12px;
}
.list-item li .list-wrap .visible {
visibility: visible;
}
.list-item li .list-wrap .edit {
background-position: -187px -87px;
height: 19px;
right: 20px;
top: 6px;
width: 19px;
}
.list-item li .list-wrap .edit:hover {
background-position: -208px -87px;
}
.list-item li .list-wrap .del {
background-position: -229px -87px;
height: 18px;
right: 0px;
top: 7px;
width: 15px;
}
.mou-evt {
cursor: pointer;
}
.tips {
left:50%;
position:fixed;
top:0px;
width:350px;
margin-left:-125px;
z-index:999;
}
.main-header span{
font-size:16px;
text-shadow:1px 1px 1px #F7F7F7;
font-weight:bold;
}
.main-content .table td{
vertical-align:middle;
}
.main-content .table td input{
margin-bottom:0;
}
.main-content .table tbody + tbody {
border-top: 1px solid #CCCCCC;
}
.main-content .child-org .child-tree{
display:inline-block;
width:20px;
height:26px;
margin-left:10px;
float:left;
}
.form-submit{
padding:0 20px;
}
.moderators-item{
margin:0 5px;
}

View File

@@ -5,45 +5,4 @@
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
function checkAll(type, form, value, checkall, changestyle) {
var checkall = checkall ? checkall : 'chkall';
for(var i = 0; i < form.elements.length; i++) {
var e = form.elements[i];
if(type == 'option' && e.type == 'radio' && e.value == value && e.disabled != true) {
e.checked = true;
} else if(type == 'value' && e.type == 'checkbox' && e.getAttribute('chkvalue') == value) {
e.checked = form.elements[checkall].checked;
if(changestyle) {
multiupdate(e);
}
} else if(type == 'prefix' && e.name && e.name != checkall && (!value || (value && e.name.match(value)))) {
e.checked = form.elements[checkall].checked;
if(changestyle) {
if(e.parentNode && e.parentNode.tagName.toLowerCase() == 'li') {
e.parentNode.className = e.checked ? 'checked' : '';
}
if(e.parentNode.parentNode && e.parentNode.parentNode.tagName.toLowerCase() == 'div') {
e.parentNode.parentNode.className = e.checked ? 'item checked' : 'item';
}
}
}
}
}
function fixTree_organization(el){
el.find('.tree-heng1').each(function(){
var tr=jQuery(this).parent().parent().parent();
var dep=jQuery(this).parent().find('.tree-su').length;
tr.nextAll().each(function(){
var child_org=jQuery(this).find('.child-org');
var dep1=child_org.find('.tree-su').length;
if(dep1<=dep) return false;
else{
child_org.find('.tree-su').eq(dep).removeClass('tree-su');
}
});
});
}
function checkAll(e,t,a,n,r){n=n||"chkall";for(var c=0;c<t.elements.length;c++){var d=t.elements[c];"option"==e&&"radio"==d.type&&d.value==a&&1!=d.disabled?d.checked=!0:"value"==e&&"checkbox"==d.type&&d.getAttribute("chkvalue")==a?(d.checked=t.elements[n].checked,r&&multiupdate(d)):"prefix"==e&&d.name&&d.name!=n&&(!a||a&&d.name.match(a))&&(d.checked=t.elements[n].checked,r&&(d.parentNode&&"li"==d.parentNode.tagName.toLowerCase()&&(d.parentNode.className=d.checked?"checked":""),d.parentNode.parentNode&&"div"==d.parentNode.parentNode.tagName.toLowerCase()&&(d.parentNode.parentNode.className=d.checked?"item checked":"item")))}}function fixTree_organization(e){e.find(".tree-heng1").each(function(){var e=jQuery(this).parent().parent().parent(),t=jQuery(this).parent().find(".tree-su").length;e.nextAll().each(function(){var e=jQuery(this).find(".child-org");if(e.find(".tree-su").length<=t)return!1;e.find(".tree-su").eq(t).removeClass("tree-su")})})}

View File

@@ -5,175 +5,4 @@
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
var attachexts = new Array();
var attachwh = new Array();
var insertType = 1;
var thumbwidth = parseInt(60);
var thumbheight = parseInt(60);
var extensions = 'jpg,jpeg,gif,png';
var forms;
var nowUid = 0;
var uploadStat = 0;
var picid = 0;
var nowid = 0;
var mainForm;
var successState = false;
function getExt(path) {
return path.lastIndexOf('.') == -1 ? '' : path.substr(path.lastIndexOf('.') + 1, path.length).toLowerCase();
}
function delete_pic(obj,picid){
document.getElementById('pic_container').removeChild(obj.parentNode.parentNode);
var input=document.createElement('input');
input.type='hidden';
input.name='delete_pics[]';
input.value=picid;
document.getElementById('pic_delete').appendChild(input);
}
function delAttach(id) {
document.getElementById('attachbody').removeChild(document.getElementById('attach_' + id).parentNode.parentNode.parentNode);
if(document.getElementById('attachbody').innerHTML == '') {
addAttach();
}
document.getElementById('localimgpreview_' + id + '_menu') ? document.body.removeChild(document.getElementById('localimgpreview_' + id + '_menu')) : null;
}
function addAttach() {
newnode = document.getElementById('attachbodyhidden').rows[0].cloneNode(true);
var id = nowid;
var tags;
tags = newnode.getElementsByTagName('form');
for(var i=0;i<tags.length;i++) {
if(tags[i] && tags[i].id == 'upload') {
tags[i].id = 'upload_' + id;
}
}
tags = newnode.getElementsByTagName('input');
for(var i=0;i<tags.length;i++) {
if(tags[i].name == 'attach') {
tags[i].id = 'attach_' + id;
tags[i].name = 'attach';
tags[i].onchange = function() {insertAttach(id)};
tags[i].unselectable = 'on';
}
}
tags = newnode.getElementsByTagName('span');
for(var i=0;i<tags.length;i++) {
if(tags[i].id == 'localfile') {
tags[i].id = 'localfile_' + id;
}
}
nowid++;
document.getElementById('attachbody').appendChild(newnode);
}
addAttach();
function insertAttach(id) {
var localimgpreview = '';
var path = document.getElementById('attach_' + id).value;
var ext = getExt(path);
var re = new RegExp("(^|\\s|,)" + ext + "($|\\s|,)", "ig");
var localfile = document.getElementById('attach_' + id).value.substr(document.getElementById('attach_' + id).value.replace(/\\/g, '/').lastIndexOf('/') + 1);
if(path == '') {
return;
}
if(extensions != '' && (re.exec(extensions) == null || ext == '')) {
alert(__lang.support_upload_pictures_extensions);
return;
}
attachexts[id] = inArray(ext, ['gif', 'jpg', 'jpeg', 'png']) ? 2 : 1;
var inhtml = '<table cellspacing="0" cellpadding="0" class="up_row"><tr>';
inhtml += '<td><strong>' + localfile +'</strong>';
inhtml += '</td><td class="o"><span id="showmsg' + id + '"><a href="javascript:;" onclick="delAttach(' + id + ');return false;" class="xi2">['+__lang.delete+']</a></span>';
inhtml += '</td></tr></table>';
document.getElementById('localfile_' + id).innerHTML = inhtml;
document.getElementById('attach_' + id).style.display = 'none';
addAttach();
}
function getPath(obj){
if (obj) {
if (BROWSER.ie && BROWSER.ie < 7) {
obj.select();
return document.selection.createRange().text;
} else if(BROWSER.firefox) {
if (obj.files) {
return obj.files.item(0).getAsDataURL();
}
return obj.value;
} else {
return '';
}
return obj.value;
}
}
function inArray(needle, haystack) {
if(typeof needle == 'string') {
for(var i in haystack) {
if(haystack[i] == needle) {
return true;
}
}
}
return false;
}
function insertAttachimgTag(id) {
edit_insert('[imgid=' + id + ']');
}
function uploadSubmit(obj) {
obj.disabled = true;
mainForm = obj.form;
forms = document.getElementById('attachbody').getElementsByTagName("FORM");
upload();
}
function upload() {
if(typeof(forms[nowUid]) == 'undefined') return false;
var nid = forms[nowUid].id.split('_');
nid = nid[1];
if(nowUid>0) {
var upobj = document.getElementById('showmsg'+nowid);
if(uploadStat==1) {
upobj.innerHTML = __lang.upload_success;
successState = true;
var InputNode;
try {
var InputNode = document.createElement("<input type=\"hidden\" id=\"picid_" + picid + "\" value=\""+ picid +"\" name=\"picids[]\">");
} catch(e) {
var InputNode = document.createElement("input");
InputNode.setAttribute("name", "picids[]");
InputNode.setAttribute("type", "hidden");
InputNode.setAttribute("id", "picid_" + picid);
InputNode.setAttribute("value",picid);
}
mainForm.appendChild(InputNode);
} else {
upobj.style.color = "#f00";
upobj.innerHTML = __lang.upload_failed+uploadStat;
}
}
if(document.getElementById('showmsg'+nid) != null) {
document.getElementById('showmsg'+nid).innerHTML = __lang.upload_await+'(<a href="javascript:;" onclick="forms[nowUid].submit();">'+__lang.founder_upgrade_reset+'</a>)';
forms[nowUid].submit();
} else if(nowUid+1 == forms.length) {
window.onbeforeunload = null;
mainForm.submit();
}
nowid = nid;
nowUid++;
uploadStat = 0;
}
var forms,mainForm,attachexts=new Array,attachwh=new Array,insertType=1,thumbwidth=parseInt(60),thumbheight=parseInt(60),extensions="jpg,jpeg,gif,png",nowUid=0,uploadStat=0,picid=0,nowid=0,successState=!1;function getExt(e){return-1==e.lastIndexOf(".")?"":e.substr(e.lastIndexOf(".")+1,e.length).toLowerCase()}function delete_pic(e,t){document.getElementById("pic_container").removeChild(e.parentNode.parentNode);var n=document.createElement("input");n.type="hidden",n.name="delete_pics[]",n.value=t,document.getElementById("pic_delete").appendChild(n)}function delAttach(e){document.getElementById("attachbody").removeChild(document.getElementById("attach_"+e).parentNode.parentNode.parentNode),""==document.getElementById("attachbody").innerHTML&&addAttach(),document.getElementById("localimgpreview_"+e+"_menu")&&document.body.removeChild(document.getElementById("localimgpreview_"+e+"_menu"))}function addAttach(){newnode=document.getElementById("attachbodyhidden").rows[0].cloneNode(!0);var e,t=nowid;e=newnode.getElementsByTagName("form");for(var n=0;n<e.length;n++)e[n]&&"upload"==e[n].id&&(e[n].id="upload_"+t);e=newnode.getElementsByTagName("input");for(n=0;n<e.length;n++)"attach"==e[n].name&&(e[n].id="attach_"+t,e[n].name="attach",e[n].onchange=function(){insertAttach(t)},e[n].unselectable="on");e=newnode.getElementsByTagName("span");for(n=0;n<e.length;n++)"localfile"==e[n].id&&(e[n].id="localfile_"+t);nowid++,document.getElementById("attachbody").appendChild(newnode)}function insertAttach(e){var t=document.getElementById("attach_"+e).value,n=getExt(t),a=new RegExp("(^|\\s|,)"+n+"($|\\s|,)","ig"),d=document.getElementById("attach_"+e).value.substr(document.getElementById("attach_"+e).value.replace(/\\/g,"/").lastIndexOf("/")+1);if(""!=t)if(""==extensions||null!=a.exec(extensions)&&""!=n){attachexts[e]=inArray(n,["gif","jpg","jpeg","png"])?2:1;var i='<table cellspacing="0" cellpadding="0" class="up_row"><tr>';i+="<td><strong>"+d+"</strong>",i+='</td><td class="o"><span id="showmsg'+e+'"><a href="javascript:;" onclick="delAttach('+e+');return false;" class="xi2">['+__lang.delete+"]</a></span>",i+="</td></tr></table>",document.getElementById("localfile_"+e).innerHTML=i,document.getElementById("attach_"+e).style.display="none",addAttach()}else alert(__lang.support_upload_pictures_extensions)}function getPath(e){if(e)return BROWSER.ie&&BROWSER.ie<7?(e.select(),document.selection.createRange().text):BROWSER.firefox?e.files?e.files.item(0).getAsDataURL():e.value:""}function inArray(e,t){if("string"==typeof e)for(var n in t)if(t[n]==e)return!0;return!1}function insertAttachimgTag(e){edit_insert("[imgid="+e+"]")}function uploadSubmit(e){e.disabled=!0,mainForm=e.form,forms=document.getElementById("attachbody").getElementsByTagName("FORM"),upload()}function upload(){if(void 0===forms[nowUid])return!1;var e=forms[nowUid].id.split("_");if(e=e[1],nowUid>0){var t=document.getElementById("showmsg"+nowid);if(1==uploadStat){t.innerHTML=__lang.upload_success,successState=!0;try{var n=document.createElement('<input type="hidden" id="picid_'+picid+'" value="'+picid+'" name="picids[]">')}catch(e){(n=document.createElement("input")).setAttribute("name","picids[]"),n.setAttribute("type","hidden"),n.setAttribute("id","picid_"+picid),n.setAttribute("value",picid)}mainForm.appendChild(n)}else t.style.color="#f00",t.innerHTML=__lang.upload_failed+uploadStat}null!=document.getElementById("showmsg"+e)?(document.getElementById("showmsg"+e).innerHTML=__lang.upload_await+'(<a href="javascript:;" onclick="forms[nowUid].submit();">'+__lang.founder_upgrade_reset+"</a>)",forms[nowUid].submit()):nowUid+1==forms.length&&(window.onbeforeunload=null,mainForm.submit()),nowid=e,nowUid++,uploadStat=0}addAttach();

View File

@@ -1,96 +1 @@
/*管理文件夹权限开始*/
ul{
margin: 0;
}
.properties-explain{
padding-left: 20px;
padding-top: 10px;
overflow: hidden;
}
.properties-explain li{
width: 145px;
float: left;
/*padding-left: 24px;*/
/*background-image: url(../img/icons_ZG-QuanXian.png);*/
background-repeat: no-repeat;
height: 30px;
line-height: 25px;
}
.properties-explain li span{
font-size: 20px;
padding-right: 5px;
vertical-align: middle;
color: var(--bs-primary);
margin-top: -1px;
}
.proper-iconshow{
margin-left: 200px;
overflow: hidden;
}
.perm-ok{
padding-right: 5px;
}
.perm-ok-color{
color: #7cb342;
}
.select-p{
padding-top: 20px;
clear: both;
}
.select-p .select-perm{
padding-bottom: 20px;
padding-left:15px ;
}
.select-properties li{
position: relative;
margin-bottom: 15px;
height: 30px;
}
.nav.nav-pills li span{
font-size: 20px;
color: var(--bs-primary);
}
.proper-bottom{
position: relative;
display: inline-block;
padding-right: 20px;
}
.proper-set{
color: #2196f3;
display: none;
}
.properties-list:hover .proper-set{
display:inline-block;
}
.proper-edit{
display: inline-block;
width: 30px;
height: 23px;
/*background-image: url(../img/icons_ZG-QuanXian.png);*/
background-repeat: no-repeat;
vertical-align: middle;
}
.proper-delete{
font-size: 20px;
vertical-align: middle;
color: var(--bs-primary);
cursor: pointer;
}
.proper-delete:hover{
color: #2196f3;
cursor: pointer;
}
.select-properties .checkbox-custom{
font-size: 16px;
margin-top: 0px;
}
.proper-bottom .proper-span{
font-size: 12px;
}
.checkbox-custom label, .label{
font-size:14px;
}
/*管理文件夹权限结束*/
ul{margin:0;}.properties-explain{padding-left:20px;padding-top:10px;overflow:hidden;}.properties-explain li{width:145px;float:left;background-repeat:no-repeat;height:30px;line-height:25px;}.properties-explain li span{font-size:20px;padding-right:5px;vertical-align:middle;color:var(--bs-primary);margin-top:-1px;}.proper-iconshow{margin-left:200px;overflow:hidden;}.perm-ok{padding-right:5px;}.perm-ok-color{color:#7cb342;}.select-p{padding-top:20px;clear:both;}.select-p .select-perm{padding-bottom:20px;padding-left:15px;}.select-properties li{position:relative;margin-bottom:15px;height:30px;}.nav.nav-pills li span{font-size:20px;color:var(--bs-primary);}.proper-bottom{position:relative;display:inline-block;padding-right:20px;}.proper-set{color:#2196f3;display:none;}.properties-list:hover .proper-set{display:inline-block;}.proper-edit{display:inline-block;width:30px;height:23px;background-repeat:no-repeat;vertical-align:middle;}.proper-delete{font-size:20px;vertical-align:middle;color:var(--bs-primary);cursor:pointer;}.proper-delete:hover{color:#2196f3;cursor:pointer;}.select-properties .checkbox-custom{font-size:16px;margin-top:0px;}.proper-bottom .proper-span{font-size:12px;}.checkbox-custom label,.label{font-size:14px;}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,57 +1 @@
.title .asc {
background: url(sort_asc.gif) no-repeat;
display: inline-block;
width: 13px;
height: 6px;
position: relative;
visibility: hidden;
_vertical-align: middle;
_margin: 15px 0;
}
.title .col:hover {
background-color: #F2F2F2;
}
.title .desc {
background: url(sort_desc.gif) no-repeat;
}
.item .icon {
max-width:24px;
max-height:24px;
margin-top:-2px;
}
.col1{
float: left;
height: 51px;
line-height: 51px;
width: 10%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
display: flex;
align-content:center;
flex-wrap:wrap;
}
.item-block{
background:rgba(var(--bs-primary-hover),0.1);
}
/*文件分享单页开始*/
.sharepame-selected{
display: inline-block;
}
.breadcrumb{
margin-bottom: 0px;
float: left;
padding-right: 100px;
border-bottom: none;
padding: 1.42rem 0px;
}
.breadcrumb>li+li:before{
content: "";
}
.breadcrumb li a span{
padding-left: 5px;
padding-right: 5px;
}
/*文件分享单页结束*/
.title .asc{background:url(sort_asc.gif) no-repeat;display:inline-block;width:13px;height:6px;position:relative;visibility:hidden;_vertical-align:middle;_margin:15px 0;}.title .col:hover{background-color:#F2F2F2;}.title .desc{background:url(sort_desc.gif) no-repeat;}.item .icon{max-width:24px;max-height:24px;margin-top:-2px;}.col1{float:left;height:51px;line-height:51px;width:10%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:flex;align-content:center;flex-wrap:wrap;}.item-block{background:rgba(var(--bs-primary-hover),0.1);}.sharepame-selected{display:inline-block;}.breadcrumb{margin-bottom:0px;float:left;padding-right:100px;border-bottom:none;padding:1.42rem 0px;}.breadcrumb>li+li:before{content:"";}.breadcrumb li a span{padding-left:5px;padding-right:5px;}

View File

@@ -1,120 +1 @@
.ui-artZoom {
padding: 0 10px 10px 10px;
background: #f9f9f9;
border: solid 1px #D0D9DA
}
.ui-artZoom img {
-ms-interpolation-mode: bicubic
}
.ui-artZoom-toolbar {
height: 36px;
line-height: 26px;
padding: 5px 0
}
.ui-artZoom-buttons {
display: inline-block;
*display:inline;
*zoom:1;
height: 26px;
line-height: 0;
margin-right: 5px;
outline: 0
}
.ui-artZoom-loading {
color: gray;
font-size: 12px
}
.ui-artZoom-buttons a{
display: inline-block;
padding: 5px 15px 5px 0;
font: 12px/1.11 "Microsoft Yahei", Tahoma, Arial, Helvetica, STHeiti;
_font-family: Tahoma, Arial, Helvetica, STHeiti;
-o-font-family: Tahoma, Arial;
_font-size: 12px;
color: #3C3C3D;
white-space: nowrap;
overflow: visible;
cursor: pointer;
text-decoration: none;
outline: 0;
position: relative;
zoom: 1;
*display:inline;
*vertical-align:middle
}
.ui-artZoom-buttons a:hover, .ui-artZoom-buttons ._tt_tasklist li .title_tttl:hover, ._tt_tasklist li .ui-artZoom-buttons .title_tttl:hover {
color: #2d83cf;
text-decoration: none;
background-position: 0 -40px
}
.ui-artZoom-buttons a:active, .ui-artZoom-buttons ._tt_tasklist li .title_tttl:active, ._tt_tasklist li .ui-artZoom-buttons .title_tttl:active {
color: #2d83cf
}
.ui-artZoom-noLoad a.ui-artZoom-left, .ui-artZoom-noLoad ._tt_tasklist li .ui-artZoom-left.title_tttl, ._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-left.title_tttl, .ui-artZoom-noLoad a.ui-artZoom-right, .ui-artZoom-noLoad ._tt_tasklist li .ui-artZoom-right.title_tttl, ._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-right.title_tttl {
color: #999;
cursor: default
}
.ui-artZoom-ready .ui-artZoom-loading span {
width: 5px;
overflow: hidden;
visibility: hidden
}
a.ui-artZoom-left, ._tt_tasklist li .ui-artZoom-left.title_tttl {
margin-right: 0;
border-right: 0
}
a.ui-artZoom-right, ._tt_tasklist li .ui-artZoom-right.title_tttl {
margin-right: 0;
margin-left: 0
}
a.ui-artZoom-source, ._tt_tasklist li .ui-artZoom-source.title_tttl {
margin-left: 0
}
a.ui-artZoom-left:active, ._tt_tasklist li .ui-artZoom-left.title_tttl:active, a.ui-artZoom-right:active, ._tt_tasklist li .ui-artZoom-right.title_tttl:active, a.ui-artZoom-source:active, ._tt_tasklist li .ui-artZoom-source.title_tttl:active {
top: 0
}
.ui-artZoom-buttons a span, .ui-artZoom-buttons ._tt_tasklist li .title_tttl span, ._tt_tasklist li .ui-artZoom-buttons .title_tttl span {
display: inline-block;
width: 12px;
height: 12px;
margin: auto 3px auto auto;
position: relative;
top: 0;
*top:0;
background-image: url(icons.png);
background-repeat: no-repeat;
*font-size:0;
vertical-align: middle
}
a.ui-artZoom-right span, ._tt_tasklist li .ui-artZoom-right.title_tttl span, .ui-artZoom-noLoad .ui-artZoom-buttons a.ui-artZoom-right span, .ui-artZoom-noLoad .ui-artZoom-buttons ._tt_tasklist li .ui-artZoom-right.title_tttl span, ._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-buttons .ui-artZoom-right.title_tttl span {
background-position: 0 -0
}
a.ui-artZoom-left span, ._tt_tasklist li .ui-artZoom-left.title_tttl span, .ui-artZoom-noLoad .ui-artZoom-buttons a.ui-artZoom-left span, .ui-artZoom-noLoad .ui-artZoom-buttons ._tt_tasklist li .ui-artZoom-left.title_tttl span, ._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-buttons .ui-artZoom-left.title_tttl span {
background-position: -12px 0
}
a.ui-artZoom-hide span, ._tt_tasklist li .ui-artZoom-hide.title_tttl span, .ui-artZoom-noLoad .ui-artZoom-buttons a.ui-artZoom-hide span, .ui-artZoom-noLoad .ui-artZoom-buttons ._tt_tasklist li .ui-artZoom-hide.title_tttl span, ._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-buttons .ui-artZoom-hide.title_tttl span {
background-position: -36px 0
}
a.ui-artZoom-source span, ._tt_tasklist li .ui-artZoom-source.title_tttl span {
background-position: -24px 0
}
a.ui-artZoom-right:hover span, ._tt_tasklist li .ui-artZoom-right.title_tttl:hover span, a.ui-artZoom-right:active span, ._tt_tasklist li .ui-artZoom-right.title_tttl:active span {
background-position: 0 -12px
}
a.ui-artZoom-left:hover span, ._tt_tasklist li .ui-artZoom-left.title_tttl:hover span, a.ui-artZoom-left:active span, ._tt_tasklist li .ui-artZoom-left.title_tttl:active span {
background-position: -12px -12px
}
a.ui-artZoom-source:hover span, ._tt_tasklist li .ui-artZoom-source.title_tttl:hover span, a.ui-artZoom-source:active span, ._tt_tasklist li .ui-artZoom-source.title_tttl:active span {
background-position: -24px -12px
}
a.ui-artZoom-hide:hover span, ._tt_tasklist li .ui-artZoom-hide.title_tttl:hover span, a.ui-artZoom-hide:active span, ._tt_tasklist li .ui-artZoom-hide.title_tttl:active span {
background-position: -36px -12px
}
.ui-artZoom-show {
background: transparent
}
.ui-artZoom-ready .ui-artZoom-photo {
font-size: 0;
line-height: 0
}
.ui-artZoom-box{line-height:0}
.ui-artZoom{padding:0 10px 10px 10px;background:#f9f9f9;border:solid 1px #D0D9DA}.ui-artZoom img{-ms-interpolation-mode:bicubic}.ui-artZoom-toolbar{height:36px;line-height:26px;padding:5px 0}.ui-artZoom-buttons{display:inline-block;*display:inline;*zoom:1;height:26px;line-height:0;margin-right:5px;outline:0}.ui-artZoom-loading{color:gray;font-size:12px}.ui-artZoom-buttons a{display:inline-block;padding:5px 15px 5px 0;font:12px/1.11 "Microsoft Yahei",Tahoma,Arial,Helvetica,STHeiti;_font-family:Tahoma,Arial,Helvetica,STHeiti;-o-font-family:Tahoma,Arial;_font-size:12px;color:#3C3C3D;white-space:nowrap;overflow:visible;cursor:pointer;text-decoration:none;outline:0;position:relative;zoom:1;*display:inline;*vertical-align:middle}.ui-artZoom-buttons a:hover,.ui-artZoom-buttons ._tt_tasklist li .title_tttl:hover,._tt_tasklist li .ui-artZoom-buttons .title_tttl:hover{color:#2d83cf;text-decoration:none;background-position:0 -40px}.ui-artZoom-buttons a:active,.ui-artZoom-buttons ._tt_tasklist li .title_tttl:active,._tt_tasklist li .ui-artZoom-buttons .title_tttl:active{color:#2d83cf}.ui-artZoom-noLoad a.ui-artZoom-left,.ui-artZoom-noLoad ._tt_tasklist li .ui-artZoom-left.title_tttl,._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-left.title_tttl,.ui-artZoom-noLoad a.ui-artZoom-right,.ui-artZoom-noLoad ._tt_tasklist li .ui-artZoom-right.title_tttl,._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-right.title_tttl{color:#999;cursor:default}.ui-artZoom-ready .ui-artZoom-loading span{width:5px;overflow:hidden;visibility:hidden}a.ui-artZoom-left,._tt_tasklist li .ui-artZoom-left.title_tttl{margin-right:0;border-right:0}a.ui-artZoom-right,._tt_tasklist li .ui-artZoom-right.title_tttl{margin-right:0;margin-left:0}a.ui-artZoom-source,._tt_tasklist li .ui-artZoom-source.title_tttl{margin-left:0}a.ui-artZoom-left:active,._tt_tasklist li .ui-artZoom-left.title_tttl:active,a.ui-artZoom-right:active,._tt_tasklist li .ui-artZoom-right.title_tttl:active,a.ui-artZoom-source:active,._tt_tasklist li .ui-artZoom-source.title_tttl:active{top:0}.ui-artZoom-buttons a span,.ui-artZoom-buttons ._tt_tasklist li .title_tttl span,._tt_tasklist li .ui-artZoom-buttons .title_tttl span{display:inline-block;width:12px;height:12px;margin:auto 3px auto auto;position:relative;top:0;*top:0;background-image:url(icons.png);background-repeat:no-repeat;*font-size:0;vertical-align:middle}a.ui-artZoom-right span,._tt_tasklist li .ui-artZoom-right.title_tttl span,.ui-artZoom-noLoad .ui-artZoom-buttons a.ui-artZoom-right span,.ui-artZoom-noLoad .ui-artZoom-buttons ._tt_tasklist li .ui-artZoom-right.title_tttl span,._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-buttons .ui-artZoom-right.title_tttl span{background-position:0 -0}a.ui-artZoom-left span,._tt_tasklist li .ui-artZoom-left.title_tttl span,.ui-artZoom-noLoad .ui-artZoom-buttons a.ui-artZoom-left span,.ui-artZoom-noLoad .ui-artZoom-buttons ._tt_tasklist li .ui-artZoom-left.title_tttl span,._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-buttons .ui-artZoom-left.title_tttl span{background-position:-12px 0}a.ui-artZoom-hide span,._tt_tasklist li .ui-artZoom-hide.title_tttl span,.ui-artZoom-noLoad .ui-artZoom-buttons a.ui-artZoom-hide span,.ui-artZoom-noLoad .ui-artZoom-buttons ._tt_tasklist li .ui-artZoom-hide.title_tttl span,._tt_tasklist li .ui-artZoom-noLoad .ui-artZoom-buttons .ui-artZoom-hide.title_tttl span{background-position:-36px 0}a.ui-artZoom-source span,._tt_tasklist li .ui-artZoom-source.title_tttl span{background-position:-24px 0}a.ui-artZoom-right:hover span,._tt_tasklist li .ui-artZoom-right.title_tttl:hover span,a.ui-artZoom-right:active span,._tt_tasklist li .ui-artZoom-right.title_tttl:active span{background-position:0 -12px}a.ui-artZoom-left:hover span,._tt_tasklist li .ui-artZoom-left.title_tttl:hover span,a.ui-artZoom-left:active span,._tt_tasklist li .ui-artZoom-left.title_tttl:active span{background-position:-12px -12px}a.ui-artZoom-source:hover span,._tt_tasklist li .ui-artZoom-source.title_tttl:hover span,a.ui-artZoom-source:active span,._tt_tasklist li .ui-artZoom-source.title_tttl:active span{background-position:-24px -12px}a.ui-artZoom-hide:hover span,._tt_tasklist li .ui-artZoom-hide.title_tttl:hover span,a.ui-artZoom-hide:active span,._tt_tasklist li .ui-artZoom-hide.title_tttl:active span{background-position:-36px -12px}.ui-artZoom-show{background:transparent}.ui-artZoom-ready .ui-artZoom-photo{font-size:0;line-height:0}.ui-artZoom-box{line-height:0}

View File

@@ -1,48 +1 @@
.atwho-view {
position:absolute;
top: 0;
left: 0;
display: none;
margin-top: 18px;
background: white;
border: 1px solid #DDD;
border-radius: 3px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
min-width: 120px;
z-index: 10;
}
.atwho-view .cur {
background: #428bca;
color: white;
}
.atwho-view .cur small {
color: white;
}
.atwho-view strong {
color: #428bca;
}
.atwho-view .cur strong {
color: white;
font:bold;
}
.atwho-view ul {
/* width: 100px; */
list-style:none;
padding:0;
margin:auto;
}
.atwho-view ul li {
display: block;
padding: 5px 10px;
border-bottom: 1px solid #DDD;
cursor: pointer;
/* border-top: 1px solid #C8C8C8; */
}
.atwho-view small {
font-size: smaller;
color: #777;
font-weight: normal;
}
.atwho-view{position:absolute;top:0;left:0;display:none;margin-top:18px;background:white;border:1px solid #DDD;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,0.1);min-width:120px;z-index:10;}.atwho-view .cur{background:#428bca;color:white;}.atwho-view .cur small{color:white;}.atwho-view strong{color:#428bca;}.atwho-view .cur strong{color:white;font:bold;}.atwho-view ul{list-style:none;padding:0;margin:auto;}.atwho-view ul li{display:block;padding:5px 10px;border-bottom:1px solid #DDD;cursor:pointer;}.atwho-view small{font-size:smaller;color:#777;font-weight:normal;}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,185 +1 @@
@charset "utf-8";
.dzzvote{
padding:20px;
background-color: #f7f7f7;
border:1px solid #e7e7e7;
border-radius:5px;
box-shadow:inset 0 1px 1px #ffffff;
word-break:break-all
}
.dzzvote-container .nav-tabs li a{
margin:0;
}
.dzzvote-container .tab-content{
background:#FFF;
border-width:0 1px 1px 1px;
border-color:#DDD;
border-style:solid;
border-radius: var(--radius);
}
.dzzvote-post-item-container {
}
.dzzvote-post-image-item{
height:175px;
float:left;
padding:10px;
position:relative;
}
.dzzvote-post-image-item .ibtn{
display:none;
}
.dzzvote-post-image-item:hover .ibtn{
display:block;
}
.dzzvote-post-image-item .thumbnail {
max-height:100%;
max-width: 100px;
float:left;
margin:0;
}
.dzzvote-post-image-item .thumbnail img {
max-height:100px;
max-width: 100px;
}
.dzzvote-post-image-item .thumbnail .caption {
max-width:200px;
padding:9px 9px 0 9px;
}
.dzzvote .dzzvote-header{
padding:5px 0 15px 0;
border-bottom:1px solid #e7e7e7;
}
.dzzvote-header-plate{
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(88, 88, 92, .3);
-moz-box-shadow: 0 1px 1px rgba(88, 88, 92, .3);
box-shadow: 0 1px 1px rgba(88, 88, 92, .3);
min-width: 60px;
height: 60px;
border: 1px solid #EBEFF6;
text-align: center;
margin-right:10px;
}
.dzzvote-header-plate span {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background-color: #3497DB;
font-size: 10px;
color: #FFF;
display: block;
}
.dzzvote-header-plate em {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
font-style: normal;
font-size: 20px;
padding:0 5px;
line-height: 2;
}
.dzzvote-header-body{
padding-left: 75px;
padding-top:3px;
}
.dzzvote-subject{
font-size:24px;
font-weight:600;
}
.dzzvote .dzzvote-body{
padding:20px 0;
word-break:break-all
}
.dzzvote .dzzvote-body .radio,.dzzvote .dzzvote-body .checkbox{
margin:0;
}
.dzzvote .dzzvote-body .progress{
border:1px solid #e7e7e7;
background:#FBFBFB;
box-shadow:none;
}
.dzzvote-user{
margin-top:15px;
border-top:1px solid #e7e7e7;
}
.dzzvote-user .user-item-container{
border-top:1px solid #FFF;
padding:10px 0 0;
margin:0;
}
.dzzvote-image-body .dzzvote-image-item{
height: 170px;
float: left;
padding: 10px;
position: relative;
}
.dzzvote-image-body .dzzvote-image-item.hasprogress{
height: 195px;
float: left;
padding: 10px;
position: relative;
overflow:hidden;
}
.dzzvote-image-body .dzzvote-image-item .thumbnail {
max-height: 100%;
float: left;
margin: 0;
}
.dzzvote-image-body .dzzvote-image-item .ibtn{
display:none;
}
.dzzvote-image-body .dzzvote-image-item:hover .ibtn{
display:block;
background:#F7F7F7;
color:#428bca
}
.dzzvote-image-body .dzzvote-image-item.active .thumbnail{
border:1px solid #428bca
}
.dzzvote-image-body .dzzvote-image-item.active .ibtn{
display:block;
background:#428bca;
color:#FFF;
opacity: 1;
}
.dzzvote-image-item .thumbnail .caption {
max-width: 178px;
padding: 9px 9px 0 9px;
}
.ie8 .dzzvote-image-item .thumbnail .caption {
max-width: 158px;
padding: 9px 9px 0 9px;
}
.dzzvote-image-item .thumbnail img {
max-height: 100px;
}
.dzzvote-image-body .progress{
margin-bottom:10px;
}
.dzzvote-body .progress{
margin-bottom:0;
}
.dzzvote-image-body .content{
overflow:hidden;
line-height:30px;
height:30px;
}
/*end 前台显示部分*/
.vote-user-item{
height:35px;
overflow:hidden;
}
@charset "utf-8";.dzzvote{padding:20px;background-color:#f7f7f7;border:1px solid #e7e7e7;border-radius:5px;box-shadow:inset 0 1px 1px #ffffff;word-break:break-all}.dzzvote-container .nav-tabs li a{margin:0;}.dzzvote-container .tab-content{background:#FFF;border-width:0 1px 1px 1px;border-color:#DDD;border-style:solid;border-radius:var(--radius);}.dzzvote-post-item-container{}.dzzvote-post-image-item{height:175px;float:left;padding:10px;position:relative;}.dzzvote-post-image-item .ibtn{display:none;}.dzzvote-post-image-item:hover .ibtn{display:block;}.dzzvote-post-image-item .thumbnail{max-height:100%;max-width:100px;float:left;margin:0;}.dzzvote-post-image-item .thumbnail img{max-height:100px;max-width:100px;}.dzzvote-post-image-item .thumbnail .caption{max-width:200px;padding:9px 9px 0 9px;}.dzzvote .dzzvote-header{padding:5px 0 15px 0;border-bottom:1px solid #e7e7e7;}.dzzvote-header-plate{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(88,88,92,.3);-moz-box-shadow:0 1px 1px rgba(88,88,92,.3);box-shadow:0 1px 1px rgba(88,88,92,.3);min-width:60px;height:60px;border:1px solid #EBEFF6;text-align:center;margin-right:10px;}.dzzvote-header-plate span{border-top-left-radius:4px;border-top-right-radius:4px;background-color:#3497DB;font-size:10px;color:#FFF;display:block;}.dzzvote-header-plate em{border-bottom-left-radius:4px;border-bottom-right-radius:4px;font-style:normal;font-size:20px;padding:0 5px;line-height:2;}.dzzvote-header-body{padding-left:75px;padding-top:3px;}.dzzvote-subject{font-size:24px;font-weight:600;}.dzzvote .dzzvote-body{padding:20px 0;word-break:break-all}.dzzvote .dzzvote-body .radio,.dzzvote .dzzvote-body .checkbox{margin:0;}.dzzvote .dzzvote-body .progress{border:1px solid #e7e7e7;background:#FBFBFB;box-shadow:none;}.dzzvote-user{margin-top:15px;border-top:1px solid #e7e7e7;}.dzzvote-user .user-item-container{border-top:1px solid #FFF;padding:10px 0 0;margin:0;}.dzzvote-image-body .dzzvote-image-item{height:170px;float:left;padding:10px;position:relative;}.dzzvote-image-body .dzzvote-image-item.hasprogress{height:195px;float:left;padding:10px;position:relative;overflow:hidden;}.dzzvote-image-body .dzzvote-image-item .thumbnail{max-height:100%;float:left;margin:0;}.dzzvote-image-body .dzzvote-image-item .ibtn{display:none;}.dzzvote-image-body .dzzvote-image-item:hover .ibtn{display:block;background:#F7F7F7;color:#428bca}.dzzvote-image-body .dzzvote-image-item.active .thumbnail{border:1px solid #428bca}.dzzvote-image-body .dzzvote-image-item.active .ibtn{display:block;background:#428bca;color:#FFF;opacity:1;}.dzzvote-image-item .thumbnail .caption{max-width:178px;padding:9px 9px 0 9px;}.ie8 .dzzvote-image-item .thumbnail .caption{max-width:158px;padding:9px 9px 0 9px;}.dzzvote-image-item .thumbnail img{max-height:100px;}.dzzvote-image-body .progress{margin-bottom:10px;}.dzzvote-body .progress{margin-bottom:0;}.dzzvote-image-body .content{overflow:hidden;line-height:30px;height:30px;}.vote-user-item{height:35px;overflow:hidden;}

View File

@@ -5,70 +5,4 @@
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
(function($)
{
//左右分栏时,调用此,可以实现点击隐藏左侧分栏,拖动改变左侧分栏的宽度
$.fn.dzzvote = function(options)
{
var opt={ ajaxurl:DZZSCRIPT+'?mod=dzzvote&op=ajax',
//uploadurl:null,
voteid:'',
}
options=$.extend(opt,options);
var container=$(this);
var $this=$(this);
var tmpl='<div class="input-group mb-3 dzzvote-post-text-item">';
tmpl+=' <span class="input-group-text"><span class="badge"></span></span>';
tmpl+=' <input type="text" class="form-control" name="voteitemnew[content][]" value="">';
tmpl+=' <input type="hidden" name="voteitemnew[aid][]" value="">';
tmpl+=' <span class="input-group-text"><a href="javascript:;" data-itemid="0" class="dzzvote-post-delitem ibtn glyphicon glyphicon-trash" ></a></span>';
tmpl+='</div>';
var item_refresh=function(){
container.find('#dzzvote_post_text_'+options['voteid']+' .dzzvote-post-item-container .badge').each(function(index){
this.innerHTML=index+1;
});
dzzvote_maxselect_num();
}
var dzzvote_maxselect_num=function(){
var val=parseInt(jQuery('#dzzvote_maxselect_num_'+options['voteid']+'').val());
if(jQuery('#dzzvotetype_'+options['voteid']).val()>1){
var sum=container.find('.dzzvote-post-image-item').length;
}else{
var sum=container.find('.dzzvote-post-text-item').length;
}
var option='';
for(var i=1 ;i<=sum; i++){
if(i==val){
option+='<option value="'+i+'" checked="checked">'+__lang.most_can_choose+i+__lang.item+'</option>';
}else{
option+='<option value="'+i+'">'+__lang.most_can_choose+i+__lang.item+'</option>';
}
}
jQuery('#dzzvote_maxselect_num_'+options['voteid']+'').html(option);
}
var item_add=function(){
jQuery(tmpl).appendTo('#dzzvote_post_text_'+options['voteid']+' .dzzvote-post-item-container');
item_refresh();
}
var item_delete=function(){
if($(this).data('itemid')>0){
var self=this;
$.getJSON(options.ajaxurl+'&do=itemdelete&itemid='+$(this).data('itemid'),function(json){
jQuery(self).closest('.dzzvote-post-image-item,.dzzvote-post-text-item').remove();
item_refresh();
});
}else{
jQuery(this).closest('.dzzvote-post-image-item,.dzzvote-post-text-item').remove();
item_refresh();
}
}
var init=function(){
container.on('click.dzzvote','.dzzvote-post-additem',item_add);
container.on('click.dzzvote','.dzzvote-post-delitem',item_delete);
}
init();
}
})(jQuery);
!function(t){t.fn.dzzvote=function(e){var o={ajaxurl:DZZSCRIPT+"?mod=dzzvote&op=ajax",voteid:""};e=t.extend(o,e);var i=t(this);t(this);var n=function(){i.find("#dzzvote_post_text_"+e.voteid+" .dzzvote-post-item-container .badge").each(function(t){this.innerHTML=t+1}),a()},a=function(){var t=parseInt(jQuery("#dzzvote_maxselect_num_"+e.voteid).val());if(jQuery("#dzzvotetype_"+e.voteid).val()>1)var o=i.find(".dzzvote-post-image-item").length;else o=i.find(".dzzvote-post-text-item").length;for(var n="",a=1;a<=o;a++)n+=a==t?'<option value="'+a+'" checked="checked">'+__lang.most_can_choose+a+__lang.item+"</option>":'<option value="'+a+'">'+__lang.most_can_choose+a+__lang.item+"</option>";jQuery("#dzzvote_maxselect_num_"+e.voteid).html(n)},d=function(){jQuery('<div class="input-group mb-3 dzzvote-post-text-item"> <span class="input-group-text"><span class="badge"></span></span> <input type="text" class="form-control" name="voteitemnew[content][]" value=""> <input type="hidden" name="voteitemnew[aid][]" value=""> <span class="input-group-text"><a href="javascript:;" data-itemid="0" class="dzzvote-post-delitem ibtn glyphicon glyphicon-trash" ></a></span></div>').appendTo("#dzzvote_post_text_"+e.voteid+" .dzzvote-post-item-container"),n()},s=function(){if(t(this).data("itemid")>0){var o=this;t.getJSON(e.ajaxurl+"&do=itemdelete&itemid="+t(this).data("itemid"),function(t){jQuery(o).closest(".dzzvote-post-image-item,.dzzvote-post-text-item").remove(),n()})}else jQuery(this).closest(".dzzvote-post-image-item,.dzzvote-post-text-item").remove(),n()};i.on("click.dzzvote",".dzzvote-post-additem",d),i.on("click.dzzvote",".dzzvote-post-delitem",s)}}(jQuery);

View File

@@ -1,78 +1 @@
@charset "utf-8";
/* CSS Document */
.site-logo>img{
max-height:30px;
}
.site-name{
line-height: 30px;
padding-left:10px;
}
@media (max-width: 260px) {
.site-name{
display: none
}
}
.bs-main-container{
background: none;
background-size: cover;
box-shadow:none;
}
.main-content{
padding:0;
height:100%;
width: 100%;
display:table;
}
.popup-index {
margin: 0;
padding: 0;
display:table-cell;
vertical-align: middle;
text-align: center;
}
.popup-index>li{
margin:5px;
}
.popup-index>li .app-popup-li{
padding: 10px;
background-color: rgba(255,255,255,0.55);
}
.popup-index>li.ui-sortable-helper{
border:1px solid transparent;
opacity: 0.6;
}
.popup-index>li.ui-state-default{
display: inline-block;
border:1px solid #e1e1e1;
height:170px;
width:170px;
margin:-16px 30px;
}
.popup-index>li .app-popup-li img {
display: inline-block;
vertical-align: top;
height: 100px;
width: 100px;
}
.popup-index>.popup-index-li:hover{
border:1px solid transparent;
}
.popup-index>li .app-popup-li:hover img {
opacity: 0.85;
transform: scale(1.01);
}
.popup-index>li .app-popup-li .app-popup-li-appname {
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 158px;
padding: 0 5px;
line-height: 30px;
font-size: 18px;
color: #333333;
}
@charset "utf-8";.site-logo>img{max-height:30px;}.site-name{line-height:30px;padding-left:10px;}@media (max-width:260px){.site-name{display:none}}.bs-main-container{background:none;background-size:cover;box-shadow:none;}.main-content{padding:0;height:100%;width:100%;display:table;}.popup-index{margin:0;padding:0;display:table-cell;vertical-align:middle;text-align:center;}.popup-index>li{margin:5px;}.popup-index>li .app-popup-li{padding:10px;background-color:rgba(255,255,255,0.55);}.popup-index>li.ui-sortable-helper{border:1px solid transparent;opacity:0.6;}.popup-index>li.ui-state-default{display:inline-block;border:1px solid #e1e1e1;height:170px;width:170px;margin:-16px 30px;}.popup-index>li .app-popup-li img{display:inline-block;vertical-align:top;height:100px;width:100px;}.popup-index>.popup-index-li:hover{border:1px solid transparent;}.popup-index>li .app-popup-li:hover img{opacity:0.85;transform:scale(1.01);}.popup-index>li .app-popup-li .app-popup-li-appname{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:158px;padding:0 5px;line-height:30px;font-size:18px;color:#333333;}

File diff suppressed because one or more lines are too long

View File

@@ -1,276 +1 @@
.news {
width: 100%;
margin-bottom: 20px;
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
border: 1px solid #ebeef5;
border-radius: var(--radius);
padding: 20px;
display: flex;
}
.form-horizontal-left .form-control{
width: 100%
}
.bs-main-container{
padding:0;
}
.jstree-root{
padding:5px 0 0 10px;
line-height:24px;
}
.classtree-topbar{
position:relative;
bottom:0px;
left:0px;
border-bottom:1px solid #D2D2D2;
border-top:1px solid #FFF;
padding:7px 10px 3px 10px;
}
.classtree-search{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 39px;
display: none;
}
.classtree-topbar a{
display:inline-block;
width:24px;
height:24px;
background-image:url(icons_24.png);
_filter: Alpha(opacity=70);
opacity: 0.7;
}
.classtree-topbar .newdir{
background-position:0 0;
}
.classtree-topbar .newdir_1{
background-position:0 -24px;
}
.classtree-topbar .newdoc{
background-position:0 -48px;
}
.classtree-topbar .import{
background-position:0 -72px;
}
.classtree-topbar .search{
background-position:0 -96px;
}
.classtree-topbar .guide{
background-position:0 -120px;
}
.classtree-topbar a:hover{
_filter: Alpha(opacity=100);
opacity: 1;
}
.classtree-topbar a:active{
}
/*重定义图标*/
.jstree-default .jstree-icon:empty {
font-size: 22px;
}
.jstree-default-large .jstree-icon:empty{
width: 24px;
height: 24px;
border-radius: 50%;
}
.jstree-default .jstree-icon {
width: 24px;
height: 24px;
border-radius: 50%;
}
.jstree-default .jstree-icon.jstree-themeicon-custom{
margin-top:5px;
}
.jstree-default .jstree-icon.jstree-themeicon-custom.dzz{
margin-top:-2px;
}
.moderators-container .user-item{
padding:10px;width:120px;position:relative;height:180px;
}
.moderators-container .user-item .delete{
display:none;
position:absolute;top:5px;right:5px;width:24px;height:24px;
cursor:pointer;
z-index:100;
}
.moderators-container .user-item.hover .delete{
display:block;
}
.moderators-container .user-item-avatar{
width:100px;height:100px;
}
.moderators-container .user-item .avatar-cover{
width:100px;height:100px;
position:absolute;
left:10px;
top:10px;
background:url(user_bg.png) no-repeat;
z-index:10;
}
.ie8 .moderators-container .user-item .avatar-cover{
display:none;
}
.moderators-container .user-item-avatar .avatar-face{
width:90px;height:90px;margin:5px
}
.moderators-container .user-item-avatar img{
width:100%;
height:100%;
border-radius:50%;
}
.moderators-container .moderators-acceptor{
padding:10px;width:227px;height:170px;position:relative;
margin-top:10px;
background:url(add_guide.png) no-repeat;
}
.moderators-container .moderators-acceptor .avatar-cover{
left:25px;
top:0px;
display:none;
width:100px;height:100px;
position:absolute;
background:url(user_bg.png) no-repeat;
z-index:10;
}
.moderators-container .moderators-acceptor .user-item-avatar{
margin:-10px 0 0 15px;
display:none;
}
.moderators-container .moderators-acceptor.hover .user-item-avatar,.moderators-container .moderators-acceptor.hover .avatar-cover {
display:block;
}
.main-body{
border-top:1px solid #FFF;
}
.group-head li{
float: left;
list-style: none;
}
.head-portrait {
margin-right: 10px;
border: 1px solid transparent;
border-radius: 3px;
position: relative;
margin-bottom: 0;
}
.head-portrait img, .head-file img, .head-file input {
width: 100%;
height: 100%;
border-radius: 50%;
}
.head-file {
position: relative;
}
.head-file input {
position: absolute;
top: 0;
left: 0;
opacity: 0;
}
textarea{
resize: none;
}
.setting-img {
height: 150px;
}
.setting-img img {
width: 100%;
height: 100%;
}
.upload-click {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
color: #fff;
line-height: 150px;
text-align: center;
font-size: 18px;
letter-spacing: 2px;
}
#exampleInputFile {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
opacity: 0;
}
.head-checkbox{
display: none;
position: absolute;
left:1px;
top:0;
width:100%;
height:100%;
}
.head-portrait:hover {
border: 1px solid #2196f3;
}
.group-head .head-checkbox .checkbox-custom {
height:100%;
margin: 0px;
}
.group-head .head-checkbox .checkbox-custom label{
vertical-align: text-top;
}
.headFirstWord{
display: inline-block;
width: 50px;
height: 50px;
text-align: center;
line-height: 50px;
font-size: 18px;
}
.head-portrait:hover .head-checkbox {
display: block;
}
.group-head{
overflow: hidden;
padding: 0;
}
.head-portrait .hover{
display: block;
}
.has-warning .form-control {
border-color: #ff3203;
box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
}
kbd{
background-color: transparent;color: #ff3203;font-size: 100%;-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.25);box-shadow:inset 0 0 0 rgba(0,0,0,.25);
}
.head-portrait .iconFirstWord{
width: 40px;
height: 40px;
border-radius: 50%;
display: inline-block;
line-height: 40px;
text-align: center;
margin-right: 2px;
color: #FFFFFF;
font-size:24px;
}
.iconFirstWord {
width: 24px;
height: 24px;
border-radius: 50%;
display: inline-block;
line-height: 24px;
text-align: center;
margin-right: 2px;
color: #FFFFFF;
font-size:14px;
}
.news{width:100%;margin-bottom:20px;box-shadow:0 2px 12px 0 rgb(0 0 0 / 10%);border:1px solid #ebeef5;border-radius:var(--radius);padding:20px;display:flex;}.form-horizontal-left .form-control{width:100%}.bs-main-container{padding:0;}.jstree-root{padding:5px 0 0 10px;line-height:24px;}.classtree-topbar{position:relative;bottom:0px;left:0px;border-bottom:1px solid #D2D2D2;border-top:1px solid #FFF;padding:7px 10px 3px 10px;}.classtree-search{position:absolute;left:0;top:0;width:100%;height:39px;display:none;}.classtree-topbar a{display:inline-block;width:24px;height:24px;background-image:url(icons_24.png);_filter:Alpha(opacity=70);opacity:0.7;}.classtree-topbar .newdir{background-position:0 0;}.classtree-topbar .newdir_1{background-position:0 -24px;}.classtree-topbar .newdoc{background-position:0 -48px;}.classtree-topbar .import{background-position:0 -72px;}.classtree-topbar .search{background-position:0 -96px;}.classtree-topbar .guide{background-position:0 -120px;}.classtree-topbar a:hover{_filter:Alpha(opacity=100);opacity:1;}.classtree-topbar a:active{}.jstree-default .jstree-icon:empty{font-size:22px;}.jstree-default-large .jstree-icon:empty{width:24px;height:24px;border-radius:50%;}.jstree-default .jstree-icon{width:24px;height:24px;border-radius:50%;}.jstree-default .jstree-icon.jstree-themeicon-custom{margin-top:5px;}.jstree-default .jstree-icon.jstree-themeicon-custom.dzz{margin-top:-2px;}.moderators-container .user-item{padding:10px;width:120px;position:relative;height:180px;}.moderators-container .user-item .delete{display:none;position:absolute;top:5px;right:5px;width:24px;height:24px;cursor:pointer;z-index:100;}.moderators-container .user-item.hover .delete{display:block;}.moderators-container .user-item-avatar{width:100px;height:100px;}.moderators-container .user-item .avatar-cover{width:100px;height:100px;position:absolute;left:10px;top:10px;background:url(user_bg.png) no-repeat;z-index:10;}.ie8 .moderators-container .user-item .avatar-cover{display:none;}.moderators-container .user-item-avatar .avatar-face{width:90px;height:90px;margin:5px}.moderators-container .user-item-avatar img{width:100%;height:100%;border-radius:50%;}.moderators-container .moderators-acceptor{padding:10px;width:227px;height:170px;position:relative;margin-top:10px;background:url(add_guide.png) no-repeat;}.moderators-container .moderators-acceptor .avatar-cover{left:25px;top:0px;display:none;width:100px;height:100px;position:absolute;background:url(user_bg.png) no-repeat;z-index:10;}.moderators-container .moderators-acceptor .user-item-avatar{margin:-10px 0 0 15px;display:none;}.moderators-container .moderators-acceptor.hover .user-item-avatar,.moderators-container .moderators-acceptor.hover .avatar-cover{display:block;}.main-body{border-top:1px solid #FFF;}.group-head li{float:left;list-style:none;}.head-portrait{margin-right:10px;border:1px solid transparent;border-radius:3px;position:relative;margin-bottom:0;}.head-portrait img,.head-file img,.head-file input{width:100%;height:100%;border-radius:50%;}.head-file{position:relative;}.head-file input{position:absolute;top:0;left:0;opacity:0;}textarea{resize:none;}.setting-img{height:150px;}.setting-img img{width:100%;height:100%;}.upload-click{position:absolute;top:0;bottom:0;width:100%;color:#fff;line-height:150px;text-align:center;font-size:18px;letter-spacing:2px;}#exampleInputFile{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;opacity:0;}.head-checkbox{display:none;position:absolute;left:1px;top:0;width:100%;height:100%;}.head-portrait:hover{border:1px solid #2196f3;}.group-head .head-checkbox .checkbox-custom{height:100%;margin:0px;}.group-head .head-checkbox .checkbox-custom label{vertical-align:text-top;}.headFirstWord{display:inline-block;width:50px;height:50px;text-align:center;line-height:50px;font-size:18px;}.head-portrait:hover .head-checkbox{display:block;}.group-head{overflow:hidden;padding:0;}.head-portrait .hover{display:block;}.has-warning .form-control{border-color:#ff3203;box-shadow:inset 0 0px 0px rgba(0,0,0,.075);}kbd{background-color:transparent;color:#ff3203;font-size:100%;-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.25);box-shadow:inset 0 0 0 rgba(0,0,0,.25);}.head-portrait .iconFirstWord{width:40px;height:40px;border-radius:50%;display:inline-block;line-height:40px;text-align:center;margin-right:2px;color:#FFFFFF;font-size:24px;}.iconFirstWord{width:24px;height:24px;border-radius:50%;display:inline-block;line-height:24px;text-align:center;margin-right:2px;color:#FFFFFF;font-size:14px;}

File diff suppressed because one or more lines are too long

View File

@@ -5,116 +5,4 @@
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
_hotkey={};
_hotkey.ctrl=0;
_hotkey.alt=0;
_hotkey.shift=0;
_hotkey.init=function(){
_hotkey.ctrl=0;
_hotkey.alt=0;
_hotkey.shift=0;
}
jQuery(document).on('keydown',function(event){
event=event?event:window.event;
var tag = event.srcElement ? event.srcElement :event.target;
if(/input|textarea/i.test(tag.tagName)){
return true;
}
var e;
if (event.which !="") { e = event.which; }
else if (event.charCode != "") { e = event.charCode; }
else if (event.keyCode != "") { e = event.keyCode; }
switch(e){
case 17:
_hotkey.ctrl=1;
break;
case 18:
_hotkey.alt=1;
break;
case 16:
_hotkey.shift=1;
break;
}
});
jQuery(document).on('keyup',function(event){
event=event?event:window.event;
var tag = event.srcElement ? event.srcElement :event.target;
if(/input|textarea/i.test(tag.tagName)){
return true;
}
var e;
if (event.which !="") { e = event.which; }
else if (event.charCode != "") { e = event.charCode; }
else if (event.keyCode != "") { e = event.keyCode; }
switch(e){
case 17:
_hotkey.ctrl=0;
break;
case 18:
_hotkey.alt=0;
break;
case 16:
_hotkey.shift=0;
break;
/*case 67: //Alt+C
if(_hotkey.alt) _window.currentWindow('Close');
//_hotkey.alt=0;
break;
case 77: //Alt+M
if(_hotkey.alt) _window.currentWindow('Max');
_hotkey.alt=0;
break;
case 78://Alt+N
if(_hotkey.alt) _window.currentWindow('Min');
_hotkey.alt=0;
break;*/
/*case 81://Alt+shift+Q
if(_hotkey.alt && _hotkey.shift) _window.CloseAppwinAll();
_hotkey.alt=0;
_hotkey.shift=0
break;*/
/*case 75: //Alt+K
if(_hotkey.alt) _login.showHotkey();
//_hotkey.alt=0;
break;*/
/*case 83://Alt+S
if(_hotkey.alt) jQuery('#taskbar_start').trigger('mousedown');;
//_hotkey.alt=0;
break;*/
/*case 37://Ctrl + Alt + ←
if(_hotkey.ctrl && _hotkey.alt) {_layout.setPagePrev();}
break;
case 39://Ctrl + Alt + →
if(_hotkey.ctrl && _hotkey.alt) _layout.setPageNext();
break;
case 68:
//Ctrl + Alt + D
if(_hotkey.alt && _hotkey.ctrl) _window.showDesktop();
break;
case 145:
//Ctrl + Alt + ScrollLock
if(_hotkey.alt && _hotkey.ctrl) _login.showBackground();
break;*/
/*case 35:
//Ctrl + Alt + End
if(_hotkey.alt && _hotkey.ctrl) _login.LockDesktop();
break;*/
case 46:case 110: //delete
try{
if(_explorer.selectall.icos.length>0){
_filemanage.delIco(_config.selectall.icos[0]);
}
}catch(e){}
break;
case 69://Ctrl + Alt + E
try{
if(_hotkey.alt && _hotkey.ctrl) _header.loging_close();
}catch(e){}
break;
}
});
_hotkey={},_hotkey.ctrl=0,_hotkey.alt=0,_hotkey.shift=0,_hotkey.init=function(){_hotkey.ctrl=0,_hotkey.alt=0,_hotkey.shift=0},jQuery(document).on("keydown",function(e){var t,c=(e=e||window.event).srcElement?e.srcElement:e.target;if(/input|textarea/i.test(c.tagName))return!0;switch(""!=e.which?t=e.which:""!=e.charCode?t=e.charCode:""!=e.keyCode&&(t=e.keyCode),t){case 17:_hotkey.ctrl=1;break;case 18:_hotkey.alt=1;break;case 16:_hotkey.shift=1}}),jQuery(document).on("keyup",function(e){var t,c=(e=e||window.event).srcElement?e.srcElement:e.target;if(/input|textarea/i.test(c.tagName))return!0;switch(""!=e.which?t=e.which:""!=e.charCode?t=e.charCode:""!=e.keyCode&&(t=e.keyCode),t){case 17:_hotkey.ctrl=0;break;case 18:_hotkey.alt=0;break;case 16:_hotkey.shift=0;break;case 46:case 110:try{_explorer.selectall.icos.length>0&&_filemanage.delIco(_config.selectall.icos[0])}catch(t){}break;case 69:try{_hotkey.alt&&_hotkey.ctrl&&_header.loging_close()}catch(t){}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,66 +1 @@
.jstree-default .jstree-wholerow{
height: 2.14rem;
}
.jstree-default .jstree-anchor{
line-height: 2.28rem;
height: 2.14rem;
}
.jstree-default .jstree-icon:empty {
font-size: 22px;
border-radius: 50%;
margin-top: 3px;
}
.jstree-default .jstree-node,.jstree-default .jstree-ocl {
font-family: 'dzz' !important;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
background-image: none!important;
}
.jstree-default>.jstree-no-dots .jstree-closed>.jstree-ocl:before {
content: "\e918";
}
.jstree-default>.jstree-no-dots .jstree-open>.jstree-ocl:before {
content: "\e916";
}
/*.jstree-default .jstree-icon{
vertical-align: sub;
}*/
.jstree-default .jstree-icon.dzz-folder {
color: #f9b743;
}
.jstree-default .jstree-wholerow-hovered{
background-color: rgba(0,0,0,0.1);
background: rgba(0,0,0,0.1);
border-radius: var(--radius);
}
.jstree-default .jstree-wholerow-clicked{
background:#3779ff;
border-radius: var(--radius);
}
.jstree-default .jstree-wholerow-clicked + .jstree-ocl {
color: #FFFFFF;
}
.jstree-default .jstree-clicked {
color: #FFFFFF;
}
.jstree-default .jstree-clicked .jstree-icon:empty {
color: #FFFFFF;
}
.jstree-default .jstree-clicked .dzz-folder:empty {
color: #f9b743;
}
.button-rightcolor{
margin-left:5px;
height:24px;
width:24px;
padding: 0px;
vertical-align: sub;
}
.button-rightcolor span{
font-size: 20px;
}
.jstree-default .jstree-wholerow{height:2.14rem;}.jstree-default .jstree-anchor{line-height:2.28rem;height:2.14rem;}.jstree-default .jstree-icon:empty{font-size:22px;border-radius:50%;margin-top:3px;}.jstree-default .jstree-node,.jstree-default .jstree-ocl{font-family:'dzz' !important;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;background-image:none!important;}.jstree-default>.jstree-no-dots .jstree-closed>.jstree-ocl:before{content:"\e918";}.jstree-default>.jstree-no-dots .jstree-open>.jstree-ocl:before{content:"\e916";}.jstree-default .jstree-icon.dzz-folder{color:#f9b743;}.jstree-default .jstree-wholerow-hovered{background-color:rgba(0,0,0,0.1);background:rgba(0,0,0,0.1);border-radius:var(--radius);}.jstree-default .jstree-wholerow-clicked{background:#3779ff;border-radius:var(--radius);}.jstree-default .jstree-wholerow-clicked + .jstree-ocl{color:#FFFFFF;}.jstree-default .jstree-clicked{color:#FFFFFF;}.jstree-default .jstree-clicked .jstree-icon:empty{color:#FFFFFF;}.jstree-default .jstree-clicked .dzz-folder:empty{color:#f9b743;}.button-rightcolor{margin-left:5px;height:24px;width:24px;padding:0px;vertical-align:sub;}.button-rightcolor span{font-size:20px;}

View File

@@ -5,116 +5,4 @@
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
_hotkey={};
_hotkey.ctrl=0;
_hotkey.alt=0;
_hotkey.shift=0;
_hotkey.init=function(){
_hotkey.ctrl=0;
_hotkey.alt=0;
_hotkey.shift=0;
}
jQuery(document).on('keydown',function(event){
event=event?event:window.event;
var tag = event.srcElement ? event.srcElement :event.target;
if(/input|textarea/i.test(tag.tagName)){
return true;
}
var e;
if (event.which !="") { e = event.which; }
else if (event.charCode != "") { e = event.charCode; }
else if (event.keyCode != "") { e = event.keyCode; }
switch(e){
case 17:
_hotkey.ctrl=1;
break;
case 18:
_hotkey.alt=1;
break;
case 16:
_hotkey.shift=1;
break;
}
});
jQuery(document).on('keyup',function(event){
event=event?event:window.event;
var tag = event.srcElement ? event.srcElement :event.target;
if(/input|textarea/i.test(tag.tagName)){
return true;
}
var e;
if (event.which !="") { e = event.which; }
else if (event.charCode != "") { e = event.charCode; }
else if (event.keyCode != "") { e = event.keyCode; }
switch(e){
case 17:
_hotkey.ctrl=0;
break;
case 18:
_hotkey.alt=0;
break;
case 16:
_hotkey.shift=0;
break;
/*case 67: //Alt+C
if(_hotkey.alt) _window.currentWindow('Close');
//_hotkey.alt=0;
break;
case 77: //Alt+M
if(_hotkey.alt) _window.currentWindow('Max');
_hotkey.alt=0;
break;
case 78://Alt+N
if(_hotkey.alt) _window.currentWindow('Min');
_hotkey.alt=0;
break;*/
/*case 81://Alt+shift+Q
if(_hotkey.alt && _hotkey.shift) _window.CloseAppwinAll();
_hotkey.alt=0;
_hotkey.shift=0
break;*/
/*case 75: //Alt+K
if(_hotkey.alt) _login.showHotkey();
//_hotkey.alt=0;
break;*/
/*case 83://Alt+S
if(_hotkey.alt) jQuery('#taskbar_start').trigger('mousedown');;
//_hotkey.alt=0;
break;*/
/*case 37://Ctrl + Alt + ←
if(_hotkey.ctrl && _hotkey.alt) {_layout.setPagePrev();}
break;
case 39://Ctrl + Alt + →
if(_hotkey.ctrl && _hotkey.alt) _layout.setPageNext();
break;
case 68:
//Ctrl + Alt + D
if(_hotkey.alt && _hotkey.ctrl) _window.showDesktop();
break;
case 145:
//Ctrl + Alt + ScrollLock
if(_hotkey.alt && _hotkey.ctrl) _login.showBackground();
break;*/
/*case 35:
//Ctrl + Alt + End
if(_hotkey.alt && _hotkey.ctrl) _login.LockDesktop();
break;*/
case 46:case 110: //delete
try{
if(_explorer.selectall.icos.length>0){
_filemanage.delIco(_config.selectall.icos[0]);
}
}catch(e){}
break;
case 69://Ctrl + Alt + E
try{
if(_hotkey.alt && _hotkey.ctrl) _header.loging_close();
}catch(e){}
break;
}
});
_hotkey={},_hotkey.ctrl=0,_hotkey.alt=0,_hotkey.shift=0,_hotkey.init=function(){_hotkey.ctrl=0,_hotkey.alt=0,_hotkey.shift=0},jQuery(document).on("keydown",function(e){var t,c=(e=e||window.event).srcElement?e.srcElement:e.target;if(/input|textarea/i.test(c.tagName))return!0;switch(""!=e.which?t=e.which:""!=e.charCode?t=e.charCode:""!=e.keyCode&&(t=e.keyCode),t){case 17:_hotkey.ctrl=1;break;case 18:_hotkey.alt=1;break;case 16:_hotkey.shift=1}}),jQuery(document).on("keyup",function(e){var t,c=(e=e||window.event).srcElement?e.srcElement:e.target;if(/input|textarea/i.test(c.tagName))return!0;switch(""!=e.which?t=e.which:""!=e.charCode?t=e.charCode:""!=e.keyCode&&(t=e.keyCode),t){case 17:_hotkey.ctrl=0;break;case 18:_hotkey.alt=0;break;case 16:_hotkey.shift=0;break;case 46:case 110:try{_explorer.selectall.icos.length>0&&_filemanage.delIco(_config.selectall.icos[0])}catch(t){}break;case 69:try{_hotkey.alt&&_hotkey.ctrl&&_header.loging_close()}catch(t){}}});

View File

@@ -5,209 +5,4 @@
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
_explorer.isPower=function(power,action){//判断有无权限;
var actionArr={ 'flag' : 1, //标志位为1表示权限设置,否则表示未设置,继承上级;
'read1' : 2, //读取自己的文件
'read2' : 4, //读取所有文件
'delete1' : 8, //删除自己的文件
'delete2' : 16, //删除所有文件
'edit1' : 32, //编辑自己的文件
'edit2' : 64, //编辑所有文件
'download1' : 128, //下载自己的文件
'download2' : 256, //下载所有文件
'copy1' : 512, //拷贝自己的文件
'copy2' : 1024, //拷贝所有文件
'upload' : 2048, //上传
// 'newtype' : 4096, //新建其他类型文件除文件夹、网址、dzz文档、视频、快捷方式以外
'folder' : 8192, //新建文件夹
// 'link' : 16384, //新建网址
// 'dzzdoc' : 32768, //新建dzz文档
// 'video' : 65536, //新建视频
// 'shortcut' : 131072, //快捷方式
'share' : 262144, //分享
};
if(parseInt(actionArr[action])<1) return false;
//权限比较时进行与操作得到0的话表示没有权限
//console.log([action,actionArr[action],power,(power & parseInt(actionArr[action]))]);
if( (power & parseInt(actionArr[action])) >0 ) return true;
return false;
}
_explorer.FolderSPower=function(power,action){//判断有无权限;
var actionArr={ 'delete' : 1,
'folder' : 2,
'link' : 4,
'upload' : 8,
'document': 16,
'dzzdoc' : 32,
'app' : 64,
'widget' : 128,
'user' : 256,
'shortcut': 512,
'discuss' :1024,
'download' :2048
};
if(action=='copy') action='delete';
if(parseInt(actionArr[action])<1) return true;
//权限比较时进行与操作得到0的话表示没有权限
if( (power & parseInt(actionArr[action])) == parseInt(actionArr[action]) ) return false;
return true;
}
_explorer.FileSPower=function(power,action){//判断有无权限;
var actionArr={ 'delete' : 1,
'edit' : 2,
'rename' : 4,
'move' : 8,
'download' : 16,
'share' : 32,
'widget' : 64,
'wallpaper' : 128,
'cut' : 256,
'shortcut' : 512
};
if(action=='copy') action='delete';
if(parseInt(actionArr[action])<1) return true;
//权限比较时进行与操作得到0的话表示没有权限
if( (power & parseInt(actionArr[action])) == parseInt(actionArr[action]) ) return false;
return true;
}
_explorer.getFidByContainer=function(container){
if(container.indexOf('icosContainer_body_')!==-1){
return _explorer.space.typefid['desktop'];
}else if(container=='taskbar_dock'){
return _explorer.space.typefid['dock'];
}else if(container=='_dock'){
return _explorer.space.typefid['dock'];
}else if(container.indexOf('icosContainer_folder_')!==-1){
return container.replace('icosContainer_folder_','');
}
}
_explorer.getContainerByFid=function(fid){
var type='';
for(var i in _explorer.space.typefid){
if(fid==_explorer.space.typefid[i]) type=i;
}
var container='';
if(type=='dock') container='_dock';
else if(type=='desktop') container='icosContainer_body_'+_layout.fid;
else{
container='icosContainer_folder_'+fid;
}
return container;
}
_explorer.Permission_Container=function(action,fid){
//预处理些权限
//首先判断超级权限
if(!_explorer.sourcedata.folder[fid]) return false;
var perm=_explorer.sourcedata.folder[fid].perm;
var sperm=_explorer.sourcedata.folder[fid].fsperm;
var gid=_explorer.sourcedata.folder[fid].gid;
//判断超级权限
if(!_explorer.FolderSPower(sperm,action)) return false;
if(_explorer.space.uid<1) return false;//游客没有权限;
/*if(_explorer.space.self>1){
return true;//系统管理员有权限
}*/
if(gid>0){
if(action=='admin'){
if(_explorer.space.self>1 || _explorer.sourcedata.folder[fid].ismoderator>0) return true;
else return false;
}else if(action=='rename'){
action='delete';
}else if(action=='multiselect'){
action='copy';
}else if(jQuery.inArray(action,['link','dzzdoc','newtype'])>-1 ){
action='upload';
}
if(jQuery.inArray(action,['read','delete','edit','download','copy'])>-1){
if(_explorer.myuid==_explorer.sourcedata.folder[fid].uid) action+='1';
else action+='2';
}
return _explorer.isPower(perm,action);
}else{
if(action=='admin' || action=='multiselect'){
//是自己的目录有管理权限
if(_explorer.space.uid==_explorer.sourcedata.folder[fid].uid) return true;
//云端的资源默认都有管理权限;
if(_explorer.sourcedata.folder[fid].bz) return true;
}
if(action=='rename'){
action='delete';
}else if(jQuery.inArray(action,['link','dzzdoc','newtype'])>-1 ){
action='upload';
}
if(jQuery.inArray(action,['read','delete','edit','download','copy'])>-1){
if(_explorer.myuid==_explorer.sourcedata.folder[fid].uid) action+='1';
else action+='2';
}
return _explorer.isPower(perm,action);
}
return false;
}
_explorer.Permission=function(action,data){
if(_explorer.myuid<1) return false; //游客无权限;
//预处理些权限
if(data.isdelete>0) return true; //回收站有权限;
var fid=data.pfid;
var sperm=data.sperm;
if(action=='download'){ //不是附件类型的不能下载
if(data.type!='document' && data.type!='attach' && data.type!='image' && data.type!='folder') return false;
}else if(action=='copy'){ //回收站内不能复制
if(data.flag=='recycle') return false;
if(data.type=='app' || data.type=='storage' || data.type=='pan' || data.type=='ftp') return false;
}else if(action=='paste'){ //没有复制或剪切,没法粘帖
if(_explorer.cut.icos.length<1) return false;
action=_explorer.sourcedata.icos[_explorer.cut.icos[0]].type;
}else if(action=='chmod'){ //修改权限
if(data.bz && data.bz.split(':')[0]=='ftp') return true;
else return false;
}else if(action=='rename'){ //重命名
if(fid==_explorer.space.typefid['dock']) return false;
if(data.type=='folder' && data.bz && (data.bz.split(':')[0]=='ALIOSS' || data.bz.split(':')[0]=='qiniu')) return false;
action='delete';
}else if(action=='multiselect'){
action='copy';
}else if(action=='drag'){
if(data.gid>0) action='copy';
else action='admin';
}
if(!_explorer.FileSPower(sperm,action)) return false;
if(jQuery.inArray(action,['read','delete','edit','download','copy'])>-1){
if(_explorer.myuid==data.uid) action+='1';
else action+='2';
}
return _explorer.Permission_Container(action,fid);
};
//判断容器是否有写入此类型文件的权限
_explorer.Permission_Container_write=function(fid,type){
if(!_explorer.sourcedata.folder[fid]) return false;
var sperm=_explorer.sourcedata.folder[fid].fsperm;
var gid=_explorer.sourcedata.folder[fid].gid;
var action=type;
if(jQuery.inArray(type,['folder','link','dzzdoc','shortcut','video'])<0) action='newtype';
//判断超级权限
if(!_explorer.FolderSPower(sperm,action)) return false;
if(_explorer.myuid<1) return false;//游客没有权限;
if(gid>0){
//是机构管理员有权权限;
if(_explorer.space.self>1 || _explorer.sourcedata.folder[fid].ismoderator>0) return true;
}else{
//是自己的目录有管理权限
if(_explorer.myuid==_explorer.sourcedata.folder[fid].uid) return true;
//云端的资源默认都有管理权限;
if(_explorer.sourcedata.folder[fid].bz) return true;
}
return _explorer.Permission_Container(action,fid);
}
_explorer.isPower=function(e,r){var o={flag:1,read1:2,read2:4,delete1:8,delete2:16,edit1:32,edit2:64,download1:128,download2:256,copy1:512,copy2:1024,upload:2048,folder:8192,share:262144};return!(parseInt(o[r])<1)&&(e&parseInt(o[r]))>0},_explorer.FolderSPower=function(e,r){var o={delete:1,folder:2,link:4,upload:8,document:16,dzzdoc:32,app:64,widget:128,user:256,shortcut:512,discuss:1024,download:2048};return"copy"==r&&(r="delete"),parseInt(o[r])<1||(e&parseInt(o[r]))!=parseInt(o[r])},_explorer.FileSPower=function(e,r){var o={delete:1,edit:2,rename:4,move:8,download:16,share:32,widget:64,wallpaper:128,cut:256,shortcut:512};return"copy"==r&&(r="delete"),parseInt(o[r])<1||(e&parseInt(o[r]))!=parseInt(o[r])},_explorer.getFidByContainer=function(e){return-1!==e.indexOf("icosContainer_body_")?_explorer.space.typefid.desktop:"taskbar_dock"==e?_explorer.space.typefid.dock:"_dock"==e?_explorer.space.typefid.dock:-1!==e.indexOf("icosContainer_folder_")?e.replace("icosContainer_folder_",""):void 0},_explorer.getContainerByFid=function(e){var r="";for(var o in _explorer.space.typefid)e==_explorer.space.typefid[o]&&(r=o);return"dock"==r?"_dock":"desktop"==r?"icosContainer_body_"+_layout.fid:"icosContainer_folder_"+e},_explorer.Permission_Container=function(e,r){if(!_explorer.sourcedata.folder[r])return!1;var o=_explorer.sourcedata.folder[r].perm,t=_explorer.sourcedata.folder[r].fsperm,d=_explorer.sourcedata.folder[r].gid;if(!_explorer.FolderSPower(t,e))return!1;if(_explorer.space.uid<1)return!1;if(d>0)return"admin"==e?_explorer.space.self>1||_explorer.sourcedata.folder[r].ismoderator>0:("rename"==e?e="delete":"multiselect"==e?e="copy":jQuery.inArray(e,["link","dzzdoc","newtype"])>-1&&(e="upload"),jQuery.inArray(e,["read","delete","edit","download","copy"])>-1&&(_explorer.myuid==_explorer.sourcedata.folder[r].uid?e+="1":e+="2"),_explorer.isPower(o,e));if("admin"==e||"multiselect"==e){if(_explorer.space.uid==_explorer.sourcedata.folder[r].uid)return!0;if(_explorer.sourcedata.folder[r].bz)return!0}return"rename"==e?e="delete":jQuery.inArray(e,["link","dzzdoc","newtype"])>-1&&(e="upload"),jQuery.inArray(e,["read","delete","edit","download","copy"])>-1&&(_explorer.myuid==_explorer.sourcedata.folder[r].uid?e+="1":e+="2"),_explorer.isPower(o,e)},_explorer.Permission=function(e,r){if(_explorer.myuid<1)return!1;if(r.isdelete>0)return!0;var o=r.pfid,t=r.sperm;if("download"==e){if("document"!=r.type&&"attach"!=r.type&&"image"!=r.type&&"folder"!=r.type)return!1}else if("copy"==e){if("recycle"==r.flag)return!1;if("app"==r.type||"storage"==r.type||"pan"==r.type||"ftp"==r.type)return!1}else if("paste"==e){if(_explorer.cut.icos.length<1)return!1;e=_explorer.sourcedata.icos[_explorer.cut.icos[0]].type}else{if("chmod"==e)return!(!r.bz||"ftp"!=r.bz.split(":")[0]);if("rename"==e){if(o==_explorer.space.typefid.dock)return!1;if("folder"==r.type&&r.bz&&("ALIOSS"==r.bz.split(":")[0]||"qiniu"==r.bz.split(":")[0]))return!1;e="delete"}else"multiselect"==e?e="copy":"drag"==e&&(e=r.gid>0?"copy":"admin")}return!!_explorer.FileSPower(t,e)&&(jQuery.inArray(e,["read","delete","edit","download","copy"])>-1&&(_explorer.myuid==r.uid?e+="1":e+="2"),_explorer.Permission_Container(e,o))},_explorer.Permission_Container_write=function(e,r){if(!_explorer.sourcedata.folder[e])return!1;var o=_explorer.sourcedata.folder[e].fsperm,t=_explorer.sourcedata.folder[e].gid,d=r;if(jQuery.inArray(r,["folder","link","dzzdoc","shortcut","video"])<0&&(d="newtype"),!_explorer.FolderSPower(o,d))return!1;if(_explorer.myuid<1)return!1;if(t>0){if(_explorer.space.self>1||_explorer.sourcedata.folder[e].ismoderator>0)return!0}else{if(_explorer.myuid==_explorer.sourcedata.folder[e].uid)return!0;if(_explorer.sourcedata.folder[e].bz)return!0}return _explorer.Permission_Container(d,e)};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,54 +1 @@
var selorg={};
//添加
selorg.add=function(ctrlid,vals){
var html='';
var pregmatch = /^dzz(.+?)/;
for(var i in vals){
if(jQuery('#'+ctrlid+'_sl_'+vals[i].orgid).length){
continue;
}
html+='<button id="'+ctrlid+'_sl_'+vals[i].orgid+'" type="button" class="btn btn-outline-secondary btn-sorg" data-val="'+vals[i].orgid+'">';
if(vals[i].icon){
if(pregmatch.test(vals[i].icon)){
html+='<span class="'+vals[i].icon+'"></span>';
}else{
html+='<img src="'+vals[i].icon+'">';
}
}
var iconFirstWord=vals[i].path.match(/<span.+?>.+?<\/span>/i);
if(iconFirstWord){
html+=iconFirstWord+vals[i].path.replace(/<span.+?>.+?<\/span>/i,'');
}else{
html+=vals[i].path;
}
html+='<a href="javascript:;" class="ibtn dzz dzz-close" title="'+__lang.delete+'" onclick="selorg.remove(\''+ctrlid+'\',this);"></a>';
}
jQuery('#'+ctrlid).append(html);
selorg.set(ctrlid);
};
//删除
selorg.del=function(ctrlid,vals){
for(var i in vals){
jQuery('#'+ctrlid+'_sl_'+vals[i]).remove();
}
selorg.set(ctrlid);
};
//设置输入框的值
selorg.set=function(ctrlid){
var val=[];
jQuery('#'+ctrlid+' button').each(function() {
val.push(jQuery(this).data('val'));
});
jQuery('#sel_'+ctrlid).val(val.join(','));
};
//y移除并且取消机构树中的选择
selorg.remove=function(ctrlid,obj){
var unsel_val=jQuery(obj).parent().data('val');
jQuery(obj).parent().remove();
selorg.set(ctrlid);
try{window.frames[ctrlid+'_iframe'].selectorg_remove(unsel_val);}catch(e){}
};
var selorg={add:function(e,a){var r="",t=/^dzz(.+?)/;for(var n in a)if(!jQuery("#"+e+"_sl_"+a[n].orgid).length){r+='<button id="'+e+"_sl_"+a[n].orgid+'" type="button" class="btn btn-outline-secondary btn-sorg" data-val="'+a[n].orgid+'">',a[n].icon&&(t.test(a[n].icon)?r+='<span class="'+a[n].icon+'"></span>':r+='<img src="'+a[n].icon+'">');var s=a[n].path.match(/<span.+?>.+?<\/span>/i);r+=s?s+a[n].path.replace(/<span.+?>.+?<\/span>/i,""):a[n].path,r+='<a href="javascript:;" class="ibtn dzz dzz-close" title="'+__lang.delete+'" onclick="selorg.remove(\''+e+"',this);\"></a>"}jQuery("#"+e).append(r),selorg.set(e)},del:function(e,a){for(var r in a)jQuery("#"+e+"_sl_"+a[r]).remove();selorg.set(e)},set:function(e){var a=[];jQuery("#"+e+" button").each(function(){a.push(jQuery(this).data("val"))}),jQuery("#sel_"+e).val(a.join(","))},remove:function(e,a){var r=jQuery(a).parent().data("val");jQuery(a).parent().remove(),selorg.set(e);try{window.frames[e+"_iframe"].selectorg_remove(r)}catch(e){}}};

View File

@@ -1,63 +1 @@
var selorg={};
//添加
selorg.add=function(ctrlid,vals){
//jQuery('#'+ctrlid).empty();
for(var i in vals){
if(jQuery('#'+ctrlid+'_sl_'+vals[i].orgid).length){
continue;
}
var html='';
if(vals[i].orgid.indexOf('uid_')===0){
var headimg = '';
if(vals[i].icon){
headimg = '<img src="'+vals[i].icon+'" class="img-avatar" title="'+vals[i].text.replace(/<em.+?<\/em>/i,'')+'">';
}
html='<li id="'+ctrlid+'_sl_'+vals[i].orgid+'" class="right-classa-depart" data-val="'+vals[i].orgid+'">' +
headimg+vals[i].text+' <i class="ti-close dzz dzz-close"></i></li>';
}else{
html='<li id="'+ctrlid+'_sl_'+vals[i].orgid+'" class="right-classa-depart" data-val="'+vals[i].orgid+'">'+vals[i].text+' <i class="ti-close dzz dzz-close"></i></li>';
}
jQuery('#'+ctrlid).append(html);
}
selorg.set(ctrlid);
try{
update_selected_sum();
}catch(e){}
};
//删除
selorg.del=function(ctrlid,vals){
for(var i in vals){
if(jQuery('#'+ctrlid+'_sl_'+vals[i]).find('i.ti-close').length > 0){
jQuery('#'+ctrlid+'_sl_'+vals[i]).remove();
}
}
selorg.set(ctrlid);
try{
update_selected_sum();
}catch(e){}
};
//设置输入框的值
selorg.set=function(ctrlid){
var val=[];
jQuery('#'+ctrlid+' li').each(function() {
val.push(jQuery(this).data('val'));
});
jQuery('#sel_'+ctrlid).val(val.join(','));
};
//y移除并且取消机构树中的选择
selorg.remove=function(ctrlid,obj){
var unsel_val=jQuery(obj).parent().data('val');
jQuery(obj).parent().remove();
selorg.set(ctrlid);
try{window.frames[ctrlid+'_iframe'].selectorg_remove(unsel_val);}catch(e){}
try{
update_selected_sum();
}catch(e){}
};
selorg.search=function(ctrlid,obj){
try{window.frames[ctrlid+'_iframe'].selectorg_search(obj.value);}catch(e){}
};
var selorg={add:function(e,a){for(var r in a)if(!jQuery("#"+e+"_sl_"+a[r].orgid).length){var t="";if(0===a[r].orgid.indexOf("uid_")){var s="";a[r].icon&&(s='<img src="'+a[r].icon+'" class="img-avatar" title="'+a[r].text.replace(/<em.+?<\/em>/i,"")+'">'),t='<li id="'+e+"_sl_"+a[r].orgid+'" class="right-classa-depart" data-val="'+a[r].orgid+'">'+s+a[r].text+' <i class="ti-close dzz dzz-close"></i></li>'}else t='<li id="'+e+"_sl_"+a[r].orgid+'" class="right-classa-depart" data-val="'+a[r].orgid+'">'+a[r].text+' <i class="ti-close dzz dzz-close"></i></li>';jQuery("#"+e).append(t)}selorg.set(e);try{update_selected_sum()}catch(e){}},del:function(e,a){for(var r in a)jQuery("#"+e+"_sl_"+a[r]).find("i.ti-close").length>0&&jQuery("#"+e+"_sl_"+a[r]).remove();selorg.set(e);try{update_selected_sum()}catch(e){}},set:function(e){var a=[];jQuery("#"+e+" li").each(function(){a.push(jQuery(this).data("val"))}),jQuery("#sel_"+e).val(a.join(","))},remove:function(e,a){var r=jQuery(a).parent().data("val");jQuery(a).parent().remove(),selorg.set(e);try{window.frames[e+"_iframe"].selectorg_remove(r)}catch(e){}try{update_selected_sum()}catch(e){}},search:function(e,a){try{window.frames[e+"_iframe"].selectorg_search(a.value)}catch(e){}}};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,104 +1 @@
.CodeMirror {
line-height: 1em;
font-family: monospace;
}
.CodeMirror-scroll {
overflow: auto;
height: 300px;
/* This is needed to prevent an IE[67] bug where the scrolled content
is visible outside of the scrolling box. */
position: relative;
}
.CodeMirror-gutter {
position: absolute; left: 0; top: 0;
z-index: 10;
background-color: #f7f7f7;
border-right: 1px solid #eee;
min-width: 2em;
height: 100%;
}
.CodeMirror-gutter-text {
color: #aaa;
text-align: right;
padding: .4em .2em .4em .4em;
white-space: pre !important;
}
.CodeMirror-lines {
padding: .4em;
}
.CodeMirror pre {
-moz-border-radius: 0;
-webkit-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
border-width: 0; margin: 0; padding: 0; background: transparent;
font-family: inherit;
font-size: inherit;
padding: 0; margin: 0;
white-space: pre;
word-wrap: normal;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
}
.CodeMirror-wrap .CodeMirror-scroll {
overflow-x: hidden;
}
.CodeMirror textarea {
outline: none !important;
}
.CodeMirror pre.CodeMirror-cursor {
z-index: 10;
position: absolute;
visibility: hidden;
border-left: 1px solid black;
}
.CodeMirror-focused pre.CodeMirror-cursor {
visibility: visible;
}
span.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused span.CodeMirror-selected { background: #d2dcf8; }
.CodeMirror-searching {background: #ffa;}
/* Default theme */
.cm-s-default span.cm-keyword {color: #708;}
.cm-s-default span.cm-atom {color: #219;}
.cm-s-default span.cm-number {color: #164;}
.cm-s-default span.cm-def {color: #00f;}
.cm-s-default span.cm-variable {color: black;}
.cm-s-default span.cm-variable-2 {color: #05a;}
.cm-s-default span.cm-variable-3 {color: #085;}
.cm-s-default span.cm-property {color: black;}
.cm-s-default span.cm-operator {color: black;}
.cm-s-default span.cm-comment {color: #a50;}
.cm-s-default span.cm-string {color: #a11;}
.cm-s-default span.cm-string-2 {color: #f50;}
.cm-s-default span.cm-meta {color: #555;}
.cm-s-default span.cm-error {color: #f00;}
.cm-s-default span.cm-qualifier {color: #555;}
.cm-s-default span.cm-builtin {color: #30a;}
.cm-s-default span.cm-bracket {color: #cc7;}
.cm-s-default span.cm-tag {color: #170;}
.cm-s-default span.cm-attribute {color: #00c;}
.cm-s-default span.cm-header {color: #a0a;}
.cm-s-default span.cm-quote {color: #090;}
.cm-s-default span.cm-hr {color: #999;}
.cm-s-default span.cm-link {color: #00c;}
span.cm-header, span.cm-strong {font-weight: bold;}
span.cm-em {font-style: italic;}
span.cm-emstrong {font-style: italic; font-weight: bold;}
span.cm-link {text-decoration: underline;}
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror{line-height:1em;font-family:monospace;}.CodeMirror-scroll{overflow:auto;height:300px;position:relative;}.CodeMirror-gutter{position:absolute;left:0;top:0;z-index:10;background-color:#f7f7f7;border-right:1px solid #eee;min-width:2em;height:100%;}.CodeMirror-gutter-text{color:#aaa;text-align:right;padding:.4em .2em .4em .4em;white-space:pre !important;}.CodeMirror-lines{padding:.4em;}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0;border-width:0;margin:0;padding:0;background:transparent;font-family:inherit;font-size:inherit;padding:0;margin:0;white-space:pre;word-wrap:normal;}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;}.CodeMirror-wrap .CodeMirror-scroll{overflow-x:hidden;}.CodeMirror textarea{outline:none !important;}.CodeMirror pre.CodeMirror-cursor{z-index:10;position:absolute;visibility:hidden;border-left:1px solid black;}.CodeMirror-focused pre.CodeMirror-cursor{visibility:visible;}span.CodeMirror-selected{background:#d9d9d9;}.CodeMirror-focused span.CodeMirror-selected{background:#d2dcf8;}.CodeMirror-searching{background:#ffa;}.cm-s-default span.cm-keyword{color:#708;}.cm-s-default span.cm-atom{color:#219;}.cm-s-default span.cm-number{color:#164;}.cm-s-default span.cm-def{color:#00f;}.cm-s-default span.cm-variable{color:black;}.cm-s-default span.cm-variable-2{color:#05a;}.cm-s-default span.cm-variable-3{color:#085;}.cm-s-default span.cm-property{color:black;}.cm-s-default span.cm-operator{color:black;}.cm-s-default span.cm-comment{color:#a50;}.cm-s-default span.cm-string{color:#a11;}.cm-s-default span.cm-string-2{color:#f50;}.cm-s-default span.cm-meta{color:#555;}.cm-s-default span.cm-error{color:#f00;}.cm-s-default span.cm-qualifier{color:#555;}.cm-s-default span.cm-builtin{color:#30a;}.cm-s-default span.cm-bracket{color:#cc7;}.cm-s-default span.cm-tag{color:#170;}.cm-s-default span.cm-attribute{color:#00c;}.cm-s-default span.cm-header{color:#a0a;}.cm-s-default span.cm-quote{color:#090;}.cm-s-default span.cm-hr{color:#999;}.cm-s-default span.cm-link{color:#00c;}span.cm-header,span.cm-strong{font-weight:bold;}span.cm-em{font-style:italic;}span.cm-emstrong{font-style:italic;font-weight:bold;}span.cm-link{text-decoration:underline;}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0;}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22;}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,13 +0,0 @@
/*
Highcharts JS v3.0.6 (2013-10-04)
MooTools adapter
(c) 2010-2013 Torstein Hønsi
License: www.highcharts.com/license
*/
(function(){var e=window,h=document,f=e.MooTools.version.substring(0,3),i=f==="1.2"||f==="1.1",j=i||f==="1.3",g=e.$extend||function(){return Object.append.apply(Object,arguments)};e.HighchartsAdapter={init:function(a){var b=Fx.prototype,c=b.start,d=Fx.Morph.prototype,e=d.compute;b.start=function(b,d){var e=this.element;if(b.d)this.paths=a.init(e,e.d,this.toD);c.apply(this,arguments);return this};d.compute=function(b,c,d){var f=this.paths;if(f)this.element.attr("d",a.step(f[0],f[1],d,this.toD));else return e.apply(this,
arguments)}},adapterRun:function(a,b){if(b==="width"||b==="height")return parseInt($(a).getStyle(b),10)},getScript:function(a,b){var c=h.getElementsByTagName("head")[0],d=h.createElement("script");d.type="text/javascript";d.src=a;d.onload=b;c.appendChild(d)},animate:function(a,b,c){var d=a.attr,f=c&&c.complete;if(d&&!a.setStyle)a.getStyle=a.attr,a.setStyle=function(){var a=arguments;this.attr.call(this,a[0],a[1][0])},a.$family=function(){return!0};e.HighchartsAdapter.stop(a);c=new Fx.Morph(d?a:$(a),
g({transition:Fx.Transitions.Quad.easeInOut},c));if(d)c.element=a;if(b.d)c.toD=b.d;f&&c.addEvent("complete",f);c.start(b);a.fx=c},each:function(a,b){return i?$each(a,b):Array.each(a,b)},map:function(a,b){return a.map(b)},grep:function(a,b){return a.filter(b)},inArray:function(a,b,c){return b?b.indexOf(a,c):-1},offset:function(a){a=a.getPosition();return{left:a.x,top:a.y}},extendWithEvents:function(a){a.addEvent||(a.nodeName?$(a):g(a,new Events))},addEvent:function(a,b,c){typeof b==="string"&&(b===
"unload"&&(b="beforeunload"),e.HighchartsAdapter.extendWithEvents(a),a.addEvent(b,c))},removeEvent:function(a,b,c){typeof a!=="string"&&a.addEvent&&(b?(b==="unload"&&(b="beforeunload"),c?a.removeEvent(b,c):a.removeEvents&&a.removeEvents(b)):a.removeEvents())},fireEvent:function(a,b,c,d){b={type:b,target:a};b=j?new Event(b):new DOMEvent(b);b=g(b,c);if(!b.target&&b.event)b.target=b.event.target;b.preventDefault=function(){d=null};a.fireEvent&&a.fireEvent(b.type,b);d&&d(b)},washMouseEvent:function(a){if(a.page)a.pageX=
a.page.x,a.pageY=a.page.y;return a},stop:function(a){a.fx&&a.fx.cancel()}}})();

View File

@@ -1,313 +0,0 @@
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
* MooTools adapter
*
* (c) 2010-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Fx, $, $extend, $each, $merge, Events, Event, DOMEvent */
(function () {
var win = window,
doc = document,
mooVersion = win.MooTools.version.substring(0, 3), // Get the first three characters of the version number
legacy = mooVersion === '1.2' || mooVersion === '1.1', // 1.1 && 1.2 considered legacy, 1.3 is not.
legacyEvent = legacy || mooVersion === '1.3', // In versions 1.1 - 1.3 the event class is named Event, in newer versions it is named DOMEvent.
$extend = win.$extend || function () {
return Object.append.apply(Object, arguments);
};
win.HighchartsAdapter = {
/**
* Initialize the adapter. This is run once as Highcharts is first run.
* @param {Object} pathAnim The helper object to do animations across adapters.
*/
init: function (pathAnim) {
var fxProto = Fx.prototype,
fxStart = fxProto.start,
morphProto = Fx.Morph.prototype,
morphCompute = morphProto.compute;
// override Fx.start to allow animation of SVG element wrappers
/*jslint unparam: true*//* allow unused parameters in fx functions */
fxProto.start = function (from, to) {
var fx = this,
elem = fx.element;
// special for animating paths
if (from.d) {
//this.fromD = this.element.d.split(' ');
fx.paths = pathAnim.init(
elem,
elem.d,
fx.toD
);
}
fxStart.apply(fx, arguments);
return this; // chainable
};
// override Fx.step to allow animation of SVG element wrappers
morphProto.compute = function (from, to, delta) {
var fx = this,
paths = fx.paths;
if (paths) {
fx.element.attr(
'd',
pathAnim.step(paths[0], paths[1], delta, fx.toD)
);
} else {
return morphCompute.apply(fx, arguments);
}
};
/*jslint unparam: false*/
},
/**
* Run a general method on the framework, following jQuery syntax
* @param {Object} el The HTML element
* @param {String} method Which method to run on the wrapped element
*/
adapterRun: function (el, method) {
// This currently works for getting inner width and height. If adding
// more methods later, we need a conditional implementation for each.
if (method === 'width' || method === 'height') {
return parseInt($(el).getStyle(method), 10);
}
},
/**
* Downloads a script and executes a callback when done.
* @param {String} scriptLocation
* @param {Function} callback
*/
getScript: function (scriptLocation, callback) {
// We cannot assume that Assets class from mootools-more is available so instead insert a script tag to download script.
var head = doc.getElementsByTagName('head')[0];
var script = doc.createElement('script');
script.type = 'text/javascript';
script.src = scriptLocation;
script.onload = callback;
head.appendChild(script);
},
/**
* Animate a HTML element or SVG element wrapper
* @param {Object} el
* @param {Object} params
* @param {Object} options jQuery-like animation options: duration, easing, callback
*/
animate: function (el, params, options) {
var isSVGElement = el.attr,
effect,
complete = options && options.complete;
if (isSVGElement && !el.setStyle) {
// add setStyle and getStyle methods for internal use in Moo
el.getStyle = el.attr;
el.setStyle = function () { // property value is given as array in Moo - break it down
var args = arguments;
this.attr.call(this, args[0], args[1][0]);
};
// dirty hack to trick Moo into handling el as an element wrapper
el.$family = function () { return true; };
}
// stop running animations
win.HighchartsAdapter.stop(el);
// define and run the effect
effect = new Fx.Morph(
isSVGElement ? el : $(el),
$extend({
transition: Fx.Transitions.Quad.easeInOut
}, options)
);
// Make sure that the element reference is set when animating svg elements
if (isSVGElement) {
effect.element = el;
}
// special treatment for paths
if (params.d) {
effect.toD = params.d;
}
// jQuery-like events
if (complete) {
effect.addEvent('complete', complete);
}
// run
effect.start(params);
// record for use in stop method
el.fx = effect;
},
/**
* MooTool's each function
*
*/
each: function (arr, fn) {
return legacy ?
$each(arr, fn) :
Array.each(arr, fn);
},
/**
* Map an array
* @param {Array} arr
* @param {Function} fn
*/
map: function (arr, fn) {
return arr.map(fn);
},
/**
* Grep or filter an array
* @param {Array} arr
* @param {Function} fn
*/
grep: function (arr, fn) {
return arr.filter(fn);
},
/**
* Return the index of an item in an array, or -1 if not matched
*/
inArray: function (item, arr, from) {
return arr ? arr.indexOf(item, from) : -1;
},
/**
* Get the offset of an element relative to the top left corner of the web page
*/
offset: function (el) {
var offsets = el.getPosition(); // #1496
return {
left: offsets.x,
top: offsets.y
};
},
/**
* Extends an object with Events, if its not done
*/
extendWithEvents: function (el) {
// if the addEvent method is not defined, el is a custom Highcharts object
// like series or point
if (!el.addEvent) {
if (el.nodeName) {
el = $(el); // a dynamically generated node
} else {
$extend(el, new Events()); // a custom object
}
}
},
/**
* Add an event listener
* @param {Object} el HTML element or custom object
* @param {String} type Event type
* @param {Function} fn Event handler
*/
addEvent: function (el, type, fn) {
if (typeof type === 'string') { // chart broke due to el being string, type function
if (type === 'unload') { // Moo self destructs before custom unload events
type = 'beforeunload';
}
win.HighchartsAdapter.extendWithEvents(el);
el.addEvent(type, fn);
}
},
removeEvent: function (el, type, fn) {
if (typeof el === 'string') {
// el.removeEvents below apperantly calls this method again. Do not quite understand why, so for now just bail out.
return;
}
if (el.addEvent) { // If el doesn't have an addEvent method, there are no events to remove
if (type) {
if (type === 'unload') { // Moo self destructs before custom unload events
type = 'beforeunload';
}
if (fn) {
el.removeEvent(type, fn);
} else if (el.removeEvents) { // #958
el.removeEvents(type);
}
} else {
el.removeEvents();
}
}
},
fireEvent: function (el, event, eventArguments, defaultFunction) {
var eventArgs = {
type: event,
target: el
};
// create an event object that keeps all functions
event = legacyEvent ? new Event(eventArgs) : new DOMEvent(eventArgs);
event = $extend(event, eventArguments);
// When running an event on the Chart.prototype, MooTools nests the target in event.event
if (!event.target && event.event) {
event.target = event.event.target;
}
// override the preventDefault function to be able to use
// this for custom events
event.preventDefault = function () {
defaultFunction = null;
};
// if fireEvent is not available on the object, there hasn't been added
// any events to it above
if (el.fireEvent) {
el.fireEvent(event.type, event);
}
// fire the default if it is passed and it is not prevented above
if (defaultFunction) {
defaultFunction(event);
}
},
/**
* Set back e.pageX and e.pageY that MooTools has abstracted away. #1165, #1346.
*/
washMouseEvent: function (e) {
if (e.page) {
e.pageX = e.page.x;
e.pageY = e.page.y;
}
return e;
},
/**
* Stop running animations on the object
*/
stop: function (el) {
if (el.fx) {
el.fx.cancel();
}
}
};
}());

View File

@@ -1,15 +0,0 @@
/*
Highcharts JS v3.0.6 (2013-10-04)
Prototype adapter
@author Michael Nelson, Torstein Hønsi.
Feel free to use and modify this script.
Highcharts license: www.highcharts.com/license.
*/
var HighchartsAdapter=function(){var f=typeof Effect!=="undefined";return{init:function(a){if(f)Effect.HighchartsTransition=Class.create(Effect.Base,{initialize:function(b,c,d,g){var e;this.element=b;this.key=c;e=b.attr?b.attr(c):$(b).getStyle(c);if(c==="d")this.paths=a.init(b,b.d,d),this.toD=d,e=0,d=1;this.start(Object.extend(g||{},{from:e,to:d,attribute:c}))},setup:function(){HighchartsAdapter._extend(this.element);if(!this.element._highchart_animation)this.element._highchart_animation={};this.element._highchart_animation[this.key]=
this},update:function(b){var c=this.paths,d=this.element;c&&(b=a.step(c[0],c[1],b,this.toD));d.attr?d.element&&d.attr(this.options.attribute,b):(c={},c[this.options.attribute]=b,$(d).setStyle(c))},finish:function(){this.element&&this.element._highchart_animation&&delete this.element._highchart_animation[this.key]}})},adapterRun:function(a,b){return parseInt($(a).getStyle(b),10)},getScript:function(a,b){var c=$$("head")[0];c&&c.appendChild((new Element("script",{type:"text/javascript",src:a})).observe("load",
b))},addNS:function(a){var b=/^(?:click|mouse(?:down|up|over|move|out))$/;return/^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/.test(a)||b.test(a)?a:"h:"+a},addEvent:function(a,b,c){a.addEventListener||a.attachEvent?Event.observe($(a),HighchartsAdapter.addNS(b),c):(HighchartsAdapter._extend(a),a._highcharts_observe(b,c))},animate:function(a,b,c){var d,c=c||{};c.delay=0;c.duration=(c.duration||500)/1E3;c.afterFinish=c.complete;if(f)for(d in b)new Effect.HighchartsTransition($(a),
d,b[d],c);else{if(a.attr)for(d in b)a.attr(d,b[d]);c.complete&&c.complete()}a.attr||$(a).setStyle(b)},stop:function(a){var b;if(a._highcharts_extended&&a._highchart_animation)for(b in a._highchart_animation)a._highchart_animation[b].cancel()},each:function(a,b){$A(a).each(b)},inArray:function(a,b,c){return b?b.indexOf(a,c):-1},offset:function(a){return $(a).cumulativeOffset()},fireEvent:function(a,b,c,d){a.fire?a.fire(HighchartsAdapter.addNS(b),c):a._highcharts_extended&&(c=c||{},a._highcharts_fire(b,
c));c&&c.defaultPrevented&&(d=null);d&&d(c)},removeEvent:function(a,b,c){$(a).stopObserving&&(b&&(b=HighchartsAdapter.addNS(b)),$(a).stopObserving(b,c));window===a?Event.stopObserving(a,b,c):(HighchartsAdapter._extend(a),a._highcharts_stop_observing(b,c))},washMouseEvent:function(a){return a},grep:function(a,b){return a.findAll(b)},map:function(a,b){return a.map(b)},_extend:function(a){a._highcharts_extended||Object.extend(a,{_highchart_events:{},_highchart_animation:null,_highcharts_extended:!0,
_highcharts_observe:function(b,a){this._highchart_events[b]=[this._highchart_events[b],a].compact().flatten()},_highcharts_stop_observing:function(b,a){b?a?this._highchart_events[b]=[this._highchart_events[b]].compact().flatten().without(a):delete this._highchart_events[b]:this._highchart_events={}},_highcharts_fire:function(a,c){var d=this;(this._highchart_events[a]||[]).each(function(a){if(!c.stopped)c.preventDefault=function(){c.defaultPrevented=!0},c.target=d,a.bind(this)(c)===!1&&c.preventDefault()}.bind(this))}})}}}();

View File

@@ -1,316 +0,0 @@
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
* Prototype adapter
*
* @author Michael Nelson, Torstein Hønsi.
*
* Feel free to use and modify this script.
* Highcharts license: www.highcharts.com/license.
*/
// JSLint options:
/*global Effect, Class, Event, Element, $, $$, $A */
// Adapter interface between prototype and the Highcharts charting library
var HighchartsAdapter = (function () {
var hasEffect = typeof Effect !== 'undefined';
return {
/**
* Initialize the adapter. This is run once as Highcharts is first run.
* @param {Object} pathAnim The helper object to do animations across adapters.
*/
init: function (pathAnim) {
if (hasEffect) {
/**
* Animation for Highcharts SVG element wrappers only
* @param {Object} element
* @param {Object} attribute
* @param {Object} to
* @param {Object} options
*/
Effect.HighchartsTransition = Class.create(Effect.Base, {
initialize: function (element, attr, to, options) {
var from,
opts;
this.element = element;
this.key = attr;
from = element.attr ? element.attr(attr) : $(element).getStyle(attr);
// special treatment for paths
if (attr === 'd') {
this.paths = pathAnim.init(
element,
element.d,
to
);
this.toD = to;
// fake values in order to read relative position as a float in update
from = 0;
to = 1;
}
opts = Object.extend((options || {}), {
from: from,
to: to,
attribute: attr
});
this.start(opts);
},
setup: function () {
HighchartsAdapter._extend(this.element);
// If this is the first animation on this object, create the _highcharts_animation helper that
// contain pointers to the animation objects.
if (!this.element._highchart_animation) {
this.element._highchart_animation = {};
}
// Store a reference to this animation instance.
this.element._highchart_animation[this.key] = this;
},
update: function (position) {
var paths = this.paths,
element = this.element,
obj;
if (paths) {
position = pathAnim.step(paths[0], paths[1], position, this.toD);
}
if (element.attr) { // SVGElement
if (element.element) { // If not, it has been destroyed (#1405)
element.attr(this.options.attribute, position);
}
} else { // HTML, #409
obj = {};
obj[this.options.attribute] = position;
$(element).setStyle(obj);
}
},
finish: function () {
// Delete the property that holds this animation now that it is finished.
// Both canceled animations and complete ones gets a 'finish' call.
if (this.element && this.element._highchart_animation) { // #1405
delete this.element._highchart_animation[this.key];
}
}
});
}
},
/**
* Run a general method on the framework, following jQuery syntax
* @param {Object} el The HTML element
* @param {String} method Which method to run on the wrapped element
*/
adapterRun: function (el, method) {
// This currently works for getting inner width and height. If adding
// more methods later, we need a conditional implementation for each.
return parseInt($(el).getStyle(method), 10);
},
/**
* Downloads a script and executes a callback when done.
* @param {String} scriptLocation
* @param {Function} callback
*/
getScript: function (scriptLocation, callback) {
var head = $$('head')[0]; // Returns an array, so pick the first element.
if (head) {
// Append a new 'script' element, set its type and src attributes, add a 'load' handler that calls the callback
head.appendChild(new Element('script', { type: 'text/javascript', src: scriptLocation}).observe('load', callback));
}
},
/**
* Custom events in prototype needs to be namespaced. This method adds a namespace 'h:' in front of
* events that are not recognized as native.
*/
addNS: function (eventName) {
var HTMLEvents = /^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,
MouseEvents = /^(?:click|mouse(?:down|up|over|move|out))$/;
return (HTMLEvents.test(eventName) || MouseEvents.test(eventName)) ?
eventName :
'h:' + eventName;
},
// el needs an event to be attached. el is not necessarily a dom element
addEvent: function (el, event, fn) {
if (el.addEventListener || el.attachEvent) {
Event.observe($(el), HighchartsAdapter.addNS(event), fn);
} else {
HighchartsAdapter._extend(el);
el._highcharts_observe(event, fn);
}
},
// motion makes things pretty. use it if effects is loaded, if not... still get to the end result.
animate: function (el, params, options) {
var key,
fx;
// default options
options = options || {};
options.delay = 0;
options.duration = (options.duration || 500) / 1000;
options.afterFinish = options.complete;
// animate wrappers and DOM elements
if (hasEffect) {
for (key in params) {
// The fx variable is seemingly thrown away here, but the Effect.setup will add itself to the _highcharts_animation object
// on the element itself so its not really lost.
fx = new Effect.HighchartsTransition($(el), key, params[key], options);
}
} else {
if (el.attr) { // #409 without effects
for (key in params) {
el.attr(key, params[key]);
}
}
if (options.complete) {
options.complete();
}
}
if (!el.attr) { // HTML element, #409
$(el).setStyle(params);
}
},
// this only occurs in higcharts 2.0+
stop: function (el) {
var key;
if (el._highcharts_extended && el._highchart_animation) {
for (key in el._highchart_animation) {
// Cancel the animation
// The 'finish' function in the Effect object will remove the reference
el._highchart_animation[key].cancel();
}
}
},
// um.. each
each: function (arr, fn) {
$A(arr).each(fn);
},
inArray: function (item, arr, from) {
return arr ? arr.indexOf(item, from) : -1;
},
/**
* Get the cumulative offset relative to the top left of the page. This method, unlike its
* jQuery and MooTools counterpart, still suffers from issue #208 regarding the position
* of a chart within a fixed container.
*/
offset: function (el) {
return $(el).cumulativeOffset();
},
// fire an event based on an event name (event) and an object (el).
// again, el may not be a dom element
fireEvent: function (el, event, eventArguments, defaultFunction) {
if (el.fire) {
el.fire(HighchartsAdapter.addNS(event), eventArguments);
} else if (el._highcharts_extended) {
eventArguments = eventArguments || {};
el._highcharts_fire(event, eventArguments);
}
if (eventArguments && eventArguments.defaultPrevented) {
defaultFunction = null;
}
if (defaultFunction) {
defaultFunction(eventArguments);
}
},
removeEvent: function (el, event, handler) {
if ($(el).stopObserving) {
if (event) {
event = HighchartsAdapter.addNS(event);
}
$(el).stopObserving(event, handler);
} if (window === el) {
Event.stopObserving(el, event, handler);
} else {
HighchartsAdapter._extend(el);
el._highcharts_stop_observing(event, handler);
}
},
washMouseEvent: function (e) {
return e;
},
// um, grep
grep: function (arr, fn) {
return arr.findAll(fn);
},
// um, map
map: function (arr, fn) {
return arr.map(fn);
},
// extend an object to handle highchart events (highchart objects, not svg elements).
// this is a very simple way of handling events but whatever, it works (i think)
_extend: function (object) {
if (!object._highcharts_extended) {
Object.extend(object, {
_highchart_events: {},
_highchart_animation: null,
_highcharts_extended: true,
_highcharts_observe: function (name, fn) {
this._highchart_events[name] = [this._highchart_events[name], fn].compact().flatten();
},
_highcharts_stop_observing: function (name, fn) {
if (name) {
if (fn) {
this._highchart_events[name] = [this._highchart_events[name]].compact().flatten().without(fn);
} else {
delete this._highchart_events[name];
}
} else {
this._highchart_events = {};
}
},
_highcharts_fire: function (name, args) {
var target = this;
(this._highchart_events[name] || []).each(function (fn) {
// args is never null here
if (args.stopped) {
return; // "throw $break" wasn't working. i think because of the scope of 'this'.
}
// Attach a simple preventDefault function to skip default handler if called
args.preventDefault = function () {
args.defaultPrevented = true;
};
args.target = target;
// If the event handler return false, prevent the default handler from executing
if (fn.bind(this)(args) === false) {
args.preventDefault();
}
}
.bind(this));
}
});
}
}
};
}());

View File

@@ -1,17 +0,0 @@
/*
Highcharts JS v3.0.6 (2013-10-04)
Standalone Highcharts Framework
License: MIT License
*/
var HighchartsAdapter=function(){function o(c){function a(a,b,d){a.removeEventListener(b,d,!1)}function d(a,b,d){d=a.HCProxiedMethods[d.toString()];a.detachEvent("on"+b,d)}function b(b,c){var f=b.HCEvents,i,g,k,j;if(b.removeEventListener)i=a;else if(b.attachEvent)i=d;else return;c?(g={},g[c]=!0):g=f;for(j in g)if(f[j])for(k=f[j].length;k--;)i(b,j,f[j][k])}c.HCExtended||Highcharts.extend(c,{HCExtended:!0,HCEvents:{},bind:function(b,a){var d=this,c=this.HCEvents,g;if(d.addEventListener)d.addEventListener(b,
a,!1);else if(d.attachEvent){g=function(b){a.call(d,b)};if(!d.HCProxiedMethods)d.HCProxiedMethods={};d.HCProxiedMethods[a.toString()]=g;d.attachEvent("on"+b,g)}c[b]===r&&(c[b]=[]);c[b].push(a)},unbind:function(c,h){var f,i;c?(f=this.HCEvents[c]||[],h?(i=HighchartsAdapter.inArray(h,f),i>-1&&(f.splice(i,1),this.HCEvents[c]=f),this.removeEventListener?a(this,c,h):this.attachEvent&&d(this,c,h)):(b(this,c),this.HCEvents[c]=[])):(b(this),this.HCEvents={})},trigger:function(b,a){var d=this.HCEvents[b]||
[],c=d.length,g,k,j;k=function(){a.defaultPrevented=!0};for(g=0;g<c;g++){j=d[g];if(a.stopped)break;a.preventDefault=k;a.target=this;a.type=b;j.call(this,a)===!1&&a.preventDefault()}}});return c}var r,l=document,p=[],m=[],q,n;Math.easeInOutSine=function(c,a,d,b){return-d/2*(Math.cos(Math.PI*c/b)-1)+a};return{init:function(c){if(!l.defaultView)this._getStyle=function(a,d){var b;return a.style[d]?a.style[d]:(d==="opacity"&&(d="filter"),b=a.currentStyle[d.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()})],
d==="filter"&&(b=b.replace(/alpha\(opacity=([0-9]+)\)/,function(b,a){return a/100})),b===""?1:b)},this.adapterRun=function(a,d){var b={width:"clientWidth",height:"clientHeight"}[d];if(b)return a.style.zoom=1,a[b]-2*parseInt(HighchartsAdapter._getStyle(a,"padding"),10)};if(!Array.prototype.forEach)this.each=function(a,d){for(var b=0,c=a.length;b<c;b++)if(d.call(a[b],a[b],b,a)===!1)return b};if(!Array.prototype.indexOf)this.inArray=function(a,d){var b,c=0;if(d)for(b=d.length;c<b;c++)if(d[c]===a)return c;
return-1};if(!Array.prototype.filter)this.grep=function(a,d){for(var b=[],c=0,h=a.length;c<h;c++)d(a[c],c)&&b.push(a[c]);return b};n=function(a,c,b){this.options=c;this.elem=a;this.prop=b};n.prototype={update:function(){var a;a=this.paths;var d=this.elem,b=d.element;a&&b?d.attr("d",c.step(a[0],a[1],this.now,this.toD)):d.attr?b&&d.attr(this.prop,this.now):(a={},a[d]=this.now+this.unit,Highcharts.css(d,a));this.options.step&&this.options.step.call(this.elem,this.now,this)},custom:function(a,c,b){var e=
this,h=function(a){return e.step(a)},f;this.startTime=+new Date;this.start=a;this.end=c;this.unit=b;this.now=this.start;this.pos=this.state=0;h.elem=this.elem;h()&&m.push(h)===1&&(q=setInterval(function(){for(f=0;f<m.length;f++)m[f]()||m.splice(f--,1);m.length||clearInterval(q)},13))},step:function(a){var c=+new Date,b;b=this.options;var e;if(this.elem.stopAnimation)b=!1;else if(a||c>=b.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();a=this.options.curAnim[this.prop]=
!0;for(e in b.curAnim)b.curAnim[e]!==!0&&(a=!1);a&&b.complete&&b.complete.call(this.elem);b=!1}else e=c-this.startTime,this.state=e/b.duration,this.pos=b.easing(e,0,1,b.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),b=!0;return b}};this.animate=function(a,d,b){var e,h="",f,i,g;a.stopAnimation=!1;if(typeof b!=="object"||b===null)e=arguments,b={duration:e[2],easing:e[3],complete:e[4]};if(typeof b.duration!=="number")b.duration=400;b.easing=Math[b.easing]||Math.easeInOutSine;
b.curAnim=Highcharts.extend({},d);for(g in d)i=new n(a,b,g),f=null,g==="d"?(i.paths=c.init(a,a.d,d.d),i.toD=d.d,e=0,f=1):a.attr?e=a.attr(g):(e=parseFloat(HighchartsAdapter._getStyle(a,g))||0,g!=="opacity"&&(h="px")),f||(f=parseFloat(d[g])),i.custom(e,f,h)}},_getStyle:function(c,a){return window.getComputedStyle(c).getPropertyValue(a)},getScript:function(c,a){var d=l.getElementsByTagName("head")[0],b=l.createElement("script");b.type="text/javascript";b.src=c;b.onload=a;d.appendChild(b)},inArray:function(c,
a){return a.indexOf?a.indexOf(c):p.indexOf.call(a,c)},adapterRun:function(c,a){return parseInt(HighchartsAdapter._getStyle(c,a),10)},grep:function(c,a){return p.filter.call(c,a)},map:function(c,a){for(var d=[],b=0,e=c.length;b<e;b++)d[b]=a.call(c[b],c[b],b,c);return d},offset:function(c){for(var a=0,d=0;c;)a+=c.offsetLeft,d+=c.offsetTop,c=c.offsetParent;return{left:a,top:d}},addEvent:function(c,a,d){o(c).bind(a,d)},removeEvent:function(c,a,d){o(c).unbind(a,d)},fireEvent:function(c,a,d,b){var e;l.createEvent&&
(c.dispatchEvent||c.fireEvent)?(e=l.createEvent("Events"),e.initEvent(a,!0,!0),e.target=c,Highcharts.extend(e,d),c.dispatchEvent?c.dispatchEvent(e):c.fireEvent(a,e)):c.HCExtended===!0&&(d=d||{},c.trigger(a,d));d&&d.defaultPrevented&&(b=null);b&&b(d)},washMouseEvent:function(c){return c},stop:function(c){c.stopAnimation=!0},each:function(c,a){return Array.prototype.forEach.call(c,a)}}}();

View File

@@ -1,583 +0,0 @@
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
*
* Standalone Highcharts Framework
*
* License: MIT License
*/
/*global Highcharts */
var HighchartsAdapter = (function () {
var UNDEFINED,
doc = document,
emptyArray = [],
timers = [],
timerId,
Fx;
Math.easeInOutSine = function (t, b, c, d) {
return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b;
};
/**
* Extend given object with custom events
*/
function augment(obj) {
function removeOneEvent(el, type, fn) {
el.removeEventListener(type, fn, false);
}
function IERemoveOneEvent(el, type, fn) {
fn = el.HCProxiedMethods[fn.toString()];
el.detachEvent('on' + type, fn);
}
function removeAllEvents(el, type) {
var events = el.HCEvents,
remove,
types,
len,
n;
if (el.removeEventListener) {
remove = removeOneEvent;
} else if (el.attachEvent) {
remove = IERemoveOneEvent;
} else {
return; // break on non-DOM events
}
if (type) {
types = {};
types[type] = true;
} else {
types = events;
}
for (n in types) {
if (events[n]) {
len = events[n].length;
while (len--) {
remove(el, n, events[n][len]);
}
}
}
}
if (!obj.HCExtended) {
Highcharts.extend(obj, {
HCExtended: true,
HCEvents: {},
bind: function (name, fn) {
var el = this,
events = this.HCEvents,
wrappedFn;
// handle DOM events in modern browsers
if (el.addEventListener) {
el.addEventListener(name, fn, false);
// handle old IE implementation
} else if (el.attachEvent) {
wrappedFn = function (e) {
fn.call(el, e);
};
if (!el.HCProxiedMethods) {
el.HCProxiedMethods = {};
}
// link wrapped fn with original fn, so we can get this in removeEvent
el.HCProxiedMethods[fn.toString()] = wrappedFn;
el.attachEvent('on' + name, wrappedFn);
}
if (events[name] === UNDEFINED) {
events[name] = [];
}
events[name].push(fn);
},
unbind: function (name, fn) {
var events,
index;
if (name) {
events = this.HCEvents[name] || [];
if (fn) {
index = HighchartsAdapter.inArray(fn, events);
if (index > -1) {
events.splice(index, 1);
this.HCEvents[name] = events;
}
if (this.removeEventListener) {
removeOneEvent(this, name, fn);
} else if (this.attachEvent) {
IERemoveOneEvent(this, name, fn);
}
} else {
removeAllEvents(this, name);
this.HCEvents[name] = [];
}
} else {
removeAllEvents(this);
this.HCEvents = {};
}
},
trigger: function (name, args) {
var events = this.HCEvents[name] || [],
target = this,
len = events.length,
i,
preventDefault,
fn;
// Attach a simple preventDefault function to skip default handler if called
preventDefault = function () {
args.defaultPrevented = true;
};
for (i = 0; i < len; i++) {
fn = events[i];
// args is never null here
if (args.stopped) {
return;
}
args.preventDefault = preventDefault;
args.target = target;
args.type = name; // #2297
// If the event handler return false, prevent the default handler from executing
if (fn.call(this, args) === false) {
args.preventDefault();
}
}
}
});
}
return obj;
}
return {
/**
* Initialize the adapter. This is run once as Highcharts is first run.
*/
init: function (pathAnim) {
/**
* Compatibility section to add support for legacy IE. This can be removed if old IE
* support is not needed.
*/
if (!doc.defaultView) {
this._getStyle = function (el, prop) {
var val;
if (el.style[prop]) {
return el.style[prop];
} else {
if (prop === 'opacity') {
prop = 'filter';
}
/*jslint unparam: true*/
val = el.currentStyle[prop.replace(/\-(\w)/g, function (a, b) { return b.toUpperCase(); })];
if (prop === 'filter') {
val = val.replace(
/alpha\(opacity=([0-9]+)\)/,
function (a, b) {
return b / 100;
}
);
}
/*jslint unparam: false*/
return val === '' ? 1 : val;
}
};
this.adapterRun = function (elem, method) {
var alias = { width: 'clientWidth', height: 'clientHeight' }[method];
if (alias) {
elem.style.zoom = 1;
return elem[alias] - 2 * parseInt(HighchartsAdapter._getStyle(elem, 'padding'), 10);
}
};
}
if (!Array.prototype.forEach) {
this.each = function (arr, fn) { // legacy
var i = 0,
len = arr.length;
for (; i < len; i++) {
if (fn.call(arr[i], arr[i], i, arr) === false) {
return i;
}
}
};
}
if (!Array.prototype.indexOf) {
this.inArray = function (item, arr) {
var len,
i = 0;
if (arr) {
len = arr.length;
for (; i < len; i++) {
if (arr[i] === item) {
return i;
}
}
}
return -1;
};
}
if (!Array.prototype.filter) {
this.grep = function (elements, callback) {
var ret = [],
i = 0,
length = elements.length;
for (; i < length; i++) {
if (!!callback(elements[i], i)) {
ret.push(elements[i]);
}
}
return ret;
};
}
//--- End compatibility section ---
/**
* Start of animation specific code
*/
Fx = function (elem, options, prop) {
this.options = options;
this.elem = elem;
this.prop = prop;
};
Fx.prototype = {
update: function () {
var styles,
paths = this.paths,
elem = this.elem,
elemelem = elem.element; // if destroyed, it is null
// Animating a path definition on SVGElement
if (paths && elemelem) {
elem.attr('d', pathAnim.step(paths[0], paths[1], this.now, this.toD));
// Other animations on SVGElement
} else if (elem.attr) {
if (elemelem) {
elem.attr(this.prop, this.now);
}
// HTML styles
} else {
styles = {};
styles[elem] = this.now + this.unit;
Highcharts.css(elem, styles);
}
if (this.options.step) {
this.options.step.call(this.elem, this.now, this);
}
},
custom: function (from, to, unit) {
var self = this,
t = function (gotoEnd) {
return self.step(gotoEnd);
},
i;
this.startTime = +new Date();
this.start = from;
this.end = to;
this.unit = unit;
this.now = this.start;
this.pos = this.state = 0;
t.elem = this.elem;
if (t() && timers.push(t) === 1) {
timerId = setInterval(function () {
for (i = 0; i < timers.length; i++) {
if (!timers[i]()) {
timers.splice(i--, 1);
}
}
if (!timers.length) {
clearInterval(timerId);
}
}, 13);
}
},
step: function (gotoEnd) {
var t = +new Date(),
ret,
done,
options = this.options,
i;
if (this.elem.stopAnimation) {
ret = false;
} else if (gotoEnd || t >= options.duration + this.startTime) {
this.now = this.end;
this.pos = this.state = 1;
this.update();
this.options.curAnim[this.prop] = true;
done = true;
for (i in options.curAnim) {
if (options.curAnim[i] !== true) {
done = false;
}
}
if (done) {
if (options.complete) {
options.complete.call(this.elem);
}
}
ret = false;
} else {
var n = t - this.startTime;
this.state = n / options.duration;
this.pos = options.easing(n, 0, 1, options.duration);
this.now = this.start + ((this.end - this.start) * this.pos);
this.update();
ret = true;
}
return ret;
}
};
/**
* The adapter animate method
*/
this.animate = function (el, prop, opt) {
var start,
unit = '',
end,
fx,
args,
name;
el.stopAnimation = false; // ready for new
if (typeof opt !== 'object' || opt === null) {
args = arguments;
opt = {
duration: args[2],
easing: args[3],
complete: args[4]
};
}
if (typeof opt.duration !== 'number') {
opt.duration = 400;
}
opt.easing = Math[opt.easing] || Math.easeInOutSine;
opt.curAnim = Highcharts.extend({}, prop);
for (name in prop) {
fx = new Fx(el, opt, name);
end = null;
if (name === 'd') {
fx.paths = pathAnim.init(
el,
el.d,
prop.d
);
fx.toD = prop.d;
start = 0;
end = 1;
} else if (el.attr) {
start = el.attr(name);
} else {
start = parseFloat(HighchartsAdapter._getStyle(el, name)) || 0;
if (name !== 'opacity') {
unit = 'px';
}
}
if (!end) {
end = parseFloat(prop[name]);
}
fx.custom(start, end, unit);
}
};
},
/**
* Internal method to return CSS value for given element and property
*/
_getStyle: function (el, prop) {
return window.getComputedStyle(el).getPropertyValue(prop);
},
/**
* Downloads a script and executes a callback when done.
* @param {String} scriptLocation
* @param {Function} callback
*/
getScript: function (scriptLocation, callback) {
// We cannot assume that Assets class from mootools-more is available so instead insert a script tag to download script.
var head = doc.getElementsByTagName('head')[0],
script = doc.createElement('script');
script.type = 'text/javascript';
script.src = scriptLocation;
script.onload = callback;
head.appendChild(script);
},
/**
* Return the index of an item in an array, or -1 if not found
*/
inArray: function (item, arr) {
return arr.indexOf ? arr.indexOf(item) : emptyArray.indexOf.call(arr, item);
},
/**
* A direct link to adapter methods
*/
adapterRun: function (elem, method) {
return parseInt(HighchartsAdapter._getStyle(elem, method), 10);
},
/**
* Filter an array
*/
grep: function (elements, callback) {
return emptyArray.filter.call(elements, callback);
},
/**
* Map an array
*/
map: function (arr, fn) {
var results = [], i = 0, len = arr.length;
for (; i < len; i++) {
results[i] = fn.call(arr[i], arr[i], i, arr);
}
return results;
},
offset: function (el) {
var left = 0,
top = 0;
while (el) {
left += el.offsetLeft;
top += el.offsetTop;
el = el.offsetParent;
}
return {
left: left,
top: top
};
},
/**
* Add an event listener
*/
addEvent: function (el, type, fn) {
augment(el).bind(type, fn);
},
/**
* Remove event added with addEvent
*/
removeEvent: function (el, type, fn) {
augment(el).unbind(type, fn);
},
/**
* Fire an event on a custom object
*/
fireEvent: function (el, type, eventArguments, defaultFunction) {
var e;
if (doc.createEvent && (el.dispatchEvent || el.fireEvent)) {
e = doc.createEvent('Events');
e.initEvent(type, true, true);
e.target = el;
Highcharts.extend(e, eventArguments);
if (el.dispatchEvent) {
el.dispatchEvent(e);
} else {
el.fireEvent(type, e);
}
} else if (el.HCExtended === true) {
eventArguments = eventArguments || {};
el.trigger(type, eventArguments);
}
if (eventArguments && eventArguments.defaultPrevented) {
defaultFunction = null;
}
if (defaultFunction) {
defaultFunction(eventArguments);
}
},
washMouseEvent: function (e) {
return e;
},
/**
* Stop running animation
*/
stop: function (el) {
el.stopAnimation = true;
},
/**
* Utility for iterating over an array. Parameters are reversed compared to jQuery.
* @param {Array} arr
* @param {Function} fn
*/
each: function (arr, fn) { // modern browsers
return Array.prototype.forEach.call(arr, fn);
}
};
}());

View File

@@ -1,50 +0,0 @@
/*
Highcharts JS v3.0.6 (2013-10-04)
(c) 2009-2013 Torstein Hønsi
License: www.highcharts.com/license
*/
(function(j,C){function J(a,b,c){this.init.call(this,a,b,c)}function K(a,b,c){a.call(this,b,c);if(this.chart.polar)this.closeSegment=function(a){var c=this.xAxis.center;a.push("L",c[0],c[1])},this.closedStacks=!0}function L(a,b){var c=this.chart,d=this.options.animation,g=this.group,f=this.markerGroup,e=this.xAxis.center,i=c.plotLeft,n=c.plotTop;if(c.polar){if(c.renderer.isSVG)if(d===!0&&(d={}),b){if(c={translateX:e[0]+i,translateY:e[1]+n,scaleX:0.001,scaleY:0.001},g.attr(c),f)f.attrSetters=g.attrSetters,
f.attr(c)}else c={translateX:i,translateY:n,scaleX:1,scaleY:1},g.animate(c,d),f&&f.animate(c,d),this.animate=null}else a.call(this,b)}var P=j.arrayMin,Q=j.arrayMax,s=j.each,F=j.extend,p=j.merge,R=j.map,r=j.pick,v=j.pInt,m=j.getOptions().plotOptions,h=j.seriesTypes,x=j.extendClass,M=j.splat,o=j.wrap,N=j.Axis,u=j.Tick,z=j.Series,q=h.column.prototype,t=Math,D=t.round,A=t.floor,S=t.max,w=function(){};F(J.prototype,{init:function(a,b,c){var d=this,g=d.defaultOptions;d.chart=b;if(b.angular)g.background=
{};d.options=a=p(g,a);(a=a.background)&&s([].concat(M(a)).reverse(),function(a){var b=a.backgroundColor,a=p(d.defaultBackgroundOptions,a);if(b)a.backgroundColor=b;a.color=a.backgroundColor;c.options.plotBands.unshift(a)})},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",borderWidth:1,borderColor:"silver",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FFF"],[1,"#DDD"]]},from:Number.MIN_VALUE,innerRadius:0,to:Number.MAX_VALUE,
outerRadius:"105%"}});var G=N.prototype,u=u.prototype,T={getOffset:w,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:w,setCategories:w,setTitle:w},O={isRadial:!0,defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,plotBands:[],tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null,
distance:15,x:0,y:null},maxPadding:0,minPadding:0,plotBands:[],showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},plotBands:[],showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(a){this.options=p(this.defaultOptions,this.defaultRadialOptions,a)},getOffset:function(){G.getOffset.call(this);this.chart.axisOffset[this.side]=0},getLinePath:function(a,b){var c=this.center,b=r(b,c[2]/2-this.offset);return this.chart.renderer.symbols.arc(this.left+
c[0],this.top+c[1],b,b,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})},setAxisTranslation:function(){G.setAxisTranslation.call(this);if(this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.center[2]/2/(this.max-this.min||1),this.isXAxis))this.minPixelPadding=this.transA*this.minPointOffset+(this.reversed?(this.endAngleRad-this.startAngleRad)/4:0)},beforeSetTickPositions:function(){this.autoConnect&&(this.max+=this.categories&&
1||this.pointRange||this.closestPointRange||0)},setAxisSize:function(){G.setAxisSize.call(this);if(this.isRadial)this.center=this.pane.center=h.pie.prototype.getCenter.call(this.pane),this.len=this.width=this.height=this.isCircular?this.center[2]*(this.endAngleRad-this.startAngleRad)/2:this.center[2]/2},getPosition:function(a,b){if(!this.isCircular)b=this.translate(a),a=this.min;return this.postTranslate(this.translate(a),r(b,this.center[2]/2)-this.offset)},postTranslate:function(a,b){var c=this.chart,
d=this.center,a=this.startAngleRad+a;return{x:c.plotLeft+d[0]+Math.cos(a)*b,y:c.plotTop+d[1]+Math.sin(a)*b}},getPlotBandPath:function(a,b,c){var d=this.center,g=this.startAngleRad,f=d[2]/2,e=[r(c.outerRadius,"100%"),c.innerRadius,r(c.thickness,10)],i=/%$/,n,l=this.isCircular;this.options.gridLineInterpolation==="polygon"?d=this.getPlotLinePath(a).concat(this.getPlotLinePath(b,!0)):(l||(e[0]=this.translate(a),e[1]=this.translate(b)),e=R(e,function(a){i.test(a)&&(a=v(a,10)*f/100);return a}),c.shape===
"circle"||!l?(a=-Math.PI/2,b=Math.PI*1.5,n=!0):(a=g+this.translate(a),b=g+this.translate(b)),d=this.chart.renderer.symbols.arc(this.left+d[0],this.top+d[1],e[0],e[0],{start:a,end:b,innerR:r(e[1],e[0]-e[2]),open:n}));return d},getPlotLinePath:function(a,b){var c=this.center,d=this.chart,g=this.getPosition(a),f,e,i;this.isCircular?i=["M",c[0]+d.plotLeft,c[1]+d.plotTop,"L",g.x,g.y]:this.options.gridLineInterpolation==="circle"?(a=this.translate(a))&&(i=this.getLinePath(0,a)):(f=d.xAxis[0],i=[],a=this.translate(a),
c=f.tickPositions,f.autoConnect&&(c=c.concat([c[0]])),b&&(c=[].concat(c).reverse()),s(c,function(c,b){e=f.getPosition(c,a);i.push(b?"L":"M",e.x,e.y)}));return i},getTitlePosition:function(){var a=this.center,b=this.chart,c=this.options.title;return{x:b.plotLeft+a[0]+(c.x||0),y:b.plotTop+a[1]-{high:0.5,middle:0.25,low:0}[c.align]*a[2]+(c.y||0)}}};o(G,"init",function(a,b,c){var k;var d=b.angular,g=b.polar,f=c.isX,e=d&&f,i,n;n=b.options;var l=c.pane||0;if(d){if(F(this,e?T:O),i=!f)this.defaultRadialOptions=
this.defaultRadialGaugeOptions}else if(g)F(this,O),this.defaultRadialOptions=(i=f)?this.defaultRadialXOptions:p(this.defaultYAxisOptions,this.defaultRadialYOptions);a.call(this,b,c);if(!e&&(d||g)){a=this.options;if(!b.panes)b.panes=[];this.pane=(k=b.panes[l]=b.panes[l]||new J(M(n.pane)[l],b,this),l=k);l=l.options;b.inverted=!1;n.chart.zoomType=null;this.startAngleRad=b=(l.startAngle-90)*Math.PI/180;this.endAngleRad=n=(r(l.endAngle,l.startAngle+360)-90)*Math.PI/180;this.offset=a.offset||0;if((this.isCircular=
i)&&c.max===C&&n-b===2*Math.PI)this.autoConnect=!0}});o(u,"getPosition",function(a,b,c,d,g){var f=this.axis;return f.getPosition?f.getPosition(c):a.call(this,b,c,d,g)});o(u,"getLabelPosition",function(a,b,c,d,g,f,e,i,n){var l=this.axis,k=f.y,h=f.align,j=(l.translate(this.pos)+l.startAngleRad+Math.PI/2)/Math.PI*180%360;l.isRadial?(a=l.getPosition(this.pos,l.center[2]/2+r(f.distance,-25)),f.rotation==="auto"?d.attr({rotation:j}):k===null&&(k=v(d.styles.lineHeight)*0.9-d.getBBox().height/2),h===null&&
(h=l.isCircular?j>20&&j<160?"left":j>200&&j<340?"right":"center":"center",d.attr({align:h})),a.x+=f.x,a.y+=k):a=a.call(this,b,c,d,g,f,e,i,n);return a});o(u,"getMarkPath",function(a,b,c,d,g,f,e){var i=this.axis;i.isRadial?(a=i.getPosition(this.pos,i.center[2]/2+d),b=["M",b,c,"L",a.x,a.y]):b=a.call(this,b,c,d,g,f,e);return b});m.arearange=p(m.area,{lineWidth:1,marker:null,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">{series.name}</span>: <b>{point.low}</b> - <b>{point.high}</b><br/>'},
trackByArea:!0,dataLabels:{verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0}});h.arearange=j.extendClass(h.area,{type:"arearange",pointArrayMap:["low","high"],toYData:function(a){return[a.low,a.high]},pointValKey:"low",getSegments:function(){var a=this;s(a.points,function(b){if(!a.options.connectNulls&&(b.low===null||b.high===null))b.y=null;else if(b.low===null&&b.high!==null)b.y=b.high});z.prototype.getSegments.call(this)},translate:function(){var a=this.yAxis;h.area.prototype.translate.apply(this);
s(this.points,function(b){var c=b.low,d=b.high,g=b.plotY;d===null&&c===null?b.y=null:c===null?(b.plotLow=b.plotY=null,b.plotHigh=a.translate(d,0,1,0,1)):d===null?(b.plotLow=g,b.plotHigh=null):(b.plotLow=g,b.plotHigh=a.translate(d,0,1,0,1))})},getSegmentPath:function(a){var b,c=[],d=a.length,g=z.prototype.getSegmentPath,f,e;e=this.options;var i=e.step;for(b=HighchartsAdapter.grep(a,function(a){return a.plotLow!==null});d--;)f=a[d],f.plotHigh!==null&&c.push({plotX:f.plotX,plotY:f.plotHigh});a=g.call(this,
b);if(i)i===!0&&(i="left"),e.step={left:"right",center:"center",right:"left"}[i];c=g.call(this,c);e.step=i;e=[].concat(a,c);c[0]="L";this.areaPath=this.areaPath.concat(a,c);return e},drawDataLabels:function(){var a=this.data,b=a.length,c,d=[],g=z.prototype,f=this.options.dataLabels,e,i=this.chart.inverted;if(f.enabled||this._hasPointLabels){for(c=b;c--;)e=a[c],e.y=e.high,e.plotY=e.plotHigh,d[c]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=!1,i?(f.align="left",f.x=f.xHigh):f.y=f.yHigh;g.drawDataLabels.apply(this,
arguments);for(c=b;c--;)e=a[c],e.dataLabelUpper=e.dataLabel,e.dataLabel=d[c],e.y=e.low,e.plotY=e.plotLow,e.below=!0,i?(f.align="right",f.x=f.xLow):f.y=f.yLow;g.drawDataLabels.apply(this,arguments)}},alignDataLabel:h.column.prototype.alignDataLabel,getSymbol:h.column.prototype.getSymbol,drawPoints:w});m.areasplinerange=p(m.arearange);h.areasplinerange=x(h.arearange,{type:"areasplinerange",getPointSpline:h.spline.prototype.getPointSpline});m.columnrange=p(m.column,m.arearange,{lineWidth:1,pointRange:null});
h.columnrange=x(h.arearange,{type:"columnrange",translate:function(){var a=this,b=a.yAxis,c;q.translate.apply(a);s(a.points,function(d){var g=d.shapeArgs,f=a.options.minPointLength,e;d.plotHigh=c=b.translate(d.high,0,1,0,1);d.plotLow=d.plotY;e=c;d=d.plotY-c;d<f&&(f-=d,d+=f,e-=f/2);g.height=d;g.y=e})},trackerGroups:["group","dataLabels"],drawGraph:w,pointAttrToOptions:q.pointAttrToOptions,drawPoints:q.drawPoints,drawTracker:q.drawTracker,animate:q.animate,getColumnMetrics:q.getColumnMetrics});m.gauge=
p(m.line,{dataLabels:{enabled:!0,y:15,borderWidth:1,borderColor:"silver",borderRadius:3,style:{fontWeight:"bold"},verticalAlign:"top",zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1});u={type:"gauge",pointClass:j.extendClass(j.Point,{setState:function(a){this.state=a}}),angular:!0,drawGraph:w,fixedBox:!0,trackerGroups:["group","dataLabels"],translate:function(){var a=this.yAxis,b=this.options,c=a.center;this.generatePoints();s(this.points,function(d){var g=p(b.dial,d.dial),f=
v(r(g.radius,80))*c[2]/200,e=v(r(g.baseLength,70))*f/100,i=v(r(g.rearLength,10))*f/100,n=g.baseWidth||3,l=g.topWidth||1,k=a.startAngleRad+a.translate(d.y,null,null,null,!0);b.wrap===!1&&(k=Math.max(a.startAngleRad,Math.min(a.endAngleRad,k)));k=k*180/Math.PI;d.shapeType="path";d.shapeArgs={d:g.path||["M",-i,-n/2,"L",e,-n/2,f,-l/2,f,l/2,e,n/2,-i,n/2,"z"],translateX:c[0],translateY:c[1],rotation:k};d.plotX=c[0];d.plotY=c[1]})},drawPoints:function(){var a=this,b=a.yAxis.center,c=a.pivot,d=a.options,g=
d.pivot,f=a.chart.renderer;s(a.points,function(c){var b=c.graphic,g=c.shapeArgs,l=g.d,k=p(d.dial,c.dial);b?(b.animate(g),g.d=l):c.graphic=f[c.shapeType](g).attr({stroke:k.borderColor||"none","stroke-width":k.borderWidth||0,fill:k.backgroundColor||"black",rotation:g.rotation}).add(a.group)});c?c.animate({translateX:b[0],translateY:b[1]}):a.pivot=f.circle(0,0,r(g.radius,5)).attr({"stroke-width":g.borderWidth||0,stroke:g.borderColor||"silver",fill:g.backgroundColor||"black"}).translate(b[0],b[1]).add(a.group)},
animate:function(a){var b=this;if(!a)s(b.points,function(a){var d=a.graphic;d&&(d.attr({rotation:b.yAxis.startAngleRad*180/Math.PI}),d.animate({rotation:a.shapeArgs.rotation},b.options.animation))}),b.animate=null},render:function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup);h.pie.prototype.render.call(this);this.group.clip(this.chart.clipRect)},setData:h.pie.prototype.setData,drawTracker:h.column.prototype.drawTracker};h.gauge=
j.extendClass(h.line,u);m.boxplot=p(m.column,{fillColor:"#FFFFFF",lineWidth:1,medianWidth:2,states:{hover:{brightness:-0.3}},threshold:null,tooltip:{pointFormat:'<span style="color:{series.color};font-weight:bold">{series.name}</span><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",whiskerWidth:2});h.boxplot=x(h.column,{type:"boxplot",pointArrayMap:["low","q1","median","q3","high"],
toYData:function(a){return[a.low,a.q1,a.median,a.q3,a.high]},pointValKey:"high",pointAttrToOptions:{fill:"fillColor",stroke:"color","stroke-width":"lineWidth"},drawDataLabels:w,translate:function(){var a=this.yAxis,b=this.pointArrayMap;h.column.prototype.translate.apply(this);s(this.points,function(c){s(b,function(b){c[b]!==null&&(c[b+"Plot"]=a.translate(c[b],0,1,0,1))})})},drawPoints:function(){var a=this,b=a.points,c=a.options,d=a.chart.renderer,g,f,e,i,n,l,k,h,j,m,o,H,p,E,I,q,w,t,v,u,z,y,x=a.doQuartiles!==
!1,B=parseInt(a.options.whiskerLength,10)/100;s(b,function(b){j=b.graphic;z=b.shapeArgs;o={};E={};q={};y=b.color||a.color;if(b.plotY!==C)if(g=b.pointAttr[b.selected?"selected":""],w=z.width,t=A(z.x),v=t+w,u=D(w/2),f=A(x?b.q1Plot:b.lowPlot),e=A(x?b.q3Plot:b.lowPlot),i=A(b.highPlot),n=A(b.lowPlot),o.stroke=b.stemColor||c.stemColor||y,o["stroke-width"]=r(b.stemWidth,c.stemWidth,c.lineWidth),o.dashstyle=b.stemDashStyle||c.stemDashStyle,E.stroke=b.whiskerColor||c.whiskerColor||y,E["stroke-width"]=r(b.whiskerWidth,
c.whiskerWidth,c.lineWidth),q.stroke=b.medianColor||c.medianColor||y,q["stroke-width"]=r(b.medianWidth,c.medianWidth,c.lineWidth),k=o["stroke-width"]%2/2,h=t+u+k,m=["M",h,e,"L",h,i,"M",h,f,"L",h,n,"z"],x&&(k=g["stroke-width"]%2/2,h=A(h)+k,f=A(f)+k,e=A(e)+k,t+=k,v+=k,H=["M",t,e,"L",t,f,"L",v,f,"L",v,e,"L",t,e,"z"]),B&&(k=E["stroke-width"]%2/2,i+=k,n+=k,p=["M",h-u*B,i,"L",h+u*B,i,"M",h-u*B,n,"L",h+u*B,n]),k=q["stroke-width"]%2/2,l=D(b.medianPlot)+k,I=["M",t,l,"L",v,l,"z"],j)b.stem.animate({d:m}),B&&
b.whiskers.animate({d:p}),x&&b.box.animate({d:H}),b.medianShape.animate({d:I});else{b.graphic=j=d.g().add(a.group);b.stem=d.path(m).attr(o).add(j);if(B)b.whiskers=d.path(p).attr(E).add(j);if(x)b.box=d.path(H).attr(g).add(j);b.medianShape=d.path(I).attr(q).add(j)}})}});m.errorbar=p(m.boxplot,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:m.arearange.tooltip.pointFormat},whiskerWidth:null});h.errorbar=x(h.boxplot,{type:"errorbar",pointArrayMap:["low","high"],toYData:function(a){return[a.low,
a.high]},pointValKey:"high",doQuartiles:!1,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||h.column.prototype.getColumnMetrics.call(this)}});m.waterfall=p(m.column,{lineWidth:1,lineColor:"#333",dashStyle:"dot",borderColor:"#333"});h.waterfall=x(h.column,{type:"waterfall",upColorProp:"fill",pointArrayMap:["low","y"],pointValKey:"y",init:function(a,b){b.stacking=!0;h.column.prototype.init.call(this,a,b)},translate:function(){var a=this.options,b=this.yAxis,c,d,
g,f,e,i,n,l,k;c=a.threshold;a=a.borderWidth%2/2;h.column.prototype.translate.apply(this);l=c;g=this.points;for(d=0,c=g.length;d<c;d++){f=g[d];e=f.shapeArgs;i=this.getStack(d);k=i.points[this.index];if(isNaN(f.y))f.y=this.yData[d];n=S(l,l+f.y)+k[0];e.y=b.translate(n,0,1);f.isSum||f.isIntermediateSum?(e.y=b.translate(k[1],0,1),e.height=b.translate(k[0],0,1)-e.y):l+=i.total;e.height<0&&(e.y+=e.height,e.height*=-1);f.plotY=e.y=D(e.y)-a;e.height=D(e.height);f.yBottom=e.y+e.height}},processData:function(a){var b=
this.yData,c=this.points,d,g=b.length,f=this.options.threshold||0,e,i,h,l,k,j;i=e=h=l=f;for(j=0;j<g;j++)k=b[j],d=c&&c[j]?c[j]:{},k==="sum"||d.isSum?b[j]=i:k==="intermediateSum"||d.isIntermediateSum?(b[j]=e,e=f):(i+=k,e+=k),h=Math.min(i,h),l=Math.max(i,l);z.prototype.processData.call(this,a);this.dataMin=h;this.dataMax=l},toYData:function(a){if(a.isSum)return"sum";else if(a.isIntermediateSum)return"intermediateSum";return a.y},getAttribs:function(){h.column.prototype.getAttribs.apply(this,arguments);
var a=this.options,b=a.states,c=a.upColor||this.color,a=j.Color(c).brighten(0.1).get(),d=p(this.pointAttr),g=this.upColorProp;d[""][g]=c;d.hover[g]=b.hover.upColor||a;d.select[g]=b.select.upColor||c;s(this.points,function(a){if(a.y>0&&!a.color)a.pointAttr=d,a.color=c})},getGraphPath:function(){var a=this.data,b=a.length,c=D(this.options.lineWidth+this.options.borderWidth)%2/2,d=[],g,f,e;for(e=1;e<b;e++)f=a[e].shapeArgs,g=a[e-1].shapeArgs,f=["M",g.x+g.width,g.y+c,"L",f.x,g.y+c],a[e-1].y<0&&(f[2]+=
g.height,f[5]+=g.height),d=d.concat(f);return d},getExtremes:w,getStack:function(a){var b=this.yAxis.stacks,c=this.stackKey;this.processedYData[a]<this.options.threshold&&(c="-"+c);return b[c][a]},drawGraph:z.prototype.drawGraph});m.bubble=p(m.scatter,{dataLabels:{inside:!0,style:{color:"white",textShadow:"0px 0px 3px black"},verticalAlign:"middle"},marker:{lineColor:null,lineWidth:1},minSize:8,maxSize:"20%",tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0});
h.bubble=x(h.scatter,{type:"bubble",pointArrayMap:["y","z"],trackerGroups:["group","dataLabelsGroup"],pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor"},applyOpacity:function(a){var b=this.options.marker,c=r(b.fillOpacity,0.5),a=a||b.fillColor||this.color;c!==1&&(a=j.Color(a).setOpacity(c).get("rgba"));return a},convertAttribs:function(){var a=z.prototype.convertAttribs.apply(this,arguments);a.fill=this.applyOpacity(a.fill);return a},getRadii:function(a,b,c,d){var g,
f,e,i=this.zData,h=[];for(f=0,g=i.length;f<g;f++)e=b-a,e=e>0?(i[f]-a)/(b-a):0.5,h.push(t.ceil(c+e*(d-c))/2);this.radii=h},animate:function(a){var b=this.options.animation;if(!a)s(this.points,function(a){var d=a.graphic,a=a.shapeArgs;d&&a&&(d.attr("r",1),d.animate({r:a.r},b))}),this.animate=null},translate:function(){var a,b=this.data,c,d,g=this.radii;h.scatter.prototype.translate.call(this);for(a=b.length;a--;)c=b[a],d=g?g[a]:0,c.negative=c.z<(this.options.zThreshold||0),d>=this.minPxSize/2?(c.shapeType=
"circle",c.shapeArgs={x:c.plotX,y:c.plotY,r:d},c.dlBox={x:c.plotX-d,y:c.plotY-d,width:2*d,height:2*d}):c.shapeArgs=c.plotY=c.dlBox=C},drawLegendSymbol:function(a,b){var c=v(a.itemStyle.fontSize)/2;b.legendSymbol=this.chart.renderer.circle(c,a.baseline-c,c).attr({zIndex:3}).add(b.legendGroup);b.legendSymbol.isMarker=!0},drawPoints:h.column.prototype.drawPoints,alignDataLabel:h.column.prototype.alignDataLabel});N.prototype.beforePadding=function(){var a=this,b=this.len,c=this.chart,d=0,g=b,f=this.isXAxis,
e=f?"xData":"yData",i=this.min,h={},j=t.min(c.plotWidth,c.plotHeight),k=Number.MAX_VALUE,m=-Number.MAX_VALUE,o=this.max-i,p=b/o,q=[];this.tickPositions&&(s(this.series,function(b){var c=b.options;if(b.type==="bubble"&&b.visible&&(a.allowZoomOutside=!0,q.push(b),f))s(["minSize","maxSize"],function(a){var b=c[a],d=/%$/.test(b),b=v(b);h[a]=d?j*b/100:b}),b.minPxSize=h.minSize,b=b.zData,b.length&&(k=t.min(k,t.max(P(b),c.displayNegative===!1?c.zThreshold:-Number.MAX_VALUE)),m=t.max(m,Q(b)))}),s(q,function(a){var b=
a[e],c=b.length,j;f&&a.getRadii(k,m,h.minSize,h.maxSize);if(o>0)for(;c--;)j=a.radii[c],d=Math.min((b[c]-i)*p-j,d),g=Math.max((b[c]-i)*p+j,g)}),q.length&&o>0&&r(this.options.min,this.userMin)===C&&r(this.options.max,this.userMax)===C&&(g-=b,p*=(b+d-g)/b,this.min+=d/p,this.max+=g/p))};var y=z.prototype,m=j.Pointer.prototype;y.toXY=function(a){var b,c=this.chart;b=a.plotX;var d=a.plotY;a.rectPlotX=b;a.rectPlotY=d;a.clientX=(b/Math.PI*180+this.xAxis.pane.options.startAngle)%360;b=this.xAxis.postTranslate(a.plotX,
this.yAxis.len-d);a.plotX=a.polarPlotX=b.x-c.plotLeft;a.plotY=a.polarPlotY=b.y-c.plotTop};y.orderTooltipPoints=function(a){if(this.chart.polar&&(a.sort(function(a,c){return a.clientX-c.clientX}),a[0]))a[0].wrappedClientX=a[0].clientX+360,a.push(a[0])};o(h.area.prototype,"init",K);o(h.areaspline.prototype,"init",K);o(h.spline.prototype,"getPointSpline",function(a,b,c,d){var g,f,e,i,h,j,k;if(this.chart.polar){g=c.plotX;f=c.plotY;a=b[d-1];e=b[d+1];this.connectEnds&&(a||(a=b[b.length-2]),e||(e=b[1]));
if(a&&e)i=a.plotX,h=a.plotY,b=e.plotX,j=e.plotY,i=(1.5*g+i)/2.5,h=(1.5*f+h)/2.5,e=(1.5*g+b)/2.5,k=(1.5*f+j)/2.5,b=Math.sqrt(Math.pow(i-g,2)+Math.pow(h-f,2)),j=Math.sqrt(Math.pow(e-g,2)+Math.pow(k-f,2)),i=Math.atan2(h-f,i-g),h=Math.atan2(k-f,e-g),k=Math.PI/2+(i+h)/2,Math.abs(i-k)>Math.PI/2&&(k-=Math.PI),i=g+Math.cos(k)*b,h=f+Math.sin(k)*b,e=g+Math.cos(Math.PI+k)*j,k=f+Math.sin(Math.PI+k)*j,c.rightContX=e,c.rightContY=k;d?(c=["C",a.rightContX||a.plotX,a.rightContY||a.plotY,i||g,h||f,g,f],a.rightContX=
a.rightContY=null):c=["M",g,f]}else c=a.call(this,b,c,d);return c});o(y,"translate",function(a){a.call(this);if(this.chart.polar&&!this.preventPostTranslate)for(var a=this.points,b=a.length;b--;)this.toXY(a[b])});o(y,"getSegmentPath",function(a,b){var c=this.points;if(this.chart.polar&&this.options.connectEnds!==!1&&b[b.length-1]===c[c.length-1]&&c[0].y!==null)this.connectEnds=!0,b=[].concat(b,[c[0]]);return a.call(this,b)});o(y,"animate",L);o(q,"animate",L);o(y,"setTooltipPoints",function(a,b){this.chart.polar&&
F(this.xAxis,{tooltipLen:360});return a.call(this,b)});o(q,"translate",function(a){var b=this.xAxis,c=this.yAxis.len,d=b.center,g=b.startAngleRad,f=this.chart.renderer,e,h;this.preventPostTranslate=!0;a.call(this);if(b.isRadial){b=this.points;for(h=b.length;h--;)e=b[h],a=e.barX+g,e.shapeType="path",e.shapeArgs={d:f.symbols.arc(d[0],d[1],c-e.plotY,null,{start:a,end:a+e.pointWidth,innerR:c-r(e.yBottom,c)})},this.toXY(e)}});o(q,"alignDataLabel",function(a,b,c,d,g,f){if(this.chart.polar){a=b.rectPlotX/
Math.PI*180;if(d.align===null)d.align=a>20&&a<160?"left":a>200&&a<340?"right":"center";if(d.verticalAlign===null)d.verticalAlign=a<45||a>315?"bottom":a>135&&a<225?"top":"middle";y.alignDataLabel.call(this,b,c,d,g,f)}else a.call(this,b,c,d,g,f)});o(m,"getIndex",function(a,b){var c,d=this.chart,g;d.polar?(g=d.xAxis[0].center,c=b.chartX-g[0]-d.plotLeft,d=b.chartY-g[1]-d.plotTop,c=180-Math.round(Math.atan2(c,d)/Math.PI*180)):c=a.call(this,b);return c});o(m,"getCoordinates",function(a,b){var c=this.chart,
d={xAxis:[],yAxis:[]};c.polar?s(c.axes,function(a){var f=a.isXAxis,e=a.center,h=b.chartX-e[0]-c.plotLeft,e=b.chartY-e[1]-c.plotTop;d[f?"xAxis":"yAxis"].push({axis:a,value:a.translate(f?Math.PI-Math.atan2(h,e):Math.sqrt(Math.pow(h,2)+Math.pow(e,2)),!0)})}):d=a.call(this,b);return d})})(Highcharts);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,49 +1 @@
.userspace{
height:auto;
border:none;
padding:0;
}
.userspace .avatar{
position:absolute;
height:70px;
width:70px;
padding:10px;
}
.img_50_50{
max-width: 50px;
max-height: 50px;
}
* html .img_50_50 {
width: expression(this.width > 50 && this.width>=this.height ? 50 : true);
height: expression(this.height > 50 && this.width<=this.height ? 50 : true);
}
.userspace .userinfo{
padding:10px 10px 10px 70px;
line-height:50px;
height:70px;
overflow:hidden;
}
.userspace .userinfo a{
padding-right:20px;
}
.nav-tabs li{
margin-bottom: -1px;
}
.space-item{
float:left;
padding:10px 15px;
width:250px;
}
.space-item .title{
display:inline-block;
width:80px;
text-align:right;
}
.space-item .value{
width:130px;
padding-left:10px;
height:20px;
}
.userspace{height:auto;border:none;padding:0;}.userspace .avatar{position:absolute;height:70px;width:70px;padding:10px;}.img_50_50{max-width:50px;max-height:50px;}* html .img_50_50{width:expression(this.width > 50 && this.width>=this.height ? 50:true);height:expression(this.height > 50 && this.width<=this.height ? 50:true);}.userspace .userinfo{padding:10px 10px 10px 70px;line-height:50px;height:70px;overflow:hidden;}.userspace .userinfo a{padding-right:20px;}.nav-tabs li{margin-bottom:-1px;}.space-item{float:left;padding:10px 15px;width:250px;}.space-item .title{display:inline-block;width:80px;text-align:right;}.space-item .value{width:130px;padding-left:10px;height:20px;}

View File

@@ -1,120 +0,0 @@
body{
height: 100%;
color:#566481;
}
.mainContainer{
animation-duration: 800ms;
position: relative;
animation-fill-mode: both;
z-index: 10;
height: 100%;
text-align: center;
oveflow:auto
}
.mainContainer:before{
display: inline-block;
height: 100%;
vertical-align: middle;
content: "";
}
.modal-content{
padding: 30px;
vertical-align: middle;
display: inline-block;
max-width: 100%;
font-size: 14px;
color:#333;
box-shadow: none;
border: none;
background: #FFF;
min-width:320px;
}
.form-group {
margin-bottom: 20px;
}
.brand {
margin:15px 0;
}
.brand img {
max-width:300px;
max-height:300px;
}
.main-title {
font-size:24px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.sub-title {
font-size:16px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.loginForm{
width: 350px;
margin: 30px 0 0 0;
}
span.spacer{
margin:0 5px;
color:#eee;
}
.seccode-wrapper{
text-align:left;
}
p.error-msg{
text-align:left;
margin:20px 0;
}
.btn-lg{
margin-top:20px;
}
@media (max-width: 420px){
.mainContainer:before{
display:none;
}
.modal-content{
margin:15px;
}
.loginForm {
width: auto;
}
}
.checkbox-custom {
margin-top: 0;
margin-bottom: 0;
}
.checkbox-custom label, .radio-custom label{
font-size:14px;
padding-left: 5px;
}
.copyright-container{
position: absolute;
bottom: 0;
width:100%;
left:0;
}
footer.page-copyright {
position: absolute;
width:100%;
left:0;
top:0;
margin: 20px 10px 10px 10px;
font-size: 12px;
color:#FFF;
text-shadow:1px 1px 1px RGBA(0,0,0,.2);
}
footer.page-copyright a{
color:#FFF;
text-decoration: underline;
}
.btn-primary{
background-color:#3779ff;
}

View File

@@ -1,160 +0,0 @@
body{
height: 100%;
color:#566481;
}
.mainContainer{
animation-duration: 800ms;
position: relative;
animation-fill-mode: both;
z-index: 10;
height: 100%;
text-align: center;
overflow:auto;
}
/*.mainContainer:before{
display: inline-block;
height: 100%;
vertical-align: middle;
content: "";
}*/
.modal-content{
padding: 30px;
vertical-align: middle;
display: inline-block;
max-width: 100%;
font-size: 14px;
color:#333;
box-shadow: none;
border: none;
background: #FFF;
min-width:320px;
box-shadow: 0 5px 15px RGBA(0,0,0,0.3);
}
.form-group {
margin-bottom: 20px;
}
.brand {
margin:15px 0;
}
.brand img {
max-width:300px;
max-height:300px;
}
.main-title {
font-size:24px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.sub-title {
font-size:16px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.loginForm{
width: 350px;
margin: 30px 0 0 0;
}
span.spacer{
margin:0 5px;
color:#eee;
}
.seccode-wrapper{
text-align:left;
}
p.error-msg{
text-align:left;
margin:20px 0;
}
.btn-lg{
margin-top:20px;
}
@media (max-width: 414px){
.modal-content{
padding:20px;
margin-top:15px;
}
.mainContainer:before{
display:none;
}
}
@media (max-width: 375px){
.modal-content{
padding:15px;
min-width:300px
}
.loginForm {
width: 320px;
}
}
@media (max-width: 320px){
.modal-content{
margin:10px;
padding:20px;
min-width:300px
}
.loginForm {
width: auto;
}
}
.checkbox-custom {
margin-top: 0;
margin-bottom: 0;
}
.checkbox-custom label, .radio-custom label{
font-size:14px;
padding-left: 5px;
}
.copyright-container{
position: absolute;
bottom: 0;
width:100%;
left:0;
}
footer.page-copyright {
position: absolute;
width:100%;
left:0;
top:0;
margin: 20px 10px 10px 10px;
font-size: 12px;
color:#FFF;
text-shadow:1px 1px 1px RGBA(0,0,0,.2);
}
footer.page-copyright a{
color:#FFF;
text-decoration: underline;
}
.btn-primary{
background-color:#3779ff;
}
.third-wrapper{
margin-bottom:20px;
text-align: left;
}
.third-wrapper>a{
display: inline-block;
width:52px;
height:52px;
padding:10px;
}
.third-wrapper>a:hover{
background-color: RGBA(0,0,0,.05);
}
.third-wrapper>a>img{
max-width:32px;
max-height:32px;
vertical-align: middle
}

View File

@@ -1,163 +0,0 @@
body{
height: 100%;
color:#FFF;
}
.mainContainer{
animation-duration: 800ms;
position: relative;
animation-fill-mode: both;
z-index: 10;
height: 100%;
text-align: center;
overflow:auto;
}
.mainContainer:before{
display: inline-block;
height: 100%;
vertical-align: middle;
content: "";
}
.modal-content{
padding: 30px;
vertical-align: middle;
display: inline-block;
max-width: 100%;
font-size: 14px;
color:#333;
border: none;
background: #FFF;
min-width:320px;
box-shadow: 0 5px 15px RGBA(0,0,0,0.3);
}
.form-group {
margin-bottom: 20px;
}
.brand {
margin:15px 0;
}
.brand img {
max-width:300px;
max-height:300px;
}
.main-title {
font-size:24px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.sub-title {
font-size:16px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.loginForm{
width: 350px;
margin: 30px 0 0 0;
}
span.spacer{
margin:0 5px;
color:#eee;
}
.seccode-wrapper{
text-align:left;
}
p.error-msg{
text-align:left;
margin:20px 0;
}
.btn-lg{
margin-top:20px;
}
@media (max-width: 414px){
.modal-content{
padding:20px;
margin-top:15px;
}
.mainContainer:before{
display:none;
}
}
@media (max-width: 375px){
.modal-content{
padding:15px;
min-width:300px
}
.loginForm {
width: 320px;
}
}
@media (max-width: 320px){
.modal-content{
margin:10px;
padding:20px;
min-width:300px
}
.loginForm {
width: auto;
}
}
.checkbox-custom {
margin-top: 0;
margin-bottom: 0;
}
.checkbox-custom label, .radio-custom label{
font-size:14px;
padding-left: 5px;
}
.copyright-container{
position: absolute;
bottom: 0;
width:100%;
left:0;
}
footer.page-copyright {
position: absolute;
width:100%;
left:0;
top:0;
margin: 20px 10px 10px 10px;
font-size: 12px;
color:#FFF;
text-shadow:1px 1px 1px RGBA(0,0,0,.2);
}
footer.page-copyright a{
color:#FFF;
text-decoration: underline;
}
.btn-primary{
background-color:#3779ff;
}
.third-wrapper{
margin-bottom:20px;
text-align: left;
}
.third-wrapper>a{
display: inline-block;
width:52px;
height:52px;
padding:10px;
}
.third-wrapper>a:hover{
background-color: RGBA(0,0,0,.05);
}
.third-wrapper>a>img{
max-width:32px;
max-height:32px;
vertical-align: middle
}

View File

@@ -1,147 +0,0 @@
body{
height: 100%;
}
body:before{
position: fixed;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
content: '';
}
body:after{
position: fixed;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
content: '';
background-color: rgba(38,50,56,.6);
}
.form-group {
margin-bottom: 20px;
}
.page {
height: 100%;
padding: 0;
margin: 0!important;
background-color: transparent;
z-index: 10;
overflow:auto
}
.animsition, .animsition-overlay {
position: relative;
-webkit-animation-fill-mode: both;
-o-animation-fill-mode: both;
animation-fill-mode: both;
}
.page-login-main {
position: absolute;
top: 0;
right: 0;
height: auto;
min-height: 100%;
padding: 50px 30px 30px;
color: #76838f;
background: #fff;
text-align:center;
overflow:auto;
min-width:320px;
}
.brand {
margin:15px 0;
}
.brand img {
max-width:300px;
max-height:300px;
}
.main-title {
font-size:24px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.sub-title {
font-size:16px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.loginForm{
width: 350px;
margin: 80px 0;
}
span.spacer{
margin:0 5px;
color:#eee;
}
.seccode-wrapper{
text-align:left;
}
p.error-msg{
text-align:left;
margin:20px 0;
}
.btn-lg{
margin-top:20px;
}
@media (max-width: 410px){
.page-login-main {
width: 100%;
}
.loginForm {
width: auto;
}
}
.checkbox-custom {
margin-top: 0;
margin-bottom: 0;
}
.checkbox-custom label, .radio-custom label{
font-size:14px;
padding-left: 5px;
}
footer.page-copyright {
position: absolute;
right: 0;
bottom: 0;
left: 0;
margin: 30px 10px 20px 10px;
font-size: 12px;
color:#999;
}
.btn-primary{
background-color:#3779ff;
}
.third-wrapper{
margin-bottom:20px;
text-align: left;
}
.third-wrapper>a{
display: inline-block;
width:52px;
height:52px;
padding:10px;
}
.third-wrapper>a:hover{
background-color: RGBA(0,0,0,.05);
}
.third-wrapper>a>img{
max-width:32px;
max-height:32px;
vertical-align: middle
}

View File

@@ -1,217 +0,0 @@
body{
height: 100%;
color:#FFF;
}
.mainContainer{
animation-duration: 800ms;
position: relative;
animation-fill-mode: both;
z-index: 10;
height: 100%;
text-align: center;
overflow:auto;
}
.mainContainer:before{
display: inline-block;
height: 100%;
vertical-align: middle;
content: "";
}
.modal-content{
padding: 30px;
vertical-align: middle;
display: inline-block;
max-width: 100%;
font-size: 14px;
color:#333;
box-shadow: none;
border: none;
background: #FFF;
min-width:320px;
box-shadow: 0 5px 15px RGBA(0,0,0,0.3);
}
.form-group {
margin-bottom: 20px;
}
.brand {
margin:15px 0;
}
.brand img {
max-width:300px;
max-height:300px;
}
.main-title {
font-size:24px;
margin: 11px 0;
color: #000;
vertical-align: middle;
}
.sub-title {
font-size:15px;
margin: 11px 0;
color: #999;
vertical-align: middle;
}
.loginForm{
width: 480px;
margin: 30px 0 0 0;
}
span.spacer{
margin:0 5px;
color:#eee;
}
.seccode-wrapper{
text-align:left;
}
p.error-msg{
text-align:left;
margin:20px 0;
}
.btn-lg{
margin-top:20px;
}
@media (max-width: 420px){
.mainContainer:before{
display:none;
}
.modal-content{
margin:15px;
}
.loginForm {
width: auto;
}
}
.checkbox-custom {
margin-top: 0;
margin-bottom: 0;
}
.checkbox-custom label, .radio-custom label{
font-size:14px;
padding-left: 5px;
}
.copyright-container{
position: absolute;
bottom: 0;
width:100%;
left:0;
}
footer.page-copyright {
position: absolute;
width:100%;
left:0;
top:0;
margin: 20px 10px 10px 10px;
font-size: 12px;
color:#FFF;
text-shadow:1px 1px 1px RGBA(0,0,0,.2);
}
footer.page-copyright a{
color:#FFF;
text-decoration: underline;
}
.btn-primary{
background-color:#3779ff;
}
.user-name {
width: 100%;
}
.user-ul {
padding-left: 0;
margin-top: 0;
list-style: none;
}
.section {
font-size: 16px;
padding-left: 15px;
font-weight: 600;
color: rgba(43, 43, 43, 1);
line-height: 30px;
margin-bottom:10px;
}
.section-wrap li {
position:relative;
display: block;
float:left;
padding: 6px 15px;
cursor: pointer;
margin-right: 20px;
margin-bottom: 0;
width: 135px;
oveflow:hidden;
text-overflow: ellipsis;
white-space: nowrap;
border-radius:5px;
border:1px solid transparent;
}
.section-wrap li:hover,.section-wrap li.hover {
background: rgba(241, 241, 241, 1);
}
.section-wrap li.hover {
background: rgba(241, 241, 241, 1);
border:1px solid #3779ff;
}
.section-wrap li .user-a {
display: block;
width: 100%;
height: 100%;
font-size: 18px;
font-weight: 300;
color: rgba(43, 43, 43, 1);
padding-left:40px;
}
.section-wrap li .user-a .cavatar {
position:absolute;
left:6px;
top:10px;
}
.section-wrap li .user-a .cavatar>img {
width:35px;
height:35px;
margin-right:10px;
}
.section-wrap li .user-a .cusername>span {
display:block;
overflow:hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.section-wrap li .user-a .cusername>span.orgname {
font-size:12px;
color:#999;
}
.section-wrap li .user-a:hover {
text-decoration: none;
}
.section-wrap {
width: 100%;
margin-bottom: 20px;
text-align:left;
}
.Topcarousel {
border-radius: 50%;
text-align: center;
display: inline-block;
/* padding: 0px 10px; */
font-size: 18px;
margin-top: 2px;
margin-right: 10px;
width: 35px;
height: 35px;
line-height: 35px;
color: #FFF;
}

View File

@@ -1,5 +0,0 @@
/**
* Created by a on 2017/3/26.
*/

View File

@@ -1,77 +1 @@
body{
height: 100%;
color:#566481;
}
.modal_in .modal-header{
padding:15px;
}
/* .mainContainer{
animation-duration: 800ms;
position: relative;
animation-fill-mode: both;
z-index: 10;
height: 100%;
text-align: center
}
.mainContainer:before{
display: inline-block;
height: 100%;
vertical-align: middle;
content: "";
}
*/
.form-group {
margin-bottom: 25px;
position: relative;
}
.form-group .help-msg {
margin-bottom: 0;
position: absolute;
left: 10px;
margin: 0;
font-size:12px;
width:100%;
}
.form-group.last {
margin-bottom: 0;
}
.brand {
display: block;
text-align: center;
}
.brand img {
max-width:300px;
max-height:300px;
}
.main-title {
font-size:24px;
margin: 11px 0;
color: #000;
}
span.spacer{
margin:0 5px;
color:#eee;
}
.seccode-wrapper{
text-align:left;
}
p.error-msg{
text-align:left;
margin:20px 0;
}
@media (max-width: 420px){
.mainContainer:before{
display:none;
}
.modal-content{
margin:15px;
}
.loginForm {
width: auto;
}
}
body{height:100%;color:#566481;}.modal_in .modal-header{padding:15px;}.form-group{margin-bottom:25px;position:relative;}.form-group .help-msg{margin-bottom:0;position:absolute;left:10px;margin:0;font-size:12px;width:100%;}.form-group.last{margin-bottom:0;}.brand{display:block;text-align:center;}.brand img{max-width:300px;max-height:300px;}.main-title{font-size:24px;margin:11px 0;color:#000;}span.spacer{margin:0 5px;color:#eee;}.seccode-wrapper{text-align:left;}p.error-msg{text-align:left;margin:20px 0;}@media (max-width:420px){.mainContainer:before{display:none;}.modal-content{margin:15px;}.loginForm{width:auto;}}

File diff suppressed because one or more lines are too long

View File

@@ -1,97 +1 @@
.cropFrame {
overflow : hidden;
position : relative;
display: inline-block;
border-radius: var(--radius);
}
.cropImage {
position : absolute;
top : 0;
left : 0;
cursor : move;
max-width: none;
}
.cropControls {
background : #000;
width : 100%;
height : 36px;
position : absolute;
z-index : 100;
bottom : 0;
left : 0;
opacity : 0;
filter : alpha(opacity=0);
transition : opacity .25s linear;
-moz-transition : opacity .25s linear;
-webkit-transition : opacity .25s linear;
t-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.cropFrame.hover .cropControls {
opacity : .55;
filter : alpha(opacity=55);
}
.cropControls span {
display : block;
float : left;
color : #fff;
font-size : 11px;
margin : 10px 0 0 5px;
}
.cropZoomIn,
.cropZoomOut {
display : block;
float : right;
margin : 4px 4px 0 0;
padding : 0;
background : #fff;
border: 1px solid #000;
color : #000;
border-radius : 4px;
width : 28px;
height : 28px;
line-height : 0;
font-size : 28px;
text-align : center;
text-decoration : none;
cursor : pointer;
}
.cropZoomIn::after,
.cropZoomIn .after {
content : "+";
display : block;
text-align:center;
}
.cropZoomOut::after,
.cropZoomOut .after {
content : "-";
display : block;
text-align:center;
}
/*IE8*/
.cropZoomIn:after,
.cropZoomIn .after {
content : "+";
display : block;
text-align:center;
}
/*IE8*/
.cropZoomOut:after,
.cropZoomOut .after {
content : "-";
display : block;
text-align:center;
}
.cropFrame{overflow:hidden;position:relative;display:inline-block;border-radius:var(--radius);}.cropImage{position:absolute;top:0;left:0;cursor:move;max-width:none;}.cropControls{background:#000;width:100%;height:36px;position:absolute;z-index:100;bottom:0;left:0;opacity:0;filter:alpha(opacity=0);transition:opacity .25s linear;-moz-transition:opacity .25s linear;-webkit-transition:opacity .25s linear;t-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.cropFrame.hover .cropControls{opacity:.55;filter:alpha(opacity=55);}.cropControls span{display:block;float:left;color:#fff;font-size:11px;margin:10px 0 0 5px;}.cropZoomIn,.cropZoomOut{display:block;float:right;margin:4px 4px 0 0;padding:0;background:#fff;border:1px solid #000;color:#000;border-radius:4px;width:28px;height:28px;line-height:0;font-size:28px;text-align:center;text-decoration:none;cursor:pointer;}.cropZoomIn::after,.cropZoomIn .after{content:"+";display:block;text-align:center;}.cropZoomOut::after,.cropZoomOut .after{content:"-";display:block;text-align:center;}.cropZoomIn:after,.cropZoomIn .after{content:"+";display:block;text-align:center;}.cropZoomOut:after,.cropZoomOut .after{content:"-";display:block;text-align:center;}

File diff suppressed because one or more lines are too long

View File

@@ -5,136 +5,4 @@
*
* Requires: jQuery 1.2.2+
*/
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS style for Browserify
module.exports = factory;
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {
var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'],
toBind = ( 'onwheel' in document || document.documentMode >= 9 ) ?
['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'],
slice = Array.prototype.slice,
nullLowestDeltaTimeout, lowestDelta;
if ( $.event.fixHooks ) {
for ( var i = toFix.length; i; ) {
$.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks;
}
}
$.event.special.mousewheel = {
version: '3.1.6',
setup: function() {
if ( this.addEventListener ) {
for ( var i = toBind.length; i; ) {
this.addEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = handler;
}
},
teardown: function() {
if ( this.removeEventListener ) {
for ( var i = toBind.length; i; ) {
this.removeEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = null;
}
}
};
$.fn.extend({
mousewheel: function(fn) {
return fn ? this.bind('mousewheel', fn) : this.trigger('mousewheel');
},
unmousewheel: function(fn) {
return this.unbind('mousewheel', fn);
}
});
function handler(event) {
var orgEvent = event || window.event,
args = slice.call(arguments, 1),
delta = 0,
deltaX = 0,
deltaY = 0,
absDelta = 0;
event = $.event.fix(orgEvent);
event.type = 'mousewheel';
// Old school scrollwheel delta
if ( 'detail' in orgEvent ) { deltaY = orgEvent.detail * -1; }
if ( 'wheelDelta' in orgEvent ) { deltaY = orgEvent.wheelDelta; }
if ( 'wheelDeltaY' in orgEvent ) { deltaY = orgEvent.wheelDeltaY; }
if ( 'wheelDeltaX' in orgEvent ) { deltaX = orgEvent.wheelDeltaX * -1; }
// Firefox < 17 horizontal scrolling related to DOMMouseScroll event
if ( 'axis' in orgEvent && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
deltaX = deltaY * -1;
deltaY = 0;
}
// Set delta to be deltaY or deltaX if deltaY is 0 for backwards compatabilitiy
delta = deltaY === 0 ? deltaX : deltaY;
// New school wheel delta (wheel event)
if ( 'deltaY' in orgEvent ) {
deltaY = orgEvent.deltaY * -1;
delta = deltaY;
}
if ( 'deltaX' in orgEvent ) {
deltaX = orgEvent.deltaX;
if ( deltaY === 0 ) { delta = deltaX * -1; }
}
// No change actually happened, no reason to go any further
if ( deltaY === 0 && deltaX === 0 ) { return; }
// Store lowest absolute delta to normalize the delta values
absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) );
if ( !lowestDelta || absDelta < lowestDelta ) {
lowestDelta = absDelta;
}
// Get a whole, normalized value for the deltas
delta = Math[ delta >= 1 ? 'floor' : 'ceil' ](delta / lowestDelta);
deltaX = Math[ deltaX >= 1 ? 'floor' : 'ceil' ](deltaX / lowestDelta);
deltaY = Math[ deltaY >= 1 ? 'floor' : 'ceil' ](deltaY / lowestDelta);
// Add information to the event object
event.deltaX = deltaX;
event.deltaY = deltaY;
event.deltaFactor = lowestDelta;
// Add event and delta to the front of the arguments
args.unshift(event, delta, deltaX, deltaY);
// Clearout lowestDelta after sometime to better
// handle multiple device types that give different
// a different lowestDelta
// Ex: trackpad = 3 and mouse wheel = 120
if (nullLowestDeltaTimeout) { clearTimeout(nullLowestDeltaTimeout); }
nullLowestDeltaTimeout = setTimeout(nullLowestDelta, 200);
return ($.event.dispatch || $.event.handle).apply(this, args);
}
function nullLowestDelta() {
lowestDelta = null;
}
}));
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){var t,n,o=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],l="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(e.event.fixHooks)for(var s=o.length;s;)e.event.fixHooks[o[--s]]=e.event.mouseHooks;function a(o){var l,s=o||window.event,a=i.call(arguments,1),u=0,r=0,d=0;if((o=e.event.fix(s)).type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(r=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(r=-1*d,d=0),u=0===d?r:d,"deltaY"in s&&(u=d=-1*s.deltaY),"deltaX"in s&&(r=s.deltaX,0===d&&(u=-1*r)),0!==d||0!==r)return l=Math.max(Math.abs(d),Math.abs(r)),(!n||l<n)&&(n=l),u=Math[u>=1?"floor":"ceil"](u/n),r=Math[r>=1?"floor":"ceil"](r/n),d=Math[d>=1?"floor":"ceil"](d/n),o.deltaX=r,o.deltaY=d,o.deltaFactor=n,a.unshift(o,u,r,d),t&&clearTimeout(t),t=setTimeout(h,200),(e.event.dispatch||e.event.handle).apply(this,a)}function h(){n=null}e.event.special.mousewheel={version:"3.1.6",setup:function(){if(this.addEventListener)for(var e=l.length;e;)this.addEventListener(l[--e],a,!1);else this.onmousewheel=a},teardown:function(){if(this.removeEventListener)for(var e=l.length;e;)this.removeEventListener(l[--e],a,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})});

View File

@@ -1,73 +1 @@
function loginsub(formid,rspaceid){
var url = jQuery('#'+formid).attr('action');
url = (url)? url:'user.php?mod=login&op=logging&action=login&loginsubmit=yes';
var formData = jQuery('#'+formid).serialize();
var type = 'json';
jQuery.post(url+'&returnType='+type,formData,function(json){
if(json['success']){
showmessage(json['success']['message'], 'success', '', 1,'right-top');
location.href=json['success']['url_forward'];
}else if(json['error']){
clearpwd();
showmessage(json['error'], 'danger', '', 1,'right-top');
jQuery('#'+rspaceid).html(json['error']);
}else{
clearpwd();
showmessage(__lang.system_busy, 'danger', '', 1,'right-top');
jQuery('#'+rspaceid).html(__lang.system_busy);
}
},'json');
}
function lostpass(contid,formid,rspaceid){
var url = jQuery('#'+formid).attr('action');
url = (url)? url:'user.php?mod=login&op=logging&action=lostpasswd&lostpwsubmit=yes';
var formData = jQuery('#'+formid).serialize();
var type = 'json';
jQuery.post(url+'&returnType='+type,formData,function(json){
if(json['success']){
var el=jQuery('#'+contid);
console.log(el);
var mail='http://mail.'+json['success'].email.split('@')[1];
el.find('.Mtitle').html(__lang.password_back_email_sent_successfully);
el.find('.Mbody').html(json['success'].msg);
el.find('.modal-footer .toMail').on('click',function(){
window.location.href=mail;
})
el.find('.modal-footer').show();
}else if(json['error']){
jQuery('#'+rspaceid).html(json['error']);
}else{
jQuery('#'+rspaceid).html(__lang.system_busy);
}
},'json');
}
function setImage(width,height){
var clientWidth=document.documentElement.clientWidth;
var clientHeight=document.documentElement.clientHeight;
var r0=clientWidth/clientHeight;
var r1=width/height;
if(r0>r1){//width充满
w=clientWidth;
h=w*(height/width);
}else{
h=clientHeight;
w=h*(width/height);
}
}
function loginsub(e,s){var o=jQuery("#"+e).attr("action");o=o||"user.php?mod=login&op=logging&action=login&loginsubmit=yes";var t=jQuery("#"+e).serialize();jQuery.post(o+"&returnType=json",t,function(e){e.success?(showmessage(e.success.message,"success","",1,"right-top"),location.href=e.success.url_forward):e.error?(clearpwd(),showmessage(e.error,"danger","",1,"right-top"),jQuery("#"+s).html(e.error)):(clearpwd(),showmessage(__lang.system_busy,"danger","",1,"right-top"),jQuery("#"+s).html(__lang.system_busy))},"json")}function lostpass(e,s,o){var t=jQuery("#"+s).attr("action");t=t||"user.php?mod=login&op=logging&action=lostpasswd&lostpwsubmit=yes";var r=jQuery("#"+s).serialize();jQuery.post(t+"&returnType=json",r,function(s){if(s.success){var t=jQuery("#"+e);console.log(t);var r="http://mail."+s.success.email.split("@")[1];t.find(".Mtitle").html(__lang.password_back_email_sent_successfully),t.find(".Mbody").html(s.success.msg),t.find(".modal-footer .toMail").on("click",function(){window.location.href=r}),t.find(".modal-footer").show()}else s.error?jQuery("#"+o).html(s.error):jQuery("#"+o).html(__lang.system_busy)},"json")}function setImage(e,s){var o=document.documentElement.clientWidth,t=document.documentElement.clientHeight;o/t>e/s?(w=o,h=w*(s/e)):(h=t,w=h*(e/s))}

View File

@@ -5,150 +5,4 @@
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
var hexcase = 0;
var chrsz = 8;
function hex_md5(s){
return binl2hex(core_md5(str2binl(s), s.length * chrsz));
}
function core_md5(x, len) {
x[len >> 5] |= 0x80 << ((len) % 32);
x[(((len + 64) >>> 9) << 4) + 14] = len;
var a = 1732584193;
var b = -271733879;
var c = -1732584194;
var d = 271733878;
for(var i = 0; i < x.length; i += 16) {
var olda = a;
var oldb = b;
var oldc = c;
var oldd = d;
a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);
b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);
c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);
d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);
d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);
a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);
b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);
c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);
d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);
a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);
b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);
a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);
b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);
c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);
d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);
a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);
b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);
a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);
c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);
d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);
d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);
a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);
b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);
a = safe_add(a, olda);
b = safe_add(b, oldb);
c = safe_add(c, oldc);
d = safe_add(d, oldd);
}
return Array(a, b, c, d);
}
function md5_cmn(q, a, b, x, s, t) {
return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
}
function md5_ff(a, b, c, d, x, s, t) {
return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
}
function md5_gg(a, b, c, d, x, s, t) {
return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
}
function md5_hh(a, b, c, d, x, s, t) {
return md5_cmn(b ^ c ^ d, a, b, x, s, t);
}
function md5_ii(a, b, c, d, x, s, t) {
return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
}
function safe_add(x, y) {
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
return (msw << 16) | (lsw & 0xFFFF);
}
function bit_rol(num, cnt) {
return (num << cnt) | (num >>> (32 - cnt));
}
function str2binl(str) {
var bin = Array();
var mask = (1 << chrsz) - 1;
for(var i = 0; i < str.length * chrsz; i += chrsz) {
bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);
}
return bin;
}
function binl2hex(binarray) {
var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef";
var str = "";
for(var i = 0; i < binarray.length * 4; i++) {
str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) + hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);
}
return str;
}
var pwmd5log = new Array();
function pwmd5() {
if(!$(pwmd5.arguments[0]) || $(pwmd5.arguments[0]).value == '') {
return;
}
numargs = pwmd5.arguments.length;
for(var i = 0; i < numargs; i++) {
if(!pwmd5log[pwmd5.arguments[i]] || $(pwmd5.arguments[i]).value.length != 32) {
pwmd5log[pwmd5.arguments[i]] = $(pwmd5.arguments[i]).value = hex_md5($(pwmd5.arguments[i]).value);
}
}
}
var hexcase=0,chrsz=8;function hex_md5(d){return binl2hex(core_md5(str2binl(d),d.length*chrsz))}function core_md5(d,m){d[m>>5]|=128<<m%32,d[14+(m+64>>>9<<4)]=m;for(var _=1732584193,r=-271733879,f=-1732584194,n=271733878,h=0;h<d.length;h+=16){var g=_,i=r,e=f,a=n;r=md5_ii(r=md5_ii(r=md5_ii(r=md5_ii(r=md5_hh(r=md5_hh(r=md5_hh(r=md5_hh(r=md5_gg(r=md5_gg(r=md5_gg(r=md5_gg(r=md5_ff(r=md5_ff(r=md5_ff(r=md5_ff(r,f=md5_ff(f,n=md5_ff(n,_=md5_ff(_,r,f,n,d[h+0],7,-680876936),r,f,d[h+1],12,-389564586),_,r,d[h+2],17,606105819),n,_,d[h+3],22,-1044525330),f=md5_ff(f,n=md5_ff(n,_=md5_ff(_,r,f,n,d[h+4],7,-176418897),r,f,d[h+5],12,1200080426),_,r,d[h+6],17,-1473231341),n,_,d[h+7],22,-45705983),f=md5_ff(f,n=md5_ff(n,_=md5_ff(_,r,f,n,d[h+8],7,1770035416),r,f,d[h+9],12,-1958414417),_,r,d[h+10],17,-42063),n,_,d[h+11],22,-1990404162),f=md5_ff(f,n=md5_ff(n,_=md5_ff(_,r,f,n,d[h+12],7,1804603682),r,f,d[h+13],12,-40341101),_,r,d[h+14],17,-1502002290),n,_,d[h+15],22,1236535329),f=md5_gg(f,n=md5_gg(n,_=md5_gg(_,r,f,n,d[h+1],5,-165796510),r,f,d[h+6],9,-1069501632),_,r,d[h+11],14,643717713),n,_,d[h+0],20,-373897302),f=md5_gg(f,n=md5_gg(n,_=md5_gg(_,r,f,n,d[h+5],5,-701558691),r,f,d[h+10],9,38016083),_,r,d[h+15],14,-660478335),n,_,d[h+4],20,-405537848),f=md5_gg(f,n=md5_gg(n,_=md5_gg(_,r,f,n,d[h+9],5,568446438),r,f,d[h+14],9,-1019803690),_,r,d[h+3],14,-187363961),n,_,d[h+8],20,1163531501),f=md5_gg(f,n=md5_gg(n,_=md5_gg(_,r,f,n,d[h+13],5,-1444681467),r,f,d[h+2],9,-51403784),_,r,d[h+7],14,1735328473),n,_,d[h+12],20,-1926607734),f=md5_hh(f,n=md5_hh(n,_=md5_hh(_,r,f,n,d[h+5],4,-378558),r,f,d[h+8],11,-2022574463),_,r,d[h+11],16,1839030562),n,_,d[h+14],23,-35309556),f=md5_hh(f,n=md5_hh(n,_=md5_hh(_,r,f,n,d[h+1],4,-1530992060),r,f,d[h+4],11,1272893353),_,r,d[h+7],16,-155497632),n,_,d[h+10],23,-1094730640),f=md5_hh(f,n=md5_hh(n,_=md5_hh(_,r,f,n,d[h+13],4,681279174),r,f,d[h+0],11,-358537222),_,r,d[h+3],16,-722521979),n,_,d[h+6],23,76029189),f=md5_hh(f,n=md5_hh(n,_=md5_hh(_,r,f,n,d[h+9],4,-640364487),r,f,d[h+12],11,-421815835),_,r,d[h+15],16,530742520),n,_,d[h+2],23,-995338651),f=md5_ii(f,n=md5_ii(n,_=md5_ii(_,r,f,n,d[h+0],6,-198630844),r,f,d[h+7],10,1126891415),_,r,d[h+14],15,-1416354905),n,_,d[h+5],21,-57434055),f=md5_ii(f,n=md5_ii(n,_=md5_ii(_,r,f,n,d[h+12],6,1700485571),r,f,d[h+3],10,-1894986606),_,r,d[h+10],15,-1051523),n,_,d[h+1],21,-2054922799),f=md5_ii(f,n=md5_ii(n,_=md5_ii(_,r,f,n,d[h+8],6,1873313359),r,f,d[h+15],10,-30611744),_,r,d[h+6],15,-1560198380),n,_,d[h+13],21,1309151649),f=md5_ii(f,n=md5_ii(n,_=md5_ii(_,r,f,n,d[h+4],6,-145523070),r,f,d[h+11],10,-1120210379),_,r,d[h+2],15,718787259),n,_,d[h+9],21,-343485551),_=safe_add(_,g),r=safe_add(r,i),f=safe_add(f,e),n=safe_add(n,a)}return Array(_,r,f,n)}function md5_cmn(d,m,_,r,f,n){return safe_add(bit_rol(safe_add(safe_add(m,d),safe_add(r,n)),f),_)}function md5_ff(d,m,_,r,f,n,h){return md5_cmn(m&_|~m&r,d,m,f,n,h)}function md5_gg(d,m,_,r,f,n,h){return md5_cmn(m&r|_&~r,d,m,f,n,h)}function md5_hh(d,m,_,r,f,n,h){return md5_cmn(m^_^r,d,m,f,n,h)}function md5_ii(d,m,_,r,f,n,h){return md5_cmn(_^(m|~r),d,m,f,n,h)}function safe_add(d,m){var _=(65535&d)+(65535&m);return(d>>16)+(m>>16)+(_>>16)<<16|65535&_}function bit_rol(d,m){return d<<m|d>>>32-m}function str2binl(d){for(var m=Array(),_=(1<<chrsz)-1,r=0;r<d.length*chrsz;r+=chrsz)m[r>>5]|=(d.charCodeAt(r/chrsz)&_)<<r%32;return m}function binl2hex(d){for(var m=hexcase?"0123456789ABCDEF":"0123456789abcdef",_="",r=0;r<4*d.length;r++)_+=m.charAt(d[r>>2]>>r%4*8+4&15)+m.charAt(d[r>>2]>>r%4*8&15);return _}var pwmd5log=new Array;function pwmd5(){if($(pwmd5.arguments[0])&&""!=$(pwmd5.arguments[0]).value){numargs=pwmd5.arguments.length;for(var d=0;d<numargs;d++)pwmd5log[pwmd5.arguments[d]]&&32==$(pwmd5.arguments[d]).value.length||(pwmd5log[pwmd5.arguments[d]]=$(pwmd5.arguments[d]).value=hex_md5($(pwmd5.arguments[d]).value))}}

File diff suppressed because one or more lines are too long

View File

@@ -1,25 +1 @@
if(document.getElementById('imgbg')){
jQuery.getScript('static/js/imgReady.js',function(){
imgReady(document.getElementById('imgbg').src, function () {
setImage(this.width,this.height);
});
});
}
function setImage(width,height){
var clientWidth=document.documentElement.clientWidth;
var clientHeight=document.documentElement.clientHeight;
var r0=clientWidth/clientHeight;
var r1=width/height;
if(r0>r1){//width充满
w=clientWidth;
h=w*(height/width);
}else{
h=clientHeight;
w=h*(width/height);
}
if(document.getElementById('imgbg')){
document.getElementById('imgbg').style.width=w+'px';
document.getElementById('imgbg').style.height=h+'px';
}
}
function setImage(e,t){var m=document.documentElement.clientWidth,n=document.documentElement.clientHeight;m/n>e/t?(w=m,h=w*(t/e)):(h=n,w=h*(e/t)),document.getElementById("imgbg")&&(document.getElementById("imgbg").style.width=w+"px",document.getElementById("imgbg").style.height=h+"px")}document.getElementById("imgbg")&&jQuery.getScript("static/js/imgReady.js",function(){imgReady(document.getElementById("imgbg").src,function(){setImage(this.width,this.height)})});