first commit
This commit is contained in:
17
lib/jqueryplugins/jquery-gantt/CONTRIBUTORS.md
Normal file
17
lib/jqueryplugins/jquery-gantt/CONTRIBUTORS.md
Normal file
@ -0,0 +1,17 @@
|
||||
Welcome Contributor
|
||||
=
|
||||
|
||||
Thank you very much for your time examining and potentially modifying the source code. I truly believe it is what makes this community so great. This plugin wouldn't have gained the notoriety it has had I not opened up the original source and been quite unhappy with it.
|
||||
|
||||
|
||||
Requirements & Best Practices
|
||||
-
|
||||
|
||||
Just a few guidelines before submitting issues and pull requests:
|
||||
|
||||
- Ensure the code passes [JSHint](http://jshint.com) completely
|
||||
- Always strive to write code that meets [best practices](http://taitems.github.com/Front-End-Development-Guidelines/)
|
||||
- If you're attempting to solve a very unique bug, a test case is preferred
|
||||
- Please target all pull requests to the [master](/../../tree/master) branch
|
||||
|
||||
And thanks once again!
|
||||
23
lib/jqueryplugins/jquery-gantt/README.md
Normal file
23
lib/jqueryplugins/jquery-gantt/README.md
Normal file
@ -0,0 +1,23 @@
|
||||
[Demo and Documentation](http://taitems.github.com/jQuery.Gantt/)
|
||||
==============
|
||||
|
||||
jQuery Gantt Chart is a simple chart that implements gantt functionality as
|
||||
a jQuery component.
|
||||
|
||||
It's able to:
|
||||
|
||||
- Read json data
|
||||
- Paging results
|
||||
- Display different colours for each task
|
||||
- Display short description as hints
|
||||
- Mark holidays
|
||||
|
||||
Plugin was tested and should work on:
|
||||
|
||||
- Firefox 4+
|
||||
- Chrome 13+
|
||||
- Safari 5+
|
||||
- Opera 9+
|
||||
- IE 8+
|
||||
|
||||
Distributed under an MIT license.
|
||||
431
lib/jqueryplugins/jquery-gantt/css/style.css
Normal file
431
lib/jqueryplugins/jquery-gantt/css/style.css
Normal file
@ -0,0 +1,431 @@
|
||||
.gantt, .gantt2 {
|
||||
width: 100%;
|
||||
margin: 20px auto;
|
||||
border: 14px solid #ddd;
|
||||
position: relative;
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.gantt:after {
|
||||
content: ".";
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.fn-gantt {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.fn-gantt .fn-content {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* === LEFT PANEL === */
|
||||
|
||||
.fn-gantt .leftPanel {
|
||||
float: left;
|
||||
width: 225px;
|
||||
overflow: hidden;
|
||||
border-right: 1px solid #DDD;
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.fn-gantt .row {
|
||||
float: left;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
margin-left: -1px;
|
||||
}
|
||||
.fn-gantt .row.header {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.fn-gantt .leftPanel .fn-label {
|
||||
display: inline-block;
|
||||
margin: 0 0 0 5px;
|
||||
color: #484A4D;
|
||||
width: 110px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fn-gantt .leftPanel .row0 {
|
||||
border-top: 1px solid #DDD;
|
||||
}
|
||||
.fn-gantt .leftPanel .name, .fn-gantt .leftPanel .desc {
|
||||
float: left;
|
||||
height: 23px;
|
||||
margin: 0;
|
||||
border-bottom: 1px solid #DDD;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
.fn-gantt .leftPanel .name {
|
||||
width: 110px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.fn-gantt .leftPanel .desc {
|
||||
width: 115px;
|
||||
}
|
||||
|
||||
.fn-gantt .leftPanel .fn-wide, .fn-gantt .leftPanel .fn-wide .fn-label {
|
||||
width: 225px;
|
||||
}
|
||||
|
||||
.fn-gantt .spacer {
|
||||
margin: -2px 0 1px 0;
|
||||
border-bottom: none;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* === RIGHT PANEL === */
|
||||
|
||||
.fn-gantt .rightPanel {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fn-gantt .dataPanel {
|
||||
margin-left: 0px;
|
||||
border-right: 1px solid #DDD;
|
||||
background-image: url(../img/grid.png);
|
||||
background-repeat: repeat;
|
||||
background-position: 24px 24px;
|
||||
position: relative;
|
||||
}
|
||||
.fn-gantt .day, .fn-gantt .date {
|
||||
overflow: visible;
|
||||
width: 24px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
border-left: 1px solid #DDD;
|
||||
border-bottom: 1px solid #DDD;
|
||||
margin: -1px 0 0 -1px;
|
||||
font-size: 11px;
|
||||
color: #484a4d;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.75);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fn-gantt .holiday {
|
||||
background-color: #ffd263;
|
||||
height: 23px;
|
||||
margin: 0 0 -1px -1px;
|
||||
}
|
||||
|
||||
.fn-gantt .today {
|
||||
background-color: #fff8da;
|
||||
height: 23px;
|
||||
margin: 0 0 -1px -1px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fn-gantt .sa, .fn-gantt .sn, .fn-gantt .wd {
|
||||
height: 23px;
|
||||
margin: 0 0 0 -1px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fn-gantt .sa, .fn-gantt .sn {
|
||||
color: #939496;
|
||||
background-color: #f5f5f5;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fn-gantt .wd {
|
||||
background-color: #f6f6f6;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fn-gantt .rightPanel .month, .fn-gantt .rightPanel .year {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
border-left: 1px solid #DDD;
|
||||
border-bottom: 1px solid #DDD;
|
||||
height: 23px;
|
||||
margin: 0 0 0 -1px;
|
||||
background-color: #f6f6f6;
|
||||
font-weight: bold;
|
||||
font-size: 11px;
|
||||
color: #484a4d;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.75);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fn-gantt-hint {
|
||||
border: 5px solid #edc332;
|
||||
background-color: #fff5d4;
|
||||
padding: 10px;
|
||||
position: absolute;
|
||||
display: none;
|
||||
z-index: 11;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.fn-gantt .bar {
|
||||
background-color: #D0E4FD;
|
||||
height: 18px;
|
||||
margin: 0px 3px 3px 0px;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
text-align: center;
|
||||
-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
|
||||
-moz-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
|
||||
box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.fn-gantt .bar .fn-label {
|
||||
line-height: 18px;
|
||||
font-weight: bold;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.4);
|
||||
color: #414B57 !important;
|
||||
text-align: center;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.fn-gantt .ganttRed {
|
||||
background-color: #F9C4E1;
|
||||
}
|
||||
.fn-gantt .ganttRed .fn-label {
|
||||
color: #78436D !important;
|
||||
}
|
||||
|
||||
.fn-gantt .ganttGreen {
|
||||
background-color: #D8EDA3;
|
||||
}
|
||||
.fn-gantt .ganttGreen .fn-label {
|
||||
color: #778461 !important;
|
||||
}
|
||||
|
||||
.fn-gantt .ganttOrange {
|
||||
background-color: #FCD29A;
|
||||
}
|
||||
.fn-gantt .ganttOrange .fn-label {
|
||||
color: #714715 !important;
|
||||
}
|
||||
|
||||
|
||||
/* === BOTTOM NAVIGATION === */
|
||||
|
||||
.fn-gantt .bottom {
|
||||
clear: both;
|
||||
background-color: #f6f6f6;
|
||||
width: 100%;
|
||||
}
|
||||
.fn-gantt .navigate {
|
||||
border-top: 1px solid #DDD;
|
||||
padding: 10px 0 10px 225px;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider {
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider-left, .fn-gantt .navigate .nav-slider-right {
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider-content {
|
||||
text-align: left;
|
||||
width: 160px;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider-bar, .fn-gantt .navigate .nav-slider-button {
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider-bar {
|
||||
width: 155px;
|
||||
height: 6px;
|
||||
background-color: #838688;
|
||||
margin: 8px 0 0 0;
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
|
||||
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider-button {
|
||||
width: 17px;
|
||||
height: 60px;
|
||||
background: url(../img/slider_handle.png) center center no-repeat;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
margin: -26px 0 0 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .page-number {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .page-number span {
|
||||
color: #666666;
|
||||
margin: 0 6px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate a:link, .fn-gantt .navigate a:visited, .fn-gantt .navigate a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.fn-gantt .nav-link {
|
||||
margin: 0 3px 0 0;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-size: 0px;
|
||||
background: #595959 url(../img/icon_sprite.png) !important;
|
||||
border: 1px solid #454546;
|
||||
cursor: pointer;
|
||||
vertical-align: top;
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
|
||||
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
|
||||
box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.fn-gantt .nav-link:active {
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
|
||||
-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-page-back {
|
||||
background-position: 1px 0 !important;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-page-next {
|
||||
background-position: 1px -16px !important;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider .nav-page-next {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-begin {
|
||||
background-position: 1px -112px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-prev-week {
|
||||
background-position: 1px -128px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-prev-day {
|
||||
background-position: 1px -48px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-next-day {
|
||||
background-position: 1px -64px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-next-week {
|
||||
background-position: 1px -160px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-end {
|
||||
background-position: 1px -144px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-zoomOut {
|
||||
background-position: 1px -96px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-zoomIn {
|
||||
background-position: 1px -80px !important;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-now {
|
||||
background-position: 1px -32px !important;
|
||||
}
|
||||
|
||||
.fn-gantt .navigate .nav-slider .nav-now {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.fn-gantt-loader {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf000000', endColorstr='#bf000000',GradientType=0 );
|
||||
background: rgba(0,0,0,0.75);
|
||||
cursor: wait;
|
||||
z-index: 30;
|
||||
}
|
||||
.fn-gantt-loader-spinner span {
|
||||
position: absolute;
|
||||
margin: auto;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
height: 1em;
|
||||
line-height: 1em;
|
||||
color: #fff;
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.row:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
1
lib/jqueryplugins/jquery-gantt/css/style.min.css
vendored
Normal file
1
lib/jqueryplugins/jquery-gantt/css/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
lib/jqueryplugins/jquery-gantt/img/grid.png
Normal file
BIN
lib/jqueryplugins/jquery-gantt/img/grid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 96 B |
BIN
lib/jqueryplugins/jquery-gantt/img/icon_sprite.png
Normal file
BIN
lib/jqueryplugins/jquery-gantt/img/icon_sprite.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 808 B |
BIN
lib/jqueryplugins/jquery-gantt/img/loader_bg.png
Normal file
BIN
lib/jqueryplugins/jquery-gantt/img/loader_bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
lib/jqueryplugins/jquery-gantt/img/slider_handle.png
Normal file
BIN
lib/jqueryplugins/jquery-gantt/img/slider_handle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 817 B |
16
lib/jqueryplugins/jquery-gantt/js/dataDays.js
vendored
Normal file
16
lib/jqueryplugins/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"}]}]
|
||||
1
lib/jqueryplugins/jquery-gantt/js/dataDays.min.js
vendored
Normal file
1
lib/jqueryplugins/jquery-gantt/js/dataDays.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
[{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
lib/jqueryplugins/jquery-gantt/js/dataDaysEnh.js
vendored
Normal file
2
lib/jqueryplugins/jquery-gantt/js/dataDaysEnh.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
lib/jqueryplugins/jquery-gantt/js/dataDaysEnh.min.js
vendored
Normal file
1
lib/jqueryplugins/jquery-gantt/js/dataDaysEnh.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
103
lib/jqueryplugins/jquery-gantt/js/dataHours.js
vendored
Normal file
103
lib/jqueryplugins/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"}
|
||||
]
|
||||
}]
|
||||
1
lib/jqueryplugins/jquery-gantt/js/dataHours.min.js
vendored
Normal file
1
lib/jqueryplugins/jquery-gantt/js/dataHours.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
47
lib/jqueryplugins/jquery-gantt/js/jquery.cookie.js
Normal file
47
lib/jqueryplugins/jquery-gantt/js/jquery.cookie.js
Normal file
@ -0,0 +1,47 @@
|
||||
/*!
|
||||
* jQuery Cookie Plugin
|
||||
* https://github.com/carhartl/jquery-cookie
|
||||
*
|
||||
* Copyright 2011, Klaus Hartl
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.opensource.org/licenses/GPL-2.0
|
||||
*/
|
||||
(function ($) {
|
||||
$.cookie = function (key, value, options) {
|
||||
|
||||
// key and at least value given, set cookie...
|
||||
if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) {
|
||||
options = $.extend({}, options);
|
||||
|
||||
if (value === null || value === undefined) {
|
||||
options.expires = -1;
|
||||
}
|
||||
|
||||
if (typeof options.expires === 'number') {
|
||||
var days = options.expires, t = options.expires = new Date();
|
||||
t.setDate(t.getDate() + days);
|
||||
}
|
||||
|
||||
value = String(value);
|
||||
|
||||
return (document.cookie = [
|
||||
encodeURIComponent(key), '=', options.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(''));
|
||||
}
|
||||
|
||||
// key and possibly options given, get cookie...
|
||||
options = value || {};
|
||||
var decode = options.raw ? function (s) { return s; } : decodeURIComponent;
|
||||
|
||||
var pairs = document.cookie.split('; ');
|
||||
for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {
|
||||
if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined
|
||||
}
|
||||
return null;
|
||||
};
|
||||
})(jQuery);
|
||||
10
lib/jqueryplugins/jquery-gantt/js/jquery.cookie.min.js
vendored
Normal file
10
lib/jqueryplugins/jquery-gantt/js/jquery.cookie.min.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* jQuery Cookie Plugin
|
||||
* https://github.com/carhartl/jquery-cookie
|
||||
*
|
||||
* Copyright 2011, Klaus Hartl
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.opensource.org/licenses/GPL-2.0
|
||||
*/
|
||||
(function(e){e.cookie=function(n,t,o){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(t))||t===null||t===undefined)){o=e.extend({},o);if(t===null||t===undefined){o.expires=-1}if(typeof o.expires==="number"){var r=o.expires,i=o.expires=new Date;i.setDate(i.getDate()+r)}t=String(t);return document.cookie=[encodeURIComponent(n),"=",o.raw?t:encodeURIComponent(t),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}o=t||{};var p=o.raw?function(e){return e}:decodeURIComponent;var u=document.cookie.split("; ");for(var a=0,c;c=u[a]&&u[a].split("=");a++){if(p(c[0])===n)return p(c[1]||"")}return null}})(jQuery);
|
||||
1767
lib/jqueryplugins/jquery-gantt/js/jquery.fn.gantt.js
vendored
Normal file
1767
lib/jqueryplugins/jquery-gantt/js/jquery.fn.gantt.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
lib/jqueryplugins/jquery-gantt/js/jquery.fn.gantt.min.js
vendored
Normal file
7
lib/jqueryplugins/jquery-gantt/js/jquery.fn.gantt.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user