This commit is contained in:
junshuai
2022-07-23 13:54:07 +08:00
parent 809c426b5a
commit 62548736a7
4912 changed files with 827659 additions and 38 deletions

View File

@@ -0,0 +1,177 @@
/**
* create by robot
* date Thu Sep 12 16:16:36 CST 2019
*/
$(document).ready(function(){
//form表单样式
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
});
//日历控件
layui.use(['layer', 'laydate'], function() {
var layer = layui.layer;
laydate = layui.laydate;
laydate.render({
elem: '#date1' //指定元素
});
laydate.render({
elem: '#date2' //指定元素
});
});
//li 切换事件
$(".nav-tabs>li").click(function() {
var index = $(".nav-tabs>li").index(this);
$(this).addClass("active").siblings("li").removeClass("active");
})
//弹出一个提示层
$('.fa-save').on('click', function() {
saveActivityActivate();
});
//绑定标签栏事件
$(document).on('click','.nav-tabs li',function(){
var action =$(this).data('action');
switch (action) {
case "base"://基本资料
goBase();
break;
case "functions"://多功能
goFunctions();
break;
case "extends"://扩展
goExtends();
break;
}
})
//加载第一个标签
$('.nav-tabs li').eq(0).click();
});
//跳转基本信息
function goBase(){
var url=ctx+'/activityActivate/queryActivityActivateBaseInfo?id='+$('#activityActivateId').val();
$('.tab-content').load(url);
}
//跳转多功能输入
function goFunctions(){
var url=ctx+'/activityActivate/queryActivityActivateFunctionsInfo?id='+$('#activityActivateId').val();
$('.tab-content').load(url);
}
//跳转到扩展
function goExtends(){
var url=ctx+'/activityActivate/queryActivityActivateExtendsInfo?id='+$('#activityActivateId').val();
$('.tab-content').load(url);
}
//保存
function saveActivityActivate(){
var isAdmin=$("#isAdmin").val();
if(isAdmin=='1'){
var merchantCode=$("#merchantCode option:selected").val();
if(StringUtil.isBlank(merchantCode)){
layer.msg('请选择商户');
return;
}
}
var storeId=$("#storeId option:selected").val();
if(StringUtil.isBlank(storeId)){
layer.msg('请选择门店');
return;
}
var name=$("#name").val();
if(StringUtil.isBlank(name)){
layer.msg('请输入活动名称');
return;
}
var giveMoney=$("#giveMoney").val();
if(StringUtil.isNotJustIntgerAndDecimals2(giveMoney)){
if(StringUtil.isBlank(giveMoney)){
layer.msg('请输入激活赠送金额');
return;
}
layer.msg('请输入正确的激活赠送金额(正整数或小数(保留两位小数))');
return;
}
if(StringUtil.isNotBlank(giveMoney)){
if(giveMoney<0.01){
layer.msg('激活赠送金额必须大于0.01');
return;
}
}
$(".fa-save").attr("disabled","disabled");
$('.fa-save').html('正在保存...')
$.ajax({
url:ctx+"/activityActivate/saveActivityActivate",
type:"POST",
dataType:'json',
data:$("#data_form").serializeArray(),
complete:function(){
$(".fa-save").removeAttr("disabled");
$('.fa-save').html('保存')
},
success:function(service){
layer.confirm('保存成功,是否前往列表?', {
btn: ['确认','取消'] //按钮
}, function(){
$('#goback span').trigger('click');
}, function(){
layer.closeAll();
});
}
});
}
//onchange商户
$(function(){
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
form.on('select(selectMerchantCode)', function(data){
var merchantCode=data.value;
$.ajax({
url:ctx+'/merchantMenber/getStoreByMerchantCode',
type:'post',
dataType:'json',
data:{
'merchantCode':merchantCode,
},
success:function(result){
var storeList=result.merchantStoreList;
$("#storeId").empty();
var data='';
data+='<option value="">请选择</option>';
for (var i = 0; i < storeList.length; i++) {
data+='<option value='+storeList[i].storeId+'>'+storeList[i].storeName+'</option>'
}
$("#storeId").append(data);
form.render("select");
}
})
})
})
});

View File

@@ -0,0 +1,318 @@
/**
* create by robot
* date Thu Sep 12 16:16:36 CST 2019
*/
var pageIndex = 1;
$(document).ready(function () {
//调用查询
pageIndex = StringUtil.getQueryString('pageIndex');
if (pageIndex == undefined || pageIndex == null) {
pageIndex = 1;
}
queryActivityActivate(pageIndex);
//绑定hover操作
$(document).on('mouseenter', '.listOperaters', function () {
$(this).children(".ops_itemDiv").show();
var width = 15;
$(this).children('div').find('li').each(function () {
//获取li宽度
width += $(this).width();
});
$(this).children('div').width(width);
})
$(document).on('mouseleave', '.listOperaters', function () {
$(this).children(".ops_itemDiv").hide();
});
//日历控件
layui.use(['layer', 'laydate'], function () {
var layer = layui.layer;
laydate = layui.laydate;
laydate.render({
elem: '#date1' //指定元素
});
laydate.render({
elem: '#date2' //指定元素
});
});
//行选中事件
$("#allCheck").find("span").click(function () {
$(this).toggleClass('checked');
if ($(this).hasClass('checked')) {
//所有列选中
$(".checker").find("span").each(function () {
$(this).addClass("checked");
})
} else {
//所有列取消选中
$(".checker").find("span").each(function () {
$(this).removeClass("checked");
})
}
});
//单个选中
$(document).on('click', '.checkeBox span', function () {
$(this).toggleClass('checked');
//设置头部事件
var length = $('.checkeBox span').length;
var count = 0;
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
count++;
}
})
//全选
if (count == length) {
$("#allCheck").find("span").addClass('checked');
} else {
$("#allCheck").find("span").removeClass('checked');
}
})
//左右div高度相等
var left_content_height = $(".right-content").height();
$(".left-content").height(left_content_height + 35);
var sub_left_height = $(".res-menu").height(left_content_height - 60);
});
//查询
function queryActivityActivate(index) {
if (typeof (index) == 'undefined') {
index = 1;
}
var url = ctx + '/activityActivate/queryActivityActivateByPage';
$.ajax({
url: url,
type: "post",
dataType: "json",
data: {
"currPage": index,
"name": $("#name").val(),
},
success: function (result) {
//渲染数据
$('#data_content').empty();
var header = '';
$.each(result.activityActivateList, function (i) {
var activityActivate = result.activityActivateList[i];
var data = '';
data += '<tr class="odd">';
data += '<td class="textc">';
data += ' <div class="checker checkeBox">';
data += ' <span class="" data-id="' + activityActivate.id + '"><input type="checkbox" value=""></span>';
data += ' </div>';
data += '</td>';
data += '<td class="textc">' + activityActivate.id + '</td>';
data += '<td class="textc">' + activityActivate.name + '</td>';
data += '<td class="textc">' + activityActivate.giveMoney.toFixed(2) + '</td>';
var merchantName = '';
if (StringUtil.isNotBlank(activityActivate.merchantName)) {
merchantName = activityActivate.merchantName;
}
data += '<td class="textc">' + merchantName + '</td>';
var storeName = '';
if (StringUtil.isNotBlank(activityActivate.storeName)) {
storeName = activityActivate.storeName;
}
data += '<td class="textc">' + storeName + '</td>';
var createDt = '';
if (StringUtil.isNotBlank(activityActivate.createDt)) {
createDt = dateFtt("yyyy-MM-dd hh:mm:ss", new Date(activityActivate.createDt));
}
data += '<td class="textc">' + createDt + '</td>';
data += '<td class="textc">';
//管理员或商户能进行的操作
if (result.admin == 'admin' || result.userType == 'merchant') {
data += '<div class="positionr listOperaters">';
data += ' <a href="javascript:void(0);" class="icon-large dlblock w16 h16"><img src="' + resourcePath + '/images/angle-down.png"/></a>';
data += ' <div class="ops_box ops_itemDiv positiona clearfix whitebg">';
data += ' <ul>';
data += ' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="otherActivityActivateDetails(' + activityActivate.id + ')" class="layui-btn layui-btn-sm layui-btn-radius fa fa-detail ops_more f12">详情</a></li>';
data += ' </ul>';
data += ' </div>';
data += '</div>';
//其它用户能进行的操作
} else {
data += '<div class="positionr listOperaters">';
data += ' <a href="javascript:void(0);" class="icon-large dlblock w16 h16"><img src="' + resourcePath + '/images/angle-down.png"/></a>';
data += ' <div class="ops_box ops_itemDiv positiona clearfix whitebg">';
data += ' <ul>';
data += ' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="showActivityActivateDetails(' + activityActivate.id + ')" class="layui-btn layui-btn-sm layui-btn-radius fa fa-edit ops_more f12">编辑</a></li>';
data += ' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="initDeleteActivityActivate(' + activityActivate.id + ')" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger fa fa-remove ops_more f12">删除</a></li>';
data += ' </ul>';
data += ' </div>';
data += '</div>';
}
data += '</td>';
data += '</tr>';
$('#data_content').append(data);
});
//分页
$('#pageCount').html(result.pageCount);
$('#currPage').html(result.currPage);
$('#totalCount').html(result.count);
//设置分页
pageIndex = result.currPage;
$('#pagination').pagination({
pageCount: result.pageCount,
jump: true,
coping: true,
jump: true,
homePage: '首页',
endPage: '末页',
prevContent: '上页',
nextContent: '下页',
current: result.currPage,
callback: function (api) {
pageIndex = api.getCurrent();
queryActivityActivate(api.getCurrent());
}
});
}
});
//表头列不选中
$("#allCheck").find("span").removeClass('checked');
}
//初始化新增
function initAddActivityActivate() {
window.location = ctx + '/activityActivate/queryActivityActivateDetails?pageIndex=' + pageIndex;
}
//初始化修改
function showActivityActivateDetails(id) {
window.location = ctx + '/activityActivate/queryActivityActivateDetails?id=' + id + '&pageIndex=' + pageIndex;
}
//初始化删除
function initDeleteActivityActivate(id) {
layer.open({
type: 1,
closeBtn: 1, title: '提示',
offset: 'm', //具体配置参考offset参数项
area: ['300px', '180px'],
content: '<div style="padding:10px;" class="textc mt20">确认删除吗?</div>',
btn: ['确认', '取消'],
btnAlign: 'r', //按钮居中
shade: 0.3,//不显示遮罩
yes: function () {
layer.closeAll();
deleteActivityActivate(id, true);
}
});
}
//删除
function deleteActivityActivate(id, showMsg) {
$.ajax({
url: ctx + '/activityActivate/deleteActivityActivate',
data: [{
name: 'id',
value: id
}],
type: 'POST',
dataType: 'json',
success: function () {
queryActivityActivate(pageIndex);
if (showMsg) {
layer.msg('删除成功!');
}
}
});
}
//头部编辑
function initEditActivityActivate() {
var count = 0;
var id = 0;
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
count++;
id = $(this).data('id');
}
})
if (count > 1) {
layer.msg('只能选中一行记录进行操作!');
return;
}
if (count == 0) {
layer.msg('请选中一行记录!');
return;
}
if (id > 0) {
showActivityActivateDetails(id);
}
}
//头部删除
function initBatchDeleteActivityActivate() {
var count = 0;
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
count++;
}
})
if (count == 0) {
layer.msg('请选中一行记录!');
return;
}
layer.open({
type: 1,
closeBtn: 1,
title: '提示',
offset: 'm', //具体配置参考offset参数项
area: ['300px', '180px'],
content: '<div style="padding:10px;" class="textc mt20">确认删除吗?</div>',
btn: ['确认', '取消'],
btnAlign: 'r', //按钮居中
shade: 0.3, //不显示遮罩
yes: function () {
layer.closeAll();
deleteBatchActivityActivate();
}
});
}
//批量删除
function deleteBatchActivityActivate() {
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
var id = $(this).data('id');
deleteActivityActivate(id, false);
layer.msg('删除成功!');
}
})
}
//其它用户查看详情
function otherActivityActivateDetails(id) {
window.location = ctx + '/activityActivate/otherActivityActivateDetails?id=' + id + '&pageIndex=' + pageIndex;
}
//时间格式化处理
function dateFtt(fmt, date) { //author: meizz
var o = {
"M+": date.getMonth() + 1, //月份
"d+": date.getDate(), //日
"h+": date.getHours(), //小时
"m+": date.getMinutes(), //分
"s+": date.getSeconds(), //秒
"q+": Math.floor((date.getMonth() + 3) / 3), //季度
"S": date.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt))
fmt = fmt.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt))
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}

View File

