更新文件
2
public/static/.gitignore
vendored
@@ -1,2 +0,0 @@
|
||||
*
|
||||
!.gitignore
|
||||
36
public/static/admin/css/login.css
Normal file
@@ -0,0 +1,36 @@
|
||||
html,body{height:100%;width:100%;overflow:hidden!important;min-width:0}
|
||||
|
||||
.login-container{height:100%;background-color:#2494F2;overflow:hidden;font-size:9pt}
|
||||
.login-container ul{display:block;margin:0;padding:0;list-style:none}
|
||||
.login-container ul li{display:block;margin:0;padding:0;list-style:none}
|
||||
.login-container .clouds-container{position:absolute;overflow:hidden;height:100%;width:100%}
|
||||
.login-container .clouds{background:url("../images/cloud_two.png") repeat-x left 15%;position:absolute;left:0;top:0;height:100%;width:300%;-webkit-animation:cloudmove 200s linear infinite;-moz-animation:cloudmove 200s linear infinite;-o-animation:cloudmove 200s linear infinite;animation:cloudmove 200s linear infinite;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}
|
||||
.login-container .clouds-fast{background:url("../images/cloud.png") no-repeat 0 40%;-webkit-animation:cloudmove 30s linear infinite;-moz-animation:cloudmove 30s linear infinite;-o-animation:cloudmove 30s linear infinite;animation:cloudmove 30s linear infinite}
|
||||
.login-container .clouds-footer{background:url("../images/cloud_one.png") no-repeat left 100%;animation:none}
|
||||
|
||||
@keyframes cloudmove{0%{left:-50%}100%{left:150%}}
|
||||
@-moz-keyframes cloudmove{0%{left:-50%}100%{left:150%}}
|
||||
@-webkit-keyframes cloudmove{0%{left:-50%}100%{left:150%}}
|
||||
|
||||
.login-container .header{height:47px;position:absolute;top:0;z-index:100;width:100%}
|
||||
.login-container .header a,
|
||||
.login-container .header a:hover,
|
||||
.login-container .header a:focus{text-decoration:none;color:#eee;outline:none}
|
||||
.login-container .header a:hover{color:#fff}
|
||||
.login-container .header span.title{line-height:47px;text-indent:44px;float:left;color:#fff;font-size:16px}
|
||||
.login-container .header ul{float:right;padding-right:30px}
|
||||
.login-container .header ul li{float:left;margin-left:20px;line-height:47px;}
|
||||
.login-container .container{background:url(../images/bg.png) no-repeat center center;width:100%;height:585px;overflow:hidden;position:relative;top:50%;margin-top:-300px}
|
||||
|
||||
.login-from{box-shadow: 0 0 3px #cdcdcd; background: #ffffff; padding: 20px 30px; width:320px; margin: 50px auto auto auto; border-radius: 4px;}
|
||||
.login-from .logo{width: 60px; height:60px; overflow: hidden; margin: auto;}
|
||||
.login-from .logo img{width: 60px; height:60px;}
|
||||
.login-from .form{padding-top: 40px;}
|
||||
.login-from .form .el-form-item__content{margin-left: 0 !important;}
|
||||
.login-from .form .el-button{width: 100%;}
|
||||
|
||||
/* 底部版权 */
|
||||
.login-container .footer{height:50px;line-height:50px;text-align:center;position:absolute;bottom:0;width:100%;color:#fff;;letter-spacing:0.5px}
|
||||
.login-container .footer span{display:inline-block;height:10px;overflow:hidden;line-height:10px;padding-left:1px;padding-right:1px}
|
||||
.login-container .footer a{color:#fff}
|
||||
.login-container .footer a:hover{color:#fff}
|
||||
7041
public/static/admin/css/theme_styles.css
Normal file
BIN
public/static/admin/images/bg.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
public/static/admin/images/clear.png
Normal file
|
After Width: | Height: | Size: 306 B |
BIN
public/static/admin/images/cloud.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
public/static/admin/images/cloud_one.png
Normal file
|
After Width: | Height: | Size: 191 KiB |
BIN
public/static/admin/images/cloud_two.png
Normal file
|
After Width: | Height: | Size: 280 KiB |
BIN
public/static/admin/images/error-404-v2.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
public/static/admin/images/error-404-v3.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
public/static/admin/images/error-500-v1.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
public/static/admin/images/loading.gif
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/static/admin/images/login-img.jpg
Normal file
|
After Width: | Height: | Size: 580 KiB |
BIN
public/static/admin/images/logo-black.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
public/static/admin/images/logo-small.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/static/admin/images/logo.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
public/static/admin/images/pricing-star.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/static/admin/images/samples/1.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/static/admin/images/samples/10.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
public/static/admin/images/samples/11.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
public/static/admin/images/samples/12.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/static/admin/images/samples/13.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/static/admin/images/samples/14.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/static/admin/images/samples/2.jpg
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
public/static/admin/images/samples/3.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/static/admin/images/samples/4.jpg
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
public/static/admin/images/samples/5.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/static/admin/images/samples/6.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
public/static/admin/images/samples/7.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
public/static/admin/images/samples/8.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
public/static/admin/images/samples/9.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/static/admin/images/samples/angelina-300.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
public/static/admin/images/samples/email-sample-img-2.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
public/static/admin/images/samples/email-sample-img.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
public/static/admin/images/samples/email-sample-small-1.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/static/admin/images/samples/email-sample-small-180-3.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/static/admin/images/samples/email-sample-small-2.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/static/admin/images/samples/email-sample-small-260-1.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
public/static/admin/images/samples/email-sample-small-260-2.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/static/admin/images/samples/email-sample-small-3.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/static/admin/images/samples/email-template-1.png
Normal file
|
After Width: | Height: | Size: 121 KiB |
BIN
public/static/admin/images/samples/email-template-2.png
Normal file
|
After Width: | Height: | Size: 181 KiB |
BIN
public/static/admin/images/samples/email-template-3.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
public/static/admin/images/samples/email-template-4.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
public/static/admin/images/samples/emma-300.jpg
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
public/static/admin/images/samples/emma.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
public/static/admin/images/samples/george.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
public/static/admin/images/samples/hdr/img_1.jpg
Normal file
|
After Width: | Height: | Size: 479 KiB |
BIN
public/static/admin/images/samples/hdr/img_2.jpg
Normal file
|
After Width: | Height: | Size: 377 KiB |
BIN
public/static/admin/images/samples/hdr/img_3.jpg
Normal file
|
After Width: | Height: | Size: 459 KiB |
BIN
public/static/admin/images/samples/hdr/img_4.jpg
Normal file
|
After Width: | Height: | Size: 424 KiB |
BIN
public/static/admin/images/samples/hdr/img_5.jpg
Normal file
|
After Width: | Height: | Size: 191 KiB |
BIN
public/static/admin/images/samples/hdr/img_6.jpg
Normal file
|
After Width: | Height: | Size: 738 KiB |
BIN
public/static/admin/images/samples/hdr/img_7.jpg
Normal file
|
After Width: | Height: | Size: 762 KiB |
BIN
public/static/admin/images/samples/hdr/img_8.jpg
Normal file
|
After Width: | Height: | Size: 321 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_1.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_2.jpg
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_3.jpg
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_4.jpg
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_5.jpg
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_6.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_7.jpg
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
public/static/admin/images/samples/hdr/small/img_8.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
public/static/admin/images/samples/hdr/xs/img_5.jpg
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
public/static/admin/images/samples/hdr/xs/img_7.jpg
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
public/static/admin/images/samples/hdr/xs/img_8.jpg
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
public/static/admin/images/samples/ipad.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
public/static/admin/images/samples/jessica.jpg
Normal file
|
After Width: | Height: | Size: 110 KiB |
BIN
public/static/admin/images/samples/kunis-300.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
public/static/admin/images/samples/kunis.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
public/static/admin/images/samples/lima-300.jpg
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
public/static/admin/images/samples/messages-photo-1.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
public/static/admin/images/samples/messages-photo-2.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
public/static/admin/images/samples/messages-photo-3.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
public/static/admin/images/samples/miranda-560-300.png
Normal file
|
After Width: | Height: | Size: 246 KiB |
BIN
public/static/admin/images/samples/nature.jpg
Normal file
|
After Width: | Height: | Size: 195 KiB |
BIN
public/static/admin/images/samples/nature2.jpg
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
public/static/admin/images/samples/new-york-sunset.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
public/static/admin/images/samples/robert-300.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/static/admin/images/samples/robert.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
public/static/admin/images/samples/ryan-300.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/static/admin/images/samples/ryan.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
public/static/admin/images/samples/scarlet-159.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
public/static/admin/images/samples/scarlet.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
public/static/admin/images/samples/scarlett-300.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
public/static/admin/images/samples/tahiti-1.jpg
Normal file
|
After Width: | Height: | Size: 107 KiB |
BIN
public/static/admin/images/samples/tahiti-2.jpg
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
public/static/admin/images/samples/tahiti-3.jpg
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
public/static/admin/images/spritemap.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
public/static/admin/images/spritemap@2x.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/static/admin/images/whitey.jpg
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
289
public/static/admin/js/app.js
Normal file
@@ -0,0 +1,289 @@
|
||||
$(function($) {
|
||||
var storage, fail, uid;
|
||||
try {
|
||||
uid = new Date;
|
||||
(storage = window.localStorage).setItem(uid, uid);
|
||||
fail = storage.getItem(uid) != uid;
|
||||
storage.removeItem(uid);
|
||||
fail && (storage = false);
|
||||
} catch (e) {}
|
||||
if (storage) {
|
||||
try {
|
||||
var usedSkin = localStorage.getItem('config-skin');
|
||||
if (usedSkin != '') {
|
||||
$('#skin-colors .skin-changer').removeClass('active');
|
||||
$('#skin-colors .skin-changer[data-skin="' + usedSkin + '"]').addClass('active');
|
||||
}
|
||||
var fixedHeader = localStorage.getItem('config-fixed-header');
|
||||
if (fixedHeader == 'fixed-header') {
|
||||
$('body').addClass(fixedHeader);
|
||||
$('#config-fixed-header').prop('checked', true);
|
||||
}
|
||||
var fixedFooter = localStorage.getItem('config-fixed-footer');
|
||||
if (fixedFooter == 'fixed-footer') {
|
||||
$('body').addClass(fixedFooter);
|
||||
$('#config-fixed-footer').prop('checked', true);
|
||||
}
|
||||
var boxedLayout = localStorage.getItem('config-boxed-layout');
|
||||
if (boxedLayout == 'boxed-layout') {
|
||||
$('body').addClass(boxedLayout);
|
||||
$('#config-boxed-layout').prop('checked', true);
|
||||
}
|
||||
var rtlLayout = localStorage.getItem('config-rtl-layout');
|
||||
if (rtlLayout == 'rtl') {
|
||||
$('body').addClass(rtlLayout);
|
||||
$('#config-rtl-layout').prop('checked', true);
|
||||
}
|
||||
var fixedLeftmenu = localStorage.getItem('config-fixed-leftmenu');
|
||||
if (fixedLeftmenu == 'fixed-leftmenu') {
|
||||
$('body').addClass(fixedLeftmenu);
|
||||
$('#config-fixed-sidebar').prop('checked', true);
|
||||
if ($('#page-wrapper').hasClass('nav-small')) {
|
||||
$('#page-wrapper').removeClass('nav-small');
|
||||
}
|
||||
$('.fixed-leftmenu #col-left').nanoScroller({
|
||||
alwaysVisible: true,
|
||||
iOSNativeScrolling: false,
|
||||
preventPageScrolling: true,
|
||||
contentClass: 'col-left-nano-content'
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
$('#config-tool-cog').on('click', function() {
|
||||
$('#config-tool').toggleClass('closed');
|
||||
});
|
||||
$('#config-fixed-header').on('change', function() {
|
||||
var fixedHeader = '';
|
||||
if ($(this).is(':checked')) {
|
||||
$('body').addClass('fixed-header');
|
||||
fixedHeader = 'fixed-header';
|
||||
} else {
|
||||
$('body').removeClass('fixed-header');
|
||||
if ($('#config-fixed-sidebar').is(':checked')) {
|
||||
$('#config-fixed-sidebar').prop('checked', false);
|
||||
$('#config-fixed-sidebar').trigger('change');
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
writeStorage(storage, 'config-fixed-header', fixedHeader);
|
||||
});
|
||||
$('#config-fixed-footer').on('change', function() {
|
||||
var fixedFooter = '';
|
||||
if ($(this).is(':checked')) {
|
||||
$('body').addClass('fixed-footer');
|
||||
fixedFooter = 'fixed-footer';
|
||||
} else {
|
||||
$('body').removeClass('fixed-footer');
|
||||
}
|
||||
writeStorage(storage, 'config-fixed-footer', fixedFooter);
|
||||
});
|
||||
$('#config-boxed-layout').on('change', function() {
|
||||
var boxedLayout = '';
|
||||
if ($(this).is(':checked')) {
|
||||
$('body').addClass('boxed-layout');
|
||||
boxedLayout = 'boxed-layout';
|
||||
} else {
|
||||
$('body').removeClass('boxed-layout');
|
||||
}
|
||||
writeStorage(storage, 'config-boxed-layout', boxedLayout);
|
||||
});
|
||||
$('#config-rtl-layout').on('change', function() {
|
||||
var rtlLayout = '';
|
||||
if ($(this).is(':checked')) {
|
||||
rtlLayout = 'rtl';
|
||||
} else {}
|
||||
writeStorage(storage, 'config-rtl-layout', rtlLayout);
|
||||
location.reload();
|
||||
});
|
||||
$('#config-fixed-sidebar').on('change', function() {
|
||||
var fixedSidebar = '';
|
||||
if ($(this).is(':checked')) {
|
||||
if (!$('#config-fixed-header').is(':checked')) {
|
||||
$('#config-fixed-header').prop('checked', true);
|
||||
$('#config-fixed-header').trigger('change');
|
||||
}
|
||||
if ($('#page-wrapper').hasClass('nav-small')) {
|
||||
$('#page-wrapper').removeClass('nav-small');
|
||||
}
|
||||
$('body').addClass('fixed-leftmenu');
|
||||
fixedSidebar = 'fixed-leftmenu';
|
||||
$('.fixed-leftmenu #col-left').nanoScroller({
|
||||
alwaysVisible: true,
|
||||
iOSNativeScrolling: false,
|
||||
preventPageScrolling: true,
|
||||
contentClass: 'col-left-nano-content'
|
||||
});
|
||||
writeStorage(storage, 'config-fixed-leftmenu', fixedSidebar);
|
||||
} else {
|
||||
$('body').removeClass('fixed-leftmenu');
|
||||
writeStorage(storage, 'config-fixed-leftmenu', fixedSidebar);
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
if (!storage) {
|
||||
$('#config-fixed-header').prop('checked', false);
|
||||
$('#config-fixed-footer').prop('checked', false);
|
||||
$('#config-fixed-sidebar').prop('checked', false);
|
||||
$('#config-boxed-layout').prop('checked', false);
|
||||
$('#config-rtl-layout').prop('checked', false);
|
||||
}
|
||||
$('#skin-colors .skin-changer').on('click', function() {
|
||||
$('body').removeClassPrefix('theme-');
|
||||
$('body').addClass($(this).data('skin'));
|
||||
$('#skin-colors .skin-changer').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
writeStorage(storage, 'config-skin', $(this).data('skin'));
|
||||
});
|
||||
|
||||
|
||||
|
||||
setTimeout(function() {
|
||||
$('#content-wrapper > .row').css({
|
||||
opacity: 1
|
||||
});
|
||||
}, 200);
|
||||
$('#sidebar-nav,#nav-col-submenu').on('click', '.dropdown-toggle', function(e) {
|
||||
e.preventDefault();
|
||||
var $item = $(this).parent();
|
||||
if (!$item.hasClass('open')) {
|
||||
$item.parent().find('.open .submenu').slideUp('fast');
|
||||
$item.parent().find('.open').toggleClass('open');
|
||||
}
|
||||
$item.toggleClass('open');
|
||||
if ($item.hasClass('open')) {
|
||||
$item.children('.submenu').slideDown('fast');
|
||||
} else {
|
||||
$item.children('.submenu').slideUp('fast');
|
||||
}
|
||||
});
|
||||
$('body').on('mouseenter', '#page-wrapper.nav-small #sidebar-nav .dropdown-toggle', function(e) {
|
||||
if ($(document).width() >= 992) {
|
||||
var $item = $(this).parent();
|
||||
if ($('body').hasClass('fixed-leftmenu')) {
|
||||
var topPosition = $item.position().top;
|
||||
if ((topPosition + 4 * $(this).outerHeight()) >= $(window).height()) {
|
||||
topPosition -= 6 * $(this).outerHeight();
|
||||
}
|
||||
$('#nav-col-submenu').html($item.children('.submenu').clone());
|
||||
$('#nav-col-submenu > .submenu').css({
|
||||
'top': topPosition
|
||||
});
|
||||
}
|
||||
$item.addClass('open');
|
||||
$item.children('.submenu').slideDown('fast');
|
||||
}
|
||||
});
|
||||
$('body').on('mouseleave', '#page-wrapper.nav-small #sidebar-nav > .nav-pills > li', function(e) {
|
||||
if ($(document).width() >= 992) {
|
||||
var $item = $(this);
|
||||
if ($item.hasClass('open')) {
|
||||
$item.find('.open .submenu').slideUp('fast');
|
||||
$item.find('.open').removeClass('open');
|
||||
$item.children('.submenu').slideUp('fast');
|
||||
}
|
||||
$item.removeClass('open');
|
||||
}
|
||||
});
|
||||
$('body').on('mouseenter', '#page-wrapper.nav-small #sidebar-nav a:not(.dropdown-toggle)', function(e) {
|
||||
if ($('body').hasClass('fixed-leftmenu')) {
|
||||
$('#nav-col-submenu').html('');
|
||||
}
|
||||
});
|
||||
$('body').on('mouseleave', '#page-wrapper.nav-small #nav-col', function(e) {
|
||||
if ($('body').hasClass('fixed-leftmenu')) {
|
||||
$('#nav-col-submenu').html('');
|
||||
}
|
||||
});
|
||||
$('#make-small-nav').click(function(e) {
|
||||
$('#page-wrapper').toggleClass('nav-small');
|
||||
});
|
||||
|
||||
setContentBody();
|
||||
$(window).smartresize(function() {
|
||||
if ($(document).width() <= 991) {
|
||||
$('#page-wrapper').removeClass('nav-small');
|
||||
}
|
||||
setContentBody();
|
||||
});
|
||||
|
||||
$('.mobile-search').click(function(e) {
|
||||
e.preventDefault();
|
||||
$('.mobile-search').addClass('active');
|
||||
$('.mobile-search form input.form-control').focus();
|
||||
});
|
||||
$(document).mouseup(function(e) {
|
||||
var container = $('.mobile-search');
|
||||
if (!container.is(e.target) && container.has(e.target).length === 0) {
|
||||
container.removeClass('active');
|
||||
}
|
||||
});
|
||||
$('.fixed-leftmenu #col-left').nanoScroller({
|
||||
alwaysVisible: false,
|
||||
iOSNativeScrolling: false,
|
||||
preventPageScrolling: true,
|
||||
contentClass: 'col-left-nano-content'
|
||||
});
|
||||
$("[data-toggle='tooltip']").each(function(index, el) {
|
||||
$(el).tooltip({
|
||||
placement: $(this).data("placement") || 'top'
|
||||
});
|
||||
});
|
||||
});
|
||||
$.fn.removeClassPrefix = function(prefix) {
|
||||
this.each(function(i, el) {
|
||||
var classes = el.className.split(" ").filter(function(c) {
|
||||
return c.lastIndexOf(prefix, 0) !== 0;
|
||||
});
|
||||
el.className = classes.join(" ");
|
||||
});
|
||||
return this;
|
||||
};
|
||||
(function($, sr) {
|
||||
var debounce = function(func, threshold, execAsap) {
|
||||
var timeout;
|
||||
return function debounced() {
|
||||
var obj = this,
|
||||
args = arguments;
|
||||
|
||||
function delayed() {
|
||||
if (!execAsap) func.apply(obj, args);
|
||||
timeout = null;
|
||||
};
|
||||
if (timeout) clearTimeout(timeout);
|
||||
else if (execAsap) func.apply(obj, args);
|
||||
timeout = setTimeout(delayed, threshold || 100);
|
||||
};
|
||||
}
|
||||
jQuery.fn[sr] = function(fn) {
|
||||
return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr);
|
||||
};
|
||||
})(jQuery, 'smartresize');
|
||||
|
||||
function writeStorage(storage, key, value) {
|
||||
if (storage) {
|
||||
try {
|
||||
localStorage.setItem(key, value);
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
$.fn.removeClassPrefix = function(prefix) {
|
||||
this.each(function(i, el) {
|
||||
var classes = el.className.split(" ").filter(function(c) {
|
||||
return c.lastIndexOf(prefix, 0) !== 0;
|
||||
});
|
||||
el.className = classes.join(" ");
|
||||
});
|
||||
return this;
|
||||
};
|
||||
|
||||
function setContentBody(){
|
||||
header_height = $('header#header-navbar').height();
|
||||
if ($(window).height() - header_height -50 > $('#content-wrapper').height()) {
|
||||
$('#content-wrapper').height($(window).height() - header_height -50);
|
||||
}
|
||||
}
|
||||
21
public/static/admin/js/skin-changer.js
Normal file
@@ -0,0 +1,21 @@
|
||||
var storage, fail, uid;
|
||||
try {
|
||||
uid = new Date; (storage = window.localStorage).setItem(uid, uid);
|
||||
fail = storage.getItem(uid) != uid;
|
||||
storage.removeItem(uid);
|
||||
fail && (storage = false);
|
||||
} catch(e) {}
|
||||
if (storage) {
|
||||
try {
|
||||
var usedSkin = localStorage.getItem('config-skin');
|
||||
if (usedSkin != '' && usedSkin != null) {
|
||||
document.body.className = usedSkin;
|
||||
} else {
|
||||
document.body.className = '';
|
||||
}
|
||||
} catch(e) {
|
||||
document.body.className = '';
|
||||
}
|
||||
} else {
|
||||
document.body.className = '';
|
||||
}
|
||||
1
public/static/css/libs/bootstrap-editable.css
vendored
Normal file
1
public/static/css/libs/bootstrap-timepicker.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.bootstrap-timepicker{position:relative;}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu{left:auto;right:0;}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:before{left:auto;right:12px;}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:after{left:auto;right:13px;}.bootstrap-timepicker .add-on{cursor:pointer;}.bootstrap-timepicker .add-on i{display:inline-block;width:16px;height:16px;}.bootstrap-timepicker-widget.dropdown-menu{padding:4px;}.bootstrap-timepicker-widget.dropdown-menu.open{display:inline-block;}.bootstrap-timepicker-widget.dropdown-menu:before{border-bottom:7px solid rgba(0,0,0,0.2);border-left:7px solid transparent;border-right:7px solid transparent;content:"";display:inline-block;position:absolute;}.bootstrap-timepicker-widget.dropdown-menu:after{border-bottom:6px solid #FFFFFF;border-left:6px solid transparent;border-right:6px solid transparent;content:"";display:inline-block;position:absolute;}.bootstrap-timepicker-widget.timepicker-orient-left:before{left:6px;}.bootstrap-timepicker-widget.timepicker-orient-left:after{left:7px;}.bootstrap-timepicker-widget.timepicker-orient-right:before{right:6px;}.bootstrap-timepicker-widget.timepicker-orient-right:after{right:7px;}.bootstrap-timepicker-widget.timepicker-orient-top:before{top:-7px;}.bootstrap-timepicker-widget.timepicker-orient-top:after{top:-6px;}.bootstrap-timepicker-widget.timepicker-orient-bottom:before{bottom:-7px;border-bottom:0;border-top:7px solid #999;}.bootstrap-timepicker-widget.timepicker-orient-bottom:after{bottom:-6px;border-bottom:0;border-top:6px solid #ffffff;}.bootstrap-timepicker-widget a.btn,.bootstrap-timepicker-widget input{border-radius:4px;}.bootstrap-timepicker-widget table{width:100%;margin:0;}.bootstrap-timepicker-widget table td{text-align:center;height:30px;margin:0;padding:2px;}.bootstrap-timepicker-widget table td:not(.separator){min-width:30px;}.bootstrap-timepicker-widget table td span{width:100%;}.bootstrap-timepicker-widget table td a{border:1px transparent solid;width:100%;display:inline-block;margin:0;padding:8px 0;outline:0;color:#333;}.bootstrap-timepicker-widget table td a:hover{text-decoration:none;background-color:#eee;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border-color:#ddd;}.bootstrap-timepicker-widget table td a i{margin-top:2px;font-size:18px;}.bootstrap-timepicker-widget table td input{width:25px;margin:0;text-align:center;}.bootstrap-timepicker-widget .modal-content{padding:4px;}@media (min-width: 767px) {.bootstrap-timepicker-widget.modal{width:200px;margin-left:-100px;}}@media (max-width: 767px) {.bootstrap-timepicker{width:100%;}.bootstrap-timepicker .dropdown-menu{width:100%;}}
|
||||
1
public/static/css/libs/bootstrap-wizard.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wizard{display:none;}.wizard-modal form{margin:0;padding:0;}.wizard-modal.modal{width:750px;margin-left:-375px;top:50%;background:#fff;left:50%;overflow:hidden;bottom:auto;position:fixed;}.wizard-modal-footer{padding:0;}.wizard-modal-header.modal-header h3{border-bottom:0 none;margin:0 -15px;padding:5px 0 5px 20px;}.wizard-modal-header.modal-header{border-bottom:0;}.wizard-subtitle{font-weight:bold;color:#AFAFAF;padding-left:20px;display:none;}.wizard-error,.wizard-failure,.wizard-success,.wizard-loading,.wizard-card{position:relative;padding:35px;padding-top:20px;overflow-y:auto;height:300px;display:none;border-top:1px solid #EEE;margin-right:5px;}.wizard-nav-link .icon-chevron-right{float:right;margin-top:12px;margin-right:-6px;opacity:.25;}li.wizard-nav-item.active .icon-chevron-right{opacity:1;}li.wizard-nav-item{line-height:40px;float:none;}.wizard-modal.modal .nav-list>li>a{background-color:#f5f5f5;padding:3px 15px 3px 20px;cursor:default;color:#B4B4B4;}.wizard-modal.modal .nav-list li.active>a{background-color:#3498db;}.wizard-modal.modal .nav-list>li.already-visited>a.wizard-nav-link{color:#3498db;cursor:pointer;}.wizard-modal.modal .nav-list>li.active>a.wizard-nav-link{color:white;}.already-visited>a.wizard-nav-link:hover{background-color:#E4E4E4;}.wizard-card>h3{margin-top:0;}.wizard-progress{padding:15px;bottom:0;}.wizard-progress-container{padding:20px;}.wizard-steps{width:28%;height:425px;background-color:#f5f5f5;}.wizard-nav-container{height:360px;}.nav>li>a.wizard-step-error{background-color:#F2DEDE;color:#B94A48;font-weight:bold;}.wizard-step-error .icon-chevron-right{opacity:0;}.wizard-input-section{margin-bottom:10px;}.wizard-buttons-container{padding:20px;}.wizard-cancel{display:none;margin-left:20px;}.wizard-modal .popover.error-popover{background-color:#F2DEDE;color:#A94442;border-color:#DD504C;}.wizard-modal .popover.error-popover .arrow::after{border-top-color:#F2DEDE;}.wizard-modal .popover.error-popover .popover-title{display:none;}.wizard-modal .popover.error-popover .arrow{border-top-color:#DD504C;}
|
||||
1
public/static/css/libs/dataTables.fixedHeader.css
Normal file
@@ -0,0 +1 @@
|
||||
div.FixedHeader_Cloned th,div.FixedHeader_Cloned td{background-color:white!important;}@media (max-width: 767px) {div.FixedHeader_Cloned{display:none;}}
|
||||
1
public/static/css/libs/dataTables.tableTools.css
Normal file
1
public/static/css/libs/datepicker.css
Normal file
1
public/static/css/libs/daterangepicker.css
Normal file
@@ -0,0 +1 @@
|
||||
.daterangepicker.dropdown-menu{max-width:none;}.daterangepicker.opensleft .ranges,.daterangepicker.opensleft .calendar{float:left;margin:4px;}.daterangepicker.opensright .ranges,.daterangepicker.opensright .calendar{float:right;margin:4px;}.daterangepicker .ranges{width:160px;text-align:left;}.daterangepicker .ranges .range_inputs>div{float:left;}.daterangepicker .ranges .range_inputs>div:nth-child(2){padding-left:11px;}.daterangepicker .calendar{display:none;max-width:270px;}.daterangepicker .calendar th,.daterangepicker .calendar td{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;white-space:nowrap;text-align:center;min-width:32px;}.daterangepicker .ranges label{color:#333;display:block;font-size:11px;font-weight:normal;height:20px;line-height:20px;margin-bottom:2px;text-shadow:#fff 1px 1px 0px;text-transform:uppercase;width:74px;}.daterangepicker .ranges input{font-size:11px;}.daterangepicker .ranges .input-mini{background-color:#eee;border:1px solid #ccc;border-radius:4px;color:#555;display:block;font-size:11px;height:30px;line-height:30px;vertical-align:middle;margin:0 0 10px 0;padding:0 6px;width:74px;}.daterangepicker .ranges ul{list-style:none;margin:0;padding:0;}.daterangepicker .ranges li{font-size:13px;background:#f5f5f5;border:1px solid #f5f5f5;color:#08c;padding:3px 12px;margin-bottom:8px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;cursor:pointer;}.daterangepicker .ranges li.active,.daterangepicker .ranges li:hover{background:#08c;border:1px solid #08c;color:#fff;}.daterangepicker .calendar-date{border:1px solid #ddd;padding:4px;border-radius:4px;background:#fff;}.daterangepicker .calendar-time{text-align:center;margin:8px auto 0 auto;line-height:30px;}.daterangepicker{position:absolute;background:#fff;top:100px;left:20px;padding:4px;margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.daterangepicker.opensleft:before{position:absolute;top:-7px;right:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:'';}.daterangepicker.opensleft:after{position:absolute;top:-6px;right:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:'';}.daterangepicker.opensright:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:'';}.daterangepicker.opensright:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:'';}.daterangepicker table{width:100%;margin:0;}.daterangepicker td,.daterangepicker th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer;white-space:nowrap;}.daterangepicker td.off{color:#999;}.daterangepicker td.disabled{color:#999;}.daterangepicker td.available:hover,.daterangepicker th.available:hover{background:#eee;}.daterangepicker td.in-range{background:#ebf4f8;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}.daterangepicker td.active,.daterangepicker td.active:hover{background-color:#357ebd;border-color:#3071a9;color:#fff;}.daterangepicker td.week,.daterangepicker th.week{font-size:80%;color:#ccc;}.daterangepicker select.monthselect,.daterangepicker select.yearselect{font-size:12px;padding:1px;height:auto;margin:0;cursor:default;}.daterangepicker select.monthselect{margin-right:2%;width:56%;}.daterangepicker select.yearselect{width:40%;}.daterangepicker select.hourselect,.daterangepicker select.minuteselect,.daterangepicker select.ampmselect{width:50px;margin-bottom:0;}
|
||||