no message
|
@ -1,2 +0,0 @@
|
||||||
*
|
|
||||||
!.gitignore
|
|
|
@ -0,0 +1,743 @@
|
||||||
|
@import "../lib/layui/css/layui.css";
|
||||||
|
@import "../lib/fonts/iconfont.css";
|
||||||
|
@import "../css/jquery.contextMenu.css";
|
||||||
|
|
||||||
|
/*边距*/
|
||||||
|
.ptb20{
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
.ptb10{
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navBar .layui-nav-child {
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navBar .layui-nav-itemed .layui-nav-child,
|
||||||
|
#navBar .layui-nav-child dd {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class^="v-icon"], [class*=" v-icon"] {
|
||||||
|
line-height: inherit;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*不显示滚动条样式*/
|
||||||
|
.not-scroll::-webkit-scrollbar {
|
||||||
|
height: 0;
|
||||||
|
width: 0;
|
||||||
|
background: transparent;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scrollBody::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*去掉after*/
|
||||||
|
.no-line.layui-this:after {
|
||||||
|
background: transparent !important;
|
||||||
|
color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*通用*/
|
||||||
|
.v-none-select {
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-text-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-bg-20222A {
|
||||||
|
background: #20222A;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-left220 {
|
||||||
|
left: 220px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex-vc {
|
||||||
|
display: flex !important;
|
||||||
|
display: -webkit-flex !important;
|
||||||
|
align-items: center !important;
|
||||||
|
justify-content: center !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl0 {
|
||||||
|
padding-left: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr0 {
|
||||||
|
padding-right: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl10 {
|
||||||
|
padding-left: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr10 {
|
||||||
|
padding-right: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#noticeQQ {
|
||||||
|
cursor: pointer;
|
||||||
|
color: #FF5722;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*框架布局样式*/
|
||||||
|
.vadmin-header .layui-nav-bar,
|
||||||
|
.vadmin-header .layui-nav-tree .layui-nav-itemed:after {
|
||||||
|
background: #20222A !important;
|
||||||
|
bottom: auto;
|
||||||
|
top: 0 !important;
|
||||||
|
height: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-nav .layui-this:after {
|
||||||
|
background: transparent !important;
|
||||||
|
color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-side-menu, .layadmin-pagetabs .layui-tab-title li:after, .layadmin-pagetabs .layui-tab-title li.layui-this:after, .layui-layer-admin .layui-layer-title, .layadmin-side-shrink .layui-side-menu .layui-nav > .layui-nav-item > .layui-nav-child {
|
||||||
|
/*background: #20222A !important;*/
|
||||||
|
background: #001529 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-tab-brief > .layui-tab-title .layui-this {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*在tab导航中去掉首页标签的删除按钮*/
|
||||||
|
.v-tab-title li strong[is-close="false"] ~ i.layui-tab-close,
|
||||||
|
.v-tab-title li[tab="index"] i.layui-tab-close {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*头部*/
|
||||||
|
.vadmin .vadmin-header {
|
||||||
|
background: #FFFFFF;
|
||||||
|
height: 49px;
|
||||||
|
line-height: 49px;
|
||||||
|
border-bottom: 1px solid #f6f6f6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-nav-item .layui-icon {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-nav .layui-nav-item a,
|
||||||
|
.vadmin-header .layui-nav-child dd.layui-this a {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#userInfo .layui-this,
|
||||||
|
#userInfo .layui-this a {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#userInfo .layui-this a:hover {
|
||||||
|
background: #f2f2f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*天气样式*/
|
||||||
|
.weather {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tp-weather-widget .tpwthwidt .title_2I35arv,
|
||||||
|
#tp-weather-widget .tpwthwidt .text_1vUR5ag {
|
||||||
|
margin: 0 !important;
|
||||||
|
color: #000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*菜单显隐按钮*/
|
||||||
|
.v-show-menu {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-show-menu .v-menu-hide:before {
|
||||||
|
content: "\e66b";
|
||||||
|
}
|
||||||
|
|
||||||
|
#fullScreen i.vicon-screen-restore:before {
|
||||||
|
content: "\e758";
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-input-search {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
height: 32px;
|
||||||
|
border: none;
|
||||||
|
cursor: text;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-nav .layui-nav-item {
|
||||||
|
height: 49px;
|
||||||
|
line-height: 49px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-layout-left .layui-nav-item {
|
||||||
|
margin: 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-layout-left .layui-nav-item.layui-this:after {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-layout-left .layui-nav-item a {
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin .menu-switch {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
position: relative;
|
||||||
|
left: 220px;
|
||||||
|
top: 16px;
|
||||||
|
color: #FFF;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-nav .layui-nav-more {
|
||||||
|
border-color: #000 transparent transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-nav .layui-nav-mored,
|
||||||
|
.vadmin-header .layui-nav-itemed > a .layui-nav-more {
|
||||||
|
border-color: transparent transparent #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-nav-child {
|
||||||
|
top: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-head-i {
|
||||||
|
font-size: 18px;
|
||||||
|
padding-right: 5px;
|
||||||
|
/*color:#333!important;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/*左边菜单导航*/
|
||||||
|
.v-left {
|
||||||
|
top: 0 !important;
|
||||||
|
width: 220px !important;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left .vadmin-logo {
|
||||||
|
line-height: 49px;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFF;
|
||||||
|
font-size: 16px;
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1002;
|
||||||
|
width: 220px;
|
||||||
|
height: 49px;
|
||||||
|
padding: 0 15px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
font-weight: 300;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
background: #20222A;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-side-menu .layui-nav {
|
||||||
|
width: 220px;
|
||||||
|
background: 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-side-menu .layui-side-scroll {
|
||||||
|
width: 240px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-side-menu .layui-side-scroll:before {
|
||||||
|
content: " ";
|
||||||
|
height: 50px;
|
||||||
|
line-height: 50px;
|
||||||
|
display: flex;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-side {
|
||||||
|
width: 240px !important;
|
||||||
|
position: relative;
|
||||||
|
width: 220px;
|
||||||
|
height: 100%;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-side .user-photo {
|
||||||
|
/*margin-top: 50px;*/
|
||||||
|
width: 220px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item a,
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item .layui-nav-child a {
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
/*padding-left: 25px;*/
|
||||||
|
padding-left: 45px;
|
||||||
|
padding-right: 30px;
|
||||||
|
color: hsla(0,0%,100%,.7);
|
||||||
|
/*color: #f2f2f2;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item.layui-this a,
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item.layui-this .layui-nav-child a {
|
||||||
|
color: #FFF !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left.layui-side-menu .layui-nav-item a:hover {
|
||||||
|
background-color: #4E5465;
|
||||||
|
color:#ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item .layui-nav-child a:hover {
|
||||||
|
color:#ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left.layui-side-menu .layui-this a:hover {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item .layui-icon,
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item a i {
|
||||||
|
position: absolute;
|
||||||
|
padding-right: 10px;
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left.layui-side-menu .layui-nav .layui-nav-item .layui-nav-child a i {
|
||||||
|
position: static !important;
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*第三级菜单及其一下的缩进样式*/
|
||||||
|
#navBar .layui-nav-child .layui-nav-child > dd > a {
|
||||||
|
padding-left: 65px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*第四级菜单及其一下的缩进样式*/
|
||||||
|
#navBar .layui-nav-child .layui-nav-child .layui-nav-child > dd > a {
|
||||||
|
padding-left: 90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*第五级菜单及其一下的缩进样式*/
|
||||||
|
#navBar .layui-nav-child .layui-nav-child .layui-nav-child .layui-nav-child > dd > a {
|
||||||
|
padding-left: 115px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left .user-photo {
|
||||||
|
width: 200px;
|
||||||
|
height: 120px;
|
||||||
|
padding: 15px 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left .user-photo a.img {
|
||||||
|
display: block;
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
margin: 0 auto 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left .user-photo a.img img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 50%;
|
||||||
|
-webkit-border-radius: 50%;
|
||||||
|
-moz-border-radius: 50%;
|
||||||
|
border: 4px solid #44576b;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left .user-photo p {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 25px;
|
||||||
|
color: hsla(0,0%,100%,.7);
|
||||||
|
text-align: center;
|
||||||
|
font-size: 12px;
|
||||||
|
white-space: nowrap;
|
||||||
|
line-height: 25px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navBar ul {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*顶部tab标签样式*/
|
||||||
|
.v-tab {
|
||||||
|
background: #F5F7F9;
|
||||||
|
}
|
||||||
|
.vadmin-pagetabs {
|
||||||
|
padding: 0 80px 0 40px;
|
||||||
|
background-color: transparent;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
height: 40px;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.vadmin-tabs-control {
|
||||||
|
height: 32px;
|
||||||
|
line-height: 32px;
|
||||||
|
position: absolute;
|
||||||
|
top: 4px;
|
||||||
|
width: 32px;
|
||||||
|
right: 4px;
|
||||||
|
text-align: center;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all .3s;
|
||||||
|
-webkit-transition: all .3s;
|
||||||
|
background: #F5F7F9;
|
||||||
|
/*border-left: 1px solid #E6E6E6;*/
|
||||||
|
/*border-bottom: 1px solid #E6E6E6;*/
|
||||||
|
/*background: #FFF;*/
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
.vadmin-tabs-control:hover {
|
||||||
|
/*background: #F2F2F2;*/
|
||||||
|
color: #009688;
|
||||||
|
}
|
||||||
|
.v-tab .move-left {
|
||||||
|
left: 0;
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
.v-tab .move-right {
|
||||||
|
right: 40px;
|
||||||
|
}
|
||||||
|
.layui-icon-down {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.vadmin-tabs-select.layui-nav {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
padding: 0;
|
||||||
|
background: 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**tab的菜单**/
|
||||||
|
.vadmin-nav a,
|
||||||
|
.vadmin-tab a{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.v-right-nav-menu{
|
||||||
|
top:0;
|
||||||
|
right: 0;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: normal;
|
||||||
|
background: #F5F7F9;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.vadmin-tab{
|
||||||
|
height: 32px;
|
||||||
|
line-height: 32px;
|
||||||
|
width: 32px;
|
||||||
|
}
|
||||||
|
.vadmin-tab .vadmin-tab-item .vadmin-link {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-right-nav-menu:hover .vadmin-tab-item .vadmin-tab-child {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-tab .vadmin-tab-item .vadmin-tab-child {
|
||||||
|
position: absolute;
|
||||||
|
top: 40px;
|
||||||
|
right: 0;
|
||||||
|
display: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
line-height: 36px;
|
||||||
|
padding: 5px 0;
|
||||||
|
box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
|
||||||
|
border: 1px solid #d2d2d2;
|
||||||
|
background-color: #fff;
|
||||||
|
z-index: 100;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-tab .vadmin-tab-item a {
|
||||||
|
display: block;
|
||||||
|
padding: 0 20px;
|
||||||
|
color: #000;
|
||||||
|
transition: all .3s;
|
||||||
|
-webkit-transition: all .3s;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.vadmin-tab .vadmin-tab-item a:hover {
|
||||||
|
background: #F5F7F9;
|
||||||
|
}
|
||||||
|
.vadmin-tab .vadmin-tab-item .vadmin-tab-child:visited {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-tab .layui-tab-title {
|
||||||
|
margin: 0 80px 0 40px;
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
overflow-y: hidden !important;
|
||||||
|
width: max-content !important;
|
||||||
|
z-index: 9;
|
||||||
|
position: relative;
|
||||||
|
left: 0;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
.v-tab .layui-tab-title li{
|
||||||
|
height: 32px;
|
||||||
|
line-height: 32px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 3px;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.v-tab .layui-tab-brief > .layui-tab-more li.layui-this,
|
||||||
|
.v-tab .layui-tab-brief > .layui-tab-title .layui-this,
|
||||||
|
.v-tab .layui-tab-title li.layui-this {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #009688;
|
||||||
|
/*background: #F6F6F6;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-tab .layui-tab-brief > .layui-tab-more li.layui-this:after,
|
||||||
|
.v-tab .layui-tab-brief > .layui-tab-title .layui-this:after,
|
||||||
|
.v-tab .layui-tab-title .layui-this:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-tab .layui-tab-title .layui-this:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-tab-title cite {
|
||||||
|
padding-left: 5px;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*中国天气样式*/
|
||||||
|
.weather-v {
|
||||||
|
height: 49px;
|
||||||
|
line-height: 49px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.weather-v .iframe-style {
|
||||||
|
/*height: 415px;*/
|
||||||
|
/*height: 375px;*/
|
||||||
|
height: 50px;
|
||||||
|
padding-top: 9px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.weather-v .iframe-style:hover {
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*主体内容样式*/
|
||||||
|
.vadmin .content-body {
|
||||||
|
position: absolute;
|
||||||
|
top: 50px;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 220px;
|
||||||
|
z-index: 1;
|
||||||
|
overflow: hidden
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-tabs-select.layui-nav .layui-nav-item {
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-nav-item {
|
||||||
|
height: 49px;
|
||||||
|
line-height: 49px;
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
font-size: 14px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*主体内容选项卡内容样式*/
|
||||||
|
.content-body .layui-tab {
|
||||||
|
margin: 0;
|
||||||
|
/*position: relative;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin .content-body .layui-tab-content {
|
||||||
|
position: absolute;
|
||||||
|
top: 40px;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*使iframe高度100%,它的父类高度也需要100%*/
|
||||||
|
.vadmin .content-body .layui-tab-content .layui-tab-item {
|
||||||
|
height: 100%;
|
||||||
|
padding:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*使iframe高度100*/
|
||||||
|
.vadmin .content-body .layui-tab-content .layui-tab-item iframe {
|
||||||
|
height: 100%
|
||||||
|
}
|
||||||
|
|
||||||
|
/**隐藏左侧菜单**/
|
||||||
|
.layui-layout-admin.v-left-hide .v-left,
|
||||||
|
.layui-layout-admin.v-left-hide .v-left .vadmin-logo {
|
||||||
|
left: -220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-layout-admin.v-left-hide .layui-header .layui-layout-left {
|
||||||
|
left: -20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-layout-admin.v-left-hide .content-body,
|
||||||
|
.layui-layout-admin.v-left-hide .layui-footer {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#vae_admin_index_note {
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
#vae_admin_index_note textarea {
|
||||||
|
border:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-colorpicker {
|
||||||
|
border:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 以下都是移动端的处理响应
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*这里只是给元素加一些额外的效果也可以,去掉媒体查询效果一样*/
|
||||||
|
@media screen {
|
||||||
|
.layui-layout-admin .v-left,
|
||||||
|
.v-left .vadmin-logo,
|
||||||
|
.layui-header .layui-layout-left,
|
||||||
|
.layui-layout-admin .content-body,
|
||||||
|
.layui-layout-admin .layui-footer {
|
||||||
|
transition: left .5s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*移动端遮罩层*/
|
||||||
|
.v-make {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 9998;
|
||||||
|
background: rgba(0, 0, 0, .5);
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 970px) {
|
||||||
|
/*当屏幕宽度小于970时执行*/
|
||||||
|
.v-hide-md {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
[pc-show] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-layout-admin .v-left {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-input-search {
|
||||||
|
width: 7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-layout-admin.v-left-hide .v-left,
|
||||||
|
.layui-layout-admin.v-left-hide .v-left .vadmin-logo {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vadmin-header .layui-layout-left .layui-nav-item {
|
||||||
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-layout-admin.v-left-hide .v-make {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-layout-admin .v-left,
|
||||||
|
.v-left .vadmin-logo {
|
||||||
|
transition: left .5s;
|
||||||
|
left: -220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-header .layui-layout-left {
|
||||||
|
transition: left .5s;
|
||||||
|
left: -20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-layout-admin .content-body,
|
||||||
|
.layui-layout-admin .layui-footer {
|
||||||
|
transition: left .5s;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left .vadmin-side .user-photo {
|
||||||
|
height: auto;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left .user-photo a.img {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 移动端菜单的宽度
|
||||||
|
*/
|
||||||
|
.layui-side-menu .layui-side-scroll {
|
||||||
|
width: 200px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-left,
|
||||||
|
.v-left .vadmin-logo,
|
||||||
|
.v-left .vadmin-side .user-photo,
|
||||||
|
.v-left.layui-side-menu .layui-nav {
|
||||||
|
width: 180px !important;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,44 @@
|
||||||
|
.ul-context-menu {
|
||||||
|
list-style:none;
|
||||||
|
position:absolute;
|
||||||
|
top:0;
|
||||||
|
left:0;
|
||||||
|
z-index:9999;
|
||||||
|
padding:5px 0;
|
||||||
|
min-width:80px;
|
||||||
|
margin:0;
|
||||||
|
display:none;
|
||||||
|
font-family:微软雅黑;
|
||||||
|
font-size:14px;
|
||||||
|
background-color:#fff;
|
||||||
|
border:1px solid rgba(0, 0, 0, .15);
|
||||||
|
box-sizing:border-box;
|
||||||
|
border-radius:4px;
|
||||||
|
-webkit-box-shadow:0 4px 12px rgba(0, 0, 0, .1);
|
||||||
|
-moz-box-shadow:0 4px 12px rgba(0, 0, 0, .1);
|
||||||
|
-ms-box-shadow:0 4px 12px rgba(0, 0, 0, .1);
|
||||||
|
-o-box-shadow:0 4px 12px rgba(0, 0, 0, .1);
|
||||||
|
box-shadow:0 4px 12px rgba(0, 0, 0, .1)
|
||||||
|
}
|
||||||
|
.ul-context-menu .ui-context-menu-item {
|
||||||
|
margin:0;
|
||||||
|
padding:0
|
||||||
|
}
|
||||||
|
.ul-context-menu .ui-context-menu-item a {
|
||||||
|
display:block;
|
||||||
|
padding:0 10px;
|
||||||
|
color:#333;
|
||||||
|
white-space:nowrap;
|
||||||
|
text-decoration:none
|
||||||
|
}
|
||||||
|
.ul-context-menu .ui-context-menu-item a:hover {
|
||||||
|
text-decoration:none;
|
||||||
|
color:#262626
|
||||||
|
}
|
||||||
|
.ul-context-menu .ui-context-menu-item .icon {
|
||||||
|
width:16px;
|
||||||
|
height:16px;
|
||||||
|
margin-right:8px;
|
||||||
|
vertical-align:middle;
|
||||||
|
border:0
|
||||||
|
}
|
|
@ -0,0 +1,74 @@
|
||||||
|
/* Make clicks pass-through */
|
||||||
|
#nprogress {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#nprogress .bar {
|
||||||
|
background: #29d;
|
||||||
|
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1031;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
height: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fancy blur effect */
|
||||||
|
#nprogress .peg {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
right: 0px;
|
||||||
|
width: 100px;
|
||||||
|
height: 100%;
|
||||||
|
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
||||||
|
opacity: 1.0;
|
||||||
|
|
||||||
|
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
||||||
|
-ms-transform: rotate(3deg) translate(0px, -4px);
|
||||||
|
transform: rotate(3deg) translate(0px, -4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove these to get rid of the spinner */
|
||||||
|
#nprogress .spinner {
|
||||||
|
display: block;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1031;
|
||||||
|
top: 15px;
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#nprogress .spinner-icon {
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
border: solid 2px transparent;
|
||||||
|
border-top-color: #29d;
|
||||||
|
border-left-color: #29d;
|
||||||
|
border-radius: 50%;
|
||||||
|
|
||||||
|
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
||||||
|
animation: nprogress-spinner 400ms linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nprogress-custom-parent {
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nprogress-custom-parent #nprogress .spinner,
|
||||||
|
.nprogress-custom-parent #nprogress .bar {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes nprogress-spinner {
|
||||||
|
0% { -webkit-transform: rotate(0deg); }
|
||||||
|
100% { -webkit-transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
@keyframes nprogress-spinner {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
100% { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
.vadmin .v-left .vadmin-nav .layui-nav-item .layui-nav-child .layui-this a,.vadmin .v-left .vadmin-nav .layui-nav-item.layui-this a,.layui-nav-tree .layui-nav-bar{background:#009688;color:#ffffff;}
|
||||||
|
.v-tab .layui-tab-title li.layui-this{color:#009688;}
|
After Width: | Height: | Size: 20 KiB |
|
@ -0,0 +1,488 @@
|
||||||
|
/^http(s*):\/\//.test(location.href) || alert('请先部署到 localhost 下再访问');
|
||||||
|
|
||||||
|
var objvTab = "";
|
||||||
|
layui.config({
|
||||||
|
base: '/static/admin_static/module/'
|
||||||
|
}).define(["element", "layer", "vTab", "vContextMenu", 'colorpicker', 'nprogress', 'vae'], function () {
|
||||||
|
var $ = layui.jquery;
|
||||||
|
var layer = layui.layer,colorpicker = layui.colorpicker,vae = layui.vae;
|
||||||
|
|
||||||
|
// 加载主题
|
||||||
|
var theme = layui.data('vaeAdmin_theme').color || ['#009688','#ffffff'];
|
||||||
|
//左侧菜单选中时的主题颜色
|
||||||
|
document.styleSheets[1].cssRules[0].style.background=theme[0];
|
||||||
|
document.styleSheets[1].cssRules[0].style.color=theme[1];
|
||||||
|
// tab主题颜色
|
||||||
|
document.styleSheets[1].cssRules[1].style.color=theme[0];
|
||||||
|
|
||||||
|
|
||||||
|
var vTab = layui.vTab({
|
||||||
|
// 菜单请求路径
|
||||||
|
url: "/index.php/admin/index/getAdminMenuList",
|
||||||
|
// 允许同时选项卡的个数
|
||||||
|
openTabNum: 30,
|
||||||
|
// 如果返回的结果和navs.json中的数据结构一致可省略这个方法
|
||||||
|
parseData: function (data) {
|
||||||
|
return data.data;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
objvTab = vTab;
|
||||||
|
/**
|
||||||
|
* 左侧导航渲染完成之后的操作
|
||||||
|
*/
|
||||||
|
vTab.render(function () {
|
||||||
|
/**tab栏的鼠标右键事件**/
|
||||||
|
$("body .v-tab").vContextMenu({
|
||||||
|
width: 'auto',
|
||||||
|
itemHeight: 30,
|
||||||
|
menu: [
|
||||||
|
{
|
||||||
|
text: "定位所在页",
|
||||||
|
icon: "v-icon v-icon-location",
|
||||||
|
callback: function () {
|
||||||
|
vTab.positionTab();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: "关闭当前页",
|
||||||
|
icon: "v-icon v-icon-roundclose",
|
||||||
|
callback: function () {
|
||||||
|
vTab.tabClose(1);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: "关闭其他页",
|
||||||
|
icon: "v-icon v-icon-roundclose",
|
||||||
|
callback: function () {
|
||||||
|
vTab.tabClose(2);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: "关闭所有页",
|
||||||
|
icon: "v-icon v-icon-roundclose",
|
||||||
|
callback: function () {
|
||||||
|
|
||||||
|
vTab.tabClose(3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
//关掉除当前外的TAB
|
||||||
|
vTab.tabClose(2);
|
||||||
|
|
||||||
|
//判断是否锁定了界面
|
||||||
|
if(layui.data('vaeAdmin_lock').lock){
|
||||||
|
layer.prompt({
|
||||||
|
btn: ['立即解锁'],
|
||||||
|
title: ['屏幕已锁定,请输入解锁密码','background:'+theme[0]+';color:'+theme[1]],
|
||||||
|
closeBtn: 0,
|
||||||
|
formType: 1
|
||||||
|
}, function (value, index, elem) {
|
||||||
|
if (value.length < 1) {
|
||||||
|
layer.msg('请输入解锁密码');
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
if(value == layui.data('vaeAdmin_lock').lock){
|
||||||
|
layer.close(index);
|
||||||
|
$(".yy").hide();
|
||||||
|
//清除密码
|
||||||
|
layui.data('vaeAdmin_lock', {
|
||||||
|
key: 'lock'
|
||||||
|
,remove: true
|
||||||
|
});
|
||||||
|
layer.msg('解锁成功,欢迎回来!');
|
||||||
|
}else{
|
||||||
|
layer.msg('密码错误', {anim: 6, time: 1000});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加新窗口
|
||||||
|
*/
|
||||||
|
$("body").on("click", "#navBar .layui-nav-item a, #userInfo a", function () {
|
||||||
|
NProgress.start();
|
||||||
|
// 如果不存在子级
|
||||||
|
if ($(this).siblings().length == 0) {
|
||||||
|
vTab.tabAdd($(this));
|
||||||
|
}
|
||||||
|
// 关闭其他展开的二级标签
|
||||||
|
$(this).parent("li").siblings().removeClass("layui-nav-itemed");
|
||||||
|
if (!$(this).attr("lay-id")) {
|
||||||
|
var topLevelEle = $(this).parents("li.layui-nav-item");
|
||||||
|
var childs = $("#navBar > li > dl.layui-nav-child").not(topLevelEle.children("dl.layui-nav-child"));
|
||||||
|
childs.removeAttr("style");
|
||||||
|
}
|
||||||
|
NProgress.done();
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 左侧菜单展开动画
|
||||||
|
*/
|
||||||
|
$("#navBar").on("click", ".layui-nav-item a", function () {
|
||||||
|
if (!$(this).attr("lay-id")) {
|
||||||
|
var superEle = $(this).parent();
|
||||||
|
var ele = $(this).next('.layui-nav-child');
|
||||||
|
var height = ele.height();
|
||||||
|
ele.css({"display": "block"});
|
||||||
|
// 是否是展开状态
|
||||||
|
if (superEle.is(".layui-nav-itemed")) {
|
||||||
|
ele.height(0);
|
||||||
|
ele.animate({height: height + "px"}, function () {
|
||||||
|
ele.css({height: "auto"});
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
ele.animate({height: 0}, function () {
|
||||||
|
ele.removeAttr("style");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 左边菜单显隐功能
|
||||||
|
*/
|
||||||
|
$(".v-menu").click(function () {
|
||||||
|
$(".layui-layout-admin").toggleClass("v-left-hide");
|
||||||
|
$(this).find("i").toggleClass("v-menu-hide");
|
||||||
|
localStorage.setItem("isResize", false);
|
||||||
|
setTimeout(function () {
|
||||||
|
localStorage.setItem("isResize", true);
|
||||||
|
}, 1200);
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 移动端的处理事件
|
||||||
|
*/
|
||||||
|
$("body").on("click", ".layui-layout-admin .v-left a[data-url], .v-make", function () {
|
||||||
|
if ($(".layui-layout-admin").hasClass("v-left-hide")) {
|
||||||
|
$(".layui-layout-admin").removeClass("v-left-hide");
|
||||||
|
$(".v-menu").find('i').removeClass("v-menu-hide");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* tab左右移动
|
||||||
|
*/
|
||||||
|
$("body").on("click", ".vNavMove", function () {
|
||||||
|
var moveId = $(this).attr("data-id");
|
||||||
|
var that = this;
|
||||||
|
vTab.navMove(moveId, that);
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 刷新当前tab页
|
||||||
|
*/
|
||||||
|
$("body").on("click", ".v-refresh", function () {
|
||||||
|
NProgress.start();
|
||||||
|
vTab.refresh(this, function (vTab) {
|
||||||
|
//刷新之后所处理的事件
|
||||||
|
NProgress.done();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 关闭tab页
|
||||||
|
*/
|
||||||
|
$("body").on("click", "#tabAction a", function () {
|
||||||
|
var num = $(this).attr("data-num");
|
||||||
|
vTab.tabClose(num);
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 键盘的事件监听
|
||||||
|
*/
|
||||||
|
$("body").on("keydown", function (event) {
|
||||||
|
event = event || window.event || arguments.callee.caller.arguments[0];
|
||||||
|
|
||||||
|
// 按 Esc
|
||||||
|
if (event && event.keyCode === 27) {
|
||||||
|
console.log("Esc");
|
||||||
|
$("#fullScreen").children("i").eq(0).removeClass("layui-icon-screen-restore");
|
||||||
|
}
|
||||||
|
// 按 F11
|
||||||
|
if (event && event.keyCode == 122) {
|
||||||
|
console.log("F11");
|
||||||
|
$("#fullScreen").children("i").eq(0).addClass("layui-icon-screen-restore");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 全屏/退出全屏
|
||||||
|
*/
|
||||||
|
$("body").on("click", "#fullScreen", function () {
|
||||||
|
if ($(this).children("i").hasClass("layui-icon-screen-restore")) {
|
||||||
|
screenFun(2).then(function () {
|
||||||
|
$("#fullScreen").children("i").eq(0).removeClass("layui-icon-screen-restore");
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
screenFun(1).then(function () {
|
||||||
|
$("#fullScreen").children("i").eq(0).addClass("layui-icon-screen-restore");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 全屏和退出全屏的方法
|
||||||
|
* @param num 1代表全屏 2代表退出全屏
|
||||||
|
* @returns {Promise}
|
||||||
|
*/
|
||||||
|
function screenFun(num) {
|
||||||
|
num = num || 1;
|
||||||
|
num = num * 1;
|
||||||
|
var docElm = document.documentElement;
|
||||||
|
|
||||||
|
switch (num) {
|
||||||
|
case 1:
|
||||||
|
if (docElm.requestFullscreen) {
|
||||||
|
docElm.requestFullscreen();
|
||||||
|
} else if (docElm.mozRequestFullScreen) {
|
||||||
|
docElm.mozRequestFullScreen();
|
||||||
|
} else if (docElm.webkitRequestFullScreen) {
|
||||||
|
docElm.webkitRequestFullScreen();
|
||||||
|
} else if (docElm.msRequestFullscreen) {
|
||||||
|
docElm.msRequestFullscreen();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
if (document.exitFullscreen) {
|
||||||
|
document.exitFullscreen();
|
||||||
|
} else if (document.mozCancelFullScreen) {
|
||||||
|
document.mozCancelFullScreen();
|
||||||
|
} else if (document.webkitCancelFullScreen) {
|
||||||
|
document.webkitCancelFullScreen();
|
||||||
|
} else if (document.msExitFullscreen) {
|
||||||
|
document.msExitFullscreen();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return new Promise(function (res, rej) {
|
||||||
|
res("返回值");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退出操作
|
||||||
|
*/
|
||||||
|
$("#logout").click(function () {
|
||||||
|
layer.confirm("确定要退出吗?", {icon: 3, title:['警告','background:'+theme[0]+';color:'+theme[1]]}, function (index) {
|
||||||
|
$.ajax({
|
||||||
|
url:'/index.php/admin/index/adminLogout',
|
||||||
|
type:'post',
|
||||||
|
success:function(e){
|
||||||
|
if(e.code == 200) {
|
||||||
|
layer.msg(e.msg);
|
||||||
|
vTab.removeTabStorage(function (res) {
|
||||||
|
vTab.removeTabStorage();
|
||||||
|
setTimeout(function(){
|
||||||
|
window.location = e.data;
|
||||||
|
},1500);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 锁定账户
|
||||||
|
*/
|
||||||
|
$("#lock").click(function () {
|
||||||
|
$(".yy").show();
|
||||||
|
layer.prompt({
|
||||||
|
btn: ['立即锁屏'],
|
||||||
|
title: ['设定密码可锁定屏幕','background:'+theme[0]+';color:'+theme[1]],
|
||||||
|
formType: 1
|
||||||
|
}, function (value, index, elem) {
|
||||||
|
if (value.length < 1) {
|
||||||
|
layer.msg('请先输入解锁密码');
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
layui.data('vaeAdmin_lock', {
|
||||||
|
key: 'lock'
|
||||||
|
,value: value
|
||||||
|
});
|
||||||
|
layer.close(index);
|
||||||
|
layer.prompt({
|
||||||
|
btn: ['解锁'],
|
||||||
|
title: ['屏幕已锁定,请输入解锁密码','background:'+theme[0]+';color:'+theme[1]],
|
||||||
|
closeBtn: 0,
|
||||||
|
formType: 1
|
||||||
|
}, function (value, index, elem) {
|
||||||
|
if (value.length < 1) {
|
||||||
|
layer.msg('请输入解锁密码');
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
if(value == layui.data('vaeAdmin_lock').lock){
|
||||||
|
layer.close(index);
|
||||||
|
$(".yy").hide();
|
||||||
|
//清除密码
|
||||||
|
layui.data('vaeAdmin_lock', {
|
||||||
|
key: 'lock'
|
||||||
|
,remove: true
|
||||||
|
});
|
||||||
|
layer.msg('解锁成功,欢迎回来!');
|
||||||
|
}else{
|
||||||
|
layer.msg('密码错误', {anim: 6, time: 1000});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点击头像修改资料
|
||||||
|
* @Author 听雨
|
||||||
|
* @DateTime 2020-03-12
|
||||||
|
* @param {[type]} ){ layer.open({ type: 2, content:"/index.php/admin/index/editAdminInfo", title:["修改个人信息",'background:'+theme[0]+';color:'+theme[1]], area: ['50%', '50%'] }) } [description]
|
||||||
|
* @return {[type]} [description]
|
||||||
|
*/
|
||||||
|
$('#thumb').click(function(){
|
||||||
|
layer.open({
|
||||||
|
type: 2,
|
||||||
|
content:"/index.php/admin/index/editAdminInfo",
|
||||||
|
title:["修改个人信息",'background:'+theme[0]+';color:'+theme[1]],
|
||||||
|
area: ['50%', '50%']
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 便签
|
||||||
|
* @Author 听雨
|
||||||
|
* @DateTime 2020-03-11
|
||||||
|
* @param {[type]} ) { layer.confirm("确定要锁定账户吗?", function (index) { layer.close(index); $(".yy").show(); layer.prompt({ btn: ['确定'], title: '输入密码解锁(123456)', closeBtn: 0, formType: 1 } [description]
|
||||||
|
* @param {[type]} function (value, index, elem) { if (value [description]
|
||||||
|
* @return {[type]} [description]
|
||||||
|
*/
|
||||||
|
$("#note").click(function () {
|
||||||
|
let note = layui.data('vaeAdmin_note').note || '这是一个本地的便签';
|
||||||
|
layer.prompt({
|
||||||
|
formType: 2,
|
||||||
|
value: note,
|
||||||
|
title: ['便签','background:'+theme[0]+';color:'+theme[1]],
|
||||||
|
area: ['280px', '140px'], //自定义文本域宽高
|
||||||
|
offset: ['50px', 'calc(100% - 400px)'],
|
||||||
|
btn: false,
|
||||||
|
shade: 0,
|
||||||
|
id: "vae_admin_index_note"
|
||||||
|
});
|
||||||
|
$('#vae_admin_index_note').bind('input propertychange','textarea',function(){
|
||||||
|
var text = $('#vae_admin_index_note textarea').val();
|
||||||
|
layui.data('vaeAdmin_note', {
|
||||||
|
key: 'note'
|
||||||
|
,value: text
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 清除系统缓存
|
||||||
|
* @Author 听雨
|
||||||
|
* @DateTime 2020-03-09
|
||||||
|
* @param {[type]} e){ var that [description]
|
||||||
|
* @param {[type]} 1000) } else { layer.tips(res.msg,that); $("[vaeyo-loading]").hide(); } } }) } [description]
|
||||||
|
* @return {[type]} [description]
|
||||||
|
*/
|
||||||
|
$("#vae-del-cache").on('click', function(e){
|
||||||
|
var that = $(this);
|
||||||
|
layer.confirm('确定要清空系统缓存吗?', {icon: 3, title:['警告','background:'+theme[0]+';color:'+theme[1]]}, function(index){
|
||||||
|
//do something
|
||||||
|
if(that.attr('class') === 'clearThis'){
|
||||||
|
layer.tips('正在努力清理中...',that);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
layer.tips('正在清理系统缓存...',that);
|
||||||
|
that.attr('class','clearThis');
|
||||||
|
$.ajax({
|
||||||
|
url:"/index.php/admin/index/cacheClear",
|
||||||
|
success:function(res){
|
||||||
|
that.attr('class','');
|
||||||
|
if(res.code == 200){
|
||||||
|
setTimeout(function(){
|
||||||
|
layer.tips(res.msg,that);
|
||||||
|
},1000)
|
||||||
|
} else {
|
||||||
|
layer.tips(res.msg,that);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
layer.close(index);
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主题
|
||||||
|
* @Author 听雨
|
||||||
|
* @DateTime 2020-03-09
|
||||||
|
* @param {[type]} color){ layer.msg("换个颜色换种心情"); } [description]
|
||||||
|
* @param {[type]} change: function(color){ var RgbValue [description]
|
||||||
|
* @return {Function} [description]
|
||||||
|
*/
|
||||||
|
colorpicker.render({
|
||||||
|
elem: '#vae-color'
|
||||||
|
,color: theme ? theme[0] : '#009688'
|
||||||
|
,format: 'rgb'
|
||||||
|
,predefine: true
|
||||||
|
// ,alpha: true
|
||||||
|
,size: "xs"
|
||||||
|
,done: function(color){
|
||||||
|
var RgbValue = color.replace("rgba(", "").replace(")", "");
|
||||||
|
var RgbValueArry = RgbValue.split(",");
|
||||||
|
var $grayLevel = RgbValueArry[0] * 0.299 + RgbValueArry[1] * 0.587 + RgbValueArry[2] * 0.114;
|
||||||
|
var thatColor;
|
||||||
|
if ($grayLevel >= 192) {
|
||||||
|
thatColor = "#000000";
|
||||||
|
} else {
|
||||||
|
thatColor = "#ffffff";
|
||||||
|
}
|
||||||
|
layui.data('vaeAdmin_theme', {
|
||||||
|
key: 'color'
|
||||||
|
,value: [color,thatColor]
|
||||||
|
});
|
||||||
|
layer.msg("主题设置成功,双击主题按钮可恢复默认");
|
||||||
|
}
|
||||||
|
,change: function(color){
|
||||||
|
var RgbValue = color.replace("rgba(", "").replace(")", "");
|
||||||
|
var RgbValueArry = RgbValue.split(",");
|
||||||
|
var $grayLevel = RgbValueArry[0] * 0.299 + RgbValueArry[1] * 0.587 + RgbValueArry[2] * 0.114;
|
||||||
|
var thatColor;
|
||||||
|
if ($grayLevel >= 192) {
|
||||||
|
thatColor = "#000";
|
||||||
|
} else {
|
||||||
|
thatColor = "#fff";
|
||||||
|
}
|
||||||
|
|
||||||
|
//左侧菜单选中时的主题颜色
|
||||||
|
document.styleSheets[1].cssRules[0].style.background=color;
|
||||||
|
document.styleSheets[1].cssRules[0].style.color=thatColor;
|
||||||
|
// tab主题颜色
|
||||||
|
document.styleSheets[1].cssRules[1].style.color=color;
|
||||||
|
theme = [color,thatColor];
|
||||||
|
layer.msg("您正在预览主题,点击确定完成主题设置");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#vae-color').on('dblclick', function(e){
|
||||||
|
layui.data('vaeAdmin_theme', {
|
||||||
|
key: 'color'
|
||||||
|
,remove: true
|
||||||
|
});
|
||||||
|
//左侧菜单选中时的主题颜色
|
||||||
|
document.styleSheets[1].cssRules[0].style.background='#009688';
|
||||||
|
document.styleSheets[1].cssRules[0].style.color="#ffffff";
|
||||||
|
// tab主题颜色
|
||||||
|
document.styleSheets[1].cssRules[1].style.color='#009688';
|
||||||
|
|
||||||
|
theme = ['#009688','#ffffff'];
|
||||||
|
layer.msg("主题已成功恢复默认");
|
||||||
|
})
|
||||||
|
});
|
|
@ -0,0 +1,539 @@
|
||||||
|
/* Logo 字体 */
|
||||||
|
@font-face {
|
||||||
|
font-family: "iconfont logo";
|
||||||
|
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
|
||||||
|
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
|
||||||
|
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
|
||||||
|
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
|
||||||
|
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
font-family: "iconfont logo";
|
||||||
|
font-size: 160px;
|
||||||
|
font-style: normal;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* tabs */
|
||||||
|
.nav-tabs {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-tabs .nav-more {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
height: 42px;
|
||||||
|
line-height: 42px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tabs {
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tabs li {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 16px;
|
||||||
|
border-bottom: 2px solid transparent;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
margin-bottom: -1px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#tabs .active {
|
||||||
|
border-bottom-color: #f00;
|
||||||
|
color: #222;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-container .content {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 页面布局 */
|
||||||
|
.main {
|
||||||
|
padding: 30px 100px;
|
||||||
|
width: 960px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .logo {
|
||||||
|
color: #333;
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
line-height: 1;
|
||||||
|
height: 110px;
|
||||||
|
margin-top: -50px;
|
||||||
|
overflow: hidden;
|
||||||
|
*zoom: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .logo a {
|
||||||
|
font-size: 160px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helps {
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helps pre {
|
||||||
|
padding: 20px;
|
||||||
|
margin: 10px 0;
|
||||||
|
border: solid 1px #e7e1cd;
|
||||||
|
background-color: #fffdef;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists {
|
||||||
|
width: 100% !important;
|
||||||
|
overflow: hidden;
|
||||||
|
*zoom: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists li {
|
||||||
|
width: 100px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-right: 20px;
|
||||||
|
text-align: center;
|
||||||
|
list-style: none !important;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists li .code-name {
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists .icon {
|
||||||
|
display: block;
|
||||||
|
height: 100px;
|
||||||
|
line-height: 100px;
|
||||||
|
font-size: 42px;
|
||||||
|
margin: 10px auto;
|
||||||
|
color: #333;
|
||||||
|
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
|
||||||
|
-moz-transition: font-size 0.25s linear, width 0.25s linear;
|
||||||
|
transition: font-size 0.25s linear, width 0.25s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists .icon:hover {
|
||||||
|
font-size: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists .svg-icon {
|
||||||
|
/* 通过设置 font-size 来改变图标大小 */
|
||||||
|
width: 1em;
|
||||||
|
/* 图标和文字相邻时,垂直对齐 */
|
||||||
|
vertical-align: -0.15em;
|
||||||
|
/* 通过设置 color 来改变 SVG 的颜色/fill */
|
||||||
|
fill: currentColor;
|
||||||
|
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
|
||||||
|
normalize.css 中也包含这行 */
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists li .name,
|
||||||
|
.icon_lists li .code-name {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* markdown 样式 */
|
||||||
|
.markdown {
|
||||||
|
color: #666;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight {
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown img {
|
||||||
|
vertical-align: middle;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h1 {
|
||||||
|
color: #404040;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 40px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h2,
|
||||||
|
.markdown h3,
|
||||||
|
.markdown h4,
|
||||||
|
.markdown h5,
|
||||||
|
.markdown h6 {
|
||||||
|
color: #404040;
|
||||||
|
margin: 1.6em 0 0.6em 0;
|
||||||
|
font-weight: 500;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h1 {
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h2 {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h3 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h4 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h5 {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h6 {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown hr {
|
||||||
|
height: 1px;
|
||||||
|
border: 0;
|
||||||
|
background: #e9e9e9;
|
||||||
|
margin: 16px 0;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown p {
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>p,
|
||||||
|
.markdown>blockquote,
|
||||||
|
.markdown>.highlight,
|
||||||
|
.markdown>ol,
|
||||||
|
.markdown>ul {
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown ul>li {
|
||||||
|
list-style: circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>ul li,
|
||||||
|
.markdown blockquote ul>li {
|
||||||
|
margin-left: 20px;
|
||||||
|
padding-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>ul li p,
|
||||||
|
.markdown>ol li p {
|
||||||
|
margin: 0.6em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown ol>li {
|
||||||
|
list-style: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>ol li,
|
||||||
|
.markdown blockquote ol>li {
|
||||||
|
margin-left: 20px;
|
||||||
|
padding-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown code {
|
||||||
|
margin: 0 3px;
|
||||||
|
padding: 0 5px;
|
||||||
|
background: #eee;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown strong,
|
||||||
|
.markdown b {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0px;
|
||||||
|
empty-cells: show;
|
||||||
|
border: 1px solid #e9e9e9;
|
||||||
|
width: 95%;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table th {
|
||||||
|
white-space: nowrap;
|
||||||
|
color: #333;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table th,
|
||||||
|
.markdown>table td {
|
||||||
|
border: 1px solid #e9e9e9;
|
||||||
|
padding: 8px 16px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table th {
|
||||||
|
background: #F7F7F7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown blockquote {
|
||||||
|
font-size: 90%;
|
||||||
|
color: #999;
|
||||||
|
border-left: 4px solid #e9e9e9;
|
||||||
|
padding-left: 0.8em;
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown blockquote p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown .anchor {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown .waiting {
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h1:hover .anchor,
|
||||||
|
.markdown h2:hover .anchor,
|
||||||
|
.markdown h3:hover .anchor,
|
||||||
|
.markdown h4:hover .anchor,
|
||||||
|
.markdown h5:hover .anchor,
|
||||||
|
.markdown h6:hover .anchor {
|
||||||
|
opacity: 1;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>br,
|
||||||
|
.markdown>p>br {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
background: white;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #333333;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #969896;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #df5000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-type {
|
||||||
|
color: #a71d5d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #0086b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name {
|
||||||
|
color: #63a35c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag {
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #795da3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
color: #55a532;
|
||||||
|
background-color: #eaffea;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #bd2c00;
|
||||||
|
background-color: #ffecec;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 代码高亮 */
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::-moz-selection,
|
||||||
|
pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection,
|
||||||
|
code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::selection,
|
||||||
|
pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection,
|
||||||
|
code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre)>code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #f5f2f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre)>code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #9a6e3a;
|
||||||
|
background: hsla(0, 0%, 100%, .5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #DD4A68;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
After Width: | Height: | Size: 379 KiB |
|
@ -0,0 +1,129 @@
|
||||||
|
v1.38 2016-03-27 新功能、性能优化
|
||||||
|
|
||||||
|
1,增加带参数查询示例:search.html;
|
||||||
|
2,dataType增加支持jsonp,示例:jsonp.html;
|
||||||
|
3,settings增加dataTrim,是否trim单元格值,默认true,与之前版本处理相同,dataTrim为false则不trim,使用示例:nested-json.html;
|
||||||
|
4,修复编辑模式下addNewEditRow前表格必须有一行的bug,改为表格初始化后必须有一行即可;
|
||||||
|
5,gridObj增加clearRowData(rowIndex)及loadRowData(record, rowIndex)方法;
|
||||||
|
6,additionalRenderPerColumn改为在additionalRenderPerRow之前执行,renderPerColumnMethods改为在renderPerRowMethods之前执行;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
v1.37 2015-11-24 使用优化、性能优化、BUG修复
|
||||||
|
|
||||||
|
1,修复pageSize为0或pageAll为tue且数据条数为0时隐藏不了表头列的bug;
|
||||||
|
2,增加参数showPageToolbar控制是否显示分页工具条,默认值true显示;
|
||||||
|
3,增加9个方法,获取分页及排序相关值;
|
||||||
|
4,修复当页记录条数为0时不执行afterRenderGridMethods系列方法的bug;
|
||||||
|
5,增加grid属性ajaxType,默认post,可修改为get;
|
||||||
|
6,增强分页工具条的按钮显示、最小宽度自定义;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
v1.36 2015-06-25 功能扩展、完善示例
|
||||||
|
|
||||||
|
1,禁止拖动表头改变列宽时选中表头文本;
|
||||||
|
2,修改表格渲染数据支持返回非最后一页数据行数不等于pageSize的异常情况,考虑的是集群大数据情况下数据可能不正常;
|
||||||
|
3,定义了一个全局的alert方法$.bsgrid.alert(msg),方便被用于重写;
|
||||||
|
4,grid.extend.js代码优化;
|
||||||
|
5,修复Firefox下表头拖动bug,并优化拖动体验;
|
||||||
|
6,表底聚合增加自定义聚合,示例:w_agg="custom,countXhMultId",custom表示自定义,逗号后面的表示自定义聚合函数;
|
||||||
|
7,新增获取表格行Dom对象、行单元格Dom对象、列单元格Dom对象、单元格Dom对象、单元格Record值、select选择行索引的方法;
|
||||||
|
8,表格在线编辑新增新增行、删除行方法;
|
||||||
|
9,控制表体最小宽度不小于分页工具条宽度;
|
||||||
|
10,新增获取checked行的index值的方法;
|
||||||
|
11,新增获取所有记录值的方法;
|
||||||
|
12,优化样式,逐步增加对响应式的支持;
|
||||||
|
13,完善工具条宽度与grid宽度相同,支持改动grid宽度;
|
||||||
|
14,grid增加search方法,即gridObj.search(params),params支持三种方式,
|
||||||
|
一:'param1=val1¶m2=val2';二:{'param1': 'val1', 'param2': 'val2'};三、$('#searchForm').serializeArray();
|
||||||
|
15,增加行选择及反选事件支持selectRowEvent、unselectRowEvent;
|
||||||
|
16,增加对行、单元格、单元格编辑表单jQuery标准事件的支持,去掉getColumnAttr方法,增加getColumnModel方法;
|
||||||
|
columnModel属性:sortName, sortOrder, index, render, tip, maxLen, align, hidden
|
||||||
|
扩展属性:lineNumber, check, edit, 扩展表底属性:aggName, aggIndex
|
||||||
|
17,增加表格编辑的自定义编辑表单功能(extend.settings.gridEditConfigs);
|
||||||
|
18,增加layui系列的laypage、laydate、layer演示;
|
||||||
|
19,增加划过行变色rowHoverColor属性,默认false;
|
||||||
|
20,完善示例、文档;
|
||||||
|
21,修改属性名changeColorIfRowSelected为rowSelectedColor,默认值true有行背景色;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
v1.35 2015-04-28 性能优化、功能增强
|
||||||
|
|
||||||
|
1,优化grid及grid.extend的性能(减少非配置必须的js执行,一千条数据加载速度快一倍多);
|
||||||
|
2,options.otherParames支持String型参数串(示例:param1=val1¶m2=val2);
|
||||||
|
3,local json、xml data数据增加分页功能,简化数据构造;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
v1.34 2015-02-05 功能增强
|
||||||
|
|
||||||
|
1,grid增加userdata,对于json数据其值可以是一个简单的值或json Object或者json Array;
|
||||||
|
对于json数据其值可以是一个简单的值或xml串;
|
||||||
|
配置processUserdata以处理userdata,使用grid.getUserdata()获取userdata;
|
||||||
|
2,增加动态表头示例,使用userdata进行简易的动态表头处理;
|
||||||
|
3,修复表格渲染数据由使用$(cellValue).text().length == 0判断cellValue是否html字符串,cellValue是特别特殊情况造成js异常的bug;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
v1.33 2015-02-04 文档优化、示例优化、bug修复
|
||||||
|
|
||||||
|
1,修复grid使用hover样式后分页时遮罩颜色异常问题;
|
||||||
|
2,去掉grid.paging.little.css及grid.paging.little.js,简化为使用参数pagingLittleToolbar控制显示分页的little或正常样式;
|
||||||
|
3,去掉html表格table的class="bsgrid"样式,改为使用jquery的addClass方法添加此样式,代码更简洁;
|
||||||
|
4,优化皮肤样式;
|
||||||
|
5,给grid的bootstrap皮肤增加little paging工具条图标按钮样式;
|
||||||
|
6,修改grid表格初始化init时不能使用参数otherParames的bug;
|
||||||
|
7,修复grid表格checkbox选中不联动的bug;
|
||||||
|
8,添加底部分页工具条额外增加按钮示例paging.button.html及paging.little.button.html;
|
||||||
|
9,grid增加配置参数lineWrap,默认false表示不换行且超长时显示省略号,设置为true超长则折行显示;
|
||||||
|
10,扩展增加表格列属性w_num以用于显示行号,值为line、total_line,分别表示当前页的数据行号、所有记录的数据行号;
|
||||||
|
11,修改表格渲染数据支持返回非最后一页数据行数不等于pageSize的异常情况;
|
||||||
|
12,中文化主要的文档示例;
|
||||||
|
13,修复配置参数pageSizeForGrid只能增加分页大小不能减少的bug;
|
||||||
|
14,增加参数pageIncorrectTurnAlert以控制翻页翻尽时再点击按钮是否弹出提示框,默认true;
|
||||||
|
15,简化示例,网站文档优化;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
v1.32 2015-01-22
|
||||||
|
|
||||||
|
1,扩展(grid.extend)可拖动改变表头宽度;
|
||||||
|
2,优化项目目录结构;
|
||||||
|
3,完善grid的单元格tip展示,对于index有正确值且其value值不包括html标签元素,才计算其value长度并判断是否截断与tip展示;
|
||||||
|
4,示例集成jquery.validationEngine.js例子演示;
|
||||||
|
5,扩展(grid.extend)类似jqGrid的多字段选择查询效果;
|
||||||
|
6,初步实现表格在线编辑功能;
|
||||||
|
7,修正checked属性在jQuery1.6以后使用attr()方法的bug,改为1.6后使用prop()方法,提供工具方法$.bsgrid.adaptAttrOrProp(obj, prop, val);
|
||||||
|
8,给grid提供属性changeColorIfRowSelected,以便于自定义选中行后是否变色,默认为true有行背景色;
|
||||||
|
9,增加Pure Gray、jqGrid、EasyUI、Bootstrap风格表格皮肤;
|
||||||
|
10,重大更新,完善表格生成为thead、tbody、tfoot结构;
|
||||||
|
11,表格支持多行表头,渲染数据以表头的最后一行为准,另多行表头暂不支持列宽手动调整;
|
||||||
|
12,表格支持表底,表底支持count、countNotNone、sum、avg、max、min、concat聚合;
|
||||||
|
13,给分页工具条增加刷新按钮;
|
||||||
|
14,支持多字段排序;
|
||||||
|
15,扩展表格可设置参数固定表头,滚动表体数据(注意此特性对于IE仅支持IE8及以上,Chrome、Firefox等不限),支持多行表头,注意支持列合并不支持行合并;
|
||||||
|
16,支持本地json、xml数据;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
v1.30 2014-12-05 定型版本
|
||||||
|
|
||||||
|
定型说明:
|
||||||
|
1,完全兼容1.21版本(第一次对外发布的版本);
|
||||||
|
2,之前版本的Change Log未详细记录,本次统一归到当前版本V1.30中;
|
||||||
|
|
||||||
|
版本概述:
|
||||||
|
1,插件包括grid、paging、form、button四大模块,每个模块都可以单独使用,并有有两个工具js,util.js及export.js;
|
||||||
|
2,插件放开了属性及方法的全局修改权限,所有方法都可在外部进行全局重写,而无需修改插件本身的代码;
|
||||||
|
3,grid支持json、xml两种数据格式;
|
||||||
|
支持分页或者不分页的数据展示,且非常容易集成第三方paging工具条一起使用;
|
||||||
|
内置了多套皮肤,并且非常容易扩展,一个皮肤样式的未压缩CSS样式代码量不足40行;
|
||||||
|
提供grid.extend扩展,推荐grid扩展接口使用方式,更方便扩展;
|
||||||
|
支持友好的导出参数构建;
|
||||||
|
自带load加载数据遮罩,并很容易进行扩展或重写;
|
||||||
|
4,paging可单独使用,并可扩展或简化使用,且非常容易修改样式;
|
||||||
|
提供分页循环往复属性,可做图片轮播效果,此配置属性loopback默认false;
|
||||||
|
5,form提供简洁但非常实用的表单处理能力,并提供了较大的灵活空间;
|
||||||
|
6,button仅提供按钮样式,可单独使用;
|
|
@ -0,0 +1,201 @@
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright {yyyy} {name of copyright owner}
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
|
@ -0,0 +1,38 @@
|
||||||
|
jQuery.bsgrid - 简单实用、功能丰富、易扩展的jQuery Grid插件
|
||||||
|
=======================================================
|
||||||
|
|
||||||
|
<a href="http://thebestofyouth.com/bsgrid/" target="_blank">jQuery.bsgrid</a>,支持json、xml数据格式,皮肤丰富并且容易定制,支持表格编辑、本地数据、导出参数构建等实用便捷的功能,容易扩展,更拥有丰富的示例以及问题反馈的及时响应。
|
||||||
|
|
||||||
|
源码:[Github](https://github.com/baishui2004/jquery.bsgrid/)     演示:<a href="http://bsgrid.daoapp.io/documention/themes.html" target="_blank">皮肤</a> <a href="http://bsgrid.daoapp.io/examples/zh-CN.html" target="_blank">示例</a> <a href="http://bsgrid.daoapp.io/documention/documention.zh-CN.html" target="_blank">文档</a>
|
||||||
|
版本:1.38-preview   协议:Apache Licence 2   更新:2016-01-21
|
||||||
|
依赖:jQuery 1.4.4 ~~ jQuery 1.12.2   支持:IE6+、Chrome、Firefox等
|
||||||
|
|
||||||
|
QQ群交流:254754154   捐助:<a href="http://bsgrid.daoapp.io/donate.html" target="_blank" style="text-decoration: none;">支持长远发展,感谢您的认可!</a>
|
||||||
|
|
||||||
|
### 皮肤效果 ###
|
||||||
|
内置多套皮肤(点击图片查看示例页面),并可非常容易的定制皮肤[示例:<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/themes/custom.html" target="_blank">Custom Blue Style</a>]
|
||||||
|
<a href="http://bsgrid.daoapp.io/examples/grid/simple.html" target="_blank"><img title="点击图片查看示例页面" src="http://git.oschina.net/bs2004/jquery.bsgrid/raw/v1.37/documention/images/themes.jpg" /></a>
|
||||||
|
|
||||||
|
### bsgrid的由来 ###
|
||||||
|
  首先,解释插件名称为何叫bsgrid,是因为作者常用bs开头的字符做英文账号的缘故。bsgrid的诞生因为主流插件、框架的grid使用或扩展比较复杂,而本插件作者力图开发一款使用简单、功能实用、容易扩展的grid控件,目前已初步实现此目标。
|
||||||
|
|
||||||
|
### bsgrid的特点 ###
|
||||||
|
  1,简单、轻量,基于jQuery及HTML Table,<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/simple.html" target="_blank">简单的表格</a>只需数十行代码,支持<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/load-time-test.html" target="_blank">大数据量表格</a>;
|
||||||
|
  2,内置<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/simple.html" target="_blank">多套经典皮肤</a>,且非常容易<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/themes/custom.html" target="_blank">定制</a>,字体定制只需要修改两处CSS代码即可;
|
||||||
|
  3,实用便捷的功能:<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/edit.html" target="_blank">表格编辑</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/foot.html" target="_blank">表底聚合</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/no-pagation.html" target="_blank">不分页</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/multi-header.html" target="_blank">多行表头</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/multi-sort.html" target="_blank">多字段排序</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/local/json.html" target="_blank">本地数据</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/userdata.html" target="_blank">处理Userdata</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/move-column-extend.html" target="_blank">拖动列宽</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/grid/fixed-header/fixed-header-extend.html" target="_blank">滚动表格数据</a>等;
|
||||||
|
  4,易与其他插件集成使用,示例展示了集成<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/layui/layer.html" target="_blank">Layui</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/artDialog/gridAndForm.html" target="_blank">ArtDialog</a>、<a href="http://bsgrid.daoapp.io/examples/zh-CN.html#href=examples/form/validation.html" target="_blank">jquery.validationEngine</a>、第三方分页工具条等的使用;
|
||||||
|
  5,扩展性好,插件有特别好的扩展性,易于对插件本身进行局部甚至较大的修改,易于改变展现样式;插件放开了属性及方法的全局修改权限,所有方法都可在外部进行全局重写,而无需修改插件本身的代码;
|
||||||
|
  6,模块化JS、CSS代码,可按需加载,代码精致简洁,对于阅读、修改、扩展非常容易。
|
||||||
|
|
||||||
|
### 关于主流Grid ###
|
||||||
|
<b>整体评论主流grid:</b>
|
||||||
|
  1,比较适用于内部系统,对于外部系统适用而言,想要改变皮肤样式,字体大小等都非常困难;
|
||||||
|
  2,过度封装,造成了其扩展性能不是很好,并且其methods、properties很多,上手不容易;
|
||||||
|
  3,大多数不提供多行表头、表格聚合、不分页表格、本地数据等实用却强大的功能。
|
||||||
|
|
||||||
|
<b>分别评论几个主流grid,个人见解:</b>
|
||||||
|
  1,<a href="http://www.sencha.com/products/extjs/" target="_blank">ExtJS</a>,功能丰富,封装好,但属重量级产品,需要加载大体积文件,且响应速度较慢,需商业授权,一般用于内部系统;
|
||||||
|
  2,<a href="http://dhtmlx.com/" target="_blank">DHtmlx</a>,同样功能丰富,封装好,不过其可以根据所需要的模块进行加载,速度方面快于ExtJS,需商业授权,由于其样式不易修改,同样一般用于内部系统;
|
||||||
|
  3,<a href="http://www.jeasyui.com/" target="_blank">EasyUI</a>,基于jQuery,语法使用jQuery,却部分地方像ExtJS的写法,在不需其源码的情况下无需商业授权,因无源码而不方便按需模块化加载,也很难改变皮肤样式;
|
||||||
|
  4,<a href="http://www.jqgrid.com/" target="_blank">jQGrid</a>,基于jQuery,开源免费且功能特别强大,但同样其样式不易修改;
|
||||||
|
  5,<a href="http://www.flexigrid.info/" target="_blank">Flexigrid</a>,基于jQuery,功能逊色,但轻量级,methods、properties较少,不失为想用ExtJS Grid或EasyUI Grid却难以上手这两者的另外一个选择。
|
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid_form{width:100%;font-size:13px;background-color:white}.bsgrid_form .formLabel{width:20%;color:#000;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bsgrid_form .formInput{width:80%;color:#333;text-align:left;overflow:auto}.bsgrid_form .formInput input,.bsgrid_form .formInput select,.bsgrid_form .formInput textarea,.bsgrid_form .formInput div.assist{width:64%;background-color:white}.bsgrid_form .formInput input{height:1.8em;line-height:1.8em;vertical-align:middle;padding-left:1px}.bsgrid_form .formInput textarea,.bsgrid_form .formInput div.assist{height:8em}.bsgrid_form .formInput div.assist{overflow:auto;word-wrap:break-word;word-break:break-all}.bsgrid_form .formInput .radio{width:20px}.bsgrid_form .formInput .checkbox{width:20px;text-align:left}.bsgrid_form .formInput .inputTip{margin-left:3px;color:#f18300;font-size:12px}.bsgrid_form .require{color:#f00;font-weight:bold;line-height:1.5em}
|
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid th .bsgrid_editgrid_check,.bsgrid td .bsgrid_editgrid_check{text-align:inherit}.bsgrid th .bsgrid_editgrid_checkbox,.bsgrid td .bsgrid_editgrid_checkbox{text-align:inherit}.bsgrid td .bsgrid_editgrid_edit{width:95%;text-align:inherit}.bsgrid td .bsgrid_editgrid_change{border-color:hotpink}.bsgrid td .bsgrid_editgrid_hidden{display:none}
|
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid{font-size:13px;font-family:'微软雅黑',Verdana,sans-serif,'宋体',serif}table.bsgrid{width:98%;margin-right:5px;border-collapse:collapse}.bsgrid th,.bsgrid td{padding:3px;border:solid 1px #ccc;background-color:white;text-align:center;color:#333;line-height:1.8em}.bsgrid td.lineWrap{word-break:break-all}.bsgrid td.lineNoWrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bsgrid th{font-weight:400;background:url(../images/skins/default/bg.gif) repeat-x #f4f4f4}.bsgrid tr.even_index_row td{background-color:#eef}.bsgrid tr.row_hover td{background-color:#fff1cc!important}.bsgrid tr.selected.selected_color td{background-color:#fff1cc!important}.bsgrid a{color:#f60;text-decoration:none}.bsgrid th .sort.sort-view{background:url(../images/sort-view.gif) no-repeat center;margin-left:3px}.bsgrid th .sort.sort-asc{background:url(../images/sort-asc.gif) no-repeat top;margin-left:3px}.bsgrid th .sort.sort-desc{background:url(../images/sort-desc.gif) no-repeat bottom;margin-left:3px}.bsgrid.lockscreen{position:fixed;z-index:2014;display:none;left:0;top:0;width:100%;height:100%;background:#000;filter:alpha(opacity=10);opacity:.1;-moz-opacity:.1}.bsgrid.loading_div{position:fixed;z-index:2015;display:none;left:0;top:0;width:100%;height:100%}.bsgrid.loading_div table{width:100%;height:100%}.bsgrid.loading_div td{width:100%;height:100%;background-color:transparent!important;text-align:center;vertical-align:middle}.bsgrid.loading_div td div{width:200px;padding-top:8px;padding-bottom:8px;color:#000;border:solid 1px #999;background-color:#fff}.bsgrid.loading{padding-left:5px;line-height:1.5em}.bsgrid.loading span{background:url("../images/loading.gif") no-repeat center}.bsgridPagingOutTab{width:98%;margin-right:5px;border-collapse:collapse;border:solid 1px #ccc;background-color:white;border-top-width:0}
|
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgridPaging{font-size:13px;font-family:'微软雅黑',Verdana,sans-serif,'宋体',serif;width:770px;border-collapse:collapse}.bsgridPaging.pagingLittleToolbar{width:550px}.bsgridPaging.noPageSizeSelect{width:650px}.bsgridPaging.pagingLittleToolbar.noPageSizeSelect{width:430px}.bsgridPaging td{text-align:center}.bsgridPaging select{font-size:inherit;width:auto;height:auto;padding:1px;margin:1px}.bsgridPaging .pagingBtn{cursor:pointer;border:solid 1px #ccc;background:url(../images/skins/default/bg.gif) repeat-x #f4f4f4;font-size:inherit;font-family:inherit;color:inherit;padding:1px 3px;margin:1px}.bsgridPaging.pagingLittleToolbar .pagingBtn{width:16px;border-width:0;background:transparent no-repeat;padding:0;margin:3px}.bsgridPaging .pagingBtn.disabledCls{color:#999;filter:alpha(opacity=50);opacity:.5;-moz-opacity:.5}.bsgridPaging.pagingLittleToolbar .pagingBtn.firstPage{background-image:url(../images/icons/paging/go-first-view.png)}.bsgridPaging.pagingLittleToolbar .pagingBtn.prevPage{background-image:url(../images/icons/paging/go-previous-view.png)}.bsgridPaging.pagingLittleToolbar .pagingBtn.nextPage{background-image:url(../images/icons/paging/go-next-view.png)}.bsgridPaging.pagingLittleToolbar .pagingBtn.lastPage{background-image:url(../images/icons/paging/go-last-view.png)}.bsgridPaging .gotoPageInputTd{width:44px}.bsgridPaging .gotoPageInput{width:40px;height:auto;font-size:inherit;line-height:1em;color:inherit;border:solid 1px #ccc;padding:1px;margin:1px}.bsgridPaging .gotoPageButtonTd{text-align:left}.bsgridPaging .refreshPageTd{text-align:right;padding-right:4px}.bsgridPaging.pagingLittleToolbar .pagingBtn.gotoPage{background-image:url(../images/icons/paging/go-jump-2.png)}.bsgridPaging.pagingLittleToolbar .pagingBtn.refreshPage{background-image:url(../images/icons/paging/view-refresh-3.png)}
|
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid_icon{cursor:pointer;font-family:'微软雅黑',Verdana,sans-serif,'宋体',serif;font-size:12px;line-height:1.5em;color:#b22222;background:no-repeat 3px center}a.bsgrid_icon{padding-left:20px;text-decoration:underline}input.bsgrid_icon,button.bsgrid_icon{padding-left:20px;padding-right:4px;background-color:#d5e2f2;border:solid 1px #99bbe8;width:auto;overflow:visible}.icon_view{background-image:url(../images/icons/view-list-details-5.png)}.icon_add{background-image:url(../images/icons/list-add-6.png)}.icon_edit{background-image:url(../images/icons/page-edit.png)}.icon_save{background-image:url(../images/icons/document-save-6.png)}.icon_delete{background-image:url(../images/icons/edit-delete-6.png)}.icon_delete2{background-image:url(../images/icons/edit-delete-7.png)}.icon_close{background-image:url(../images/icons/window-close-4.png)}.icon_close2{background-image:url(../images/icons/window-close.png)}.icon_find{background-image:url(../images/icons/edit-find-8.png)}.icon_search{background-image:url(../images/icons/system-search-6.png)}.icon_refresh{background-image:url(../images/icons/arrow-refresh.png)}.icon_sort-view{background-image:url(../images/icons/sort-view.gif)}.icon_sort-asc{background-image:url(../images/icons/view-sort-descending-2.png)}.icon_sort-desc{background-image:url(../images/icons/view-sort-ascending-2.png)}.icon_copy{background-image:url(../images/icons/edit-copy-7.png)}.icon_cut{background-image:url(../images/icons/edit-cut-7.png)}.icon_paste{background-image:url(../images/icons/edit-paste-7.png)}.icon_download{background-image:url(../images/icons/download.png)}.icon_print{background-image:url(../images/icons/document-print-2.png)}.icon_mail{background-image:url(../images/icons/mail-generic.png)}.icon_accept{background-image:url(../images/icons/dialog-accept-2.png)}.icon_flag{background-image:url(../images/icons/flag.png)}.icon_about{background-image:url(../images/icons/help-about-3.png)}.icon_help{background-image:url(../images/icons/help.png)}.icon_documentation{background-image:url(../images/icons/documentation.png)}.icon_config{background-image:url(../images/icons/configure-2.png)}.icon_config2{background-image:url(../images/icons/system-config-boot.png)}.icon_text{background-image:url(../images/icons/mimetypes/silk_style/page-white_text.png)}.icon_pdf{background-image:url(../images/icons/mimetypes/silk_style/page-white_acrobat.png)}.icon_excel{background-image:url(../images/icons/mimetypes/silk_style/page-white_excel.png)}.icon_word{background-image:url(../images/icons/mimetypes/silk_style/page-white_word.png)}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_access.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid th,.bsgrid td{border-color:#18181a;background-color:#232d38;color:white}.bsgrid th{background-image:url(../../images/skins/access/bg.gif)}.bsgrid tr.even_index_row td{background-color:#1a232b}.bsgrid tr.row_hover td{background-color:#e48627!important}.bsgrid tr.selected.selected_color td{background-color:#e48627!important}.bsgridPagingOutTab{border-color:#18181a;background-color:#232d38}.bsgridPaging{color:white}.bsgridPaging .pagingBtn{background-image:url(../../images/skins/access/bg.gif);border-color:#18181a}.bsgridPaging .gotoPageInput{border-color:#18181a;color:black}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_blue.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid th,.bsgrid td{border-color:#99bce8;background-color:white;color:black}.bsgrid th{background-image:url(../../images/skins/blue/bg.gif)}.bsgrid tr.even_index_row td{background-color:#fafafa}.bsgrid tr.row_hover td{background-color:#dfe8f6!important}.bsgrid tr.selected.selected_color td{background-color:#dfe8f6!important}.bsgridPagingOutTab{border-color:#99bce8;background-color:white}.bsgridPaging{color:black}.bsgridPaging .pagingBtn{background-image:url(../../images/skins/blue/bg.gif);border-color:#99bce8}.bsgridPaging .gotoPageInput{border-color:#99bce8}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_bootstrap.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid{font-size:12px;border:1px solid #ccc}.bsgrid th,.bsgrid td{padding:2px;border:1px dotted #ccc;background-color:white;color:black}.bsgrid th{background-image:none;background-color:#f2f2f2;background:-webkit-linear-gradient(top,#fff 0,#f2f2f2 100%);background:-moz-linear-gradient(top,#fff 0,#f2f2f2 100%);background:-o-linear-gradient(top,#fff 0,#f2f2f2 100%);background:linear-gradient(to bottom,#fff 0,#f2f2f2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0)}.bsgrid tr.even_index_row td{background-color:#f5f5f5}.bsgrid tr.row_hover td{background-color:#0092dc!important}.bsgrid tr.selected.selected_color td{background-color:#0092dc!important}.bsgridPagingOutTab{border-color:#ccc;background-color:white}.bsgridPaging{font-size:12px;color:black}.bsgridPaging .pagingBtn{border-color:#ccc;background-image:none;background-color:#f2f2f2;background:-webkit-linear-gradient(top,#fff 0,#f2f2f2 100%);background:-moz-linear-gradient(top,#fff 0,#f2f2f2 100%);background:-o-linear-gradient(top,#fff 0,#f2f2f2 100%);background:linear-gradient(to bottom,#fff 0,#f2f2f2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0)}.bsgridPaging.pagingLittleToolbar .pagingBtn{background:url(../../images/skins/bootstrap/glyphicons-halflings.png) transparent no-repeat!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.firstPage{background-position:-191px -70px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.prevPage{background-position:-431px -70px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.nextPage{background-position:-455px -70px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.lastPage{background-position:-384px -70px!important}.bsgridPaging .gotoPageInput{border-color:#ccc}.bsgridPaging.pagingLittleToolbar .pagingBtn.gotoPage{background-position:-263px -93px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.refreshPage{background-position:-239px -21px!important}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_easyui.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid{font-size:12px}.bsgrid th,.bsgrid td{padding:2px;border:1px dotted #ccc;background-color:white;color:black}.bsgrid th{border-style:solid;background-image:url(../../images/skins/easyui/bg.gif)}.bsgrid tr.even_index_row td{background-color:#fafafa}.bsgrid tr.row_hover td{background-color:#0092dc!important}.bsgrid tr.selected.selected_color td{background-color:#0092dc!important}.bsgridPagingOutTab{border-color:#ccc;background-color:white}.bsgridPaging{font-size:12px;color:black}.bsgridPaging .pagingBtn{background:none white;border-color:#ccc}.bsgridPaging.pagingLittleToolbar .pagingBtn{background:none transparent no-repeat}.bsgridPaging.pagingLittleToolbar .pagingBtn.firstPage{background-image:url(../../images/skins/easyui/pagination_first.gif)}.bsgridPaging.pagingLittleToolbar .pagingBtn.prevPage{background-image:url(../../images/skins/easyui/pagination_prev.gif)}.bsgridPaging.pagingLittleToolbar .pagingBtn.nextPage{background-image:url(../../images/skins/easyui/pagination_next.gif)}.bsgridPaging.pagingLittleToolbar .pagingBtn.lastPage{background-image:url(../../images/skins/easyui/pagination_last.gif)}.bsgridPaging .gotoPageInput{border-color:#ccc}.bsgridPaging.pagingLittleToolbar .pagingBtn.gotoPage{background-image:url(../../images/skins/easyui/layout_button_right.gif)}.bsgridPaging.pagingLittleToolbar .pagingBtn.refreshPage{background-image:url(../../images/skins/easyui/pagination_load.png)}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_flexigrid.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid th,.bsgrid td{border-color:#ccc;background-color:white;color:black}.bsgrid th{background-image:url(../../images/skins/flexigrid/bg.gif)}.bsgrid tr.even_index_row td{background-color:#f7f7f7}.bsgrid tr.row_hover td{background-color:#d5effc!important}.bsgrid tr.selected.selected_color td{background-color:#d5effc!important}.bsgridPagingOutTab{border-color:#ccc;background-color:white}.bsgridPaging{color:black}.bsgridPaging .pagingBtn{background-image:url(../../images/skins/flexigrid/bg.gif);border-color:#ccc}.bsgridPaging .gotoPageInput{border-color:#ccc}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_gray.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid th,.bsgrid td{border-color:#d0d0d0;background-color:white;color:black}.bsgrid th{background-image:url(../../images/skins/gray/bg.gif)}.bsgrid tr.even_index_row td{background-color:#fafafa}.bsgrid tr.row_hover td{background-color:#e0e0e0!important}.bsgrid tr.selected.selected_color td{background-color:#e0e0e0!important}.bsgridPagingOutTab{border-color:#d0d0d0;background-color:white}.bsgridPaging{color:black}.bsgridPaging .pagingBtn{background-image:url(../../images/skins/gray/bg.gif);border-color:#d0d0d0}.bsgridPaging .gotoPageInput{border-color:#d0d0d0}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_jqgrid.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid{font-size:11px}.bsgrid th,.bsgrid td{padding:2px;border-color:#a6c9e2;background-color:#fcfdfd;color:black}.bsgrid th{background:#dfeffc url(../../images/skins/jqgrid/ui-bg_glass_1x400.png);color:#2e6e9e}.bsgrid tr.even_index_row td{background-color:#fcfdfd}.bsgrid tr.row_hover td{background-color:#fbec88!important}.bsgrid tr.selected.selected_color td{background-color:#fbec88!important}.bsgridPagingOutTab{border-color:#a6c9e2;background-color:white}.bsgridPaging{font-size:11px;color:black}.bsgridPaging .pagingBtn{background:none #fcfdfd;border-color:#a6c9e2}.bsgridPaging.pagingLittleToolbar .pagingBtn{background:url(../../images/skins/jqgrid/ui-icons_256x240.png) transparent no-repeat!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.firstPage{background-position:-80px -161px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.prevPage{background-position:-48px -161px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.nextPage{background-position:-32px -161px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.lastPage{background-position:-64px -161px!important}.bsgridPaging .gotoPageInput{border-color:#a6c9e2}.bsgridPaging.pagingLittleToolbar .pagingBtn.gotoPage{background-position:-48px -193px!important}.bsgridPaging.pagingLittleToolbar .pagingBtn.refreshPage{background-position:-64px -82px!important}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_pure_gray.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid th,.bsgrid td{border-color:black;background-color:white;color:black}.bsgrid th{background:#bbb none}.bsgrid tr.even_index_row td{background-color:#f8f8f8}.bsgrid tr.row_hover td{background-color:#ddd!important}.bsgrid tr.selected.selected_color td{background-color:#ddd!important}.bsgridPagingOutTab{border-color:black;background-color:white}.bsgridPaging{color:black}.bsgridPaging .pagingBtn{background:#bbb none;border-color:black}.bsgridPaging .gotoPageInput{border-color:black}
|
1
public/static/admin_static/lib/jquery.bsgrid/builds/css/skins/grid_sky_blue.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@CHARSET "UTF-8";.bsgrid th,.bsgrid td{border-color:#a4bed4;background-color:white;color:black}.bsgrid th{background-image:url(../../images/skins/sky_blue/bg.gif)}.bsgrid tr.even_index_row td{background-color:#e3efff}.bsgrid tr.row_hover td{background-color:#fff1cc!important}.bsgrid tr.selected.selected_color td{background-color:#fff1cc!important}.bsgridPagingOutTab{border-color:#a4bed4;background-color:white}.bsgridPaging{color:black}.bsgridPaging .pagingBtn{background-image:url(../../images/skins/sky_blue/bg.gif);border-color:#a4bed4}.bsgridPaging .gotoPageInput{border-color:#a4bed4}
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 957 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 811 B |
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
From: open_icon_library png 16x16
|
||||||
|
path: open_icon_library-full/icons/png/16*16/mimetypes/silk_style/
|
||||||
|
|
||||||
|
page-white_acrobat.png
|
||||||
|
page-white_excel.png
|
||||||
|
page-white_text.png
|
||||||
|
page-white_word.png
|
||||||
|
|
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 993 B |
After Width: | Height: | Size: 995 B |
|
@ -0,0 +1,12 @@
|
||||||
|
From: open_icon_library png 16x16
|
||||||
|
path: open_icon_library-full/icons/png/16*16/actions
|
||||||
|
|
||||||
|
go-first-view.png
|
||||||
|
go-jump-2.png
|
||||||
|
go-last-view.png
|
||||||
|
go-next-view.png
|
||||||
|
go-previous-view.png
|
||||||
|
view-refresh-3.png
|
||||||
|
|
||||||
|
|
||||||
|
There is many others go-*.png in open_icon_library-full/icons/png/16*16/actions.
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1,40 @@
|
||||||
|
From: open_icon_library png 16x16
|
||||||
|
path: open_icon_library-full/icons/png/16*16/actions
|
||||||
|
|
||||||
|
help-about-3.png
|
||||||
|
dialog-accept-2.png
|
||||||
|
list-add-6.png
|
||||||
|
edit-copy-7.png
|
||||||
|
edit-cut-7.png
|
||||||
|
edit-delete-6.png
|
||||||
|
edit-delete-7.png
|
||||||
|
documentation.png
|
||||||
|
download.png
|
||||||
|
page-edit.png
|
||||||
|
edit-find-8.png
|
||||||
|
flag.png
|
||||||
|
help.png
|
||||||
|
mail-generic.png
|
||||||
|
edit-paste-7.png
|
||||||
|
document-print-2.png
|
||||||
|
arrow-refresh.png
|
||||||
|
document-save-6.png
|
||||||
|
system-search-6.png
|
||||||
|
view-sort-descending-2.png
|
||||||
|
view-sort-ascending-2.png
|
||||||
|
view-list-details-5.png
|
||||||
|
window-close.png
|
||||||
|
window-close-4.png
|
||||||
|
configure-2.png
|
||||||
|
|
||||||
|
|
||||||
|
sort-view.gif merge view-sort-descending-2.png and view-sort-ascending-2.png by GIMP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
From: open_icon_library png 16x16
|
||||||
|
path: open_icon_library-full/icons/png/16*16/apps
|
||||||
|
|
||||||
|
system-config-boot.png
|
After Width: | Height: | Size: 618 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 957 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 853 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 381 B |
After Width: | Height: | Size: 83 B |
|
@ -0,0 +1,2 @@
|
||||||
|
Image From
|
||||||
|
bg.gif ExtJS: ext-3.4.0\resources\images\access\toolbar\bg.gif modify by GIMP
|
After Width: | Height: | Size: 308 B |
|
@ -0,0 +1,2 @@
|
||||||
|
Image From
|
||||||
|
bg.gif ExtJS: ext-3.4.0\resources\images\default\toolbar\bg.gif modify by GIMP
|
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1 @@
|
||||||
|
From: bootstrap-2.3.2-dist.zip/bootstrap/img/glyphicons-halflings.png
|
After Width: | Height: | Size: 357 B |
After Width: | Height: | Size: 121 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 925 B |
After Width: | Height: | Size: 923 B |
After Width: | Height: | Size: 827 B |
After Width: | Height: | Size: 875 B |
After Width: | Height: | Size: 879 B |
|
@ -0,0 +1,10 @@
|
||||||
|
From: EasyUI 1.2.6
|
||||||
|
path: jquery-easyui-1.2.6.zip/themes/gray/images/
|
||||||
|
|
||||||
|
bg.gif datagrid_header_bg.gif modify by GIMP
|
||||||
|
layout_button_right.gif
|
||||||
|
pagination_first.gif
|
||||||
|
pagination_last.gif
|
||||||
|
pagination_next.gif
|
||||||
|
pagination_prev.gif
|
||||||
|
pagination_load.png
|
After Width: | Height: | Size: 117 B |
|
@ -0,0 +1,2 @@
|
||||||
|
Image From
|
||||||
|
bg.gif Flexigrid: flexigrid-1.1\css\images\bg.gif modify by GIMP
|
After Width: | Height: | Size: 117 B |
|
@ -0,0 +1,2 @@
|
||||||
|
Image From
|
||||||
|
bg.gif ExtJS: ext-3.4.0\resources\images\gray\toolbar\bg.gif modify by GIMP
|
|
@ -0,0 +1,5 @@
|
||||||
|
From: jQuery UI 1.8.2
|
||||||
|
path: jquery-ui-1.8.20.custom.zip\css\custom-theme\jquery-ui-1.8.2.custom.css
|
||||||
|
|
||||||
|
ui-icons_256x240.png ui-icons_******_256x240.png
|
||||||
|
ui-bg_glass_1x400.png ui-bg_glass_**_******_1x400.png
|
After Width: | Height: | Size: 123 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 508 B |
|
@ -0,0 +1,2 @@
|
||||||
|
Image From
|
||||||
|
bg.gif Dhtmlx: Dhtmlx Edition 3.0\dhtmlxGrid\codebase\imgs\sky_blue_grid.gif modify by GIMP
|
After Width: | Height: | Size: 48 B |
After Width: | Height: | Size: 49 B |