@@ -0,0 +1,259 @@
/**
* create by robot
* date Thu Sep 12 16:16:36 CST 2019
*/
$(document).ready(function(){
//form表单样式
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
});
//日历控件
layui.use(['layer', 'laydate'], function() {
var layer = layui.layer;
laydate = layui.laydate;
laydate.render({
elem: '#date1' //指定元素
});
laydate.render({
elem: '#date2' //指定元素
});
});
//li 切换事件
$(".nav-tabs>li").click(function() {
var index = $(".nav-tabs>li").index(this);
$(this).addClass("active").siblings("li").removeClass("active");
})
//弹出一个提示层
$('.fa-save').on('click', function() {
saveActivityConsumReturn();
});
//绑定标签栏事件
$(document).on('click','.nav-tabs li',function(){
var action =$(this).data('action');
switch (action) {
case "base"://基本资料
goBase();
break;
case "functions"://多功能
goFunctions();
break;
case "extends"://扩展
goExtends();
break;
}
})
//加载第一个标签
$('.nav-tabs li').eq(0).click();
});
//跳转基本信息
function goBase(){
var url=ctx+'/activityConsumReturn/queryActivityConsumReturnBaseInfo?id='+$('#activityConsumReturnId').val();
$('.tab-content').load(url);
}
//跳转多功能输入
function goFunctions(){
var url=ctx+'/activityConsumReturn/queryActivityConsumReturnFunctionsInfo?id='+$('#activityConsumReturnId').val();
$('.tab-content').load(url);
}
//跳转到扩展
function goExtends(){
var url=ctx+'/activityConsumReturn/queryActivityConsumReturnExtendsInfo?id='+$('#activityConsumReturnId').val();
$('.tab-content').load(url);
}
//保存
function saveActivityConsumReturn(){
var isAdmin=$("#isAdmin").val();
if(isAdmin=='1'){
var merchantCode=$("#merchantCode option:selected").val();
if(StringUtil.isBlank(merchantCode)){
layer.msg('请选择商户');
return;
}
}
var storeId=$("#storeId option:selected").val();
if(StringUtil.isBlank(storeId)){
layer.msg('请选择门店');
return;
}
var name=$("#name").val();
if(StringUtil.isBlank(name)){
layer.msg('请输入活动名称');
return;
}
var type=$("#type option:selected").val();
var percent=$("#percent").val();
if(type=='2'){
if(StringUtil.isNotOneBT(percent)){
if(StringUtil.isBlank(percent)){
layer.msg('请输入百分比返现比例');
return;
}
layer.msg('请输入正确百分比返现比例');
return;
}
}
var comsumeMoney=$("#comsumeMoney").val();
if(StringUtil.isNotJustIntgerAndDecimals2(comsumeMoney)){
if(StringUtil.isBlank(comsumeMoney)){
layer.msg('请输入消费金额');
return;
}
layer.msg('请输入正确的消费金额(正整数或小数(保留两位小数))');
return;
}
if(StringUtil.isNotBlank(comsumeMoney)){
if(comsumeMoney<0.01){
layer.msg('消费金额必须大于0.01');
return;
}
}
var returnMoney=$("#returnMoney").val();
if(StringUtil.isNotJustIntgerAndDecimals2(returnMoney)){
if(StringUtil.isBlank(returnMoney)){
layer.msg('请输入返现金额');
return;
}
layer.msg('请输入正确的返现金额(正整数或小数(保留两位小数))');
return;
}
if(StringUtil.isNotBlank(returnMoney)){
if(returnMoney<0.01){
layer.msg('返现金额必须大于0.01');
return;
}
}
if(StringUtil.isNotBlank(returnMoney)){
if(parseInt(returnMoney)>parseInt(comsumeMoney)){
layer.msg('返现金额必须小于消费金额');
return;
}
}
var timeType=$("#timeType option:selected").val();
var date1=$("#date1").val();
var date2=$("#date2").val();
if(timeType=='1'){
if(StringUtil.isBlank(date1)){
layer.msg('请输入开始时间');
return;
}
if(StringUtil.isBlank(date2)){
layer.msg('请输入结束时间');
return;
}
}
$(".fa-save").attr("disabled","disabled");
$('.fa-save').html('正在保存...')
$.ajax({
url:ctx+"/activityConsumReturn/saveActivityConsumReturn",
type:"POST",
dataType:'json',
data:$("#data_form").serializeArray(),
complete:function(){
$(".fa-save").removeAttr("disabled");
$('.fa-save').html('保存')
},
success:function(service){
layer.confirm('保存成功,是否前往列表?', {
btn: ['确认','取消'] //按钮
}, function(){
$('#goback span').trigger('click');
}, function(){
layer.closeAll();
});
}
});
}
//onchange商户
$(function(){
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
form.on('select(selectMerchantCode)', function(data){
var merchantCode=data.value;
$.ajax({
url:ctx+'/merchantMenber/getStoreByMerchantCode',
type:'post',
dataType:'json',
data:{
'merchantCode':merchantCode,
},
success:function(result){
var storeList=result.merchantStoreList;
$("#storeId").empty();
var data='';
data+='<option value="">请选择</option>';
for (var i = 0; i < storeList.length; i++) {
data+='<option value='+storeList[i].storeId+'>'+storeList[i].storeName+'</option>'
}
$("#storeId").append(data);
form.render("select");
}
})
})
});
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
form.on('select(selectTimeType)', function(data){
var timeType=data.value;
if(timeType=='1'){
$("#dateDetail").show();
}else if(timeType=='0'){
$("#date1").val('');
$("#date2").val('');
$("#dateDetail").hide();
}
})
});
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
form.on('select(selectType)', function(data){
var type=data.value;
if(type=='2'){
$("#percentDetail").show();
}else{
$("#percent").val('');
$("#percentDetail").hide();
}
})
});
});

View File

@@ -0,0 +1,362 @@
/**
* create by robot
* date Thu Sep 12 16:16:36 CST 2019
*/
var pageIndex=1;
$(document).ready(function(){
//调用查询
pageIndex=StringUtil.getQueryString('pageIndex');
if(pageIndex==undefined||pageIndex==null){
pageIndex=1;
}
queryActivityConsumReturn(pageIndex);
//绑定hover操作
$(document).on('mouseenter','.listOperaters',function(){
$(this).children(".ops_itemDiv").show();
var width=15;
$(this).children('div').find('li').each(function(){
//获取li宽度
width+=$(this).width();
});
$(this).children('div').width(width);
})
$(document).on('mouseleave','.listOperaters',function(){
$(this).children(".ops_itemDiv").hide();
});
//日历控件
layui.use(['layer', 'laydate'], function() {
var layer = layui.layer;
laydate = layui.laydate;
laydate.render({
elem: '#date1' //指定元素
});
laydate.render({
elem: '#date2' //指定元素
});
});
//行选中事件
$("#allCheck").find("span").click(function() {
$(this).toggleClass('checked');
if($(this).hasClass('checked')){
//所有列选中
$(".checker").find("span").each(function () {
$(this).addClass("checked");
})
}else{
//所有列取消选中
$(".checker").find("span").each(function () {
$(this).removeClass("checked");
})
}
});
//单个选中
$(document).on('click','.checkeBox span',function() {
$(this).toggleClass('checked');
//设置头部事件
var length=$('.checkeBox span').length;
var count=0;
$(".checkeBox").find("span").each(function () {
if($(this).hasClass("checked")){
count++;
}
})
//全选
if(count==length){
$("#allCheck").find("span").addClass('checked');
}else{
$("#allCheck").find("span").removeClass('checked');
}
})
//左右div高度相等
var left_content_height = $(".right-content").height();
$(".left-content").height(left_content_height+35);
var sub_left_height=$(".res-menu").height(left_content_height-60);
});
//查询
function queryActivityConsumReturn(index){
if(typeof(index)=='undefined'){
index=1;
}
var url=ctx+'/activityConsumReturn/queryActivityConsumReturnByPage';
$.ajax({
url:url,
type:"post",
dataType:"json",
data:{
"currPage":index,
"name":$("#name").val(),
"startDt":$("#date1").val(),
"endDt":$("#date2").val(),
},
success:function(result){
//渲染数据
$('#data_content').empty();
var header='';
$.each(result.activityConsumReturnList,function(i){
var activityConsumReturn=result.activityConsumReturnList[i];
var data='';
data+='<tr class="odd">';
data+='<td class="textc">';
data+=' <div class="checker checkeBox">'; data+=' <span class="" data-id="'+activityConsumReturn.id+'"><input type="checkbox" value=""></span>';
data+=' </div>';
data+='</td>';
data+='<td class="textc">'+activityConsumReturn.id+'</td>';
data+='<td class="textc">'+activityConsumReturn.name+'</td>';
/*data+='<td class="textc">'+activityConsumReturn.userId+'</td>';
data+='<td class="textc">'+activityConsumReturn.merchantCode+'</td>';*/
if(StringUtil.isNotBlank(activityConsumReturn.merchantName)){
data+='<td class="textc">'+activityConsumReturn.merchantName+'</td>';
}else{
data+='<td class="textc"></td>';
}
if(StringUtil.isNotBlank(activityConsumReturn.storeName)){
data+='<td class="textc">'+activityConsumReturn.storeName+'</td>';
}else{
data+='<td class="textc"></td>';
}
/*data+='<td class="textc">'+activityConsumReturn.storeId+'</td>';*/
//0分等级返现 1等比例返现 2 百分比返现
var type = '';
if(activityConsumReturn.type == '0'){
type = '分等级返现';
}else if(activityConsumReturn.type == '1'){
type = '等比例返现';
}else if(activityConsumReturn.type == '2'){
type = '百分比返现';
}
data+='<td class="textc">'+type+'</td>';
if(StringUtil.isNotBlank(activityConsumReturn.comsumeMoney)){
data+='<td class="textc">'+activityConsumReturn.comsumeMoney+'</td>';
}else{
data+='<td class="textc"></td>';
}
if(StringUtil.isNotBlank(activityConsumReturn.returnMoney)){
data+='<td class="textc">'+activityConsumReturn.returnMoney+'</td>';
}else{
data+='<td class="textc"></td>';
}
if(StringUtil.isNotBlank(activityConsumReturn.percent)){
data+='<td class="textc">'+activityConsumReturn.percent+'</td>';
}else{
data+='<td class="textc"></td>';
}
var startDt='';
if(StringUtil.isNotBlank(activityConsumReturn.startDt)){
startDt = dateFtt("yyyy-MM-dd hh:mm:ss",new Date(activityConsumReturn.startDt));
}
data+='<td class="textc">'+startDt+'</td>';
var endDt='';
if(StringUtil.isNotBlank(activityConsumReturn.endDt)){
endDt = dateFtt("yyyy-MM-dd hh:mm:ss",new Date(activityConsumReturn.endDt));
}
data+='<td class="textc">'+endDt+'</td>';
var timeType='';
if(activityConsumReturn.timeType=='0'){
timeType='永久';
}else if(activityConsumReturn.timeType=='1'){
timeType='设置时间';
}
data+='<td class="textc">'+timeType+'</td>';
var createDt='';
if(StringUtil.isNotBlank(activityConsumReturn.createDt)){
createDt = dateFtt("yyyy-MM-dd hh:mm:ss",new Date(activityConsumReturn.createDt));
}
data+='<td class="textc">'+createDt+'</td>';
data+='<td class="textc">';
//管理员或商户能进行的操作
if(result.admin=='admin'||result.userType=='merchant'){
data+='<div class="positionr listOperaters">';
data+=' <a href="javascript:void(0);" class="icon-large dlblock w16 h16"><img src="'+resourcePath+'/images/angle-down.png"/></a>';
data+=' <div class="ops_box ops_itemDiv positiona clearfix whitebg">';
data+=' <ul>';
data+=' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="otherActivityConsumReturnDetails('+activityConsumReturn.id+')" class="btn btn-primary fa fa-edit ops_more f12">详情</a></li>';
data+=' </ul>';
data+=' </div>';
data+='</div>';
}else{
data+='<div class="positionr listOperaters">';
data+=' <a href="javascript:void(0);" class="icon-large dlblock w16 h16"><img src="'+resourcePath+'/images/angle-down.png"/></a>';
data+=' <div class="ops_box ops_itemDiv positiona clearfix whitebg">';
data+=' <ul>';
data+=' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="showActivityConsumReturnDetails('+activityConsumReturn.id+')" class="layui-btn layui-btn-sm layui-btn-radius fa fa-edit ops_more f12">编辑</a></li>';
data+=' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="initDeleteActivityConsumReturn('+activityConsumReturn.id+')" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger fa fa-remove ops_more f12">删除</a></li>';
data+=' </ul>';
data+=' </div>';
data+='</div>';
}
data+='</td>';
data+='</tr>';
$('#data_content').append(data);
});
//分页
$('#pageCount').html(result.pageCount);
$('#currPage').html(result.currPage);
$('#totalCount').html(result.count);
//设置分页
pageIndex=result.currPage;
$('#pagination').pagination({
pageCount: result.pageCount,
jump: true,
coping: true,
jump: true,
homePage: '首页',
endPage: '末页',
prevContent: '上页',
nextContent: '下页',
current:result.currPage,
callback:function(api){
pageIndex=api.getCurrent();
queryActivityConsumReturn(api.getCurrent());
}
});
}
});
//表头列不选中
$("#allCheck").find("span").removeClass('checked');
}
//初始化新增
function initAddActivityConsumReturn(){
window.location=ctx+'/activityConsumReturn/queryActivityConsumReturnDetails?pageIndex='+pageIndex;
}
//初始化修改
function showActivityConsumReturnDetails(id){
window.location=ctx+'/activityConsumReturn/queryActivityConsumReturnDetails?id='+id+'&pageIndex='+pageIndex;
}
//初始化删除
function initDeleteActivityConsumReturn(id){
layer.open({
type: 1,
closeBtn: 1, title: '提示',
offset: 'm', //具体配置参考offset参数项
area: ['300px', '180px'],
content: '<div style="padding:10px;" class="textc mt20">确认删除吗?</div>',
btn: ['确认','取消'],
btnAlign: 'r' , //按钮居中
shade: 0.3 ,//不显示遮罩
yes: function() {
layer.closeAll();
deleteActivityConsumReturn(id,true);
}
});
}
//删除
function deleteActivityConsumReturn(id,showMsg){
$.ajax({
url:ctx+'/activityConsumReturn/deleteActivityConsumReturn',
data:[{
name:'id',
value:id
}],
type:'POST',
dataType:'json',
success:function(){
queryActivityConsumReturn(pageIndex);
if(showMsg){
layer.msg('删除成功!');
}
}
});
}
//头部编辑
function initEditActivityConsumReturn(){
var count=0;
var id=0;
$(".checkeBox").find("span").each(function () {
if($(this).hasClass("checked")){
count++;
id=$(this).data('id');
}
})
if(count>1){
layer.msg('只能选中一行记录进行操作!');
return ;
}
if(count==0){
layer.msg('请选中一行记录!');
return ;
}
if(id>0){
showActivityConsumReturnDetails(id);
}
}
//头部删除
function initBatchDeleteActivityConsumReturn(){
var count=0;
$(".checkeBox").find("span").each(function () {
if($(this).hasClass("checked")){
count++;
}
})
if(count==0){
layer.msg('请选中一行记录!');
return ;
}
layer.open({
type: 1,
closeBtn: 1,
title: '提示',
offset: 'm', //具体配置参考offset参数项
area: ['300px', '180px'],
content: '<div style="padding:10px;" class="textc mt20">确认删除吗?</div>',
btn: ['确认','取消'],
btnAlign: 'r', //按钮居中
shade: 0.3, //不显示遮罩
yes: function() {
layer.closeAll();
deleteBatchActivityConsumReturn();
}
});
}
//批量删除
function deleteBatchActivityConsumReturn(){
$(".checkeBox").find("span").each(function () {
if($(this).hasClass("checked")){
var id=$(this).data('id');
deleteActivityConsumReturn(id,false);
layer.msg('删除成功!');
}
})
}
//其他用户查看详情
function otherActivityConsumReturnDetails(id){
window.location=ctx+'/activityConsumReturn/otherActivityConsumReturnDetails?id='+id+'&pageIndex='+pageIndex;
}
//时间格式化处理
function dateFtt(fmt,date)
{ //author: meizz
var o = {
"M+" : date.getMonth()+1, //月份
"d+" : date.getDate(), //日
"h+" : date.getHours(), //小时
"m+" : date.getMinutes(), //分
"s+" : date.getSeconds(), //秒
"q+" : Math.floor((date.getMonth()+3)/3), //季度
"S" : date.getMilliseconds() //毫秒
};
if(/(y+)/.test(fmt))
fmt=fmt.replace(RegExp.$1, (date.getFullYear()+"").substr(4 - RegExp.$1.length));
for(var k in o)
if(new RegExp("("+ k +")").test(fmt))
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));
return fmt;
}

View File

