Merge f3651e7198
into 5c854ebeb8
This commit is contained in:
commit
ead5f46024
|
@ -74,7 +74,6 @@
|
|||
"malihu-custom-scrollbar-plugin": "^3.1.3",
|
||||
"animate.css": "^3.5.1",
|
||||
"jqvmap": "https://github.com/christianesperar/jqvmap.git#master",
|
||||
"DateJS": "^1.0.0-rc3",
|
||||
"flot.curvedlines": "^1.1.1",
|
||||
"flot.orderbars": "*",
|
||||
"flot-spline": "^0.8.2"
|
||||
|
|
6889
build/css/custom.css
6889
build/css/custom.css
File diff suppressed because it is too large
Load diff
6
build/css/custom.min.css
vendored
6
build/css/custom.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -344,8 +344,6 @@ if (typeof NProgress != 'undefined') {
|
|||
|
||||
console.log('init_flot_chart');
|
||||
|
||||
|
||||
|
||||
var arr_data1 = [
|
||||
[gd(2012, 1, 1), 17],
|
||||
[gd(2012, 1, 2), 74],
|
||||
|
@ -408,12 +406,10 @@ if (typeof NProgress != 'undefined') {
|
|||
[16, 9]
|
||||
];
|
||||
|
||||
|
||||
for (var i = 0; i < 30; i++) {
|
||||
chart_plot_02_data.push([new Date(Date.today().add(i).days()).getTime(), randNum() + i + i + 10]);
|
||||
chart_plot_02_data.push([new Date(moment().add(i, 'days').calendar()), randNum() + i + i + 10]);
|
||||
}
|
||||
|
||||
|
||||
var chart_plot_01_settings = {
|
||||
series: {
|
||||
lines: {
|
||||
|
|
4
build/js/custom.min.js
vendored
4
build/js/custom.min.js
vendored
File diff suppressed because one or more lines are too long
23
gulpfile.js
23
gulpfile.js
|
@ -1,4 +1,5 @@
|
|||
var gulp = require('gulp'),
|
||||
const
|
||||
gulp = require('gulp'),
|
||||
concat = require('gulp-concat'),
|
||||
uglify = require('gulp-uglify'),
|
||||
rename = require('gulp-rename'),
|
||||
|
@ -6,7 +7,7 @@ var gulp = require('gulp'),
|
|||
autoprefixer = require('gulp-autoprefixer'),
|
||||
browserSync = require('browser-sync').create();
|
||||
|
||||
var DEST = 'build/';
|
||||
const DEST = 'build/';
|
||||
|
||||
gulp.task('scripts', function() {
|
||||
return gulp.src([
|
||||
|
@ -47,14 +48,22 @@ gulp.task('browser-sync', function() {
|
|||
});
|
||||
});
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.task('watch', function(done) {
|
||||
// Watch .html files
|
||||
gulp.watch('production/*.html', browserSync.reload);
|
||||
gulp.watch('production/*.html').
|
||||
on('change', browserSync.reload);
|
||||
// Watch .js files
|
||||
gulp.watch('src/js/*.js', ['scripts']);
|
||||
gulp.watch('src/js/*.js').
|
||||
on('change', gulp.series(['scripts']));
|
||||
// Watch .scss files
|
||||
gulp.watch('src/scss/*.scss', ['sass', 'sass-minify']);
|
||||
gulp.watch('src/scss/*.scss').
|
||||
on('change', gulp.series(['sass', 'sass-minify']));
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
// Default Task
|
||||
gulp.task('default', ['browser-sync', 'watch']);
|
||||
gulp.task('default',
|
||||
gulp.series(
|
||||
gulp.parallel('scripts', 'sass', 'sass-minify'),
|
||||
gulp.parallel('browser-sync', 'watch')));
|
3470
package-lock.json
generated
3470
package-lock.json
generated
File diff suppressed because it is too large
Load diff
12
package.json
12
package.json
|
@ -31,12 +31,12 @@
|
|||
},
|
||||
"homepage": "https://github.com/puikinsh/gentelella#readme",
|
||||
"devDependencies": {
|
||||
"browser-sync": "^2.12.10",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-autoprefixer": "^3.1.0",
|
||||
"browser-sync": "^2.26.7",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-autoprefixer": "^7.0.0",
|
||||
"gulp-concat": "^2.6.0",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-ruby-sass": "^2.0.6",
|
||||
"gulp-uglify": "^1.5.3"
|
||||
"gulp-rename": "^1.4.0",
|
||||
"gulp-ruby-sass": "^4.0.0",
|
||||
"gulp-uglify": "^3.0.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1008,8 +1008,6 @@
|
|||
<script src="../vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
|
||||
<script src="../vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
|
||||
<script src="../vendors/flot.curvedlines/curvedLines.js"></script>
|
||||
<!-- DateJS -->
|
||||
<script src="../vendors/DateJS/build/date.js"></script>
|
||||
<!-- JQVMap -->
|
||||
<script src="../vendors/jqvmap/dist/jquery.vmap.js"></script>
|
||||
<script src="../vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>
|
||||
|
|
|
@ -759,8 +759,6 @@
|
|||
<script src="../vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
|
||||
<script src="../vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
|
||||
<script src="../vendors/flot.curvedlines/curvedLines.js"></script>
|
||||
<!-- DateJS -->
|
||||
<script src="../vendors/DateJS/build/date.js"></script>
|
||||
<!-- bootstrap-daterangepicker -->
|
||||
<script src="../vendors/moment/min/moment.min.js"></script>
|
||||
<script src="../vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
|
|
|
@ -875,8 +875,6 @@
|
|||
<script src="../vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
|
||||
<script src="../vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
|
||||
<script src="../vendors/flot.curvedlines/curvedLines.js"></script>
|
||||
<!-- DateJS -->
|
||||
<script src="../vendors/DateJS/build/date.js"></script>
|
||||
<!-- bootstrap-daterangepicker -->
|
||||
<script src="../vendors/moment/min/moment.min.js"></script>
|
||||
<script src="../vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
|
|
4879
src/js/custom.js
4879
src/js/custom.js
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,20 @@
|
|||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.full-width {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.full-height{
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.left_col {
|
||||
background: #2A3F54;
|
||||
}
|
||||
|
||||
.nav-sm .container.body .col-md-3.left_col {
|
||||
min-height: 100%;
|
||||
width: 70px;
|
||||
|
@ -34,10 +48,19 @@
|
|||
font-size: 27px;
|
||||
margin: 13px 0 0 3px;
|
||||
}
|
||||
.site_title i {
|
||||
border: 1px solid #EAEAEA;
|
||||
padding: 5px 6px;
|
||||
border-radius: 50%;
|
||||
.site_title {
|
||||
|
||||
img {
|
||||
max-height: 66px;
|
||||
max-width: 180px;
|
||||
}
|
||||
|
||||
i {
|
||||
border: 1px solid #EAEAEA;
|
||||
padding: 5px 6px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
}
|
||||
.nav-sm .main_container .top_nav {
|
||||
display: block;
|
||||
|
@ -117,12 +140,12 @@
|
|||
margin-left: 15%;
|
||||
z-index: 1000;
|
||||
position: inherit;
|
||||
margin-top: 20px;
|
||||
margin-top: 10px;
|
||||
border: 1px solid rgba(52, 73, 94, 0.44);
|
||||
padding: 4px;
|
||||
}
|
||||
.profile_info {
|
||||
padding: 25px 10px 10px;
|
||||
padding: 10px;
|
||||
width: 65%;
|
||||
float: left;
|
||||
}
|
||||
|
@ -193,6 +216,7 @@
|
|||
width: 230px;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
z-index: 1;
|
||||
}
|
||||
|
@ -793,7 +817,7 @@ article.media {
|
|||
float: left;
|
||||
}
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
font-size: 30px;
|
||||
font-weight: 400;
|
||||
}
|
||||
#left, #right {
|
||||
|
@ -1038,7 +1062,7 @@ table.tile_info td:first-child {
|
|||
width: 83%;
|
||||
}
|
||||
td span {
|
||||
line-height: 28px;
|
||||
line-height: inherit;
|
||||
}
|
||||
.sidebar-widget {
|
||||
overflow: hidden;
|
||||
|
@ -1338,6 +1362,7 @@ div.box {
|
|||
ul.msg_list li {
|
||||
background: #f7f7f7;
|
||||
padding: 5px;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin: 6px 6px 0;
|
||||
width: 96% !important;
|
||||
|
@ -1489,6 +1514,7 @@ ul.quick-list li i {
|
|||
}
|
||||
.widget_summary {
|
||||
width: 100%;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
}
|
||||
.widget_summary .w_left {
|
||||
|
@ -1537,6 +1563,7 @@ span.right {
|
|||
position: fixed;
|
||||
width: 230px;
|
||||
background: #2A3F54;
|
||||
z-index:999;
|
||||
}
|
||||
.sidebar-footer a {
|
||||
padding: 7px 0 3px;
|
||||
|
@ -1546,6 +1573,7 @@ span.right {
|
|||
display: block;
|
||||
float: left;
|
||||
background: #172D44;
|
||||
cursor: pointer;
|
||||
}
|
||||
.sidebar-footer a:hover {
|
||||
background: #425567;
|
||||
|
@ -1753,18 +1781,18 @@ h4.graph_title {
|
|||
}
|
||||
|
||||
.tile-stats:hover .icon i {
|
||||
animation-name: tansformAnimation;
|
||||
animation-name: transformAnimation;
|
||||
animation-duration: .5s;
|
||||
animation-iteration-count: 1;
|
||||
color: rgba(58, 58, 58, 0.41);
|
||||
animation-timing-function: ease;
|
||||
animation-fill-mode: forwards;
|
||||
-webkit-animation-name: tansformAnimation;
|
||||
-webkit-animation-name: transformAnimation;
|
||||
-webkit-animation-duration: .5s;
|
||||
-webkit-animation-iteration-count: 1;
|
||||
-webkit-animation-timing-function: ease;
|
||||
-webkit-animation-fill-mode: forwards;
|
||||
-moz-animation-name: tansformAnimation;
|
||||
-moz-animation-name: transformAnimation;
|
||||
-moz-animation-duration: .5s;
|
||||
-moz-animation-iteration-count: 1;
|
||||
-moz-animation-timing-function: ease;
|
||||
|
@ -1792,7 +1820,7 @@ h4.graph_title {
|
|||
.tile-stats .count {
|
||||
font-size: 38px;
|
||||
font-weight: bold;
|
||||
line-height: 1.65857143
|
||||
line-height: 1.65857
|
||||
}
|
||||
|
||||
.tile-stats .count, .tile-stats h3, .tile-stats p {
|
||||
|
@ -2778,6 +2806,7 @@ ul.widget_tally .count {
|
|||
box-shadow: 0 4px 6px -6px #222;
|
||||
}
|
||||
.widget_tally_box .flex {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
ul.widget_profile_box {
|
||||
|
@ -2953,6 +2982,7 @@ ul.user_data li .progress {
|
|||
background: #F5F7FA;
|
||||
border: 0;
|
||||
padding: 7px 0;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
ul.stats-overview {
|
||||
|
@ -3209,6 +3239,14 @@ ul.project_files li a i {
|
|||
.view-first:hover p {
|
||||
transition-delay: 0.1s;
|
||||
}
|
||||
.form-group.has-feedback span {
|
||||
display: block !important;
|
||||
}
|
||||
.form-group .btn {
|
||||
margin-bottom: -6px;
|
||||
}
|
||||
|
||||
.input-group-btn .btn { margin-bottom:0; }
|
||||
|
||||
/* ********* /media gallery **************************** */
|
||||
|
||||
|
@ -3480,9 +3518,7 @@ a.hiddenanchor {
|
|||
.left {
|
||||
float: left;
|
||||
}
|
||||
.calendar.left {
|
||||
float: initial !important;
|
||||
}
|
||||
|
||||
.alignleft {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
|
@ -3691,8 +3727,8 @@ header {
|
|||
border: 1px solid rgb(204, 204, 204);
|
||||
padding: 4px;
|
||||
box-sizing: content-box;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
|
||||
box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.07451) 0px 1px 1px 0px inset;
|
||||
box-shadow: rgba(0, 0, 0, 0.07451) 0px 1px 1px 0px inset;
|
||||
border-top-right-radius: 3px; border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px; border-top-left-radius: 3px;
|
||||
overflow: scroll;
|
||||
|
@ -4344,3 +4380,46 @@ ul.notifications {
|
|||
border: 1px solid #e5e5e5;
|
||||
}
|
||||
/** /Dropzone.js **/
|
||||
|
||||
|
||||
/*
|
||||
.x_content {
|
||||
direction: rtl;
|
||||
}
|
||||
*/
|
||||
|
||||
.main_menu .label {
|
||||
line-height: 11px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
@media (max-width: 460px) {
|
||||
.dataTables_wrapper .col-sm-6 {
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.dataTables_wrapper .col-sm-6 .dataTables_filter {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.dataTables_length {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
.daterangepicker.xdisplay {
|
||||
width: 228px;
|
||||
}
|
||||
|
||||
.dataTables_wrapper > .row {
|
||||
overflow: auto !important; /*prevent datatables overflowing its container*/
|
||||
}
|
||||
|
||||
/** bootstrap-datetimepicker **/
|
||||
.input-group.date .input-group-addon{
|
||||
border-radius: 0px !important;
|
||||
background-color: #ffff !important;
|
||||
}
|
||||
/** /bootstrap-datetimepicker **/
|
||||
|
|
35
vendors/DateJS/.bower.json
vendored
35
vendors/DateJS/.bower.json
vendored
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
"name": "DateJS",
|
||||
"version": "1.0.0-rc3",
|
||||
"homepage": "https://github.com/abritinthebay/datejs",
|
||||
"authors": [
|
||||
"Gregory Wild-Smith"
|
||||
],
|
||||
"description": "Datejs is an open-source JavaScript Date Library.",
|
||||
"main": "build/production/date.min.js",
|
||||
"keywords": [
|
||||
"date",
|
||||
"javascript",
|
||||
"js",
|
||||
"mit"
|
||||
],
|
||||
"license": "MIT",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests",
|
||||
"specs"
|
||||
],
|
||||
"_release": "1.0.0-rc3",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.0-rc3",
|
||||
"commit": "a173b13c148b8b257c0ca58dea90cb7ad616f35b"
|
||||
},
|
||||
"_source": "https://github.com/abritinthebay/datejs.git",
|
||||
"_target": "^1.0.0-rc3",
|
||||
"_originalSource": "DateJS",
|
||||
"_direct": true
|
||||
}
|
184
vendors/DateJS/GruntFile.js
vendored
184
vendors/DateJS/GruntFile.js
vendored
|
@ -1,184 +0,0 @@
|
|||
// GruntFile for building the final compiled files from the core.
|
||||
// Run using NodeJS and the Grunt module
|
||||
var fs = require("fs");
|
||||
var dirs = {
|
||||
core: "src/core",
|
||||
i18n: "src/i18n",
|
||||
build: "build"
|
||||
};
|
||||
var getI18NFiles = function () {
|
||||
return fs.readdirSync(dirs.i18n);
|
||||
};
|
||||
|
||||
var buildMinifyFileList = function (dev) {
|
||||
var output_path = dev ? "" : "production/";
|
||||
var output_ext = dev ? "." : ".min.";
|
||||
var files = getI18NFiles();
|
||||
var output = {};
|
||||
files.map(function(item){
|
||||
var file_core_name = "date-" + item.replace(".js", "");
|
||||
var dest = dirs.build + "/"+output_path + file_core_name + output_ext + "js";
|
||||
output[dest] = [dirs.build + "/" + file_core_name + ".js"];
|
||||
return dest;
|
||||
});
|
||||
output[dirs.build + "/"+output_path + "date"+output_ext+"js"] = [dirs.build + "/" + "date.js"];
|
||||
return output;
|
||||
};
|
||||
|
||||
var banner = "/** \n" +
|
||||
" * @overview <%= pkg.name %>\n" +
|
||||
" * @version <%= pkg.version %>\n" +
|
||||
" * @author <%= pkg.author.name %> <<%= pkg.author.email %>>\n" +
|
||||
" * @copyright <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>\n" +
|
||||
" * @license <%= pkg.license %>\n" +
|
||||
" * @homepage <%= pkg.homepage %>\n" +
|
||||
" */";
|
||||
|
||||
module.exports = function(grunt) {
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON("package.json"),
|
||||
dirs: dirs,
|
||||
build_dev: {
|
||||
description: "Builds files designed for easy debugging on dev enviroments (non-minified)"
|
||||
},
|
||||
build_prod: {
|
||||
description: "Builds production ready files (minified)"
|
||||
},
|
||||
closurecompiler: {
|
||||
minify: {
|
||||
files: buildMinifyFileList(),
|
||||
options: {
|
||||
"compilation_level": "SIMPLE_OPTIMIZATIONS",
|
||||
"max_processes": 5,
|
||||
"banner": banner
|
||||
}
|
||||
}
|
||||
},
|
||||
concat: {
|
||||
options: {
|
||||
separator: "\n",
|
||||
banner: banner,
|
||||
nonull: true
|
||||
},
|
||||
core: {
|
||||
src: [
|
||||
"<%= dirs.core %>/i18n.js",
|
||||
"<%= dirs.core %>/core.js",
|
||||
"<%= dirs.core %>/core-prototypes.js",
|
||||
"<%= dirs.core %>/sugarpak.js",
|
||||
"<%= dirs.core %>/format_parser.js",
|
||||
"<%= dirs.core %>/parsing_operators.js",
|
||||
"<%= dirs.core %>/parsing_translator.js",
|
||||
"<%= dirs.core %>/parsing_grammar.js",
|
||||
"<%= dirs.core %>/parser.js",
|
||||
"<%= dirs.core %>/extras.js",
|
||||
"<%= dirs.core %>/time_span.js",
|
||||
"<%= dirs.core %>/time_period.js"
|
||||
],
|
||||
dest: "<%= dirs.build %>/date-core.js"
|
||||
},
|
||||
basic: {
|
||||
src: [
|
||||
"<%= dirs.core %>/i18n.js",
|
||||
"<%= dirs.core %>/core.js",
|
||||
"<%= dirs.core %>/core-prototypes.js",
|
||||
"<%= dirs.core %>/sugarpak.js",
|
||||
"<%= dirs.core %>/format_parser.js",
|
||||
"<%= dirs.core %>/parsing_operators.js",
|
||||
"<%= dirs.core %>/parsing_translator.js",
|
||||
"<%= dirs.core %>/parsing_grammar.js",
|
||||
"<%= dirs.core %>/parser.js",
|
||||
"<%= dirs.core %>/extras.js",
|
||||
"<%= dirs.core %>/time_span.js",
|
||||
"<%= dirs.core %>/time_period.js"
|
||||
],
|
||||
dest: "<%= dirs.build %>/date.js"
|
||||
}
|
||||
},
|
||||
i18n: {
|
||||
core: {
|
||||
core: "<%= dirs.build %>/date-core.js",
|
||||
src: ["<%= dirs.i18n %>/*.js"],
|
||||
dest: "<%= dirs.build %>/" // destination *directory*, probably better than specifying same file names twice
|
||||
}
|
||||
},
|
||||
shell: {
|
||||
updateCodeClimate: {
|
||||
command: "codeclimate < reports/lcov.info",
|
||||
options: {
|
||||
stdout: true,
|
||||
stderr: true,
|
||||
failOnError: true
|
||||
}
|
||||
}
|
||||
},
|
||||
jasmine : {
|
||||
src : [
|
||||
"src/core/i18n.js",
|
||||
"src/core/core.js",
|
||||
"src/core/core-prototypes.js",
|
||||
"src/core/sugarpak.js",
|
||||
"src/core/format_parser.js",
|
||||
"src/core/parsing_operators.js",
|
||||
"src/core/parsing_translator.js",
|
||||
"src/core/parsing_grammar.js",
|
||||
"src/core/parser.js",
|
||||
"src/core/extras.js",
|
||||
"src/core/time_period.js",
|
||||
"src/core/time_span.js"
|
||||
],
|
||||
options : {
|
||||
specs : "specs/*-spec.js",
|
||||
template : require("grunt-template-jasmine-istanbul"),
|
||||
templateOptions: {
|
||||
template: "specs/jasmine-2.0.3/specrunner.tmpl",
|
||||
coverage: "reports/coverage.json",
|
||||
report: {
|
||||
type: "lcov",
|
||||
options: {
|
||||
replace: true,
|
||||
dir: "reports/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
grunt.registerMultiTask("i18n", "Wraps DateJS core with Internationalization info.", function() {
|
||||
var data = this.data,
|
||||
path = require("path"),
|
||||
dest = grunt.template.process(data.dest),
|
||||
files = grunt.file.expand(data.src),
|
||||
core = grunt.file.read(grunt.template.process(data.core)),
|
||||
sep = grunt.util.linefeed,
|
||||
banner_compiled = grunt.template.process(banner);
|
||||
|
||||
files.forEach(function(f) {
|
||||
var p = dest + "/" + "date-" + path.basename(f),
|
||||
contents = grunt.file.read(f);
|
||||
|
||||
grunt.file.write(p, banner_compiled + sep + contents + sep + core );
|
||||
grunt.log.writeln("File \"" + p + "\" created.");
|
||||
});
|
||||
grunt.file.delete(dirs.build+"/date-core.js");
|
||||
});
|
||||
grunt.registerMultiTask("build_dev", "Builds compiled, non-minfied, files for development enviroments", function() {
|
||||
grunt.task.run(["concat:core", "concat:basic", "i18n:core"]);
|
||||
});
|
||||
grunt.registerMultiTask("build_prod", "Rebuilds dev and minifies files for production enviroments", function() {
|
||||
grunt.task.run(["concat:core", "concat:basic", "i18n:core", "closurecompiler:minify"]);
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks("grunt-contrib-jasmine");
|
||||
|
||||
// now set the default
|
||||
grunt.registerTask("default", ["build_dev"]);
|
||||
// Load the plugin that provides the "minify" task.
|
||||
grunt.loadNpmTasks("grunt-shell");
|
||||
grunt.loadNpmTasks("grunt-closurecompiler");
|
||||
grunt.loadNpmTasks("grunt-contrib-concat");
|
||||
grunt.registerTask("test", ["jasmine", "shell:updateCodeClimate"]);
|
||||
};
|
21
vendors/DateJS/LICENSE
vendored
21
vendors/DateJS/LICENSE
vendored
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013 Gregory Wild-Smith
|
||||
Original Project Copyright (c) 2006-2008 Geoffrey McGill at Cooline Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
48
vendors/DateJS/README.md
vendored
48
vendors/DateJS/README.md
vendored
|
@ -1,48 +0,0 @@
|
|||
# DateJS: Evolved
|
||||
The JavaScript Date Library
|
||||
[![Build Status](https://travis-ci.org/abritinthebay/datejs.svg?branch=master)](https://travis-ci.org/abritinthebay/datejs)
|
||||
[![NPM version](https://badge.fury.io/js/datejs.svg)](http://badge.fury.io/js/datejs)
|
||||
[![Code Climate](https://codeclimate.com/github/abritinthebay/datejs.svg)](https://codeclimate.com/github/abritinthebay/datejs)
|
||||
[![Test Coverage](https://codeclimate.com/github/abritinthebay/datejs/badges/coverage.svg)](https://codeclimate.com/github/abritinthebay/datejs)
|
||||
|
||||
[![NPM](https://nodei.co/npm/datejs.png?downloadRank=true)](https://nodei.co/npm/datejs/)
|
||||
## What is it?
|
||||
DateJS extends the built-in JavaScript Date object to add much better parsing, internationalization support, and all the functions and syntactic sugar you could wish for.
|
||||
### Background
|
||||
Date JS was started by Geoffrey McGill in 2007, he abandoned it on May 13th 2008; leaving the Google Code repository stagnant and with many bugs unresolved.
|
||||
|
||||
This fork was started improve and maintain DateJS. To keep what is still the most full featured JavaScript Date library alive, maintained, and improved. Currently we're on track towards a 1.0 release - having fixed almost all the existing bugs and added several new features, improved parsing, and many other changes.
|
||||
|
||||
### How to Install/Use
|
||||
DateJS supports running either your regular web browser as a client library or Node.js.
|
||||
|
||||
#### In Node.js
|
||||
Installation is as easy as running:
|
||||
|
||||
npm install datejs
|
||||
|
||||
#### For a Browser
|
||||
If you use [Bower](http://bower.io/) to manage your frontend packages then it's also really simple:
|
||||
|
||||
bower install datejs
|
||||
|
||||
Otherwise...
|
||||
* For production environments include [the production ready minified file from the Build directory](https://github.com/abritinthebay/datejs/blob/master/build/production/date.min.js) on your page.
|
||||
* For debugging (eg, in development) include [the unminified and fully commented version](https://github.com/abritinthebay/datejs/blob/master/build/date.js)
|
||||
|
||||
#### International Language Versions
|
||||
In Node.js you can just call `Date.i18n.setLanguage` with the IETF appropriate code (e.g. "de-DE", or "es-MX") and DateJS will load the file automatically. For the browser DateJS has langauge support in one of two ways:
|
||||
1. Either download the appropriate file from [the Build directory of your choice](https://github.com/abritinthebay/datejs/blob/master/build/). Files are named after the IETF code the load (i.e. `date-es-MX.js` loads Mexican Spanish).
|
||||
2. Or set `Date.Config.i18n` to the location of [the internationalization files](https://github.com/abritinthebay/datejs/blob/master/build/i18n/) on your server and DateJS will dynamically load the files by script element insertion.
|
||||
|
||||
DateJS will always support loading US English via `Date.i18n.setLanguage("en-US")` no matter what other language is specifically loaded. So you can always support both your localization and the English speaking world.
|
||||
|
||||
## File Structure
|
||||
* `build` Output from the Grunt powered build process
|
||||
* `development` Non-minified files with full comments. Suitable for development environments.
|
||||
* `production` Fully minified (by Google's Closure Compiler) files suitable for production.
|
||||
* `src` All the source files used to build the final files.
|
||||
* `core` The main DateJS source files.
|
||||
* `i18n` Internationalization files. Language specifics (days of the week, regex formats,etc). Organized by IETF language tag (eg - en-US, etc).
|
||||
* `specs` Unit Tests written using [Jasmine](http://pivotal.github.io/jasmine/). Code coverage is calculated by [BlanketJS](http://blanketjs.org/).
|
||||
* `tests` Orginal unit tests for 2008 project. *Deprecated*
|
25
vendors/DateJS/bower.json
vendored
25
vendors/DateJS/bower.json
vendored
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"name": "DateJS",
|
||||
"version": "1.0.0-rc1",
|
||||
"homepage": "https://github.com/abritinthebay/datejs",
|
||||
"authors": [
|
||||
"Gregory Wild-Smith"
|
||||
],
|
||||
"description": "Datejs is an open-source JavaScript Date Library.",
|
||||
"main": "build/production/date.min.js",
|
||||
"keywords": [
|
||||
"date",
|
||||
"javascript",
|
||||
"js",
|
||||
"mit"
|
||||
],
|
||||
"license": "MIT",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests",
|
||||
"specs"
|
||||
]
|
||||
}
|
4526
vendors/DateJS/build/date-af-ZA.js
vendored
4526
vendors/DateJS/build/date-af-ZA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-AE.js
vendored
4526
vendors/DateJS/build/date-ar-AE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-BH.js
vendored
4526
vendors/DateJS/build/date-ar-BH.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-DZ.js
vendored
4526
vendors/DateJS/build/date-ar-DZ.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-EG.js
vendored
4526
vendors/DateJS/build/date-ar-EG.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-IQ.js
vendored
4526
vendors/DateJS/build/date-ar-IQ.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-JO.js
vendored
4526
vendors/DateJS/build/date-ar-JO.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-KW.js
vendored
4526
vendors/DateJS/build/date-ar-KW.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-LB.js
vendored
4526
vendors/DateJS/build/date-ar-LB.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-LY.js
vendored
4526
vendors/DateJS/build/date-ar-LY.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-MA.js
vendored
4526
vendors/DateJS/build/date-ar-MA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-OM.js
vendored
4526
vendors/DateJS/build/date-ar-OM.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-QA.js
vendored
4526
vendors/DateJS/build/date-ar-QA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-SA.js
vendored
4526
vendors/DateJS/build/date-ar-SA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-SY.js
vendored
4526
vendors/DateJS/build/date-ar-SY.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-TN.js
vendored
4526
vendors/DateJS/build/date-ar-TN.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ar-YE.js
vendored
4526
vendors/DateJS/build/date-ar-YE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-az-Cyrl-AZ.js
vendored
4526
vendors/DateJS/build/date-az-Cyrl-AZ.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-az-Latn-AZ.js
vendored
4526
vendors/DateJS/build/date-az-Latn-AZ.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-be-BY.js
vendored
4526
vendors/DateJS/build/date-be-BY.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-bg-BG.js
vendored
4526
vendors/DateJS/build/date-bg-BG.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-bs-Latn-BA.js
vendored
4526
vendors/DateJS/build/date-bs-Latn-BA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-ca-ES.js
vendored
4526
vendors/DateJS/build/date-ca-ES.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-cs-CZ.js
vendored
4526
vendors/DateJS/build/date-cs-CZ.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-cy-GB.js
vendored
4526
vendors/DateJS/build/date-cy-GB.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-da-DK.js
vendored
4526
vendors/DateJS/build/date-da-DK.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-de-AT.js
vendored
4526
vendors/DateJS/build/date-de-AT.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-de-CH.js
vendored
4526
vendors/DateJS/build/date-de-CH.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-de-DE.js
vendored
4526
vendors/DateJS/build/date-de-DE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-de-LI.js
vendored
4526
vendors/DateJS/build/date-de-LI.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-de-LU.js
vendored
4526
vendors/DateJS/build/date-de-LU.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-dv-MV.js
vendored
4526
vendors/DateJS/build/date-dv-MV.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-el-GR.js
vendored
4526
vendors/DateJS/build/date-el-GR.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-029.js
vendored
4526
vendors/DateJS/build/date-en-029.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-AU.js
vendored
4526
vendors/DateJS/build/date-en-AU.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-BZ.js
vendored
4526
vendors/DateJS/build/date-en-BZ.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-CA.js
vendored
4526
vendors/DateJS/build/date-en-CA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-GB.js
vendored
4526
vendors/DateJS/build/date-en-GB.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-IE.js
vendored
4526
vendors/DateJS/build/date-en-IE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-JM.js
vendored
4526
vendors/DateJS/build/date-en-JM.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-NZ.js
vendored
4526
vendors/DateJS/build/date-en-NZ.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-PH.js
vendored
4526
vendors/DateJS/build/date-en-PH.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-TT.js
vendored
4526
vendors/DateJS/build/date-en-TT.js
vendored
File diff suppressed because it is too large
Load diff
4096
vendors/DateJS/build/date-en-US.js
vendored
4096
vendors/DateJS/build/date-en-US.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-ZA.js
vendored
4526
vendors/DateJS/build/date-en-ZA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-en-ZW.js
vendored
4526
vendors/DateJS/build/date-en-ZW.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-AR.js
vendored
4526
vendors/DateJS/build/date-es-AR.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-BO.js
vendored
4526
vendors/DateJS/build/date-es-BO.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-CL.js
vendored
4526
vendors/DateJS/build/date-es-CL.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-CO.js
vendored
4526
vendors/DateJS/build/date-es-CO.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-CR.js
vendored
4526
vendors/DateJS/build/date-es-CR.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-DO.js
vendored
4526
vendors/DateJS/build/date-es-DO.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-EC.js
vendored
4526
vendors/DateJS/build/date-es-EC.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-ES.js
vendored
4526
vendors/DateJS/build/date-es-ES.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-GT.js
vendored
4526
vendors/DateJS/build/date-es-GT.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-HN.js
vendored
4526
vendors/DateJS/build/date-es-HN.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-MX.js
vendored
4526
vendors/DateJS/build/date-es-MX.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-NI.js
vendored
4526
vendors/DateJS/build/date-es-NI.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-PA.js
vendored
4526
vendors/DateJS/build/date-es-PA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-PE.js
vendored
4526
vendors/DateJS/build/date-es-PE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-PR.js
vendored
4526
vendors/DateJS/build/date-es-PR.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-PY.js
vendored
4526
vendors/DateJS/build/date-es-PY.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-SV.js
vendored
4526
vendors/DateJS/build/date-es-SV.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-UY.js
vendored
4526
vendors/DateJS/build/date-es-UY.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-es-VE.js
vendored
4526
vendors/DateJS/build/date-es-VE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-et-EE.js
vendored
4526
vendors/DateJS/build/date-et-EE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-eu-ES.js
vendored
4526
vendors/DateJS/build/date-eu-ES.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fa-IR.js
vendored
4526
vendors/DateJS/build/date-fa-IR.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fi-FI.js
vendored
4526
vendors/DateJS/build/date-fi-FI.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fo-FO.js
vendored
4526
vendors/DateJS/build/date-fo-FO.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fr-BE.js
vendored
4526
vendors/DateJS/build/date-fr-BE.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fr-CA.js
vendored
4526
vendors/DateJS/build/date-fr-CA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fr-CH.js
vendored
4526
vendors/DateJS/build/date-fr-CH.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fr-FR.js
vendored
4526
vendors/DateJS/build/date-fr-FR.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fr-LU.js
vendored
4526
vendors/DateJS/build/date-fr-LU.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-fr-MC.js
vendored
4526
vendors/DateJS/build/date-fr-MC.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-gl-ES.js
vendored
4526
vendors/DateJS/build/date-gl-ES.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-gu-IN.js
vendored
4526
vendors/DateJS/build/date-gu-IN.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-he-IL.js
vendored
4526
vendors/DateJS/build/date-he-IL.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-hi-IN.js
vendored
4526
vendors/DateJS/build/date-hi-IN.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-hr-BA.js
vendored
4526
vendors/DateJS/build/date-hr-BA.js
vendored
File diff suppressed because it is too large
Load diff
4526
vendors/DateJS/build/date-hr-HR.js
vendored
4526
vendors/DateJS/build/date-hr-HR.js
vendored
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue