first commit
This commit is contained in:
16
WebRoot/JS/jquery-gantt/js/dataDays.js
vendored
Normal file
16
WebRoot/JS/jquery-gantt/js/dataDays.js
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
[{ "name": " Planning ","desc": "Inception","values": [{"from": "/Date(1320192000000)/", "to": "/Date(1321401600000)/", "desc": "Id: 1<br/>Name: Planning <br/>Date: 2011-11-02 to 2011-11-16", "label": " Planni...", "customClass": "ganttRed"}]},
|
||||
{ "name": " Gathering requirements ","desc": "Inception","values": [{"from": "/Date(1321401600000)/", "to": "/Date(1322870400000)/", "desc": "Id: 2<br/>Name: Gathering requirements <br/>Date: 2011-11-16 to 2011-12-03", "label": " Gather...", "customClass": "ganttGreen"}]},
|
||||
{ "name": " Determine scope ","desc": "Inception","values": [{"from": "/Date(1322611200000)/", "to": "/Date(1323302400000)/", "desc": "Id: 3<br/>Name: Determine scope <br/>Date: 2011-11-30 to 2011-12-08", "label": " Determ...", "customClass": "ganttOrange"}]},
|
||||
{ "name": " Analysis and design ","desc": "Iteration 1","values": [{"from": "/Date(1323302400000)/", "to": "/Date(1324684800000)/", "desc": "Id: 4<br/>Name: Analysis and design <br/>Date: 2011-12-08 to 2011-12-24", "label": " Analys..."}]},
|
||||
{ "name": " Implementation ","desc": "Iteration 1","values": [{"from": "/Date(1324857600000)/", "to": "/Date(1326758400000)/", "desc": "Id: 5<br/>Name: Implementation <br/>Date: 2011-12-26 to 2012-01-17", "label": " Implem...", "customClass": "ganttRed"}]},
|
||||
{ "name": " Deliver prototype ","desc": "Iteration 1","values": [{"from": "/Date(1326758400000)/", "to": "/Date(1326844800000)/", "desc": "Id: 6<br/>Name: Deliver prototype <br/>Date: 2012-01-17 to 2012-01-18", "label": " Delive...", "customClass": "ganttGreen"}]},
|
||||
{ "name": " Testing ","desc": "Iteration 1","values": [{"from": "/Date(1326844800000)/", "to": "/Date(1328659200000)/", "desc": "Id: 7<br/>Name: Testing <br/>Date: 2012-01-18 to 2012-02-08", "label": " Testin...", "customClass": "ganttOrange"}]},
|
||||
{ "name": " Review and evaluation ","desc": "Iteration 1","values": [{"from": "/Date(1328659200000)/", "to": "/Date(1328832000000)/", "desc": "Id: 8<br/>Name: Review and evaluation <br/>Date: 2012-02-08 to 2012-02-10", "label": " Review..."}]},
|
||||
{ "name": " Analysis and enhancement of design ","desc": "Iteration 2","values": [{"from": "/Date(1328832000000)/", "to": "/Date(1329868800000)/", "desc": "Id: 9<br/>Name: Analysis and enhancement of design <br/>Date: 2012-02-10 to 2012-02-22", "label": " Analys...", "customClass": "ganttRed"}]},
|
||||
{ "name": " Implementation (enhancement of prototype)","desc": "Iteration 2","values": [{"from": "/Date(1329868800000)/", "to": "/Date(1331337600000)/", "desc": "Id: 10<br/>Name: Implementation (enhancement of prototype)<br/>Date: 2012-02-22 to 2012-03-10", "label": " Implem...", "customClass": "ganttGreen"}]},
|
||||
{ "name": " Deliver prototype ","desc": "Iteration 2","values": [{"from": "/Date(1331510400000)/", "to": "/Date(1331596800000)/", "desc": "Id: 11<br/>Name: Deliver prototype <br/>Date: 2012-03-12 to 2012-03-13", "label": " Delive...", "customClass": "ganttOrange"}]},
|
||||
{ "name": " Testing ","desc": "Iteration 2","values": [{"from": "/Date(1331596800000)/", "to": "/Date(1332547200000)/", "desc": "Id: 12<br/>Name: Testing <br/>Date: 2012-03-13 to 2012-03-24", "label": " Testin...", "customClass": "ganttRed"}]},
|
||||
{ "name": " Review and evaluation ","desc": "Iteration 2","values": [{"from": "/Date(1332720000000)/", "to": "/Date(1332892800000)/", "desc": "Id: 13<br/>Name: Review and evaluation <br/>Date: 2012-03-26 to 2012-03-28", "label": " Review...", "customClass": "ganttGreen"}]},
|
||||
{ "name": " Finalising ","desc": "Finalization","values": [{"from": "/Date(1332892800000)/", "to": "/Date(1333065600000)/", "desc": "Id: 14<br/>Name: Finalising <br/>Date: 2012-03-28 to 2012-03-30", "label": " Finali...", "customClass": "ganttOrnage"}]},
|
||||
{ "name": " Deployment ","desc": "Finalization","values": [{"from": "/Date(1333065600000)/", "to": "/Date(1333411200000)/", "desc": "Id: 15<br/>Name: Deployment <br/>Date: 2012-03-30 to 2012-04-03", "label": " Deploy..."}]},
|
||||
{ "name": " Project review and evaluation ","desc": "Finalization","values": [{"from": "/Date(1333411200000)/", "to": "/Date(1333584000000)/", "desc": "Id: 16<br/>Name: Project review and evaluation <br/>Date: 2012-04-03 to 2012-04-05", "label": " Projec...", "customClass": "ganttRed"}]}]
|
||||
2
WebRoot/JS/jquery-gantt/js/dataDaysEnh.js
vendored
Normal file
2
WebRoot/JS/jquery-gantt/js/dataDaysEnh.js
vendored
Normal file
File diff suppressed because one or more lines are too long
103
WebRoot/JS/jquery-gantt/js/dataHours.js
vendored
Normal file
103
WebRoot/JS/jquery-gantt/js/dataHours.js
vendored
Normal file
@ -0,0 +1,103 @@
|
||||
[{ "name": "Task#1",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296547200000)/", "to": "/Date(1296554400000)/", "desc": "<b>Task #</b>1<br><b>Data</b>: [2011-02-01 08:00:00 - 2011-02-01 10:00:00] ", "customClass": "ganttRed", "label": "Task #1"},
|
||||
{"from": "/Date(1296637200000)/", "to": "/Date(1296649800000)/", "desc": "<b>Task #</b>1<br><b>Data</b>: [2011-02-02 09:00:00 - 2011-02-02 12:30:00] ", "customClass": "ganttOrange", "label": "Task #1"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#2",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296554400000)/", "to": "/Date(1296568800000)/", "desc": "<b>Task #</b>2<br><b>Data</b>: [2011-02-01 10:00:00 - 2011-02-01 14:00:00] ", "customClass": "ganttRed", "label": "Task #2"},
|
||||
{"from": "/Date(1296653400000)/", "to": "/Date(1296658800000)/", "desc": "<b>Task #</b>2<br><b>Data</b>: [2011-02-02 13:30:00 - 2011-02-02 15:00:00] ", "customClass": "ganttGreen"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#3",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296574200000)/", "to": "/Date(1296576000000)/", "desc": "<b>Task #</b>3<br><b>Data</b>: [2011-02-01 15:30:00 - 2011-02-01 16:00:00] "},
|
||||
{"from": "/Date(1296655200000)/", "to": "/Date(1296662400000)/", "desc": "<b>Task #</b>3<br><b>Data</b>: [2011-02-02 14:00:00 - 2011-02-02 16:00:00] ", "customClass": "ganttOrange"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#4",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296633600000)/", "to": "/Date(1296646200000)/", "desc": "<b>Task #</b>4<br><b>Data</b>: [2011-02-02 08:00:00 - 2011-02-02 11:30:00] ", "label": "Task #4"},
|
||||
{"from": "/Date(1296720000000)/", "to": "/Date(1296730800000)/", "desc": "<b>Task #</b>4<br><b>Data</b>: [2011-02-03 08:00:00 - 2011-02-03 11:00:00] ", "customClass": "ganttGreen"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#5",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296646200000)/", "to": "/Date(1296651600000)/", "desc": "<b>Task #</b>5<br><b>Data</b>: [2011-02-02 11:30:00 - 2011-02-02 13:00:00] ", "label": "Task #5"},
|
||||
{"from": "/Date(1296727200000)/", "to": "/Date(1296741600000)/", "desc": "<b>Task #</b>5<br><b>Data</b>: [2011-02-03 10:00:00 - 2011-02-03 14:00:00] ", "customClass": "ganttRed", "label": "Task #5"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#6",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296651600000)/", "to": "/Date(1296662400000)/", "desc": "<b>Task #</b>6<br><b>Data</b>: [2011-02-02 13:00:00 - 2011-02-02 16:00:00] ", "customClass": "ganttGreen"},
|
||||
{"from": "/Date(1296716400000)/", "to": "/Date(1296725400000)/", "desc": "<b>Task #</b>6<br><b>Data</b>: [2011-02-03 07:00:00 - 2011-02-03 09:30:00] ", "customClass": "ganttOrange"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#7",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296662400000)/", "to": "/Date(1296669600000)/", "desc": "<b>Task #</b>7<br><b>Data</b>: [2011-02-02 16:00:00 - 2011-02-02 18:00:00] ", "label": "Task #7"},
|
||||
{"from": "/Date(1296748800000)/", "to": "/Date(1296756000000)/", "desc": "<b>Task #</b>7<br><b>Data</b>: [2011-02-03 16:00:00 - 2011-02-03 18:00:00] ", "customClass": "ganttGreen", "label": "Task #7"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#8",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296720000000)/", "to": "/Date(1296734400000)/", "desc": "<b>Task #</b>8<br><b>Data</b>: [2011-02-03 08:00:00 - 2011-02-03 12:00:00] ", "customClass": "ganttRed", "label": "Task #8"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#9",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296660600000)/", "to": "/Date(1296667800000)/", "desc": "<b>Task #</b>9<br><b>Data</b>: [2011-02-02 15:30:00 - 2011-02-02 17:30:00] ", "customClass": "ganttOrange"},
|
||||
{"from": "/Date(1296734400000)/", "to": "/Date(1296745200000)/", "desc": "<b>Task #</b>9<br><b>Data</b>: [2011-02-03 12:00:00 - 2011-02-03 15:00:00] ", "customClass": "ganttRed"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#10",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296745200000)/", "to": "/Date(1296752400000)/", "desc": "<b>Task #</b>10<br><b>Data</b>: [2011-02-03 15:00:00 - 2011-02-03 17:00:00] "}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#11",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296547200000)/", "to": "/Date(1296554400000)/", "desc": "<b>Task #</b>11<br><b>Data</b>: [2011-02-01 08:00:00 - 2011-02-01 10:00:00] "},
|
||||
{"from": "/Date(1296660600000)/", "to": "/Date(1296669600000)/", "desc": "<b>Task #</b>11<br><b>Data</b>: [2011-02-02 15:30:00 - 2011-02-02 18:00:00] ", "customClass": "ganttOrange"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#12",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296554400000)/", "to": "/Date(1296568800000)/", "desc": "<b>Task #</b>12<br><b>Data</b>: [2011-02-01 10:00:00 - 2011-02-01 14:00:00] ", "customClass": "ganttGreen"},
|
||||
{"from": "/Date(1296658800000)/", "to": "/Date(1296664200000)/", "desc": "<b>Task #</b>12<br><b>Data</b>: [2011-02-02 15:00:00 - 2011-02-02 16:30:00] ", "customClass": "ganttOrange"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#13",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296574200000)/", "to": "/Date(1296576000000)/", "desc": "<b>Task #</b>13<br><b>Data</b>: [2011-02-01 15:30:00 - 2011-02-01 16:00:00] "},
|
||||
{"from": "/Date(1296720000000)/", "to": "/Date(1296730800000)/", "desc": "<b>Task #</b>13<br><b>Data</b>: [2011-02-03 08:00:00 - 2011-02-03 11:00:00] ", "customClass": "ganttRed"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#14",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296543600000)/", "to": "/Date(1296550800000)/", "desc": "<b>Task #</b>14<br><b>Data</b>: [2011-02-01 07:00:00 - 2011-02-01 09:00:00] ", "customClass": "ganttOrange"},
|
||||
{"from": "/Date(1296633600000)/", "to": "/Date(1296646200000)/", "desc": "<b>Task #</b>14<br><b>Data</b>: [2011-02-02 08:00:00 - 2011-02-02 11:30:00] ", "customClass": "ganttGreen"}
|
||||
]
|
||||
},
|
||||
{ "name": "Task#15",
|
||||
"desc": "",
|
||||
"values": [
|
||||
{"from": "/Date(1296556200000)/", "to": "/Date(1296565200000)/", "desc": "<b>Task #</b>15<br><b>Data</b>: [2011-02-01 10:30:00 - 2011-02-01 13:00:00] ", "label": "Task #15"},
|
||||
{"from": "/Date(1296646200000)/", "to": "/Date(1296651600000)/", "desc": "<b>Task #</b>15<br><b>Data</b>: [2011-02-02 11:30:00 - 2011-02-02 13:00:00] ", "customClass": "ganttOrange", "label": "Task #15"}
|
||||
]
|
||||
}]
|
||||
96
WebRoot/JS/jquery-gantt/js/jquery.cookie.js
Normal file
96
WebRoot/JS/jquery-gantt/js/jquery.cookie.js
Normal file
@ -0,0 +1,96 @@
|
||||
/*!
|
||||
* jQuery Cookie Plugin v1.3.1
|
||||
* https://github.com/carhartl/jquery-cookie
|
||||
*
|
||||
* Copyright 2013 Klaus Hartl
|
||||
* Released under the MIT license
|
||||
*/
|
||||
(function (factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as anonymous module.
|
||||
define(['jquery'], factory);
|
||||
} else {
|
||||
// Browser globals.
|
||||
factory(jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
|
||||
var pluses = /\+/g;
|
||||
|
||||
function decode(s) {
|
||||
if (config.raw) {
|
||||
return s;
|
||||
}
|
||||
return decodeURIComponent(s.replace(pluses, ' '));
|
||||
}
|
||||
|
||||
function decodeAndParse(s) {
|
||||
if (s.indexOf('"') === 0) {
|
||||
// This is a quoted cookie as according to RFC2068, unescape...
|
||||
s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
|
||||
}
|
||||
|
||||
s = decode(s);
|
||||
|
||||
try {
|
||||
return config.json ? JSON.parse(s) : s;
|
||||
} catch(e) {}
|
||||
}
|
||||
|
||||
var config = $.cookie = function (key, value, options) {
|
||||
|
||||
// Write
|
||||
if (value !== undefined) {
|
||||
options = $.extend({}, config.defaults, options);
|
||||
|
||||
if (typeof options.expires === 'number') {
|
||||
var days = options.expires, t = options.expires = new Date();
|
||||
t.setDate(t.getDate() + days);
|
||||
}
|
||||
|
||||
value = config.json ? JSON.stringify(value) : String(value);
|
||||
|
||||
return (document.cookie = [
|
||||
config.raw ? key : encodeURIComponent(key),
|
||||
'=',
|
||||
config.raw ? value : encodeURIComponent(value),
|
||||
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
|
||||
options.path ? '; path=' + options.path : '',
|
||||
options.domain ? '; domain=' + options.domain : '',
|
||||
options.secure ? '; secure' : ''
|
||||
].join(''));
|
||||
}
|
||||
|
||||
// Read
|
||||
var cookies = document.cookie.split('; ');
|
||||
var result = key ? undefined : {};
|
||||
for (var i = 0, l = cookies.length; i < l; i++) {
|
||||
var parts = cookies[i].split('=');
|
||||
var name = decode(parts.shift());
|
||||
var cookie = parts.join('=');
|
||||
|
||||
if (key && key === name) {
|
||||
result = decodeAndParse(cookie);
|
||||
break;
|
||||
}
|
||||
|
||||
if (!key) {
|
||||
result[name] = decodeAndParse(cookie);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
config.defaults = {};
|
||||
|
||||
$.removeCookie = function (key, options) {
|
||||
if ($.cookie(key) !== undefined) {
|
||||
// Must not alter options, thus extending a fresh object...
|
||||
$.cookie(key, '', $.extend({}, options, { expires: -1 }));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
}));
|
||||
1771
WebRoot/JS/jquery-gantt/js/jquery.fn.gantt.js
vendored
Normal file
1771
WebRoot/JS/jquery-gantt/js/jquery.fn.gantt.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
WebRoot/JS/jquery-gantt/js/jquery.fn.gantt.min.js
vendored
Normal file
1
WebRoot/JS/jquery-gantt/js/jquery.fn.gantt.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
WebRoot/JS/jquery-gantt/js/jquery.min.js
vendored
Normal file
6
WebRoot/JS/jquery-gantt/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user