@@ -0,0 +1,224 @@
/**
* create by robot
* date Thu Sep 12 16:16:36 CST 2019
*/
$(document).ready(function(){
//form表单样式
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
});
//日历控件
layui.use(['layer', 'laydate'], function() {
var layer = layui.layer;
laydate = layui.laydate;
laydate.render({
elem: '#date1' //指定元素
});
laydate.render({
elem: '#date2' //指定元素
});
});
//li 切换事件
$(".nav-tabs>li").click(function() {
var index = $(".nav-tabs>li").index(this);
$(this).addClass("active").siblings("li").removeClass("active");
})
//弹出一个提示层
$('.fa-save').on('click', function() {
saveActivityRecharge();
});
//绑定标签栏事件
$(document).on('click','.nav-tabs li',function(){
var action =$(this).data('action');
switch (action) {
case "base"://基本资料
goBase();
break;
case "functions"://多功能
goFunctions();
break;
case "extends"://扩展
goExtends();
break;
}
})
//加载第一个标签
$('.nav-tabs li').eq(0).click();
});
//跳转基本信息
function goBase(){
var url=ctx+'/activityRecharge/queryActivityRechargeBaseInfo?id='+$('#activityRechargeId').val();
$('.tab-content').load(url);
}
//跳转多功能输入
function goFunctions(){
var url=ctx+'/activityRecharge/queryActivityRechargeFunctionsInfo?id='+$('#activityRechargeId').val();
$('.tab-content').load(url);
}
//跳转到扩展
function goExtends(){
var url=ctx+'/activityRecharge/queryActivityRechargeExtendsInfo?id='+$('#activityRechargeId').val();
$('.tab-content').load(url);
}
//保存
function saveActivityRecharge(){
var isAdmin=$("#isAdmin").val();
if(isAdmin=='1'){
var merchantCode=$("#merchantCode option:selected").val();
if(StringUtil.isBlank(merchantCode)){
layer.msg('请选择商户');
return;
}
}
var storeId=$("#storeId option:selected").val();
if(StringUtil.isBlank(storeId)){
layer.msg('请选择门店');
return;
}
var rechargeMoney=$("#rechargeMoney").val();
if(StringUtil.isNotJustIntgerAndDecimals2(rechargeMoney)){
if(StringUtil.isBlank(rechargeMoney)){
layer.msg('请输入充值金额');
return;
}
layer.msg('请输入正确的充值金额(正整数或小数(保留两位小数))');
return;
}
if(StringUtil.isNotBlank(rechargeMoney)){
if(rechargeMoney<0.01){
layer.msg('充值金额必须大于0.01');
return;
}
}
var giveMoney=$("#giveMoney").val();
if(StringUtil.isNotJustIntgerAndDecimals2(giveMoney)){
if(StringUtil.isBlank(giveMoney)){
layer.msg('请输入赠送金额');
return;
}
layer.msg('请输入正确的赠送金额(正整数或小数(保留两位小数))');
return;
}
if(StringUtil.isNotBlank(giveMoney)){
if(parseInt(giveMoney)>parseInt(rechargeMoney)){
layer.msg('赠送金额必须小于充值金额');
return;
}
}
if(StringUtil.isNotBlank(giveMoney)){
if(giveMoney<0.01){
layer.msg('赠送金额必须大于0.01');
return;
}
}
var timeType=$("#timeType option:selected").val();
var date1=$("#date1").val();
var date2=$("#date2").val();
if(timeType=='1'){
if(StringUtil.isBlank(date1)){
layer.msg('请输入开始时间');
return;
}
if(StringUtil.isBlank(date2)){
layer.msg('请输入结束时间');
return;
}
}
$(".fa-save").attr("disabled","disabled");
$('.fa-save').html('正在保存...')
$.ajax({
url:ctx+"/activityRecharge/saveActivityRecharge",
type:"POST",
dataType:'json',
data:$("#data_form").serializeArray(),
complete:function(){
$(".fa-save").removeAttr("disabled");
$('.fa-save').html('保存')
},
success:function(service){
layer.confirm('保存成功,是否前往列表?', {
btn: ['确认','取消'] //按钮
}, function(){
$('#goback span').trigger('click');
}, function(){
layer.closeAll();
});
}
});
}
//onchange商户
$(function(){
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
form.on('select(selectMerchantCode)', function(data){
var merchantCode=data.value;
$.ajax({
url:ctx+'/merchantMenber/getStoreByMerchantCode',
type:'post',
dataType:'json',
data:{
'merchantCode':merchantCode,
},
success:function(result){
var storeList=result.merchantStoreList;
$("#storeId").empty();
var data='';
data+='<option value="">请选择</option>';
for (var i = 0; i < storeList.length; i++) {
data+='<option value='+storeList[i].storeId+'>'+storeList[i].storeName+'</option>'
}
$("#storeId").append(data);
form.render("select");
}
})
})
});
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form;
form.render();
form.on('select(selectTimeType)', function(data){
var timeType=data.value;
if(timeType=='1'){
$("#dateDetail").show();
}else{
$("#date1").val('');
$("#date2").val('');
$("#dateDetail").hide();
}
})
});
});

View File

@@ -0,0 +1,346 @@
/**
* create by robot
* date Thu Sep 12 16:16:36 CST 2019
*/
var pageIndex = 1;
$(document).ready(function () {
//调用查询
pageIndex = StringUtil.getQueryString('pageIndex');
if (pageIndex == undefined || pageIndex == null) {
pageIndex = 1;
}
queryActivityRecharge(pageIndex);
//绑定hover操作
$(document).on('mouseenter', '.listOperaters', function () {
$(this).children(".ops_itemDiv").show();
var width = 15;
$(this).children('div').find('li').each(function () {
//获取li宽度
width += $(this).width();
});
$(this).children('div').width(width);
})
$(document).on('mouseleave', '.listOperaters', function () {
$(this).children(".ops_itemDiv").hide();
});
//日历控件
layui.use(['layer', 'laydate'], function () {
var layer = layui.layer;
laydate = layui.laydate;
laydate.render({
elem: '#date1' //指定元素
});
laydate.render({
elem: '#date2' //指定元素
});
});
//行选中事件
$("#allCheck").find("span").click(function () {
$(this).toggleClass('checked');
if ($(this).hasClass('checked')) {
//所有列选中
$(".checker").find("span").each(function () {
$(this).addClass("checked");
})
} else {
//所有列取消选中
$(".checker").find("span").each(function () {
$(this).removeClass("checked");
})
}
});
//单个选中
$(document).on('click', '.checkeBox span', function () {
$(this).toggleClass('checked');
//设置头部事件
var length = $('.checkeBox span').length;
var count = 0;
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
count++;
}
})
//全选
if (count == length) {
$("#allCheck").find("span").addClass('checked');
} else {
$("#allCheck").find("span").removeClass('checked');
}
})
//左右div高度相等
var left_content_height = $(".right-content").height();
$(".left-content").height(left_content_height + 35);
var sub_left_height = $(".res-menu").height(left_content_height - 60);
});
//查询
function queryActivityRecharge(index) {
if (typeof (index) == 'undefined') {
index = 1;
}
var url = ctx + '/activityRecharge/queryActivityRechargeByPage';
$.ajax({
url: url,
type: "post",
dataType: "json",
data: {
"currPage": index,
"merchantName": $("#name").val(),
"startDt": $("#date1").val(),
"endDt": $("#date2").val(),
"id": $("#searchId").val(),
},
success: function (result) {
//渲染数据
$('#data_content').empty();
var presentPage = result.currPage;
var header = '';
$.each(result.activityRechargeList, function (i) {
var activityRecharge = result.activityRechargeList[i];
var orderNumber = (presentPage - 1) * 12 + i + 1;
var data = '';
data += '<tr class="odd">';
data += '<td class="textc">';
data += ' <div class="checker checkeBox">';
data += ' <span class="" data-id="' + activityRecharge.id + '"><input type="checkbox" value=""></span>';
data += ' </div>';
data += '</td>';
data += '<td class="textc">' + orderNumber + '</td>';
data += '<td class="textc">' + activityRecharge.id + '</td>';
/*data+='<td class="textc">'+activityRecharge.userId+'</td>';
data+='<td class="textc">'+activityRecharge.merchantCode+'</td>';*/
data += '<td class="textc">' + activityRecharge.name + '</td>';
/* var merchantName='';
if(StringUtil.isNotBlank(activityRecharge.merchantName)){
merchantName=activityRecharge.merchantName;
}
data+='<td class="textc">'+merchantName+'</td>';*/
var merchantName = '';
if (StringUtil.isNotBlank(activityRecharge.merchantName)) {
merchantName = activityRecharge.merchantName;
}
data += '<td class="textc">' + merchantName + '</td>';
var storeName = '';
if (StringUtil.isNotBlank(activityRecharge.storeName)) {
storeName = activityRecharge.storeName;
}
data += '<td class="textc">' + storeName + '</td>';
data += '<td class="textc">' + activityRecharge.rechargeMoney + '</td>';
data += '<td class="textc">' + activityRecharge.giveMoney + '</td>';
var startDt = '';
if (StringUtil.isNotBlank(activityRecharge.startDt)) {
// startDt=new Date(activityRecharge.startDt).toYYYYMMDD();
startDt = dateFtt("yyyy-MM-dd hh:mm:ss", new Date(activityRecharge.startDt));
}
data += '<td class="textc">' + startDt + '</td>';
var endDt = '';
if (StringUtil.isNotBlank(activityRecharge.endDt)) {
// endDt=new Date(activityRecharge.endDt).toYYYYMMDD();
endDt = dateFtt("yyyy-MM-dd hh:mm:ss", new Date(activityRecharge.endDt));
}
data += '<td class="textc">' + endDt + '</td>';
var timeType = '';
if (activityRecharge.timeType == '0') {
timeType = '永久';
} else if (activityRecharge.timeType == '1') {
timeType = '设置时间';
}
data += '<td class="textc">' + timeType + '</td>';
var createDt = '';
if (StringUtil.isNotBlank(activityRecharge.createDt)) {
// createDt = new Date(activityRecharge.createDt).toYYYYMMDD();
createDt = dateFtt("yyyy-MM-dd hh:mm:ss", new Date(activityRecharge.createDt));
}
data += '<td class="textc">' + createDt + '</td>';
/*data+='<td class="textc">'+activityRecharge.storeId+'</td>';*/
data += '<td class="textc">';
data += '<div class="positionr listOperaters">';
data += ' <a href="javascript:void(0);" class="icon-large dlblock w16 h16"><img src="' + resourcePath + '/images/angle-down.png"/></a>';
data += ' <div class="ops_box ops_itemDiv positiona clearfix whitebg">';
data += ' <ul>';
data += ' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="showActivityRechargeDetails(' + activityRecharge.id + ')" class="layui-btn layui-btn-sm layui-btn-radius fa fa-edit ops_more f12">编辑</a></li>';
data += ' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="initDeleteActivityRecharge(' + activityRecharge.id + ')" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger fa fa-remove ops_more f12">删除</a></li>';
data += ' </ul>';
data += ' </div>';
data += '</div>';
// data+='<div class="positionr listOperaters">';
// data+=' <a href="javascript:void(0);" class="icon-large dlblock w16 h16"><img src="'+resourcePath+'/images/angle-down.png"/></a>';
// data+=' <div class="ops_box ops_itemDiv positiona clearfix whitebg">';
// data+=' <ul>';
// data+=' <li class="fl ml2 mr2"><a href="javascript:void(0);" onclick="otherActivityRechargeDetails('+activityRecharge.id+')" class="layui-btn layui-btn-sm layui-btn-radius fa fa-edit ops_more f12">详情</a></li>';
// data+=' </ul>';
// data+=' </div>';
// data+='</div>';
data += '</td>';
data += '</tr>';
$('#data_content').append(data);
});
//分页
$('#pageCount').html(result.pageCount);
$('#currPage').html(result.currPage);
$('#totalCount').html(result.count);
//设置分页
pageIndex = result.currPage;
$('#pagination').pagination({
pageCount: result.pageCount,
jump: true,
coping: true,
jump: true,
homePage: '首页',
endPage: '末页',
prevContent: '上页',
nextContent: '下页',
current: result.currPage,
callback: function (api) {
pageIndex = api.getCurrent();
queryActivityRecharge(api.getCurrent());
}
});
}
});
//表头列不选中
$("#allCheck").find("span").removeClass('checked');
}
//初始化新增
function initAddActivityRecharge() {
window.location = ctx + '/activityRecharge/queryActivityRechargeDetails?pageIndex=' + pageIndex;
}
//初始化修改
function showActivityRechargeDetails(id) {
window.location = ctx + '/activityRecharge/queryActivityRechargeDetails?id=' + id + '&pageIndex=' + pageIndex;
}
//初始化删除
function initDeleteActivityRecharge(id) {
layer.open({
type: 1,
closeBtn: 1, title: '提示',
offset: 'm', //具体配置参考offset参数项
area: ['300px', '180px'],
content: '<div style="padding:10px;" class="textc mt20">确认删除吗?</div>',
btn: ['确认', '取消'],
btnAlign: 'r', //按钮居中
shade: 0.3,//不显示遮罩
yes: function () {
layer.closeAll();
deleteActivityRecharge(id, true);
}
});
}
//删除
function deleteActivityRecharge(id, showMsg) {
$.ajax({
url: ctx + '/activityRecharge/deleteActivityRecharge',
data: [{
name: 'id',
value: id
}],
type: 'POST',
dataType: 'json',
success: function () {
queryActivityRecharge(pageIndex);
if (showMsg) {
layer.msg('删除成功!');
}
}
});
}
//头部编辑
function initEditActivityRecharge() {
var count = 0;
var id = 0;
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
count++;
id = $(this).data('id');
}
})
if (count > 1) {
layer.msg('只能选中一行记录进行操作!');
return;
}
if (count == 0) {
layer.msg('请选中一行记录!');
return;
}
if (id > 0) {
showActivityRechargeDetails(id);
}
}
//头部删除
function initBatchDeleteActivityRecharge() {
var count = 0;
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
count++;
}
})
if (count == 0) {
layer.msg('请选中一行记录!');
return;
}
layer.open({
type: 1,
closeBtn: 1,
title: '提示',
offset: 'm', //具体配置参考offset参数项
area: ['300px', '180px'],
content: '<div style="padding:10px;" class="textc mt20">确认删除吗?</div>',
btn: ['确认', '取消'],
btnAlign: 'r', //按钮居中
shade: 0.3, //不显示遮罩
yes: function () {
layer.closeAll();
deleteBatchActivityRecharge();
}
});
}
//批量删除
function deleteBatchActivityRecharge() {
$(".checkeBox").find("span").each(function () {
if ($(this).hasClass("checked")) {
var id = $(this).data('id');
deleteActivityRecharge(id, false);
layer.msg('删除成功!');
}
})
}
//其他用户查看详情
function otherActivityRechargeDetails(id) {
window.location = ctx + '/activityRecharge/otherActivityRechargeDetails?id=' + id + '&pageIndex=' + pageIndex;
}
function dateFtt(fmt, date) { //author: meizz
var o = {
"M+": date.getMonth() + 1, //月份
"d+": date.getDate(), //日
"h+": date.getHours(), //小时
"m+": date.getMinutes(), //分
"s+": date.getSeconds(), //秒
"q+": Math.floor((date.getMonth() + 3) / 3), //季度
"S": date.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt))
fmt = fmt.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt))
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}

View File

@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
<title>My97DatePicker</title>
<script type="text/javascript" src="config.js"></script>
<script>
if(parent==window)
location.href = 'http://www.my97.net';
var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
if ($pdp.eCont) {
$dp = {};
for (var p in $pdp) {
$dp[p] = $pdp[p];
}
}
else
$dp = $pdp;
$dp.getLangIndex = function(name){
var arr = langList;
for (var i = 0; i < arr.length; i++) {
if (arr[i].name == name) {
return i;
}
}

View File

@@ -0,0 +1,523 @@
/*
* My97 DatePicker 4.72 Release
* License: http://www.my97.net/dp/license.asp
*/
var $dp, WdatePicker;
(function() {
var _ = {
$wdate : true,
$dpPath : "",
$crossFrame : true,
doubleCalendar : false,
enableKeyboard : true,
enableInputMask : true,
autoUpdateOnChanged : null,
whichDayIsfirstWeek : 4,
position : {},
lang : "auto",
skin : "twoer",
dateFmt : "yyyy-MM-dd",
realDateFmt : "yyyy-MM-dd",
realTimeFmt : "HH:mm:ss",
realFullFmt : "%Date %Time",
minDate : "1900-01-01 00:00:00",
maxDate : "2099-12-31 23:59:59",
startDate : "",
alwaysUseStartDate : false,
yearOffset : 1911,
firstDayOfWeek : 0,
isShowWeek : false,
highLineWeekDay : true,
isShowClear : true,
isShowToday : true,
isShowOK : true,
isShowOthers : true,
readOnly : false,
errDealMode : 0,
autoPickDate : null,
qsEnabled : true,
autoShowQS : false,
specialDates : null,
specialDays : null,
disabledDates : null,
disabledDays : null,
opposite : false,
onpicking : null,
onpicked : null,
onclearing : null,
oncleared : null,
ychanging : null,
ychanged : null,
Mchanging : null,
Mchanged : null,
dchanging : null,
dchanged : null,
Hchanging : null,
Hchanged : null,
mchanging : null,
mchanged : null,
schanging : null,
schanged : null,
eCont : null,
vel : null,
errMsg : "",
quickSel : [],
has : {}
};
WdatePicker = U;
var X = window, O = "document", J = "documentElement", C = "getElementsByTagName", V, A, T, I, b;
switch (navigator.appName) {
case "Microsoft Internet Explorer":
T = true;
break;
case "Opera":
b = true;
break;
default:
I = true;
break
}
A = L();
if (_.$wdate)
M(A + "skin/WdatePicker.css");
V = X;
if (_.$crossFrame) {
try {
while (V.parent && V.parent[O] != V[O]
&& V.parent[O][C]("frameset").length == 0)
V = V.parent
} catch (P) {
}
}
if (!V.$dp)
V.$dp = {
ff : I,
ie : T,
opera : b,
el : null,
win : X,
status : 0,
defMinDate : _.minDate,
defMaxDate : _.maxDate,
flatCfgs : []
};
B();
if ($dp.status == 0)
Z(X, function() {
U(null, true)
});
if (!X[O].docMD) {
E(X[O], "onmousedown", D);
X[O].docMD = true
}
if (!V[O].docMD) {
E(V[O], "onmousedown", D);
V[O].docMD = true
}
E(X, "onunload", function() {
if ($dp.dd)
Q($dp.dd, "none")
});
function B() {
V.$dp = V.$dp || {};
obj = {
$ : function($) {
return (typeof $ == "string") ? X[O].getElementById($) : $
},
$D : function($, _) {
return this.$DV(this.$($).value, _)
},
$DV : function(_, $) {
if (_ != "") {
this.dt = $dp.cal.splitDate(_, $dp.cal.dateFmt);
if ($)
for ( var B in $)
if (this.dt[B] === undefined)
this.errMsg = "invalid property:" + B;
else {
this.dt[B] += $[B];
if (B == "M") {
var C = $["M"] > 0 ? 1 : 0, A = new Date(
this.dt["y"], this.dt["M"], 0)
.getDate();
this.dt["d"] = Math
.min(A + C, this.dt["d"])
}
}
if (this.dt.refresh())
return this.dt
}
return ""
},
show : function() {
var A = V[O].getElementsByTagName("div"), $ = 100000;
for ( var B = 0; B < A.length; B++) {
var _ = parseInt(A[B].style.zIndex);
if (_ > $)
$ = _
}
this.dd.style.zIndex = $ + 2;
Q(this.dd, "block")
},
hide : function() {
Q(this.dd, "none")
},
attachEvent : E
};
for ( var $ in obj)
V.$dp[$] = obj[$];
$dp = V.$dp;
$dp.dd = V[O].getElementById("_my97DP")
}
function E(A, $, _) {
if (T)
A.attachEvent($, _);
else if (_) {
var B = $.replace(/on/, "");
_._ieEmuEventHandler = function($) {
return _($)
};
A.addEventListener(B, _._ieEmuEventHandler, false)
}
}
function L() {
var _, A, $ = X[O][C]("script");
for ( var B = 0; B < $.length; B++) {
_ = $[B].src.substring(0, $[B].src.toLowerCase().indexOf(
"wdatepicker.js"));
A = _.lastIndexOf("/");
if (A > 0)
_ = _.substring(0, A + 1);
if (_)
break
}
return _
}
function F(F) {
var E, C;
if (F.substring(0, 1) != "/" && F.indexOf("://") == -1) {
E = V.location.href;
C = location.href;
if (E.indexOf("?") > -1)
E = E.substring(0, E.indexOf("?"));
if (C.indexOf("?") > -1)
C = C.substring(0, C.indexOf("?"));
var G, I, $ = "", D = "", A = "", J, H, B = "";
for (J = 0; J < Math.max(E.length, C.length); J++) {
G = E.charAt(J).toLowerCase();
I = C.charAt(J).toLowerCase();
if (G == I) {
if (G == "/")
H = J
} else {
$ = E.substring(H + 1, E.length);
$ = $.substring(0, $.lastIndexOf("/"));
D = C.substring(H + 1, C.length);
D = D.substring(0, D.lastIndexOf("/"));
break
}
}
if ($ != "")
for (J = 0; J < $.split("/").length; J++)
B += "../";
if (D != "")
B += D + "/";
F = E.substring(0, E.lastIndexOf("/") + 1) + B + F
}
_.$dpPath = F
}
function M(A, $, B) {
var D = X[O][C]("HEAD").item(0), _ = X[O].createElement("link");
if (D) {
_.href = A;
_.rel = "stylesheet";
_.type = "text/css";
if ($)
_.title = $;
if (B)
_.charset = B;
D.appendChild(_)
}
}
function Z($, _) {
E($, "onload", _)
}
function G($) {
$ = $ || V;
var A = 0, _ = 0;
while ($ != V) {
var D = $.parent[O][C]("iframe");
for ( var F = 0; F < D.length; F++) {
try {
if (D[F].contentWindow == $) {
var E = W(D[F]);
A += E.left;
_ += E.top;
break
}
} catch (B) {
}
}
$ = $.parent
}
return {
"leftM" : A,
"topM" : _
}
}
function W(F) {
if (F.getBoundingClientRect)
return F.getBoundingClientRect();
else {
var A = {
ROOT_TAG : /^body|html$/i,
OP_SCROLL : /^(?:inline|table-row)$/i
}, E = false, H = null, _ = F.offsetTop, G = F.offsetLeft, D = F.offsetWidth, B = F.offsetHeight, C = F.offsetParent;
if (C != F)
while (C) {
G += C.offsetLeft;
_ += C.offsetTop;
if (S(C, "position").toLowerCase() == "fixed")
E = true;
else if (C.tagName.toLowerCase() == "body")
H = C.ownerDocument.defaultView;
C = C.offsetParent
}
C = F.parentNode;
while (C.tagName && !A.ROOT_TAG.test(C.tagName)) {
if (C.scrollTop || C.scrollLeft)
if (!A.OP_SCROLL.test(Q(C)))
if (!b || C.style.overflow !== "visible") {
G -= C.scrollLeft;
_ -= C.scrollTop
}
C = C.parentNode
}
if (!E) {
var $ = a(H);
G -= $.left;
_ -= $.top
}
D += G;
B += _;
return {
"left" : G,
"top" : _,
"right" : D,
"bottom" : B
}
}
}
function N($) {
$ = $ || V;
var B = $[O], A = ($.innerWidth) ? $.innerWidth
: (B[J] && B[J].clientWidth) ? B[J].clientWidth
: B.body.offsetWidth, _ = ($.innerHeight) ? $.innerHeight
: (B[J] && B[J].clientHeight) ? B[J].clientHeight
: B.body.offsetHeight;
return {
"width" : A,
"height" : _
}
}
function a($) {
$ = $ || V;
var B = $[O], A = B[J], _ = B.body;
B = (A && A.scrollTop != null && (A.scrollTop > _.scrollTop || A.scrollLeft > _.scrollLeft)) ? A
: _;
return {
"top" : B.scrollTop,
"left" : B.scrollLeft
}
}
function D($) {
var _ = $ ? ($.srcElement || $.target) : null;
try {
if ($dp.cal && !$dp.eCont && $dp.dd && _ != $dp.el
&& $dp.dd.style.display == "block")
$dp.cal.close()
} catch ($) {
}
}
function Y() {
$dp.status = 2;
H()
}
function H() {
if ($dp.flatCfgs.length > 0) {
var $ = $dp.flatCfgs.shift();
$.el = {
innerHTML : ""
};
$.autoPickDate = true;
$.qsEnabled = false;
K($)
}
}
var R, $;
function U(J, C) {
$dp.win = X;
B();
J = J || {};
if (C) {
if (!G()) {
$ = $ || setInterval(function() {
if (V[O].readyState == "complete")
clearInterval($);
U(null, true)
}, 50);
return
}
if ($dp.status == 0) {
$dp.status = 1;
K({
el : {
innerHTML : ""
}
}, true)
} else
return
} else if (J.eCont) {
J.eCont = $dp.$(J.eCont);
$dp.flatCfgs.push(J);
if ($dp.status == 2)
H()
} else {
if ($dp.status == 0) {
U(null, true);
return
}
if ($dp.status != 2)
return;
var F = D();
if (F) {
$dp.srcEl = F.srcElement || F.target;
F.cancelBubble = true
}
$dp.el = J.el = $dp.$(J.el || $dp.srcEl);
if (!$dp.el
|| $dp.el["My97Mark"] === true
|| $dp.el.disabled
|| ($dp.el == $dp.el && Q($dp.dd) != "none" && $dp.dd.style.left != "-1970px")) {
$dp.el["My97Mark"] = false;
return
}
K(J);
if (F && $dp.el.nodeType == 1 && $dp.el["My97Mark"] === undefined) {
$dp.el["My97Mark"] = false;
var _, A;
if (F.type == "focus") {
_ = "onclick";
A = "onfocus"
} else {
_ = "onfocus";
A = "onclick"
}
E($dp.el, _, $dp.el[A])
}
}
function G() {
if (T && V != X && V[O].readyState != "complete")
return false;
return true
}
function D() {
if (I) {
func = D.caller;
while (func != null) {
var $ = func.arguments[0];
if ($ && ($ + "").indexOf("Event") >= 0)
return $;
func = func.caller
}
return null
}
return event
}
}
function S(_, $) {
return _.currentStyle ? _.currentStyle[$] : document.defaultView
.getComputedStyle(_, false)[$]
}
function Q(_, $) {
if (_)
if ($ != null)
_.style.display = $;
else
return S(_, "display")
}
function K(H, $) {
for ( var D in _)
if (D.substring(0, 1) != "$")
$dp[D] = _[D];
for (D in H)
if ($dp[D] !== undefined)
$dp[D] = H[D];
var E = $dp.el ? $dp.el.nodeName : "INPUT";
if ($ || $dp.eCont
|| new RegExp(/input|textarea|div|span|p|a/ig).test(E))
$dp.elProp = E == "INPUT" ? "value" : "innerHTML";
else
return;
if ($dp.lang == "auto")
$dp.lang = T ? navigator.browserLanguage.toLowerCase()
: navigator.language.toLowerCase();
if (!$dp.dd
|| $dp.eCont
|| ($dp.lang && $dp.realLang && $dp.realLang.name != $dp.lang
&& $dp.getLangIndex && $dp.getLangIndex($dp.lang) >= 0)) {
if ($dp.dd && !$dp.eCont)
V[O].body.removeChild($dp.dd);
if (_.$dpPath == "")
F(A);
var B = "<iframe style=\"width:1px;height:1px\" src=\""
+ _.$dpPath
+ "My97DatePicker.htm\" frameborder=\"0\" border=\"0\" scrolling=\"no\"></iframe>";
if ($dp.eCont) {
$dp.eCont.innerHTML = B;
Z($dp.eCont.childNodes[0], Y)
} else {
$dp.dd = V[O].createElement("DIV");
$dp.dd.id = "_my97DP";
$dp.dd.style.cssText = "position:absolute";
$dp.dd.innerHTML = B;
V[O].body.appendChild($dp.dd);
Z($dp.dd.childNodes[0], Y);
if ($)
$dp.dd.style.left = $dp.dd.style.top = "-1970px";
else {
$dp.show();
C()
}
}
} else if ($dp.cal) {
$dp.show();
$dp.cal.init();
if (!$dp.eCont)
C()
}
function C() {
var F = $dp.position.left, B = $dp.position.top, C = $dp.el;
if (C != $dp.srcEl && (Q(C) == "none" || C.type == "hidden"))
C = $dp.srcEl;
var H = W(C), $ = G(X), D = N(V), A = a(V), E = $dp.dd.offsetHeight, _ = $dp.dd.offsetWidth;
if (isNaN(B)) {
if (B == "above"
|| (B != "under" && (($.topM + H.bottom + E > D.height) && ($.topM
+ H.top - E > 0))))
B = A.top + $.topM + H.top - E - 2;
else
B = A.top + $.topM + Math.min(H.bottom, D.height - E) + 2
} else
B += A.top + $.topM;
if (isNaN(F))
F = A.left + Math.min($.leftM + H.left, D.width - _ - 5)
- (T ? 2 : 0);
else
F += A.left + $.leftM;
$dp.dd.style.top = B + "px";
$dp.dd.style.left = F + "px"
}
}
})()

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,13 @@
var langList =
[
{name:'en', charset:'UTF-8'},
{name:'zh-cn', charset:'UTF-8'},
{name:'zh-tw', charset:'UTF-8'}
];
var skinList =
[
{name:'default', charset:'UTF-8'},
{name:'twoer', charset:'GB2312'},
{name:'whyGreen', charset:'UTF-8'}
];

View File

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

View File

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

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,339 @@
/*
* My97 DatePicker 4.8
* auther : zhangkun , hejianting(design)
* email : zhangkun_net@hotmail.com
* date : 2012-05-25
*/
.WdateDiv
{
position:relative;
padding:5px;
width:180px;
*width:190px;
font-size:12px;
color:#333;
border:solid 1px #DEDEDE;
background-color:#F2F0F1;
}
.WdateDiv2
{
width:360px;
}
.WdateDiv .NavImg a,.WdateDiv .yminput,.WdateDiv .yminputfocus,.WdateDiv #dpQS
{
background:url(img.gif) no-repeat;
}
.WdateDiv .NavImg a
{
float:left;
width:16px;
height:16px;
cursor:pointer;
}
.WdateDiv .NavImgll a
{
background-position:0px 5px;
}
.WdateDiv .NavImgl a
{
background-position:0px -10px;
}
.WdateDiv .NavImgr a
{
background-position:0px -25px;
float:right;
}
.WdateDiv .NavImgrr a
{
background-position:0px -40px;
float:right;
}
.WdateDiv #dpTitle
{
padding:3px 0px 0px 0px;
line-height:0px;
height:20px;
*height:23;
}
.WdateDiv .yminput,.WdateDiv .yminputfocus
{
margin-left:3px;
width:50px;
height:20px;
line-height:16px;
border:solid 1px #F2F0F1;
cursor:pointer;
background-position:35px -68px;
}
.WdateDiv .yminputfocus
{
background-color:#fff;
border:solid 1px #D8D8D8;
}
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#A3C6C8 1px solid;
display:none;
}
.WdateDiv .menu
{
background:#fff;
}
.WdateDiv .menuOn
{
color:#fff;
background:#64A3F3;
}
.WdateDiv .invalidMenu{
color:#aaa;
}
.WdateDiv .MMenu,.WdateDiv .YMenu
{
padding:2px;
margin-top:20px;
margin-left:-1px;
width:68px;
border:solid 1px #D9D9D9;
}
.WdateDiv .MMenu table,.WdateDiv .YMenu table
{
width:100%;
}
.WdateDiv .MMenu table td,.WdateDiv .YMenu table td
{
padding:0px;
line-height:20px;
text-align:center;
font-size:12px;
cursor: pointer;
}
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
.WdateDiv td
{
padding:1px;
line-height:20px;
font-size:12px;
color:#999999;
background:#fff;
cursor:pointer;
}
.WdateDiv .MTitle td
{
line-height:24px;
color:#7D7D7D;
background:#F2F0F1;
cursor: default;
}
.WdateDiv .WdayTable2
{
border-collapse:collapse;
border:#808080 1px solid;
}
.WdateDiv .WdayTable2 table
{
border:0;
}
.WdateDiv .WdayTable{
line-height:20px;
color:#13777e;
background-color:#edfbfb;
}
.WdateDiv .WdayTable td{
text-align:center;
}
.WdateDiv .Wday
{
color:#323232;
}
.WdateDiv .WdayOn
{
color:#fff;
background-color:#65A2F3;
}
.WdateDiv .Wwday
{
color:#65A4F3;
}
.WdateDiv .WwdayOn
{
color:#fff;
background-color:#65A2F3;
}
.WdateDiv .Wtoday
{
color:#FF6D10;
background:#E0EDFE;
}
.WdateDiv .Wselday
{
color:#fff;
background-color:#65A2F3;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
.WdateDiv .WotherDay
{
color:#D4D4D4;
}
.WdateDiv .WotherDayOn
{
color:#fff;
background-color:#65A2F3;
}
.WdateDiv .WinvalidDay{
color:#aaa;
}
.WdateDiv #dpTime
{
position:relative;
margin-top:5px;
}
.WdateDiv #dpTime #dpTimeStr
{
display:inline-block;
width:28px;
*width:30px;
color:#7d7d7d;
}
.WdateDiv #dpTime input
{
padding:0px;
margin:0px;
width:25px;
height:20px;
line-height:20px;
text-align:center;
color:#333;
border:#D9D9D9 1px solid;
}
.WdateDiv #dpTime .tm
{
width:7px;
border:none;
background:#F2F0F1;
}
.WdateDiv #dpTime #dpTimeUp
{
display:none;
}
.WdateDiv #dpTime #dpTimeDown
{
display:none;
}
.WdateDiv #dpQS
{
float:left;
margin-right:3px;
margin-top:9px;
*margin-top:6px;
width:16px;
height:16px;
cursor:pointer;
background-position:0px -90px;
}
.WdateDiv #dpControl
{
text-align:right;
margin-top:3px;
}
.WdateDiv .dpButton
{
margin-left:2px;
line-height:18px;
*line-height:16px;
width:45px;
background-color:#C3C3C3;
*background-color:#64A3F3;
color:#fff;
border:none;
cursor: pointer;
}
.WdateDiv .dpButton:hover
{
background-color:#64A3F3;
}
.WdateDiv .hhMenu,
.WdateDiv .mmMenu,
.WdateDiv .ssMenu
{
position:absolute;
padding:3px;
font-size:12px;
color:#333;
border:solid 1px #DEDEDE;
background-color:#F2F0F1;
}
.WdateDiv #dpTime .menu,.WdateDiv #dpTime .menuOn
{
width:18px;
height:18px;
line-height:18px;
text-align:center;
background:#fff;
}
.WdateDiv #dpTime .menuOn
{
background:#65A2F3;
}
.WdateDiv #dpTime td
{
background:#F2F0F1;
}
.WdateDiv .hhMenu
{
top:-87px;
left:35px;
left:32px\9;
}
.WdateDiv .mmMenu
{
top:-47px;
left:35px;
left:32px\9;
}
.WdateDiv .ssMenu
{
top:-27px;
left:35px;
left:32px\9;
}

View File

@@ -0,0 +1 @@
.WdateDiv{position:relative;width:190px;font-size:12px;color:#333;border:solid 1px #DEDEDE;background-color:#F2F0F1;padding:5px;}.WdateDiv2{width:360px;}.WdateDiv .NavImg a,.WdateDiv .yminput,.WdateDiv .yminputfocus,.WdateDiv #dpQS{background:url(img.gif) no-repeat;}.WdateDiv .NavImg a{float:left;width:16px;height:16px;cursor:pointer;}.WdateDiv .NavImgll a{background-position:0 5px;}.WdateDiv .NavImgl a{background-position:0 -10px;}.WdateDiv .NavImgr a{background-position:0 -25px;float:right;}.WdateDiv .NavImgrr a{background-position:0 -40px;float:right;}.WdateDiv #dpTitle{line-height:0;height:23px;padding:3px 0 0;}.WdateDiv .yminput,.WdateDiv .yminputfocus{margin-left:3px;width:50px;height:20px;line-height:16px;border:solid 1px #F2F0F1;cursor:pointer;background-position:35px -68px;}.WdateDiv .yminputfocus{background-color:#fff;border:solid 1px #D8D8D8;}.WdateDiv .menuSel{z-index:1;position:absolute;background-color:#FFF;border:#A3C6C8 1px solid;display:none;}.WdateDiv .menu{background:#fff;}.WdateDiv .menuOn{color:#fff;background:#64A3F3;}.WdateDiv .MMenu,.WdateDiv .YMenu{margin-top:20px;margin-left:-1px;width:68px;border:solid 1px #D9D9D9;padding:2px;}.WdateDiv .MMenu table,.WdateDiv .YMenu table{width:100%;}.WdateDiv .MMenu table td,.WdateDiv .YMenu table td{line-height:20px;text-align:center;font-size:12px;cursor:pointer;padding:0;}.WdateDiv .Wweek{text-align:center;background:#DAF3F5;border-right:#BDEBEE 1px solid;}.WdateDiv td{line-height:20px;font-size:12px;color:#999;background:#fff;cursor:pointer;padding:1px;}.WdateDiv .MTitle td{line-height:24px;color:#7D7D7D;background:#F2F0F1;cursor:default;}.WdateDiv .WdayTable2{border-collapse:collapse;border:gray 1px solid;}.WdateDiv .WdayTable2 table{border:0;}.WdateDiv .WdayTable{line-height:20px;color:#13777e;background-color:#edfbfb;}.WdateDiv .WdayTable td{text-align:center;}.WdateDiv .Wday{color:#323232;}.WdateDiv .Wwday{color:#65A4F3;}.WdateDiv .Wtoday{color:#FF6D10;background:#E0EDFE;}.WdateDiv .WspecialDay{background-color:#66F4DF;}.WdateDiv .WotherDay{color:#D4D4D4;}.WdateDiv #dpTime{position:relative;margin-top:5px;}.WdateDiv #dpTime #dpTimeStr{display:inline-block;width:30px;color:#7d7d7d;}.WdateDiv #dpTime input{width:25px;height:20px;line-height:20px;text-align:center;color:#333;border:#D9D9D9 1px solid;margin:0;padding:0;}.WdateDiv #dpTime .tm{width:7px;border:none;background:#F2F0F1;}.WdateDiv #dpQS{float:left;margin-right:3px;margin-top:6px;width:16px;height:16px;cursor:pointer;background-position:0 -90px;}.WdateDiv #dpControl{text-align:right;margin-top:3px;}.WdateDiv .dpButton{margin-left:2px;line-height:16px;width:45px;background-color:#64A3F3;color:#fff;border:none;cursor:pointer;}.WdateDiv .dpButton:hover{background-color:#64A3F3;}.WdateDiv .hhMenu,.WdateDiv .mmMenu,.WdateDiv .ssMenu{position:absolute;font-size:12px;color:#333;border:solid 1px #DEDEDE;background-color:#F2F0F1;padding:3px;}.WdateDiv #dpTime .menu,.WdateDiv #dpTime .menuOn{width:18px;height:18px;line-height:18px;text-align:center;background:#fff;}.WdateDiv #dpTime .menuOn{background:#65A2F3;}.WdateDiv #dpTime td{background:#F2F0F1;}.WdateDiv .hhMenu{top:-87px;left:32px;}.WdateDiv .mmMenu{top:-47px;left:32px;}.WdateDiv .ssMenu{top:-27px;left:32px;}.WdateDiv .invalidMenu,.WdateDiv .WinvalidDay{color:#aaa;}.WdateDiv .WdayOn,.WdateDiv .WwdayOn,.WdateDiv .Wselday,.WdateDiv .WotherDayOn{background-color:#65A2F3;color:#fff;}.WdateDiv #dpTime #dpTimeUp,.WdateDiv #dpTime #dpTimeDown{display:none;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,43 @@
var is = false;
$(function() {
$("#te").on('click',function(){
$("#title").focus();
})
$("#st").on('click',function(){
$("#content").focus();
})
$("#de").on('click',function(){
$("#createTime").focus();
})
$("#ul").on('click',function(){
$("#url").focus();
})
$("#compere_btn_save").on('click', function() {
validate();
if (is) {
document.form1.action = "/auth/announcement/saveAnnouncementInfo";
document.form1.submit();
}
});
$("#compere_btn_edit")
.on(
'click',
function() {
validate();
if (is) {
document.form1.action = "/auth/announcement/editAnnouncementInfo?id="
+ id;
document.form1.submit();
}
});
});
function validate() {
if ($("#title").val() == "") {
alert('标题不能为空!');
return;
} else if ($("#content").val() == "") {
alert('内容不能为空!');
return;
} else
is = true;
}

View File

@@ -0,0 +1,62 @@
var table;
$(function() {
initTable();
$("#query_btn").click(function() {
table.fnDraw();
});
});
function initTable() {
if (table == undefined) {
table = $("#tableList")
.myDataTable(
{
"sAjaxSource" : ctx
+ '/announcement/queryannouncement1',
"paramSelector" : '#name',
"iDisplayLength" : 10,
"bSort" : false,
"aoColumns" : [
{
"sTitle" : "序列",
"bSortable" : true,
sWidth : 100
},
{
"sTitle" : "标题",
sWidth : 150
},
{
"sTitle" : "内容",
sWidth : 300
},
{
"sTitle" : "创建时间",
},
{
"sTitle" : "更新时间",
},
{
"sTitle" : "路径",
},
{
"sTitle" : "操作",
fnRender : function(obj) {
var id = obj.aData[0];
return "<a href='"
+ ctx
+ "/announcement/queryAnnouncementInfoById?id={0}'>编辑</a>&nbsp|&nbsp"
.format(id)
+ "<a href='javascript:deletes({0})'>删除</a>"
.format(id);
}
} ]
});
} else {
table.fnPageChange("first", true);
}
}
function deletes(id){
if(confirm('确定删除吗?'))
window.location.href=ctx+'/announcement/deleteAnnouncementInfo?id='+id;
}

View File

@@ -0,0 +1,76 @@
var table;
$(function() {
initTable();
$("#query_btn").click(function() {
table.fnDraw();
});
});
function initTable() {
if (table == undefined) {
table = $("#tableList").myDataTable({
"sAjaxSource" : ctx + '/carousel/queryCarousels1',
"paramSelector" : '#name',
"iDisplayLength" : 10,
"bSort" : false,
"aoColumns" : [
{
"sTitle" : "序列",
"bSortable" : true,
sWidth : 100
},
{
"sTitle" : "标题",
sWidth : 150
},
{
"sTitle" : "预览",
"fnRender" : function(obj){
var id = obj.aData[6];
var img = obj.aData[2];
return "<a href='#' onmouseover='showPic(this,"+id+")' onmouseout='hiddenPic("+id+")'>查看</a>"
+"<div id='Layer"+id+"' style='display:none;position:absolute;z-index:1;'><img width='190' height='280' src='"+res+"/upload/"+img+"'></div>";
}
},
{
"sTitle" : "创建时间",
},
{
"sTitle" : "更新时间",
},
{
"sTitle" : "排序",
},
{
"sTitle" : "操作",
fnRender : function(obj) {
var id = obj.aData[6];
return "<a href='"+ctx+"/carousel/queryCarouselsById?id={0}'>编辑</a>&nbsp|&nbsp".format(id)
+ "<a href='javascript:deletes({0})'>删除</a>".format(id);
}
} ]
});
} else {
table.fnPageChange("first", true);
}
}
function showPic(obj,id){
var x=$(obj).offset.top;
var y=$(obj).offset.left;
document.getElementById("Layer"+id+"").style.left = x;
document.getElementById("Layer"+id+"").style.top = y;
document.getElementById("Layer"+id+"").style.display = "block";
}
function hiddenPic(id){
document.getElementById("Layer"+id+"").style.display = "none";
}
function deletes(id){
if(confirm('确定删除吗?')){
window.location.href=ctx+'/carousel/deleteCarouselInfo?id='+id;
}
}

View File

@@ -0,0 +1,45 @@
var is = false;
$(function() {
// 初始化页面
$("#te").on('click',function(){
$("#title").focus();
})
$("#st").on('click',function(){
$("#sort").focus();
})
var myfile = document.getElementById('qwer');
myfile.remove();
$("#img")
.append(
"<span class='file-wrapper' id='qwer'>"
+ "<img src='"
+ res
+ "/third-party/img/message/upload.png'/>"
+ "<input type='file' name='upload1' id='upload1' value='上传图片1' onchange='onUploadImgChange(this,1)'/>"
+ "</span>");
// 提交表单
$("#compere_btn_save").on('click', function() {
validate();
if (is) {
document.form1.action = "/auth/carousel/saveCarouselInfoList";
document.form1.submit();
}
});
$("#compere_btn_edit").on('click', function() {
validate();
if (is) {
document.form1.action = "/auth/carousel/editCarouselInfo?id=" + id;
document.form1.submit();
}
});
});
function validate() {
if ($("#title").val()=="") {
alert('标题不能为空!');
return;
} else if ($("#upload1").val()=="") {
alert('您还没有上传图片!');
return;
} else
is = true;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,298 @@
.breadcrumb {
margin-top: 10px;
}
.btn-bar {
margin-bottom : 10px;
}
.form-inline {
overflow:hidden;
}
.form-inline .control-group.inline label {
width: 80px;
text-align: right;
margin-right: 10px;
}
.form-horizontal .controls {
margin-left: 90px;
}
@media ( max-width : 480px) {
.form-inline .control-group.inline label {
width: 80px;
text-align: left;
float: none;
}
.form-horizontal .controls {
margin-left: 0px;
}
}
.form-horizontal .control-label {
width: 80px;
margin-right: 10px;
}
.radio.inline,.checkbox.inline {
margin-left: 0px !important;
margin-right: 10px;
}
label span.help-inline {
color: #FF0000;
}
.form-inline .control-group {
margin-right: 15px;
margin-bottom: 15px;
}
.form-btns {
margin: 20px auto;
text-align: center;
}
.form-btns button,.form-btns input {
margin-right: 15px;
}
.form-inline .pull-right button {
margin-right: 15px;
}
.control-group .controls button{
margin-right: 15px;
}
.uploadify {
display: inline-block;
margin: auto 10px;
}
.input-text-medium {
width: 140px;
}
.toolbar {
margin: 10px 0px;
}
.toolbar button,.toolbar input {
margin: auto 10px;
}
.select-all {
font-weight: bold;
}
.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.inline {
display: inline-block;
}
.date-picker {
cursor: pointer !important;
}
/*dialog*/
.ui-widget-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #aaaaaa ;
opacity: .3;
filter: Alpha(Opacity=30);
}
/* Sidenav for Docs
-------------------------------------------------- */
.bs-docs-sidenav {
/* width: 228px; */
margin: 30px 0 0;
padding: 0;
background-color: #fff;
/* -webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px; */
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
display: block;
margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #e5e5e5;
}
/* .bs-docs-sidenav > li:first-child > a {
-webkit-border-radius: 6px 6px 0 0;
-moz-border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
-webkit-border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
} */
.bs-docs-sidenav > li.active > a {
position: relative;
z-index: 2;
padding: 9px 15px;
border: 0;
text-shadow: 0 1px 0 rgba(0,0,0,.15);
-webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
-moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
float: right;
margin-top: 2px;
margin-right: -6px;
opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
opacity: 1;
}
.bs-docs-sidenav.affix {
/* top: 40px; */
}
.bs-docs-sidenav.affix-bottom {
position: absolute;
top: auto;
bottom: 270px;
}
.ui-accordion .ui-accordion-content {
padding: 1em 1em;
}
/*multiselect*/
.ui-multiselect {
height: 30px;
margin-right : 0 !important;
}
.ui-multiselect-menu input[type="checkbox"] {
margin-top: -3px;
margin-right: 5px;
}
/*Blocks*/
.block {
border: 1px solid #ccc;
background: white;
margin: 1em 0em;
}
.dialog .block {
-webkit-box-shadow: 1px 1px 0px #ffffff;
-moz-box-shadow: 1px 1px 0px #ffffff;
box-shadow: 1px 1px 0px #ffffff;
}
.block-heading {
border-bottom: 1px solid #a6a6a6;
border-left: none;
color: #505050;
display: block;
margin-bottom: 0px;
text-shadow: none;
text-transform: none;
font-weight: bold;
font-size: .85em;
line-height: 3em;
}
.block-heading .block-icon {
border-right: 1px solid #AAA;
border-left: none;
}
.block-heading .block-icon a {
padding: 0em;
}
.block-heading .block-icon [class*="icon-"] {
padding: 0em 1em;
line-height: 1em;
}
.block-heading .block-icon.pull-right {
border-left: 1px solid #AAA;
border-right: none;
}
.block-heading .label {
float: right;
margin-top: .5em;
margin-right: .75em;
line-height: 1.5em;
-webkit-box-shadow: 1px 1px 0px #ffffff;
-moz-box-shadow: 1px 1px 0px #ffffff;
box-shadow: 1px 1px 0px #ffffff;
}
p.block-heading,a.block-heading,.block-heading a {
color: #505050;
background: #dddddd;
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dddddd),
color-stop(1, #fafafa) );
background: -ms-linear-gradient(bottom, #dddddd, #fafafa);
background: -moz-linear-gradient(center bottom, #dddddd 0%, #fafafa 100%);
background: -o-linear-gradient(bottom, #dddddd, #fafafa);
filter: progid:dximagetransform.microsoft.gradient(startColorStr='#4d5b76',
EndColorStr='#6c7a95' );
-ms-filter:
"progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa',EndColorStr='#dddddd')";
display: block;
padding-left: 1em;
border-top: 1px solid #fff;
outline: none;
}
a.block-heading:hover,.block-heading a:hover {
background: #dddddd;
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dddddd),
color-stop(1, #fdfdfd) );
background: -ms-linear-gradient(bottom, #dddddd, #fdfdfd);
background: -moz-linear-gradient(center bottom, #dddddd 0%, #fdfdfd 100%);
background: -o-linear-gradient(bottom, #dddddd, #fdfdfd);
filter: progid:dximagetransform.microsoft.gradient(startColorStr='#4d5b76',
EndColorStr='#6c7a95' );
-ms-filter:
"progid:DXImageTransform.Microsoft.gradient(startColorStr='#fdfdfd',EndColorStr='#dddddd')";
color: #505050;
text-decoration: none;
}
.block-body {
margin: 1em;
min-height: .25em;
overflow : auto;
}
.block-body h1,.block-body h2,.block-body h3,.block-body h4,.block-body h5,.block-body h6,.block-body table
{
margin-top: 12px;
}
.block-body.collapse {
margin-top: 0em;
margin-bottom: 0em;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,468 @@
/* basic scrollbar styling */
/* vertical scrollbar */
.mCSB_container{
width:auto;
}
.mCSB_container.mCS_no_scrollbar{
margin-right:0;
}
.mCS_disabled>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar,
.mCS_destroyed>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar{
margin-right:30px;
}
.mCustomScrollBox>.mCSB_scrollTools{
width:16px;
height:100%;
top:0;
right:0;
}
.mCSB_scrollTools .mCSB_draggerContainer{
position:absolute;
top:0;
left:0;
bottom:0;
right:0;
height:auto;
}
.mCSB_scrollTools a+.mCSB_draggerContainer{
margin:20px 0;
}
.mCSB_scrollTools .mCSB_draggerRail{
width:2px;
height:100%;
margin:0 auto;
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
.mCSB_scrollTools .mCSB_dragger{
cursor:pointer;
width:100%;
height:30px;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:4px;
height:100px;
margin:0 auto;
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
text-align:center;
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown{
display:block;
position:relative;
height:20px;
margin:0 auto;
cursor:pointer;
}
.mCSB_scrollTools .mCSB_buttonDown{
top:100%;
margin-top:-40px;
}
/* horizontal scrollbar */
.mCSB_horizontal>.mCSB_container{
height:auto;
margin-right:0;
margin-bottom:30px;
}
.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar{
margin-bottom:0;
}
.mCS_disabled>.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar,
.mCS_destroyed>.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar{
margin-right:0;
margin-bottom:30px;
}
.mCSB_horizontal.mCustomScrollBox>.mCSB_scrollTools{
width:100%;
height:16px;
top:auto;
right:auto;
bottom:0;
left:0;
}
.mCSB_horizontal>.mCSB_scrollTools a+.mCSB_draggerContainer{
margin:0 20px;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
width:100%;
height:2px;
margin:7px 0;
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger{
width:30px;
height:100%;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:100%;
height:4px;
margin:6px auto;
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonRight{
display:block;
position:relative;
width:20px;
height:100%;
margin:0 auto;
cursor:pointer;
float:left;
}
.mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonRight{
margin-left:-40px;
float:right;
}
.mCustomScrollBox{
-ms-touch-action:none; /*MSPointer events - direct all pointer events to js*/
}
/* default scrollbar colors and backgrounds (default theme) */
.mCustomScrollBox>.mCSB_scrollTools{
opacity:0.75;
filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCustomScrollBox:hover>.mCSB_scrollTools{
opacity:1;
filter:"alpha(opacity=100)"; -ms-filter:"alpha(opacity=100)"; /* old ie */
}
.mCSB_scrollTools .mCSB_draggerRail{
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.4);
filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
background:#fff; /* rgba fallback */
background:rgba(255,255,255,0.75);
filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
background:rgba(255,255,255,0.85);
filter:"alpha(opacity=85)"; -ms-filter:"alpha(opacity=85)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
background:rgba(255,255,255,0.9);
filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown,
.mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_scrollTools .mCSB_buttonRight{
background-image:url(mCSB_buttons.png);
background-repeat:no-repeat;
opacity:0.4;
filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
}
.mCSB_scrollTools .mCSB_buttonUp{
background-position:0 0;
/*
sprites locations are 0 0/-16px 0/-32px 0/-48px 0 (light) and -80px 0/-96px 0/-112px 0/-128px 0 (dark)
*/
}
.mCSB_scrollTools .mCSB_buttonDown{
background-position:0 -20px;
/*
sprites locations are 0 -20px/-16px -20px/-32px -20px/-48px -20px (light) and -80px -20px/-96px -20px/-112px -20px/-128px -20px (dark)
*/
}
.mCSB_scrollTools .mCSB_buttonLeft{
background-position:0 -40px;
/*
sprites locations are 0 -40px/-20px -40px/-40px -40px/-60px -40px (light) and -80px -40px/-100px -40px/-120px -40px/-140px -40px (dark)
*/
}
.mCSB_scrollTools .mCSB_buttonRight{
background-position:0 -56px;
/*
sprites locations are 0 -56px/-20px -56px/-40px -56px/-60px -56px (light) and -80px -56px/-100px -56px/-120px -56px/-140px -56px (dark)
*/
}
.mCSB_scrollTools .mCSB_buttonUp:hover,
.mCSB_scrollTools .mCSB_buttonDown:hover,
.mCSB_scrollTools .mCSB_buttonLeft:hover,
.mCSB_scrollTools .mCSB_buttonRight:hover{
opacity:0.75;
filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCSB_scrollTools .mCSB_buttonUp:active,
.mCSB_scrollTools .mCSB_buttonDown:active,
.mCSB_scrollTools .mCSB_buttonLeft:active,
.mCSB_scrollTools .mCSB_buttonRight:active{
opacity:0.9;
filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
}
/*scrollbar themes*/
/*dark (dark colored scrollbar)*/
.mCS-dark>.mCSB_scrollTools .mCSB_draggerRail{
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.15);
}
.mCS-dark>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.75);
}
.mCS-dark>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
background:rgba(0,0,0,0.85);
}
.mCS-dark>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
background:rgba(0,0,0,0.9);
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonUp{
background-position:-80px 0;
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonDown{
background-position:-80px -20px;
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonLeft{
background-position:-80px -40px;
}
.mCS-dark>.mCSB_scrollTools .mCSB_buttonRight{
background-position:-80px -56px;
}
/*light-2*/
.mCS-light-2>.mCSB_scrollTools .mCSB_draggerRail{
width:4px;
background:#fff; /* rgba fallback */
background:rgba(255,255,255,0.1);
-webkit-border-radius:1px;
-moz-border-radius:1px;
border-radius:1px;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:4px;
background:#fff; /* rgba fallback */
background:rgba(255,255,255,0.75);
-webkit-border-radius:1px;
-moz-border-radius:1px;
border-radius:1px;
}
.mCS-light-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
width:100%;
height:4px;
margin:6px 0;
}
.mCS-light-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:100%;
height:4px;
margin:6px auto;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
background:rgba(255,255,255,0.85);
}
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-light-2>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
background:rgba(255,255,255,0.9);
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonUp{
background-position:-32px 0;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonDown{
background-position:-32px -20px;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonLeft{
background-position:-40px -40px;
}
.mCS-light-2>.mCSB_scrollTools .mCSB_buttonRight{
background-position:-40px -56px;
}
/*dark-2*/
.mCS-dark-2>.mCSB_scrollTools .mCSB_draggerRail{
width:4px;
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.1);
-webkit-border-radius:1px;
-moz-border-radius:1px;
border-radius:1px;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:4px;
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.75);
-webkit-border-radius:1px;
-moz-border-radius:1px;
border-radius:1px;
}
.mCS-dark-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
width:100%;
height:4px;
margin:6px 0;
}
.mCS-dark-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:100%;
height:4px;
margin:6px auto;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
background:rgba(0,0,0,0.85);
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark-2>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
background:rgba(0,0,0,0.9);
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonUp{
background-position:-112px 0;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonDown{
background-position:-112px -20px;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonLeft{
background-position:-120px -40px;
}
.mCS-dark-2>.mCSB_scrollTools .mCSB_buttonRight{
background-position:-120px -56px;
}
/*light-thick*/
.mCS-light-thick>.mCSB_scrollTools .mCSB_draggerRail{
width:4px;
background:#fff; /* rgba fallback */
background:rgba(255,255,255,0.1);
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:6px;
background:#fff; /* rgba fallback */
background:rgba(255,255,255,0.75);
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
}
.mCS-light-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
width:100%;
height:4px;
margin:6px 0;
}
.mCS-light-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:100%;
height:6px;
margin:5px auto;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
background:rgba(255,255,255,0.85);
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-light-thick>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
background:rgba(255,255,255,0.9);
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonUp{
background-position:-16px 0;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonDown{
background-position:-16px -20px;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonLeft{
background-position:-20px -40px;
}
.mCS-light-thick>.mCSB_scrollTools .mCSB_buttonRight{
background-position:-20px -56px;
}
/*dark-thick*/
.mCS-dark-thick>.mCSB_scrollTools .mCSB_draggerRail{
width:4px;
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.1);
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:6px;
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.75);
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
}
.mCS-dark-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
width:100%;
height:4px;
margin:6px 0;
}
.mCS-dark-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:100%;
height:6px;
margin:5px auto;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
background:rgba(0,0,0,0.85);
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
background:rgba(0,0,0,0.9);
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonUp{
background-position:-96px 0;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonDown{
background-position:-96px -20px;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonLeft{
background-position:-100px -40px;
}
.mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonRight{
background-position:-100px -56px;
}
/*light-thin*/
.mCS-light-thin>.mCSB_scrollTools .mCSB_draggerRail{
background:#fff; /* rgba fallback */
background:rgba(255,255,255,0.1);
}
.mCS-light-thin>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:2px;
}
.mCS-light-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
width:100%;
}
.mCS-light-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:100%;
height:2px;
margin:7px auto;
}
/*dark-thin*/
.mCS-dark-thin>.mCSB_scrollTools .mCSB_draggerRail{
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.15);
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:2px;
background:#000; /* rgba fallback */
background:rgba(0,0,0,0.75);
}
.mCS-dark-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{
width:100%;
}
.mCS-dark-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
width:100%;
height:2px;
margin:7px auto;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
background:rgba(0,0,0,0.85);
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
background:rgba(0,0,0,0.9);
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonUp{
background-position:-80px 0;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonDown{
background-position:-80px -20px;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonLeft{
background-position:-80px -40px;
}
.mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonRight{
background-position:-80px -56px;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,672 @@
/***
Login page
***/
a, button,div, img, input, label{
-webkit-border-radius: 0!important;
-moz-border-radius: 0!important;
border-radius: 4px!important;
}
.login {
background-color: #ccc !important; }
.login .logo {
margin: 50px auto 20px auto;
padding: 15px;
text-align: center; }
.login .logo div {
font-size: 30px;
color: #ffffff;
}
.login .content {
/* background: url(../images/login/bg-white-lock.png) repeat; */
background: #fff;
box-shadow: 0 0 20px rgba(0,0,0,.08), inset 0 0 3px #fff;
width: 360px;
margin: 0 auto;
margin-bottom: 0px;
padding: 30px;
padding-top: 20px;
padding-bottom: 15px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
-ms-border-radius: 7px;
-o-border-radius: 7px;
border-radius: 7px; }
.login .content h3 {
color: #4d5250;}
.login .content h4 {
color: #4d5250;}
.login .content p,
.login .content label {
color: #afafaf; }
.login .mt-checkbox > span:after {
border-color: #69d0d1; }
.login .content .login-form{
padding: 0px;
margin: 0px; }
.login .content .form-control {
background-color: #fff !important;
border-color: #e4e4e4;
border: 1px solid #e4e4e4;
border-radius: 0;
-webkit-transition: border 150ms linear;
transition: border 150ms linear;
box-shadow: none;}
.login .content .create-account {
border-top: 1px solid #eee;
text-align: center;
padding-top: 20px;
margin-left: -30px;
margin-right: -30px;
}
.login .content .form-title {
font-weight: 300;
margin-bottom: 25px; }
.login .content .form-actions {
background-color: transparent;
clear: both;
border: 0px;
padding: 5px 30px 40px 30px;
margin-left: -30px;
margin-right: -30px; }
.login .content .form-actions .rememberme {
display: inline-block;
font-weight: 100;}
.login .content .form-actions .btn {
border-radius: 4px!important;
margin-top: 1px; }
/* footer copyright */
.login .copyright {
text-align: center;
margin: 0 auto;
padding: 10px;
color: #eee;
font-size: 13px; }
.login .copyright a{
color: #eee !important;
}
@media (max-width: 480px) {
/***
Login page
***/
.login .logo {
margin-top: 10px; }
.login .content {
padding: 30px;
/* width: 222px; */ }
.login .content h3 {
font-size: 22px; }
.login .checkbox {
font-size: 13px; } }
.btn.green {
color: #FFF;
background-color: #3385ff;
border-color: #2d78f4;
}
.form-control:focus {
border: 1px solid #4b8df9 !important; }
/***
Input icons
***/
.input-icon {
position: relative;
left: 0; }
.input-icon > .form-control {
padding-left: 33px; }
.input-group .input-icon > .form-control {
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
-ms-border-radius: 4px 0 0 4px;
-o-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px; }
.input-icon > i {
color: #ccc;
display: block;
position: absolute;
margin: 11px 2px 4px 10px;
z-index: 3;
width: 16px;
font-size: 16px;
text-align: center;
left: 0; }
.modal .input-icon > i {
z-index: 10055; }
.has-success .input-icon > i {
color: #36c6d3; }
.has-warning .input-icon > i {
color: #F1C40F; }
.has-info .input-icon > i {
color: #659be0; }
.has-error .input-icon > i {
color: #ed6b75; }
.input-icon.right {
left: auto;
right: 0; }
.input-icon.right > .form-control {
padding-right: 33px;
padding-left: 12px; }
.input-group .input-icon.right > .form-control {
-webkit-border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
-ms-border-radius: 0 4px 4px 0;
-o-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0; }
.input-icon.right > i {
left: auto;
right: 8px;
float: right; }
.input-icon.input-icon-lg > i {
margin-top: 16px; }
.input-icon.input-icon-sm > i {
margin-top: 8px;
font-size: 13px; }
[class^="fa-"],
[class*=" fa-"]{
display: inline-block;
*margin-right: .3em;
line-height: 12px;
-webkit-font-smoothing: antialiased; }
.red{
color: red;
}
/***
checkbox
***/
.mt-radio,
.mt-checkbox {
display: inline-block;
position: relative;
padding-left: 30px;
margin-bottom: 15px;
cursor: pointer;
font-size: 14px;
webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s; }
.mt-radio.mt-radio-disabled, .mt-radio.mt-checkbox-disabled,
.mt-checkbox.mt-radio-disabled,
.mt-checkbox.mt-checkbox-disabled {
opacity: 0.6 ;
filter: alpha(opacity=60) ; }
.mt-radio > input,
.mt-checkbox > input {
position: absolute;
z-index: -1;
opacity: 0 ;
filter: alpha(opacity=0) ; }
.mt-radio > span,
.mt-checkbox > span {
border: 1px solid transparent;
position: absolute;
top: 0px;
left: 0;
height: 19px;
width: 19px;
background: #E6E6E6; }
.mt-radio > span:after,
.mt-checkbox > span:after {
content: '';
position: absolute;
display: none; }
.mt-radio:hover > input:not([disabled]) ~ span,
.mt-radio > input:focus ~ span,
.mt-checkbox:hover > input:not([disabled]) ~ span,
.mt-checkbox > input:focus ~ span {
background: #d9d9d9;
webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s; }
.mt-radio > input:checked ~ span,
.mt-checkbox > input:checked ~ span {
webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
background: #d9d9d9; }
.mt-radio > input:checked ~ span:after,
.mt-checkbox > input:checked ~ span:after {
display: block; }
.mt-radio:hover > input:not([disabled]):checked ~ span,
.mt-radio > input:checked ~ span,
.mt-checkbox:hover > input:not([disabled]):checked ~ span,
.mt-checkbox > input:checked ~ span {
webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
background: #d9d9d9; }
.mt-radio > input:disabled ~ span,
.mt-checkbox > input:disabled ~ span {
opacity: 0.6 ;
filter: alpha(opacity=60) ;
pointer-events: none; }
.mt-radio.mt-radio-outline > span, .mt-radio.mt-checkbox-outline > span,
.mt-checkbox.mt-radio-outline > span,
.mt-checkbox.mt-checkbox-outline > span {
border: 1px solid #d9d9d9;
background: none; }
.mt-radio.mt-radio-outline:hover > input:not([disabled]) ~ span,
.mt-radio.mt-radio-outline > input:focus ~ span, .mt-radio.mt-checkbox-outline:hover > input:not([disabled]) ~ span,
.mt-radio.mt-checkbox-outline > input:focus ~ span,
.mt-checkbox.mt-radio-outline:hover > input:not([disabled]) ~ span,
.mt-checkbox.mt-radio-outline > input:focus ~ span,
.mt-checkbox.mt-checkbox-outline:hover > input:not([disabled]) ~ span,
.mt-checkbox.mt-checkbox-outline > input:focus ~ span {
border: 1px solid #d9d9d9;
background: none; }
.mt-radio.mt-radio-outline > input:checked ~ span, .mt-radio.mt-checkbox-outline > input:checked ~ span,
.mt-checkbox.mt-radio-outline > input:checked ~ span,
.mt-checkbox.mt-checkbox-outline > input:checked ~ span {
border: 1px solid #d9d9d9;
background: none; }
.mt-radio.mt-radio-outline:hover > input:not([disabled]):checked ~ span,
.mt-radio.mt-radio-outline > input:checked ~ span, .mt-radio.mt-checkbox-outline:hover > input:not([disabled]):checked ~ span,
.mt-radio.mt-checkbox-outline > input:checked ~ span,
.mt-checkbox.mt-radio-outline:hover > input:not([disabled]):checked ~ span,
.mt-checkbox.mt-radio-outline > input:checked ~ span,
.mt-checkbox.mt-checkbox-outline:hover > input:not([disabled]):checked ~ span,
.mt-checkbox.mt-checkbox-outline > input:checked ~ span {
border: 1px solid #d9d9d9;
background: none; }
.mt-checkbox > span:after {
left: 6px;
top: 3px;
width: 5px;
height: 10px;
border: solid #666666;
border-width: 0 2px 2px 0;
transform: rotate(45deg); }
.mt-checkbox > input:disabled ~ span:after {
border-color: #666666; }
.form-inline .mt-checkbox {
margin-left: 15px;
margin-right: 15px; }
.mt-checkbox-list,
.mt-radio-list {
padding: 10px 0; }
.form-horizontal .form-group .mt-checkbox-list, .form-horizontal .form-group
.mt-radio-list {
padding-top: 0; }
.mt-checkbox-list .mt-checkbox,
.mt-checkbox-list .mt-radio,
.mt-radio-list .mt-checkbox,
.mt-radio-list .mt-radio {
display: block; }
.mt-checkbox-inline,
.mt-radio-inline {
padding: 10px 0; }
.form-horizontal .form-group .mt-checkbox-inline, .form-horizontal .form-group
.mt-radio-inline {
padding-top: 8px; }
.mt-checkbox-inline .mt-checkbox,
.mt-checkbox-inline .mt-radio,
.mt-radio-inline .mt-checkbox,
.mt-radio-inline .mt-radio {
display: inline-block;
margin-right: 15px; }
.mt-checkbox-inline .mt-checkbox:last-child,
.mt-checkbox-inline .mt-radio:last-child,
.mt-radio-inline .mt-checkbox:last-child,
.mt-radio-inline .mt-radio:last-child {
margin-right: 0; }
/* IE8 & IE9 mode utilities */
.visible-ie8 {
display: none; }
.ie8 .visible-ie8 {
display: inherit !important; }
.visible-ie9 {
display: none; }
.ie9 .visible-ie9 {
display: inherit !important; }
.hidden-ie8 {
display: inherit; }
.ie8 .hidden-ie8 {
display: none !important; }
.hidden-ie9 {
display: inherit; }
.ie9 .hidden-ie9 {
display: none !important; }
.align-right {
text-align: right !important;
}
.subsystem-container {
text-align: left;
font-size: 0;
padding: 10px 0 12px 5px;
-moz-transition: border-left-color 0.5s, box-shadow 0.5s, background-color 0.5s;
-o-transition: border-left-color 0.5s, box-shadow 0.5s, background-color 0.5s;
-webkit-transition: border-left-color 0.5s, box-shadow 0.5s, background-color 0.5s;
transition: border-left-color 0.5s, box-shadow 0.5s, background-color 0.5s;
border-top: 1px solid #EAEEF0;
}
.subsystem {
display: inline-block;
width: 300px;
height: 66px;
color: #555;
box-shadow: none;
border-radius: 0;
margin: -1px 0 0 -1px;
padding: 8px 3px 6px 9px;
/* border: 1px dotted;
border-color: #D8D8D8 !important; */
border-bottom: 1px dotted #D8D8D8;
vertical-align: middle;
text-align: left;
position: relative;
cursor:pointer;
}
.subsystem > .subsystem-icon {
display: inline-block;
vertical-align: top;
width: 44px;
}
.subsystem > .subsystem-icon > .ibps-icon {
display: inline-block;
height: 42px;
margin: 0;
padding: 1px 1px 0 2px;
background-color: transparent;
border-width: 0;
text-align: center;
position: relative;
border-radius: 100%;
-webkit-box-shadow: 1px 1px 0 rgba(0,0,0,0.2);
box-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}
.subsystem > .subsystem-icon > .ibps-icon:before {
font-size: 24px;
display: block;
padding: 12px 0 15px;
width: 40px;
text-align: center;
border-radius: 100%;
color: #FFFFFF;
background-color: transparent;
background-color: rgba(255, 255, 255, 0.2);
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.14);
}
.subsystem > .subsystem-data {
display: inline-block;
border-width: 0;
border-top-width: 0;
font-size: 18px;
text-align: left;
min-width: 130px;
padding-left: 8px;
top: 10px;
width: 240px;
position:relative;
line-height:23px;
overflow:hidden;
white-space: nowrap;
}
.subsystem > .subsystem-data::after {
font-weight:bold;
position:absolute;
bottom:0;
right:0;
padding:0 20px 1px 45px;
}
.subsystem-button{
padding:5px;
}
.subsystem-blue {
color: #6fb3e0;
border-color: #6fb3e0;
}
.subsystem-blue > .subsystem-icon > .ibps-icon {
background-color: #6fb3e0;
}
.subsystem-blue > .subsystem-icon > .ibps-image {
background: #6fb3e0;
}
.subsystem-blue.subsystem-dark {
background-color: #6fb3e0;
border-color: #6fb3e0;
}
.subsystem-blue2 {
color: #3983c2;
border-color: #3983c2;
}
.subsystem-blue2 > .subsystem-icon > .ibps-icon {
background-color: #3983c2;
}
.subsystem-blue2 > .subsystem-icon > .ibps-image {
background: #3983c2;
}
.subsystem-blue2.subsystem-dark {
background-color: #3983c2;
border-color: #3983c2;
}
.subsystem-blue3 {
color: #1144eb;
border-color: #1144eb;
}
.subsystem-blue3 > .subsystem-icon > .ibps-icon {
background-color: #1144eb;
}
.subsystem-blue3 > .subsystem-icon > .ibps-image {
background: #1144eb;
}
.subsystem-blue3.subsystem-dark {
background-color: #1144eb;
border-color: #1144eb;
}
.subsystem-red {
color: #d53f40;
border-color: #d53f40;
}
.subsystem-red > .subsystem-icon > .ibps-icon {
background-color: #d53f40;
}
.subsystem-red > .subsystem-icon > .ibps-image {
background: #d53f40;
}
.subsystem-red.subsystem-dark {
background-color: #d53f40;
border-color: #d53f40;
}
.subsystem-brown {
color: #c67a3e;
border-color: #c67a3e;
}
.subsystem-brown > .subsystem-icon > .ibps-icon {
background-color: #c67a3e;
}
.subsystem-brown > .subsystem-icon > .ibps-image {
background: #c67a3e;
}
.subsystem-brown.subsystem-dark {
background-color: #c67a3e;
border-color: #c67a3e;
}
.subsystem-wood {
color: #7b3f25;
border-color: #7b3f25;
}
.subsystem-wood > .subsystem-icon > .ibps-icon {
background-color: #7b3f25;
}
.subsystem-wood > .subsystem-icon > .ibps-image {
background: #7b3f25;
}
.subsystem-wood.subsystem-dark {
background-color: #7b3f25;
border-color: #7b3f25;
}
.subsystem-light-brown {
color: #cebea5;
border-color: #cebea5;
}
.subsystem-light-brown > .subsystem-icon > .ibps-icon {
background-color: #cebea5;
}
.subsystem-light-brown > .subsystem-icon > .ibps-image {
background: #cebea5;
}
.subsystem-light-brown.subsystem-dark {
background-color: #cebea5;
border-color: #cebea5;
}
.subsystem-orange {
color: #e8b110;
border-color: #e8b110;
}
.subsystem-orange > .subsystem-icon > .ibps-icon {
background-color: #e8b110;
}
.subsystem-orange > .subsystem-icon > .ibps-image {
background: #e8b110;
}
.subsystem-orange.subsystem-dark {
background-color: #e8b110;
border-color: #e8b110;
}
.subsystem-orange2 {
color: #f79263;
border-color: #f79263;
}
.subsystem-orange2 > .subsystem-icon > .ibps-icon {
background-color: #f79263;
}
.subsystem-orange2 > .subsystem-icon > .ibps-image {
background: #f79263;
}
.subsystem-orange2.subsystem-dark {
background-color: #f79263;
border-color: #f79263;
}
.subsystem-green {
color: #9abc32;
border-color: #9abc32;
}
.subsystem-green > .subsystem-icon > .ibps-icon {
background-color: #9abc32;
}
.subsystem-green > .subsystem-icon > .ibps-image {
background: #9abc32;
}
.subsystem-green.subsystem-dark {
background-color: #9abc32;
border-color: #9abc32;
}
.subsystem-green2 {
color: #0490a6;
border-color: #0490a6;
}
.subsystem-green2 > .subsystem-icon > .ibps-icon {
background-color: #0490a6;
}
.subsystem-green2 > .subsystem-icon > .ibps-image {
background: #0490a6;
}
.subsystem-green2.subsystem-dark {
background-color: #0490a6;
border-color: #0490a6;
}
.subsystem-grey {
color: #999999;
border-color: #999999;
}
.subsystem-grey > .subsystem-icon > .ibps-icon {
background-color: #999999;
}
.subsystem-grey > .subsystem-icon > .ibps-image {
background: #999999;
}
.subsystem-grey.subsystem-dark {
background-color: #999999;
border-color: #999999;
}
.subsystem-black {
color: #393939;
border-color: #393939;
}
.subsystem-black > .subsystem-icon > .ibps-icon {
background-color: #393939;
}
.subsystem-black > .subsystem-icon > .ibps-image {
background: #393939;
}
.subsystem-black.subsystem-dark {
background-color: #393939;
border-color: #393939;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
background-color: rgb(250, 255, 189);
background-image: none;
color: rgb(0, 0, 0);
}
.style-toggle {
float: right;
margin-top: -5px;
padding: 10px;
}
.btn-sm {
padding: 3px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 2px !important;
}
/*在线帮助*/
.suspend{width:40px;height:198px;position:fixed;top:200px;right:0;overflow:hidden;z-index:9999;}
.suspend dl{width:120px;height:198px;border-radius:25px 0 0 25px;padding-left:40px;box-shadow:0 0 5px #e4e8ec;}
.suspend dl dt{width:40px;height:198px;background:url(../images/suspend.png);position:absolute;top:0;left:0;cursor:pointer;}
.suspend dl dd.suspendQQ{width:120px;height:85px;background:#ffffff;}
.suspend dl dd.suspendQQ a{width:120px;height:85px;display:block;background:url(../images/suspend.png) -40px 0;overflow:hidden;}
.suspend dl dd.suspendTel{width:120px;height:112px;background:#ffffff;border-top:1px solid #e4e8ec;}
.suspend dl dd.suspendTel a{width:120px;height:112px;display:block;background:url(../images/suspend.png) -40px -86px;overflow:hidden;}
/** html .suspend{position:absolute;left:expression(eval(document.documentElement.scrollRight));top:expression(eval(document.documentElement.scrollTop+200))}*/

View File

@@ -0,0 +1,2 @@
/** layui-v2.5.6 MIT License By https://www.layui.com */
html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,118 @@
/*!
laypage默认样式
*/
.laypage_main a, .laypage_main input,.laypage_main select, .laypage_main span {
height: 26px;
line-height: 26px
}
/* .laypage_main button, .laypage_main input, .laypageskin_default a {
border: 1px solid #ccc;
background-color: #fff
} */
.laypage_main {
font-size: 0;
clear: both;
color: #666
}
.laypage_main * {
display: inline-block;
vertical-align: top;
font-size: 12px
}
.laypage_main a {
text-decoration: none;
color: #666
}
.laypage_main a, .laypage_main span {
margin: 0 3px 6px;
padding: 0 5px
}
.laypage_main .disabled{
opacity: .35;
filter: Alpha(Opacity=35);
background-image: none;
}
.laypage_main input {
width: 40px;
margin: 0 5px;
padding: 0 5px
}
.laypage_main select {
width: 50px;
margin: 0 5px;
padding: 0 5px
}
.laypage_main button {
height: 28px;
line-height: 28px;
margin-left: 5px;
padding: 0 10px;
color: #666
}
.laypageskin_default span {
height: 28px;
line-height: 28px;
color: #999
}
.laypageskin_default .laypage_curr {
font-weight: 700;
color: #666
}
.laypageskin_molv a, .laypageskin_molv span {
padding: 0 12px;
border-radius: 2px
}
.laypageskin_molv a {
background-color: #f1eff0
}
.laypageskin_molv .laypage_curr {
background-color: #00AA91;
color: #fff
}
.laypageskin_molv input {
height: 24px;
line-height: 24px
}
.laypageskin_molv button {
height: 26px;
line-height: 26px
}
.laypageskin_yahei {
color: #333
}
.laypageskin_yahei a, .laypageskin_yahei span {
padding: 0 13px;
border-radius: 2px;
color: #333
}
.laypageskin_yahei .laypage_curr {
background-color: #333;
color: #fff
}
.laypageskin_flow {
text-align: center
}
.laypageskin_flow .page_nomore {
color: #999
}

View File

@@ -0,0 +1,86 @@
@charset "UTF-8";
.pagination {
position: relative;
text-align: center;
zoom: 1;
}
.pagination:before,
.pagination:after {
content: "";
display: table;
}
.pagination:after {
clear: both;
overflow: hidden;
}
.pagination span {
float: left;
padding:0 13px;
height: 30px;
line-height: 30px;
color: #bdbdbd;
font-size: 12px;
box-sizing: border-box;
}
.pagination .active {
float: left;
padding:0 13px;
height: 30px;
line-height: 30px;
background: #1E9FFF;
color: #fff;
font-size: 12px;
border: 1px solid #1E9FFF;
}
.pagination a {
float: left;
padding:0 13px;
height: 30px;
line-height: 30px;
background: #fff;
border: 1px solid #ebebeb;
color: #bdbdbd;
font-size: 12px;
margin-right:-1px;
}
.pagination a:hover {
color: #1E9FFF;
}
.pagination .next,
.pagination .prev {
font-family: "Simsun";
font-size: 12px;
}
.now,
.count {
padding: 0 5px;
color: #1E9FFF;
}
.eg img {
max-width: 800px;
min-height: 500px;
}
.pagination input{
float: left;
margin: 0 2px;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
background: #fff;
border: 1px solid #ebebeb;
outline: none;
color: #bdbdbd;
font-size: 12px;
border-radius: 2px;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,114 @@
.dataTables_paginate {
float: right;
}
.dataTables_paginate input {
width: 70px;
height: 20px;
float: left;
}
.dataTables_paginate .paginate_button {
cursor: pointer;
}
.dataTables_paginate .paginate_button,.paginate_active {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: #FFFFFF;
border-color: #DDDDDD;
border-image: none;
border-style: solid;
border-width: 1px 1px 1px 0;
float: left;
line-height: 20px;
padding: 4px 12px;
text-decoration: none;
height: 20px;
}
.dataTables_paginate>span>.paginate_button {
color: #0088CC;
}
.dataTables_paginate .first {
border-bottom-left-radius: 4px;
border-left-width: 1px;
border-top-left-radius: 4px;
}
.dataTables_length {
float: left;
width: 80px;
margin-right : 10px;
}
.dataTables_length div {
width : 100%;
}
.dataTables_length select {
width: 100%;
}
.dataTables_paginate {
float: right;
width: auth;
}
.datatable-scroll {
overflow-x: auto;
overflow-y: visible;
}
.datatable-bottom {
margin-top : 10px;
}
.sorting_asc {
cursor: pointer;
background: url("./images/sort_asc.png") no-repeat scroll right center
transparent;
}
.sorting_desc {
cursor: pointer;
background: url("./images/sort_desc.png") no-repeat scroll right center
transparent;
}
.sorting {
cursor: pointer;
background: url("./images/sort_both.png") no-repeat scroll right center
transparent;
}
.dataTables_info {
float: left;
padding-top: 5px;
}
.dataTables_wrapper .table{
table-layout: fixed;
margin-bottom : 5px;
}
.dataTables_wrapper table th, .dataTables_wrapper table td {
text-align : center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dataTables_wrapper .table th,.dataTables_wrapper .table td {
text-align : center;
}
.dataTables_wrapper .align-left {
text-align : left !important;
}
.dataTables_wrapper .align-right {
text-align : right !important;
}

View File

@@ -0,0 +1,221 @@
/*
* Table
*/
table.dataTable {
margin: 0 auto;
clear: both;
width: 100%;
}
table.dataTable thead th {
padding: 3px 18px 3px 10px;
border-bottom: 1px solid black;
font-weight: bold;
cursor: pointer;
*cursor: hand;
}
table.dataTable tfoot th {
padding: 3px 18px 3px 10px;
border-top: 1px solid black;
font-weight: bold;
}
table.dataTable td {
padding: 3px 10px;
}
table.dataTable td.center,
table.dataTable td.dataTables_empty {
text-align: center;
}
table.dataTable tr.odd { background-color: #E2E4FF; }
table.dataTable tr.even { background-color: white; }
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
/*
* Table wrapper
*/
.dataTables_wrapper {
position: relative;
clear: both;
*zoom: 1;
}
/*
* Page length menu
*/
.dataTables_length {
float: left;
}
/*
* Filter
*/
.dataTables_filter {
float: right;
text-align: right;
}
/*
* Table information
*/
.dataTables_info {
clear: both;
float: left;
}
/*
* Pagination
*/
.dataTables_paginate {
float: right;
text-align: right;
}
/* Two button pagination - previous / next */
.paginate_disabled_previous,
.paginate_enabled_previous,
.paginate_disabled_next,
.paginate_enabled_next {
height: 19px;
float: left;
cursor: pointer;
*cursor: hand;
color: #111 !important;
}
.paginate_disabled_previous:hover,
.paginate_enabled_previous:hover,
.paginate_disabled_next:hover,
.paginate_enabled_next:hover {
text-decoration: none !important;
}
.paginate_disabled_previous:active,
.paginate_enabled_previous:active,
.paginate_disabled_next:active,
.paginate_enabled_next:active {
outline: none;
}
.paginate_disabled_previous,
.paginate_disabled_next {
color: #666 !important;
}
.paginate_disabled_previous,
.paginate_enabled_previous {
padding-left: 23px;
}
.paginate_disabled_next,
.paginate_enabled_next {
padding-right: 23px;
margin-left: 10px;
}
.paginate_enabled_previous { background: url('images/back_enabled.png') no-repeat top left; }
.paginate_enabled_previous:hover { background: url('images/back_enabled_hover.png') no-repeat top left; }
.paginate_disabled_previous { background: url('images/back_disabled.png') no-repeat top left; }
.paginate_enabled_next { background: url('images/forward_enabled.png') no-repeat top right; }
.paginate_enabled_next:hover { background: url('images/forward_enabled_hover.png') no-repeat top right; }
.paginate_disabled_next { background: url('images/forward_disabled.png') no-repeat top right; }
/* Full number pagination */
.paging_full_numbers {
height: 22px;
line-height: 22px;
}
.paging_full_numbers a:active {
outline: none
}
.paging_full_numbers a:hover {
text-decoration: none;
}
.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
border: 1px solid #aaa;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
padding: 2px 5px;
margin: 0 3px;
cursor: pointer;
*cursor: hand;
color: #333 !important;
}
.paging_full_numbers a.paginate_button {
background-color: #ddd;
}
.paging_full_numbers a.paginate_button:hover {
background-color: #ccc;
text-decoration: none !important;
}
.paging_full_numbers a.paginate_active {
background-color: #99B3FF;
}
/*
* Processing indicator
*/
.dataTables_processing {
position: absolute;
top: 50%;
left: 50%;
width: 250px;
height: 30px;
margin-left: -125px;
margin-top: -15px;
padding: 14px 0 2px 0;
border: 1px solid #ddd;
text-align: center;
color: #999;
font-size: 14px;
background-color: white;
}
/*
* Sorting
*/
.list-table .sorting { background: url('images/sort_both.png') no-repeat center right; }
.list-table .sorting_asc { background: url('images/sort_asc.png') no-repeat center right; }
.list-table .sorting_desc { background: url('images/sort_desc.png') no-repeat center right; }
.sorting_asc_disabled { background: url('images/sort_asc_disabled.png') no-repeat center right; }
.sorting_desc_disabled { background: url('images/sort_desc_disabled.png') no-repeat center right; }
table.dataTable thead th:active,
table.dataTable thead td:active {
outline: none;
}
/*
* Scrolling
*/
.dataTables_scroll {
clear: both;
}
.dataTables_scrollBody {
*margin-top: -1px;
-webkit-overflow-scrolling: touch;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

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