Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Updated page doctype to HTML5

- Moved body styles from stylesheet to page to reduce conflicts

- Reduced conflicts with Twitter Bootstrap by namespacing code

- Source now accepts data from a local object, not just a JSON call

- Can now extend data properties on to bars for use with Bootstrap popovers etc

- Code is now uses strict

- Fixed a couple of errors resulting from "use strict"

- Various English translations: renamed hollydays to holidays + renamed months and days to english

- Redesigned buttons and slider with CSS3 and an image sprite

- Modified category colours and styles

- Made chart 100% width so it responds to parent container width

- Began enforcing front end dev guidelines http://taitems.github.com/Front-End-Development-Guidelines/ such as double quotations (but singles on HTML strings), triple equals comparison and using spans instead of hyperlinks for JavaScript interactivity
  • Loading branch information...
commit 3e264584afaf093f94f8ecf1abfa2213a1599e96 1 parent 1a9711f
@taitems taitems authored
View
BIN  img/buttons.png
Deleted file not rendered
View
672 img/buttons.svg
@@ -1,672 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="250"
- height="40"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.1 r9760"
- sodipodi:docname="buttons.svg"
- inkscape:export-filename="/home/marek/git/jQuery.Gantt/img/buttons.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient4083">
- <stop
- id="stop4085"
- offset="0"
- style="stop-color:#f06f00;stop-opacity:1;" />
- <stop
- id="stop4087"
- offset="1"
- style="stop-color:#ffd38e;stop-opacity:1;" />
- </linearGradient>
- <linearGradient
- id="linearGradient4075">
- <stop
- style="stop-color:#e74700;stop-opacity:1;"
- offset="0"
- id="stop4077" />
- <stop
- style="stop-color:#ffa85e;stop-opacity:1;"
- offset="1"
- id="stop4079" />
- </linearGradient>
- <linearGradient
- id="linearGradient4007">
- <stop
- id="stop4009"
- offset="0"
- style="stop-color:#de9400;stop-opacity:1;" />
- <stop
- id="stop4011"
- offset="1"
- style="stop-color:#ffb521;stop-opacity:1;" />
- </linearGradient>
- <linearGradient
- id="linearGradient4001">
- <stop
- style="stop-color:#f0ae00;stop-opacity:1;"
- offset="0"
- id="stop4003" />
- <stop
- style="stop-color:#ffe155;stop-opacity:1;"
- offset="1"
- id="stop4005" />
- </linearGradient>
- <linearGradient
- id="linearGradient4383">
- <stop
- style="stop-color:#0097fb;stop-opacity:1;"
- offset="0"
- id="stop4385" />
- <stop
- style="stop-color:#51baff;stop-opacity:1;"
- offset="1"
- id="stop4387" />
- </linearGradient>
- <linearGradient
- inkscape:collect="always"
- id="linearGradient4375">
- <stop
- style="stop-color:#ffffff;stop-opacity:1;"
- offset="0"
- id="stop4377" />
- <stop
- style="stop-color:#ffffff;stop-opacity:0;"
- offset="1"
- id="stop4379" />
- </linearGradient>
- <linearGradient
- inkscape:collect="always"
- id="linearGradient4367">
- <stop
- style="stop-color:#ffffff;stop-opacity:1;"
- offset="0"
- id="stop4369" />
- <stop
- style="stop-color:#ffffff;stop-opacity:0;"
- offset="1"
- id="stop4371" />
- </linearGradient>
- <linearGradient
- id="linearGradient4355">
- <stop
- style="stop-color:#718d1d;stop-opacity:1;"
- offset="0"
- id="stop4357" />
- <stop
- style="stop-color:#9dc428;stop-opacity:1;"
- offset="1"
- id="stop4359" />
- </linearGradient>
- <linearGradient
- id="linearGradient4293">
- <stop
- id="stop4295"
- offset="0"
- style="stop-color:#46b5ff;stop-opacity:1;" />
- <stop
- id="stop4297"
- offset="1"
- style="stop-color:#8cd1ff;stop-opacity:1;" />
- </linearGradient>
- <linearGradient
- id="linearGradient4234">
- <stop
- style="stop-color:#909090;stop-opacity:1;"
- offset="0"
- id="stop4236" />
- <stop
- style="stop-color:#181818;stop-opacity:1;"
- offset="1"
- id="stop4238" />
- </linearGradient>
- <linearGradient
- id="linearGradient4174">
- <stop
- id="stop4176"
- offset="0"
- style="stop-color:#5c5c5c;stop-opacity:1;" />
- <stop
- id="stop4178"
- offset="1"
- style="stop-color:#eeeeee;stop-opacity:1;" />
- </linearGradient>
- <linearGradient
- id="linearGradient4140">
- <stop
- id="stop4142"
- offset="0"
- style="stop-color:#535353;stop-opacity:1;" />
- <stop
- id="stop4144"
- offset="1"
- style="stop-color:#909090;stop-opacity:1;" />
- </linearGradient>
- <linearGradient
- id="linearGradient4101">
- <stop
- id="stop4103"
- offset="0"
- style="stop-color:#93b826;stop-opacity:1;" />
- <stop
- id="stop4105"
- offset="1"
- style="stop-color:#bcdd5a;stop-opacity:1;" />
- </linearGradient>
- <linearGradient
- id="linearGradient4095">
- <stop
- style="stop-color:#def2ff;stop-opacity:1;"
- offset="0"
- id="stop4097" />
- <stop
- style="stop-color:#c8e9ff;stop-opacity:1;"
- offset="1"
- id="stop4099" />
- </linearGradient>
- <linearGradient
- id="linearGradient3972">
- <stop
- id="stop3974"
- offset="0"
- style="stop-color:#85ceff;stop-opacity:1;" />
- <stop
- id="stop3976"
- offset="1"
- style="stop-color:#c8e9ff;stop-opacity:1;" />
- </linearGradient>
- <linearGradient
- id="linearGradient3872">
- <stop
- style="stop-color:#e5f2bf;stop-opacity:1;"
- offset="0"
- id="stop3874" />
- <stop
- style="stop-color:#c6e272;stop-opacity:1;"
- offset="1"
- id="stop3876" />
- </linearGradient>
- <linearGradient
- id="linearGradient3836">
- <stop
- id="stop3838"
- offset="0"
- style="stop-color:#ffffff;stop-opacity:1;" />
- <stop
- id="stop3840"
- offset="1"
- style="stop-color:#ffffff;stop-opacity:0;" />
- </linearGradient>
- <linearGradient
- id="linearGradient3770">
- <stop
- style="stop-color:#838383;stop-opacity:1;"
- offset="0"
- id="stop3772" />
- <stop
- style="stop-color:#c6c6c6;stop-opacity:1;"
- offset="1"
- id="stop3774" />
- </linearGradient>
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient3770"
- id="linearGradient4138"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(0.49178773,-1070.3622)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4293"
- id="linearGradient4299"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,51,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4101"
- id="linearGradient4301"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,71,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4293"
- id="linearGradient4305"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,21,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4355"
- id="linearGradient4361"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,71,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4383"
- id="linearGradient4363"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,21,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4383"
- id="linearGradient4365"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,51,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4367"
- id="linearGradient4373"
- x1="51"
- y1="30"
- x2="69"
- y2="30"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(-50,0)" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4375"
- id="linearGradient4381"
- x1="1"
- y1="30"
- x2="19"
- y2="30"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(50,0)" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4001"
- id="linearGradient3201"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,211,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4367"
- id="linearGradient3203"
- gradientUnits="userSpaceOnUse"
- x1="51"
- y1="30"
- x2="69"
- y2="30"
- gradientTransform="translate(140,0)" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4007"
- id="linearGradient3205"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,211,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4001"
- id="linearGradient3223"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,231,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4367"
- id="linearGradient3225"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(160,0)"
- x1="51"
- y1="30"
- x2="69"
- y2="30" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4007"
- id="linearGradient3227"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,231,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4001"
- id="linearGradient4029"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,251,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4367"
- id="linearGradient4031"
- gradientUnits="userSpaceOnUse"
- gradientTransform="translate(180,0)"
- x1="51"
- y1="30"
- x2="69"
- y2="30" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4007"
- id="linearGradient4033"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,251,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4001"
- id="linearGradient4066"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,251,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4075"
- id="linearGradient4073"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,251,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4083"
- id="linearGradient4081"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,251,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4001"
- id="linearGradient4096"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,211,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4007"
- id="linearGradient4098"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,211,-908.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient4001"
- id="linearGradient4100"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.09473684,0,0,0.9,231,-928.12598)"
- x1="14.25"
- y1="1051.337"
- x2="14.25"
- y2="1031.7034" />
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="0.0"
- inkscape:pageshadow="2"
- inkscape:zoom="5.6568542"
- inkscape:cx="188.19431"
- inkscape:cy="16.256882"
- inkscape:document-units="px"
- inkscape:current-layer="layer2"
- showgrid="false"
- showguides="false"
- inkscape:window-width="1280"
- inkscape:window-height="755"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:guide-bbox="true">
- <sodipodi:guide
- orientation="1,0"
- position="20,16.971"
- id="guide3906" />
- <sodipodi:guide
- orientation="1,0"
- position="50,33.941126"
- id="guide3908" />
- <sodipodi:guide
- orientation="1,0"
- position="70,39.59798"
- id="guide3910" />
- <sodipodi:guide
- orientation="1,0"
- position="90,26.162951"
- id="guide3912" />
- <sodipodi:guide
- orientation="1,0"
- position="110,-6"
- id="guide3914" />
- <sodipodi:guide
- orientation="1,0"
- position="130,-6.25"
- id="guide3916" />
- <sodipodi:guide
- orientation="1,0"
- position="150,-9"
- id="guide3918" />
- <sodipodi:guide
- orientation="1,0"
- position="170,-12.5"
- id="guide3920" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1"
- transform="translate(0,-1012.3622)" />
- <g
- inkscape:groupmode="layer"
- id="layer2"
- inkscape:label="buttons">
- <path
- id="path4321"
- d="M 53.21875,1 C 51.991951,1 51,1.9919514 51,3.21875 l 0,13.5625 C 51,18.008049 51.991951,19 53.21875,19 l 13.5625,0 C 68.008049,19 69,18.008049 69,16.78125 L 69,3.21875 C 69,1.9919514 68.008049,1 66.78125,1 l -13.5625,0 z m 5.4375,4.5 2.6875,0 c 0.49441,0 0.71875,0.2009 0.71875,0.71875 l 0,2.375 2,0 c 1.18283,0 1.48822,0.6367816 0.6875,1.4375 l -4.0625,4.03125 c -0.55213,0.55213 -0.85954,0.546711 -1.40625,0 l -4.0625,-4.03125 c -0.55765,-0.5576494 -0.72318,-1.4375 0.5625,-1.4375 l 2.15625,0 0,-2.375 C 57.9375,5.661837 58.0759,5.5 58.65625,5.5 z"
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- inkscape:connector-curvature="0" />
- <path
- sodipodi:nodetypes="ssssssssssccscsssscsccs"
- inkscape:connector-curvature="0"
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- d="M 3.21875,1 C 1.991951,1 1,1.991951 1,3.21875 l 0,13.5625 C 1,18.008049 1.991951,19 3.21875,19 l 13.5625,0 C 18.008049,19 19,18.008049 19,16.78125 L 19,3.21875 C 19,1.991951 18.008049,1 16.78125,1 z m 6.75,4.5 c 0.220798,-6.77e-4 0.44269,0.161435 0.71875,0.4375 L 14.75,9.96875 c 0.800704,0.800719 0.495307,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 C 8.075912,14.5 7.9375,14.338164 7.9375,13.78125 l 0,-2.375 -2.15625,0 c -1.285655,0 -1.120139,-0.87985 -0.5625,-1.4375 L 9.28125,5.9375 C 9.5546,5.664144 9.747952,5.500677 9.96875,5.5 z"
- id="path4323" />
- <path
- sodipodi:nodetypes="sssssssssssssssssssssssssssssssssssssssssssssssssssssscsccssccssccccccssccssccsccsccssccscccccsssccccssccccssssccscccccsccsss"
- inkscape:connector-curvature="0"
- id="path4319"
- d="M 73.21875,1 C 71.991951,1 71,1.9919514 71,3.21875 l 0,13.5625 C 71,18.008049 71.991951,19 73.21875,19 l 13.5625,0 C 88.008049,19 89,18.008049 89,16.78125 L 89,3.21875 C 89,1.9919514 88.008049,1 86.78125,1 z m 20,0 C 91.991951,1 91,1.9919514 91,3.21875 l 0,13.5625 C 91,18.008049 91.991951,19 93.21875,19 l 13.5625,0 C 108.00805,19 109,18.008049 109,16.78125 l 0,-13.5625 C 109,1.9919514 108.00805,1 106.78125,1 z m 20,0 C 111.99195,1 111,1.9919514 111,3.21875 l 0,13.5625 C 111,18.008049 111.99195,19 113.21875,19 l 13.5625,0 C 128.00805,19 129,18.008049 129,16.78125 l 0,-13.5625 C 129,1.9919514 128.00805,1 126.78125,1 z m 20,0 C 131.99195,1 131,1.9919514 131,3.21875 l 0,13.5625 C 131,18.008049 131.99195,19 133.21875,19 l 13.5625,0 C 148.00805,19 149,18.008049 149,16.78125 l 0,-13.5625 C 149,1.9919514 148.00805,1 146.78125,1 z m 20,0 C 151.99195,1 151,1.9919514 151,3.21875 l 0,13.5625 C 151,18.008049 151.99195,19 153.21875,19 l 13.5625,0 C 168.00805,19 169,18.008049 169,16.78125 l 0,-13.5625 C 169,1.9919514 168.00805,1 166.78125,1 z m 20,0 C 171.99195,1 171,1.9919514 171,3.21875 l 0,13.5625 C 171,18.008049 171.99195,19 173.21875,19 l 13.5625,0 C 188.00805,19 189,18.008049 189,16.78125 l 0,-13.5625 C 189,1.9919514 188.00805,1 186.78125,1 z M 77.75,5.5 C 78.709017,5.5 79,5.7090416 79,6.21875 79,7.5457765 79.02465,8.1061474 79.03125,8.75 L 82.125,6.125 c 0.801342,-0.675812 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.879417,0.939409 -1.4375,0.46875 L 79.03125,11.5625 c 0.005,0.631068 0.03125,0.914443 0.03125,2.125 0,0.71449 -0.702612,0.75 -1.3125,0.75 -0.682848,0 -1.35832,-0.04255 -1.28125,-0.75 C 76.46875,10.440624 76.5,9.7103109 76.5,6.21875 76.5091,5.7566908 76.7943,5.49865 77.75,5.5 z m 104.5,0 c 0.9557,-0.00135 1.24092,0.2566908 1.25,0.71875 0,3.4915609 0.0312,4.221874 0.0312,7.46875 0.0771,0.707446 -0.5984,0.75 -1.28125,0.75 -0.60989,0 -1.3125,-0.03551 -1.3125,-0.75 0,-1.210557 0.0263,-1.493932 0.0312,-2.125 l -3.09375,2.59375 c -0.55808,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.998315 0.63616,-1.238312 1.4375,-0.5625 l 3.09375,2.625 C 180.97575,8.1061474 181,7.5457765 181,6.21875 181,5.7090416 181.29099,5.5 182.25,5.5 z M 99.96875,5.625 c 0.38091,-0.00235 0.625,0.3135529 0.625,0.9375 l 0,2.1875 3.25,-2.75 c 0.80134,-0.6758121 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.87942,0.939409 -1.4375,0.46875 l -3.25,-2.78125 0,2.3125 c 0,1.085121 -0.879415,0.939409 -1.4375,0.46875 L 95.125,10.59375 c -0.547145,-0.461426 -0.552559,-0.7215 0,-1.1875 L 99.15625,6 c 0.300505,-0.2534295 0.58395,-0.37357 0.8125,-0.375 z m 22.34375,0 c 0.38091,-0.00235 0.625,0.3135531 0.625,0.9375 l 0,7 c 0,1.085121 -0.87942,0.93941 -1.4375,0.46875 L 117.46875,10.625 c -0.54715,-0.461426 -0.55256,-0.75275 0,-1.21875 L 121.5,6 c 0.3005,-0.2534295 0.58395,-0.3735879 0.8125,-0.375 z m 15.375,0 c 0.22855,0.00141 0.512,0.1215705 0.8125,0.375 l 4.03125,3.40625 c 0.55255,0.466 0.54714,0.757324 0,1.21875 L 138.5,14.03125 c -0.55808,0.47066 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.6239469 0.24409,-0.9398534 0.625,-0.9375 z m 17.65625,0 c 0.22941,0.00104 0.51199,0.1215705 0.8125,0.375 l 3.25,2.75 0,-2.1875 c 0,-0.6239471 0.24408,-0.9398531 0.625,-0.9375 0.22854,0.00143 0.51199,0.1215705 0.8125,0.375 l 4.03125,3.40625 c 0.55256,0.466 0.54714,0.726074 0,1.1875 l -4.03125,3.4375 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-2.3125 -3.25,2.78125 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.6239469 0.24266,-0.9392377 0.625,-0.9375 z"
- style="fill:#ffffff;fill-opacity:1;stroke:none" />
- <path
- style="fill:url(#linearGradient4301);fill-opacity:1;stroke:none"
- d="M 73.21875,1 C 71.991951,1 71,1.9919514 71,3.21875 l 0,13.5625 C 71,18.008049 71.991951,19 73.21875,19 l 13.5625,0 C 88.008049,19 89,18.008049 89,16.78125 L 89,3.21875 C 89,1.9919514 88.008049,1 86.78125,1 z m 20,0 C 91.991951,1 91,1.9919514 91,3.21875 l 0,13.5625 C 91,18.008049 91.991951,19 93.21875,19 l 13.5625,0 C 108.00805,19 109,18.008049 109,16.78125 l 0,-13.5625 C 109,1.9919514 108.00805,1 106.78125,1 z m 20,0 C 111.99195,1 111,1.9919514 111,3.21875 l 0,13.5625 C 111,18.008049 111.99195,19 113.21875,19 l 13.5625,0 C 128.00805,19 129,18.008049 129,16.78125 l 0,-13.5625 C 129,1.9919514 128.00805,1 126.78125,1 z m 20,0 C 131.99195,1 131,1.9919514 131,3.21875 l 0,13.5625 C 131,18.008049 131.99195,19 133.21875,19 l 13.5625,0 C 148.00805,19 149,18.008049 149,16.78125 l 0,-13.5625 C 149,1.9919514 148.00805,1 146.78125,1 z m 20,0 C 151.99195,1 151,1.9919514 151,3.21875 l 0,13.5625 C 151,18.008049 151.99195,19 153.21875,19 l 13.5625,0 C 168.00805,19 169,18.008049 169,16.78125 l 0,-13.5625 C 169,1.9919514 168.00805,1 166.78125,1 z m 20,0 C 171.99195,1 171,1.9919514 171,3.21875 l 0,13.5625 C 171,18.008049 171.99195,19 173.21875,19 l 13.5625,0 C 188.00805,19 189,18.008049 189,16.78125 l 0,-13.5625 C 189,1.9919514 188.00805,1 186.78125,1 z M 77.75,5.5 C 78.709017,5.5 79,5.7090416 79,6.21875 79,7.5457765 79.02465,8.1061474 79.03125,8.75 L 82.125,6.125 c 0.801342,-0.675812 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.879417,0.939409 -1.4375,0.46875 L 79.03125,11.5625 c 0.005,0.631068 0.03125,0.914443 0.03125,2.125 0,0.71449 -0.702612,0.75 -1.3125,0.75 -0.682848,0 -1.35832,-0.04255 -1.28125,-0.75 C 76.46875,10.440624 76.5,9.7103109 76.5,6.21875 76.5091,5.7566908 76.7943,5.49865 77.75,5.5 z m 104.5,0 c 0.9557,-0.00135 1.24092,0.2566908 1.25,0.71875 0,3.4915609 0.0312,4.221874 0.0312,7.46875 0.0771,0.707446 -0.5984,0.75 -1.28125,0.75 -0.60989,0 -1.3125,-0.03551 -1.3125,-0.75 0,-1.210557 0.0263,-1.493932 0.0312,-2.125 l -3.09375,2.59375 c -0.55808,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.998315 0.63616,-1.238312 1.4375,-0.5625 l 3.09375,2.625 C 180.97575,8.1061474 181,7.5457765 181,6.21875 181,5.7090416 181.29099,5.5 182.25,5.5 z M 99.96875,5.625 c 0.38091,-0.00235 0.625,0.3135529 0.625,0.9375 l 0,2.1875 3.25,-2.75 c 0.80134,-0.6758121 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.87942,0.939409 -1.4375,0.46875 l -3.25,-2.78125 0,2.3125 c 0,1.085121 -0.879415,0.939409 -1.4375,0.46875 L 95.125,10.59375 c -0.547145,-0.461426 -0.552559,-0.7215 0,-1.1875 L 99.15625,6 c 0.300505,-0.2534295 0.58395,-0.37357 0.8125,-0.375 z m 22.34375,0 c 0.38091,-0.00235 0.625,0.3135531 0.625,0.9375 l 0,7 c 0,1.085121 -0.87942,0.93941 -1.4375,0.46875 L 117.46875,10.625 c -0.54715,-0.461426 -0.55256,-0.75275 0,-1.21875 L 121.5,6 c 0.3005,-0.2534295 0.58395,-0.3735879 0.8125,-0.375 z m 15.375,0 c 0.22855,0.00141 0.512,0.1215705 0.8125,0.375 l 4.03125,3.40625 c 0.55255,0.466 0.54714,0.757324 0,1.21875 L 138.5,14.03125 c -0.55808,0.47066 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.6239469 0.24409,-0.9398534 0.625,-0.9375 z m 17.65625,0 c 0.22941,0.00104 0.51199,0.1215705 0.8125,0.375 l 3.25,2.75 0,-2.1875 c 0,-0.6239471 0.24408,-0.9398531 0.625,-0.9375 0.22854,0.00143 0.51199,0.1215705 0.8125,0.375 l 4.03125,3.40625 c 0.55256,0.466 0.54714,0.726074 0,1.1875 l -4.03125,3.4375 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-2.3125 -3.25,2.78125 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.6239469 0.24266,-0.9392377 0.625,-0.9375 z"
- id="rect4264"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="sssssssssssssssssssssssssssssssssssssssssssssssssssssscsccssccssccccccssccssccsccsccssccscccccsssccccssccccssssccscccccsccsss"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:url(#linearGradient4299);fill-opacity:1;stroke:none"
- d="M 53.21875,1 C 51.991951,1 51,1.9919514 51,3.21875 l 0,13.5625 C 51,18.008049 51.991951,19 53.21875,19 l 13.5625,0 C 68.008049,19 69,18.008049 69,16.78125 L 69,3.21875 C 69,1.9919514 68.008049,1 66.78125,1 l -13.5625,0 z m 5.4375,4.5 2.6875,0 c 0.49441,0 0.71875,0.2009 0.71875,0.71875 l 0,2.375 2,0 c 1.18283,0 1.48822,0.6367816 0.6875,1.4375 l -4.0625,4.03125 c -0.55213,0.55213 -0.85954,0.546711 -1.40625,0 l -4.0625,-4.03125 c -0.55765,-0.5576494 -0.72318,-1.4375 0.5625,-1.4375 l 2.15625,0 0,-2.375 C 57.9375,5.661837 58.0759,5.5 58.65625,5.5 z"
- id="rect4256"
- inkscape:connector-curvature="0" />
- <path
- id="path4303"
- d="M 3.21875,1 C 1.991951,1 1,1.991951 1,3.21875 l 0,13.5625 C 1,18.008049 1.991951,19 3.21875,19 l 13.5625,0 C 18.008049,19 19,18.008049 19,16.78125 L 19,3.21875 C 19,1.991951 18.008049,1 16.78125,1 z m 6.75,4.5 c 0.220798,-6.77e-4 0.44269,0.161435 0.71875,0.4375 L 14.75,9.96875 c 0.800704,0.800719 0.495307,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 C 8.075912,14.5 7.9375,14.338164 7.9375,13.78125 l 0,-2.375 -2.15625,0 c -1.285655,0 -1.120139,-0.87985 -0.5625,-1.4375 L 9.28125,5.9375 C 9.5546,5.664144 9.747952,5.500677 9.96875,5.5 z"
- style="fill:url(#linearGradient4305);fill-opacity:1;stroke:none"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ssssssssssccscsssscsccs" />
- <path
- style="fill:url(#linearGradient4381);fill-opacity:1;stroke:none"
- d="M 53.21875,21 C 51.991951,21 51,21.991951 51,23.21875 l 0,13.5625 C 51,38.008049 51.991951,39 53.21875,39 l 13.5625,0 C 68.008049,39 69,38.008049 69,36.78125 l 0,-13.5625 C 69,21.991951 68.008049,21 66.78125,21 l -13.5625,0 z m 5.4375,4.5 2.6875,0 c 0.49441,0 0.71875,0.2009 0.71875,0.71875 l 0,2.375 2,0 c 1.18283,0 1.48822,0.636782 0.6875,1.4375 l -4.0625,4.03125 c -0.55213,0.55213 -0.85954,0.546711 -1.40625,0 l -4.0625,-4.03125 c -0.55765,-0.557649 -0.72318,-1.4375 0.5625,-1.4375 l 2.15625,0 0,-2.375 c 0,-0.556913 0.1384,-0.71875 0.71875,-0.71875 z"
- id="path4325"
- inkscape:connector-curvature="0" />
- <path
- id="path4327"
- d="M 3.21875,21 C 1.991951,21 1,21.991951 1,23.21875 l 0,13.5625 C 1,38.008049 1.991951,39 3.21875,39 l 13.5625,0 C 18.008049,39 19,38.008049 19,36.78125 l 0,-13.5625 C 19,21.991951 18.008049,21 16.78125,21 z m 6.75,4.5 c 0.220798,-6.77e-4 0.44269,0.161435 0.71875,0.4375 l 4.0625,4.03125 c 0.800704,0.800719 0.495307,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 C 8.075912,34.5 7.9375,34.338164 7.9375,33.78125 l 0,-2.375 -2.15625,0 c -1.285655,0 -1.120139,-0.87985 -0.5625,-1.4375 L 9.28125,25.9375 C 9.5546,25.664144 9.747952,25.500677 9.96875,25.5 z"
- style="fill:url(#linearGradient4373);fill-opacity:1;stroke:none"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ssssssssssccscsssscsccs" />
- <path
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- d="M 73.21875,21 C 71.991951,21 71,21.991951 71,23.21875 l 0,13.5625 C 71,38.008049 71.991951,39 73.21875,39 l 13.5625,0 C 88.008049,39 89,38.008049 89,36.78125 l 0,-13.5625 C 89,21.991951 88.008049,21 86.78125,21 z m 20,0 C 91.991951,21 91,21.991951 91,23.21875 l 0,13.5625 C 91,38.008049 91.991951,39 93.21875,39 l 13.5625,0 C 108.00805,39 109,38.008049 109,36.78125 l 0,-13.5625 C 109,21.991951 108.00805,21 106.78125,21 z m 20,0 C 111.99195,21 111,21.991951 111,23.21875 l 0,13.5625 C 111,38.008049 111.99195,39 113.21875,39 l 13.5625,0 C 128.00805,39 129,38.008049 129,36.78125 l 0,-13.5625 C 129,21.991951 128.00805,21 126.78125,21 z m 20,0 C 131.99195,21 131,21.991951 131,23.21875 l 0,13.5625 C 131,38.008049 131.99195,39 133.21875,39 l 13.5625,0 C 148.00805,39 149,38.008049 149,36.78125 l 0,-13.5625 C 149,21.991951 148.00805,21 146.78125,21 z m 20,0 C 151.99195,21 151,21.991951 151,23.21875 l 0,13.5625 C 151,38.008049 151.99195,39 153.21875,39 l 13.5625,0 C 168.00805,39 169,38.008049 169,36.78125 l 0,-13.5625 C 169,21.991951 168.00805,21 166.78125,21 z m 20,0 C 171.99195,21 171,21.991951 171,23.21875 l 0,13.5625 C 171,38.008049 171.99195,39 173.21875,39 l 13.5625,0 C 188.00805,39 189,38.008049 189,36.78125 l 0,-13.5625 C 189,21.991951 188.00805,21 186.78125,21 z M 77.75,25.5 c 0.959017,0 1.25,0.209042 1.25,0.71875 0,1.327027 0.02465,1.887397 0.03125,2.53125 L 82.125,26.125 c 0.801342,-0.675812 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.879417,0.939409 -1.4375,0.46875 L 79.03125,31.5625 c 0.005,0.631068 0.03125,0.914443 0.03125,2.125 0,0.71449 -0.702612,0.75 -1.3125,0.75 -0.682848,0 -1.35832,-0.04255 -1.28125,-0.75 0,-3.246876 0.03125,-3.977189 0.03125,-7.46875 0.0091,-0.462059 0.2943,-0.7201 1.25,-0.71875 z m 104.5,0 c 0.9557,-0.0014 1.24092,0.256691 1.25,0.71875 0,3.491561 0.0312,4.221874 0.0312,7.46875 0.0771,0.707446 -0.5984,0.75 -1.28125,0.75 -0.60989,0 -1.3125,-0.03551 -1.3125,-0.75 0,-1.210557 0.0263,-1.493932 0.0312,-2.125 l -3.09375,2.59375 c -0.55808,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.998315 0.63616,-1.238312 1.4375,-0.5625 l 3.09375,2.625 C 180.97575,28.106147 181,27.545777 181,26.21875 181,25.709042 181.29099,25.5 182.25,25.5 z m -82.28125,0.125 c 0.38091,-0.0023 0.625,0.313553 0.625,0.9375 l 0,2.1875 3.25,-2.75 c 0.80134,-0.675812 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.87942,0.939409 -1.4375,0.46875 l -3.25,-2.78125 0,2.3125 c 0,1.085121 -0.879415,0.939409 -1.4375,0.46875 L 95.125,30.59375 c -0.547145,-0.461426 -0.552559,-0.7215 0,-1.1875 L 99.15625,26 c 0.300505,-0.253429 0.58395,-0.37357 0.8125,-0.375 z m 22.34375,0 c 0.38091,-0.0023 0.625,0.313553 0.625,0.9375 l 0,7 c 0,1.085121 -0.87942,0.93941 -1.4375,0.46875 L 117.46875,30.625 c -0.54715,-0.461426 -0.55256,-0.75275 0,-1.21875 L 121.5,26 c 0.3005,-0.253429 0.58395,-0.373588 0.8125,-0.375 z m 15.375,0 c 0.22855,0.0014 0.512,0.121571 0.8125,0.375 l 4.03125,3.40625 c 0.55255,0.466 0.54714,0.757324 0,1.21875 L 138.5,34.03125 c -0.55808,0.47066 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.623947 0.24409,-0.939853 0.625,-0.9375 z m 17.65625,0 c 0.22941,0.001 0.51199,0.121571 0.8125,0.375 l 3.25,2.75 0,-2.1875 c 0,-0.623947 0.24408,-0.939853 0.625,-0.9375 0.22854,0.0014 0.51199,0.121571 0.8125,0.375 l 4.03125,3.40625 c 0.55256,0.466 0.54714,0.726074 0,1.1875 l -4.03125,3.4375 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-2.3125 -3.25,2.78125 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.623947 0.24266,-0.939238 0.625,-0.9375 z"
- id="path4329"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="sssssssssssssssssssssssssssssssssssssssssssssssssssssscsccssccssccccccssccssccsccsccssccscccccsssccccssccccssssccscccccsccsss" />
- <path
- inkscape:export-ydpi="90"
- inkscape:export-xdpi="90"
- sodipodi:nodetypes="sssssssssssssssssssssssssssssssssssssssssssssssssssssscsccssccssccccccssccssccsccsccssccscccccsssccccssccccssssccscccccsccsss"
- inkscape:connector-curvature="0"
- id="path4331"
- d="M 73.21875,21 C 71.991951,21 71,21.991951 71,23.21875 l 0,13.5625 C 71,38.008049 71.991951,39 73.21875,39 l 13.5625,0 C 88.008049,39 89,38.008049 89,36.78125 l 0,-13.5625 C 89,21.991951 88.008049,21 86.78125,21 z m 20,0 C 91.991951,21 91,21.991951 91,23.21875 l 0,13.5625 C 91,38.008049 91.991951,39 93.21875,39 l 13.5625,0 C 108.00805,39 109,38.008049 109,36.78125 l 0,-13.5625 C 109,21.991951 108.00805,21 106.78125,21 z m 20,0 C 111.99195,21 111,21.991951 111,23.21875 l 0,13.5625 C 111,38.008049 111.99195,39 113.21875,39 l 13.5625,0 C 128.00805,39 129,38.008049 129,36.78125 l 0,-13.5625 C 129,21.991951 128.00805,21 126.78125,21 z m 20,0 C 131.99195,21 131,21.991951 131,23.21875 l 0,13.5625 C 131,38.008049 131.99195,39 133.21875,39 l 13.5625,0 C 148.00805,39 149,38.008049 149,36.78125 l 0,-13.5625 C 149,21.991951 148.00805,21 146.78125,21 z m 20,0 C 151.99195,21 151,21.991951 151,23.21875 l 0,13.5625 C 151,38.008049 151.99195,39 153.21875,39 l 13.5625,0 C 168.00805,39 169,38.008049 169,36.78125 l 0,-13.5625 C 169,21.991951 168.00805,21 166.78125,21 z m 20,0 C 171.99195,21 171,21.991951 171,23.21875 l 0,13.5625 C 171,38.008049 171.99195,39 173.21875,39 l 13.5625,0 C 188.00805,39 189,38.008049 189,36.78125 l 0,-13.5625 C 189,21.991951 188.00805,21 186.78125,21 z M 77.75,25.5 c 0.959017,0 1.25,0.209042 1.25,0.71875 0,1.327027 0.02465,1.887397 0.03125,2.53125 L 82.125,26.125 c 0.801342,-0.675812 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.879417,0.939409 -1.4375,0.46875 L 79.03125,31.5625 c 0.005,0.631068 0.03125,0.914443 0.03125,2.125 0,0.71449 -0.702612,0.75 -1.3125,0.75 -0.682848,0 -1.35832,-0.04255 -1.28125,-0.75 0,-3.246876 0.03125,-3.977189 0.03125,-7.46875 0.0091,-0.462059 0.2943,-0.7201 1.25,-0.71875 z m 104.5,0 c 0.9557,-0.0014 1.24092,0.256691 1.25,0.71875 0,3.491561 0.0312,4.221874 0.0312,7.46875 0.0771,0.707446 -0.5984,0.75 -1.28125,0.75 -0.60989,0 -1.3125,-0.03551 -1.3125,-0.75 0,-1.210557 0.0263,-1.493932 0.0312,-2.125 l -3.09375,2.59375 c -0.55808,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.998315 0.63616,-1.238312 1.4375,-0.5625 l 3.09375,2.625 C 180.97575,28.106147 181,27.545777 181,26.21875 181,25.709042 181.29099,25.5 182.25,25.5 z m -82.28125,0.125 c 0.38091,-0.0023 0.625,0.313553 0.625,0.9375 l 0,2.1875 3.25,-2.75 c 0.80134,-0.675812 1.4375,-0.435815 1.4375,0.5625 l 0,7 c 0,1.085121 -0.87942,0.939409 -1.4375,0.46875 l -3.25,-2.78125 0,2.3125 c 0,1.085121 -0.879415,0.939409 -1.4375,0.46875 L 95.125,30.59375 c -0.547145,-0.461426 -0.552559,-0.7215 0,-1.1875 L 99.15625,26 c 0.300505,-0.253429 0.58395,-0.37357 0.8125,-0.375 z m 22.34375,0 c 0.38091,-0.0023 0.625,0.313553 0.625,0.9375 l 0,7 c 0,1.085121 -0.87942,0.93941 -1.4375,0.46875 L 117.46875,30.625 c -0.54715,-0.461426 -0.55256,-0.75275 0,-1.21875 L 121.5,26 c 0.3005,-0.253429 0.58395,-0.373588 0.8125,-0.375 z m 15.375,0 c 0.22855,0.0014 0.512,0.121571 0.8125,0.375 l 4.03125,3.40625 c 0.55255,0.466 0.54714,0.757324 0,1.21875 L 138.5,34.03125 c -0.55808,0.47066 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.623947 0.24409,-0.939853 0.625,-0.9375 z m 17.65625,0 c 0.22941,0.001 0.51199,0.121571 0.8125,0.375 l 3.25,2.75 0,-2.1875 c 0,-0.623947 0.24408,-0.939853 0.625,-0.9375 0.22854,0.0014 0.51199,0.121571 0.8125,0.375 l 4.03125,3.40625 c 0.55256,0.466 0.54714,0.726074 0,1.1875 l -4.03125,3.4375 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-2.3125 -3.25,2.78125 c -0.55809,0.470659 -1.4375,0.616371 -1.4375,-0.46875 l 0,-7 c 0,-0.623947 0.24266,-0.939238 0.625,-0.9375 z"
- style="fill:url(#linearGradient4361);fill-opacity:1;stroke:none" />
- <path
- id="path4333"
- d="M 53.21875,21 C 51.991951,21 51,21.991951 51,23.21875 l 0,13.5625 C 51,38.008049 51.991951,39 53.21875,39 l 13.5625,0 C 68.008049,39 69,38.008049 69,36.78125 l 0,-13.5625 C 69,21.991951 68.008049,21 66.78125,21 l -13.5625,0 z m 5.4375,4.5 2.6875,0 c 0.49441,0 0.71875,0.2009 0.71875,0.71875 l 0,2.375 2,0 c 1.18283,0 1.48822,0.636782 0.6875,1.4375 l -4.0625,4.03125 c -0.55213,0.55213 -0.85954,0.546711 -1.40625,0 l -4.0625,-4.03125 c -0.55765,-0.557649 -0.72318,-1.4375 0.5625,-1.4375 l 2.15625,0 0,-2.375 c 0,-0.556913 0.1384,-0.71875 0.71875,-0.71875 z"
- style="fill:url(#linearGradient4365);fill-opacity:1;stroke:none"
- inkscape:connector-curvature="0" />
- <path
- sodipodi:nodetypes="ssssssssssccscsssscsccs"
- inkscape:connector-curvature="0"
- style="fill:url(#linearGradient4363);fill-opacity:1;stroke:none"
- d="M 3.21875,21 C 1.991951,21 1,21.991951 1,23.21875 l 0,13.5625 C 1,38.008049 1.991951,39 3.21875,39 l 13.5625,0 C 18.008049,39 19,38.008049 19,36.78125 l 0,-13.5625 C 19,21.991951 18.008049,21 16.78125,21 z m 6.75,4.5 c 0.220798,-6.77e-4 0.44269,0.161435 0.71875,0.4375 l 4.0625,4.03125 c 0.800704,0.800719 0.495307,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 C 8.075912,34.5 7.9375,34.338164 7.9375,33.78125 l 0,-2.375 -2.15625,0 c -1.285655,0 -1.120139,-0.87985 -0.5625,-1.4375 L 9.28125,25.9375 C 9.5546,25.664144 9.747952,25.500677 9.96875,25.5 z"
- id="path4335" />
- <path
- id="path3193"
- d="M 193.21875,1 C 191.99195,1 191,1.991951 191,3.21875 l 0,13.5625 C 191,18.008049 191.99195,19 193.21875,19 l 13.5625,0 C 208.00805,19 209,18.008049 209,16.78125 l 0,-13.5625 C 209,1.991951 208.00805,1 206.78125,1 z m 6.75,4.5 c 0.2208,-6.77e-4 0.44269,0.161435 0.71875,0.4375 l 4.0625,4.03125 c 0.8007,0.800719 0.49531,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 c -0.58034,0 -0.71875,-0.161836 -0.71875,-0.71875 l 0,-2.375 -2.15625,0 c -1.28566,0 -1.12014,-0.87985 -0.5625,-1.4375 l 4.0625,-4.03125 c 0.27335,-0.273356 0.4667,-0.436823 0.6875,-0.4375 z"
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ssssssssssccscsssscsccs" />
- <path
- style="fill:url(#linearGradient4096);fill-opacity:1;stroke:none"
- d="M 193.21875,1 C 191.99195,1 191,1.991951 191,3.21875 l 0,13.5625 C 191,18.008049 191.99195,19 193.21875,19 l 13.5625,0 C 208.00805,19 209,18.008049 209,16.78125 l 0,-13.5625 C 209,1.991951 208.00805,1 206.78125,1 l -13.5625,0 z m 2.9375,7.28125 7.6875,0 c 0.51937,0 0.9375,0.418125 0.9375,0.9375 l 0,1.5625 c 0,0.519375 -0.41813,0.9375 -0.9375,0.9375 l -7.6875,0 c -0.51937,0 -0.9375,-0.418125 -0.9375,-0.9375 l 0,-1.5625 c 0,-0.519375 0.41813,-0.9375 0.9375,-0.9375 z"
- id="path3195"
- inkscape:connector-curvature="0" />
- <path
- sodipodi:nodetypes="ssssssssssccscsssscsccs"
- inkscape:connector-curvature="0"
- style="fill:url(#linearGradient3203);fill-opacity:1;stroke:none"
- d="M 193.21875,21 C 191.99195,21 191,21.991951 191,23.21875 l 0,13.5625 C 191,38.008049 191.99195,39 193.21875,39 l 13.5625,0 C 208.00805,39 209,38.008049 209,36.78125 l 0,-13.5625 C 209,21.991951 208.00805,21 206.78125,21 z m 6.75,4.5 c 0.2208,-6.77e-4 0.44269,0.161435 0.71875,0.4375 l 4.0625,4.03125 c 0.8007,0.800719 0.49531,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 c -0.58034,0 -0.71875,-0.161836 -0.71875,-0.71875 l 0,-2.375 -2.15625,0 c -1.28566,0 -1.12014,-0.87985 -0.5625,-1.4375 l 4.0625,-4.03125 c 0.27335,-0.273356 0.4667,-0.436823 0.6875,-0.4375 z"
- id="path3197" />
- <path
- style="fill:url(#linearGradient4098);fill-opacity:1;stroke:none"
- d="M 193.21875,21 C 191.99195,21 191,21.991951 191,23.21875 l 0,13.5625 C 191,38.008049 191.99195,39 193.21875,39 l 13.5625,0 C 208.00805,39 209,38.008049 209,36.78125 l 0,-13.5625 C 209,21.991951 208.00805,21 206.78125,21 l -13.5625,0 z m 2.9375,7.28125 7.6875,0 c 0.51937,0 0.9375,0.418125 0.9375,0.9375 l 0,1.5625 c 0,0.519375 -0.41813,0.9375 -0.9375,0.9375 l -7.6875,0 c -0.51937,0 -0.9375,-0.418125 -0.9375,-0.9375 l 0,-1.5625 c 0,-0.519375 0.41813,-0.9375 0.9375,-0.9375 z"
- id="path3199"
- inkscape:connector-curvature="0" />
- <path
- sodipodi:nodetypes="ssssssssssccscsssscsccs"
- inkscape:connector-curvature="0"
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- d="M 213.21875,1 C 211.99195,1 211,1.991951 211,3.21875 l 0,13.5625 C 211,18.008049 211.99195,19 213.21875,19 l 13.5625,0 C 228.00805,19 229,18.008049 229,16.78125 l 0,-13.5625 C 229,1.991951 228.00805,1 226.78125,1 z m 6.75,4.5 c 0.2208,-6.77e-4 0.44269,0.161435 0.71875,0.4375 l 4.0625,4.03125 c 0.8007,0.800719 0.49531,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 c -0.58034,0 -0.71875,-0.161836 -0.71875,-0.71875 l 0,-2.375 -2.15625,0 c -1.28566,0 -1.12014,-0.87985 -0.5625,-1.4375 l 4.0625,-4.03125 c 0.27335,-0.273356 0.4667,-0.436823 0.6875,-0.4375 z"
- id="path3211" />
- <path
- style="fill:url(#linearGradient4100);fill-opacity:1;stroke:none"
- d="M 213.21875,1 C 211.99195,1 211,1.991951 211,3.21875 l 0,13.5625 C 211,18.008049 211.99195,19 213.21875,19 l 13.5625,0 C 228.00805,19 229,18.008049 229,16.78125 l 0,-13.5625 C 229,1.991951 228.00805,1 226.78125,1 l -13.5625,0 z m 6,4.21875 1.5625,0 c 0.51937,0 0.9375,0.418125 0.9375,0.9375 l 0,2.125 2.125,0 c 0.51937,0 0.9375,0.418125 0.9375,0.9375 l 0,1.5625 c 0,0.519375 -0.41813,0.9375 -0.9375,0.9375 l -2.125,0 0,2.125 c 0,0.519375 -0.41813,0.9375 -0.9375,0.9375 l -1.5625,0 c -0.51937,0 -0.9375,-0.418125 -0.9375,-0.9375 l 0,-2.125 -2.125,0 c -0.51937,0 -0.9375,-0.418125 -0.9375,-0.9375 l 0,-1.5625 c 0,-0.519375 0.41813,-0.9375 0.9375,-0.9375 l 2.125,0 0,-2.125 c 0,-0.519375 0.41813,-0.9375 0.9375,-0.9375 z"
- id="path3213"
- inkscape:connector-curvature="0" />
- <path
- id="path3215"
- d="M 213.21875,21 C 211.99195,21 211,21.991951 211,23.21875 l 0,13.5625 C 211,38.008049 211.99195,39 213.21875,39 l 13.5625,0 C 228.00805,39 229,38.008049 229,36.78125 l 0,-13.5625 C 229,21.991951 228.00805,21 226.78125,21 z m 6.75,4.5 c 0.2208,-6.77e-4 0.44269,0.161435 0.71875,0.4375 l 4.0625,4.03125 c 0.8007,0.800719 0.49531,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 c -0.58034,0 -0.71875,-0.161836 -0.71875,-0.71875 l 0,-2.375 -2.15625,0 c -1.28566,0 -1.12014,-0.87985 -0.5625,-1.4375 l 4.0625,-4.03125 c 0.27335,-0.273356 0.4667,-0.436823 0.6875,-0.4375 z"
- style="fill:url(#linearGradient3225);fill-opacity:1;stroke:none"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ssssssssssccscsssscsccs" />
- <path
- style="fill:url(#linearGradient3227);fill-opacity:1;stroke:none"
- d="M 213.21875,21 C 211.99195,21 211,21.991951 211,23.21875 l 0,13.5625 C 211,38.008049 211.99195,39 213.21875,39 l 13.5625,0 C 228.00805,39 229,38.008049 229,36.78125 l 0,-13.5625 C 229,21.991951 228.00805,21 226.78125,21 l -13.5625,0 z m 6,4.21875 1.5625,0 c 0.51937,0 0.9375,0.418125 0.9375,0.9375 l 0,2.125 2.125,0 c 0.51937,0 0.9375,0.418125 0.9375,0.9375 l 0,1.5625 c 0,0.519375 -0.41813,0.9375 -0.9375,0.9375 l -2.125,0 0,2.125 c 0,0.519375 -0.41813,0.9375 -0.9375,0.9375 l -1.5625,0 c -0.51937,0 -0.9375,-0.418125 -0.9375,-0.9375 l 0,-2.125 -2.125,0 c -0.51937,0 -0.9375,-0.418125 -0.9375,-0.9375 l 0,-1.5625 c 0,-0.519375 0.41813,-0.9375 0.9375,-0.9375 l 2.125,0 0,-2.125 c 0,-0.519375 0.41813,-0.9375 0.9375,-0.9375 z"
- id="path3217"
- inkscape:connector-curvature="0" />
- <path
- id="path4013"
- d="M 233.21875,1 C 231.99195,1 231,1.991951 231,3.21875 l 0,13.5625 C 231,18.008049 231.99195,19 233.21875,19 l 13.5625,0 C 248.00805,19 249,18.008049 249,16.78125 l 0,-13.5625 C 249,1.991951 248.00805,1 246.78125,1 z m 6.75,4.5 c 0.2208,-6.77e-4 0.44269,0.161435 0.71875,0.4375 l 4.0625,4.03125 c 0.8007,0.800719 0.49531,1.4375 -0.6875,1.4375 l -2,0 0,2.375 c 0,0.517851 -0.22435,0.71875 -0.71875,0.71875 l -2.6875,0 c -0.58034,0 -0.71875,-0.161836 -0.71875,-0.71875 l 0,-2.375 -2.15625,0 c -1.28566,0 -1.12014,-0.87985 -0.5625,-1.4375 l 4.0625,-4.03125 c 0.27335,-0.273356 0.4667,-0.436823 0.6875,-0.4375 z"
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ssssssssssccscsssscsccs" />
- <path
- style="fill:url(#linearGradient4081);fill-opacity:1;stroke:none"
- d="M 233.21875,1 C 231.99195,1 231,1.991951 231,3.21875 l 0,13.5625 C 231,18.008049 231.99195,19 233.21875,19 l 13.5625,0 C 248.00805,19 249,18.008049 249,16.78125 l 0,-13.5625 C 249,1.991951 248.00805,1 246.78125,1 l -13.5625,0 z M 240,4.0625 c 3.27064,0 5.90625,2.6668592 5.90625,5.9375 0,3.270641 -2.63561,5.9375 -5.90625,5.9375 -3.27063,0 -5.9375,-2.666859 -5.9375,-5.9375 0,-3.2706408 2.66687,-5.9375 5.9375,-5.9375 z m 0,2.5 c -1.90381,0 -3.4375,1.5336942 -3.4375,3.4375 0,1.903806 1.53369,3.4375 3.4375,3.4375 1.90381,0 3.4375,-1.533694 3.4375,-3.4375 0,-1.9038058 -1.53369,-3.4375 -3.4375,-3.4375 z m 0,1.78125 c 0.91472,0 1.65625,0.7415284 1.65625,1.65625 0,0.914722 -0.74153,1.65625 -1.65625,1.65625 -0.91472,0 -1.65625,-0.741528 -1.65625,-1.65625 0,-0.9147216 0.74153,-1.65625 1.65625,-1.65625 z"
- id="path4015"
- inkscape:connector-curvature="0" />
- <path
- id="path4071"
- d="M 233.21875,21 C 231.99195,21 231,21.991951 231,23.21875 l 0,13.5625 C 231,38.008049 231.99195,39 233.21875,39 l 13.5625,0 C 248.00805,39 249,38.008049 249,36.78125 l 0,-13.5625 C 249,21.991951 248.00805,21 246.78125,21 l -13.5625,0 z M 240,24.0625 c 3.27064,0 5.90625,2.666859 5.90625,5.9375 0,3.270641 -2.63561,5.9375 -5.90625,5.9375 -3.27063,0 -5.9375,-2.666859 -5.9375,-5.9375 0,-3.270641 2.66687,-5.9375 5.9375,-5.9375 z m 0,2.5 c -1.90381,0 -3.4375,1.533694 -3.4375,3.4375 0,1.903806 1.53369,3.4375 3.4375,3.4375 1.90381,0 3.4375,-1.533694 3.4375,-3.4375 0,-1.903806 -1.53369,-3.4375 -3.4375,-3.4375 z m 0,1.78125 c 0.91472,0 1.65625,0.741528 1.65625,1.65625 0,0.914722 -0.74153,1.65625 -1.65625,1.65625 -0.91472,0 -1.65625,-0.741528 -1.65625,-1.65625 0,-0.914722 0.74153,-1.65625 1.65625,-1.65625 z"
- style="fill:url(#linearGradient4073);fill-opacity:1.0;stroke:none"
- inkscape:connector-curvature="0" />
- </g>
-</svg>
View
BIN  img/icon_sprite.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  img/loader-bg.png → img/loader_bg.png
File renamed without changes
View
BIN  img/slider_handle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
29 index.htm
@@ -1,13 +1,24 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!doctype html>
+<html lang="en-us">
<head>
<title>Gantt</title>
- <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" >
<meta content="Marek Bielanczuk" name="Author" />
- <script src="js/jquery-1.5.1.min.js" type="text/javascript"></script>
- <script src="js/jquery.fn.gantt.min.js" type="text/javascript"></script>
- <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
- <script type="text/javascript">
+ <script src="js/jquery-1.5.1.min.js"></script>
+ <script src="js/jquery.fn.gantt.js"></script>
+ <link rel="stylesheet" href="style.css" />
+ <style type="text/css">
+ body {
+ font-family: Helvetica, Arial, sans-serif;
+ font-size: 13px;
+ }
+ .contain {
+ width: 800px;
+ margin: 0 auto;
+ }
+ </style>
+ <script>
<!--
jQuery(function () {
var dataPath = location.href.substring(0, location.href.lastIndexOf('/')+1);
@@ -18,6 +29,8 @@
</script>
</head>
<body>
- <div class="gantt" />
+ <div class="contain">
+ <div class="gantt" />
+ </div>
</body>
</html>
View
2,699 js/jquery.fn.gantt.js
1,330 additions, 1,369 deletions not shown
View
2  js/jquery.fn.gantt.min.js
@@ -7,4 +7,4 @@
*
* Date: Fri Nov 04 2011 21:15:52 +0100
*/
-(function($){$.fn.gantt=function(F){var H=['hours','days','weeks','months'];var I={source:null,itemsPerPage:7,months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],dow:["N","Pn","Wt","Śr","Cz","Pt","So"],startPos:new Date(),navigate:'buttons',scale:'days',maxScale:'months',minScale:'hours',waitText:'Please wait...'};$.extend($.expr[':'],{findday:function(a,i,m){var b=new Date(parseInt(m[3]));var c=$(a).attr('id');c=c?c:'';var d=c.indexOf('-')+1;var e=new Date(parseInt(c.substring(d,c.length)));b=new Date(b.getFullYear(),b.getMonth(),b.getDate());e=new Date(e.getFullYear(),e.getMonth(),e.getDate());return b.getTime()==e.getTime()}});$.extend($.expr[':'],{findweek:function(a,i,m){var b=new Date(parseInt(m[3]));var c=$(a).attr('id');c=c?c:'';var d=c.indexOf('-')+1;b=b.getFullYear()+'-'+b.getDayForWeek().getWeekOfYear();var e=$(a).attr('id').substring(d,$(a).attr('id').length);return b==e}});$.extend($.expr[':'],{findmonth:function(a,i,m){var b=new Date(parseInt(m[3]));b=b.getFullYear()+'-'+b.getMonth();var c=$(a).attr('id');c=c?c:'';var d=c.indexOf('-')+1;var e=$(a).attr('id').substring(d,$(a).attr('id').length);return b==e}});Date.prototype.getDayOfYear=function(){var a=new Date(this.getFullYear(),0,0);var b=new Date(this.getFullYear(),this.getMonth(),this.getDate());return Math.ceil((b-a)/86400000)};Date.prototype.getWeekOfYear=function(){var a=new Date(this.getFullYear(),0,1);var b=new Date(this.getFullYear(),this.getMonth(),this.getDate());if(a.getDay()>3)a=new Date(b.getFullYear(),0,7-a.getDay());var c=b.getDayOfYear()-a.getDayOfYear();return Math.ceil(c/7)};Date.prototype.getDaysInMonth=function(){return 32-new Date(this.getFullYear(),this.getMonth(),32).getDate()};Date.prototype.hasWeek=function(){var a=new Date(this.valueOf());a.setDate(a.getDate()-a.getDay());var b=new Date(this.valueOf());b.setDate(b.getDate()+(6-b.getDay()));if(a.getMonth()==b.getMonth())return true;else{return(a.getMonth()==this.getMonth()&&b.getDate()<4)||(a.getMonth()!=this.getMonth()&&b.getDate()>=4)}};Date.prototype.getDayForWeek=function(){var a=new Date(this.valueOf());a.setDate(a.getDate()-a.getDay());var b=new Date(this.valueOf());b.setDate(b.getDate()+(6-b.getDay()));if((a.getMonth()==b.getMonth())||(a.getMonth()!=b.getMonth()&&b.getDate()>=4)){return new Date(b.setDate(b.getDate()-3))}else{return new Date(a.setDate(a.getDate()+3))}};var J={create:function(b){$.ajaxSetup({scriptCharset:"utf-8",contentType:"application/json; charset=utf-8"});$.getJSON(I.source,function(a){b.data=a;J.init(b)})},init:function(a){a.rowsNum=a.data.length;a.pageCount=Math.ceil(a.rowsNum/I.itemsPerPage);a.rowsOnLastPage=a.rowsNum-(Math.floor(a.rowsNum/I.itemsPerPage)*I.itemsPerPage);a.dateStart=K.getMinDate(a);a.dateEnd=K.getMaxDate(a);J.render(a);J.waitToggle(a,true,function(){J.render(a)})},render:function(a){var b=$('<div class="fn-content"/>');b.append(J.leftPanel(a));var c=J.rightPanel(a);b.append(c);b.append(J.navigation(a));$dataPanel=c.find('.dataPanel');a.gantt=$('<div class="fn-gantt" />').append(b);$(a).html(a.gantt);a.scrollNavigation.panelMargin=parseInt($dataPanel.css('margin-left').replace('px',''));a.scrollNavigation.panelMaxPos=($dataPanel.width()-c.width());a.scrollNavigation.canScroll=($dataPanel.width()>c.width());J.markNow(a);J.fillData(a);$(a).css({height:$(a).find(".fn-gantt").height()+"px"});var d=Math.round((I.startPos/1000-a.dateStart/1000)/86400)-2;if(d>0&&a.hPosition!=0){if(a.scaleOldWidth){var e=($dataPanel.width()-c.width());var f=e*a.hPosition/a.scaleOldWidth;f=f>0?0:f;$dataPanel.css({'margin-left':f+'px'});a.scrollNavigation.panelMargin=f;a.hPosition=f;a.scaleOldWidth=null}else{$dataPanel.css({'margin-left':a.hPosition+'px'});a.scrollNavigation.panelMargin=a.hPosition}J.repositionLabel(a)}else{J.repositionLabel(a)}J.waitToggle(a,false)},leftPanel:function(b){var c=$('<div class="leftPanel"/>').append($('<div class="row spacer"/>').css("height",K.getCellSize()*b.headerRows+"px").css("width","100%"));$.each(b.data,function(i,a){if(i>=b.pageNum*I.itemsPerPage&&i<(b.pageNum*I.itemsPerPage+I.itemsPerPage)){c.append($('<div class="row name row'+i+' "/>').append($('<span class="label"/>').html(a.name))).append($('<div class="row desc row'+i+' "/>').append($('<span class="label"/>').html(a.desc)))}});return c},dataPanel:function(b,c){var d=$('<div class="dataPanel" style="width: '+c+'px;"/>');var f=(/Firefox/i.test(navigator.userAgent))?"DOMMouseScroll":"mousewheel";if(document.attachEvent)b.attachEvent("on"+f,function(e){J.wheelScroll(b,e)});else if(document.addEventListener)b.addEventListener(f,function(e){J.wheelScroll(b,e)},false);d.mousedown(function(e){if(e.which!=1)return true;if(e.preventDefault)e.preventDefault();b.scrollNavigation.panelMouseDown=true;J.mouseScroll(b,e)}).mousemove(function(e){if(b.scrollNavigation.panelMouseDown){J.mouseScroll(b,e)}});$(document).mouseup(function(e){if(e.which!=1)return true;b.scrollNavigation.panelMouseDown=false;b.scrollNavigation.mouseX=null;var a=$(b).find('.fn-gantt .dataPanel');a.css("cursor","auto");J.repositionLabel(b)});return d},rightPanel:function(a){var b=null;var c=[' sn',' wd',' wd',' wd',' wd',' wd',' sa'];var d=[' sn','','','','','',' sa'];var e=$("<div class='row'/>");var f=0;var g=$("<div class='row'/>");var h=0;var j='';var k=0;var l='';var m='';var n=new Date();n=new Date(n.getFullYear(),n.getMonth(),n.getDate());var o=I.holidays?I.holidays.join():'';switch(I.scale){case'hours':b=K.parseTimeRange(a.dateStart,a.dateEnd,a.scaleStep);var p=b[0].getFullYear();var q=b[0].getMonth();var r=b[0];for(var i=0;i<b.length;i++){var s=b[i];var t=s.getFullYear();if(t!=p){e.html(e.html()+$('<div class="row header year" style="width: '+K.getCellSize()*f+'px;"><div class="label">'+p+'</div></div>'));p=t;f=0}f++;var u=s.getMonth();if(u!=q){g.append($('<div class="row header month" style="width: '+K.getCellSize()*h+'px"><div class="label"/>'+I.months[q]+'</div></div>'));q=u;h=0}h++;var v=s.getDay();var w=r.getDay();var y=c[v];var z=r.getTime();if(o.indexOf((new Date(s.getFullYear(),s.getMonth(),s.getDate())).getTime())>-1)y="hollyday";if(v!=w){var A=(n-r==0)?' today':(o.indexOf(z)>-1)?"hollyday":c[w];j+='<div class="row day '+A+'" '+' style="width: '+K.getCellSize()*k+'px;"> '+' <div class="label"/>'+r.getDate()+'</div></div>';l+='<div class="row day '+A+'" '+' style="width: '+K.getCellSize()*k+'px;"> '+' <div class="label"/>'+I.dow[w]+'</div></div>';r=s;k=0}k++;m+='<div class="row day '+y+'" id="dh-'+s.getTime()+'"> '+s.getHours()+'</div>'}e.html(e.html()+'<div class="row header year" style="width: '+K.getCellSize()*f+'px;"><div class="label"/>'+p+'</div></div>');g.html(g.html()+'<div class="row header month" style="width: '+K.getCellSize()*h+'px"><div class="label"/>'+I.months[q]+'</div></div>');var y=c[r.getDay()];if(o.indexOf((new Date(r.getFullYear(),r.getMonth(),r.getDate())).getTime())>-1)y="hollyday";j+='<div class="row day '+y+'" '+' style="width: '+K.getCellSize()*k+'px;"> '+' <div class="label"/>'+r.getDate()+'</div></div>';l+='<div class="row day '+y+'" '+' style="width: '+K.getCellSize()*k+'px;"> '+' <div class="label"/>'+I.dow[r.getDay()]+'</div></div>';var B=J.dataPanel(a,b.length*K.getCellSize());B.append(e);B.append(g);B.append($('<div class="row"/>').html(j));B.append($('<div class="row"/>').html(l));B.append($('<div class="row"/>').html(m));for(var i=0;i<a.data.length;i++){var C=a.data[i];if(i>=a.pageNum*I.itemsPerPage&&i<(a.pageNum*I.itemsPerPage+I.itemsPerPage)){var D='<div class="row">';for(var x=0;x<b.length;x++){var r=b[x];var E=d[r.getDay()];if(o.indexOf((new Date(r.getFullYear(),r.getMonth(),r.getDate())).getTime())>-1)E=" hollyday";D+='<div class="row day'+E+'" id="d'+i+'-'+K.genId(r.getTime())+'" ></div>'};B.html(B.html()+D+'</div>')}}break;case'weeks':b=K.parseWeeksRange(a.dateStart,a.dateEnd);var p=b[0].getFullYear();var q=b[0].getMonth();var r=b[0];for(var i=0;i<b.length;i++){var s=b[i];if(s.getFullYear()!=p){e.append($('<div class="row header year" style="width: '+K.getCellSize()*f+'px;"><div class="label">'+p+'</div></div>'));p=s.getFullYear();f=0}f++;if(s.getMonth()!=q){g.append($('<div class="row header month" style="width:'+K.getCellSize()*h+'px;"><div class="label">'+I.months[q]+'</div></div>'));q=s.getMonth();h=0}h++;j+='<div class="row day wd" '+' id="dh-'+s.getFullYear()+'-'+s.getWeekOfYear()+'"> '+' <div class="label"/>'+s.getWeekOfYear()+'</div></div>'}e.append('<div class="row header year" style="width: '+K.getCellSize()*f+'px;"><div class="label"/>'+p+'</div></div>');g.append('<div class="row header month" style="width: '+K.getCellSize()*h+'px"><div class="label"/>'+I.months[q]+'</div></div>');var B=J.dataPanel(a,b.length*K.getCellSize());B.append(e);B.append(g);B.append($('<div class="row"/>').html(j));B.append($('<div class="row"/>').html(l));for(var i=0;i<a.data.length;i++){var C=a.data[i];if(i>=a.pageNum*I.itemsPerPage&&i<(a.pageNum*I.itemsPerPage+I.itemsPerPage)){var D='<div class="row">';for(var x=0;x<b.length;x++){r=b[x];D+='<div class="row day" id="d'+i+'-'+K.genId(r.getTime())+'"></div>'};B.append($(D+'</div>'))}}break;case'months':b=K.parseMonthsRange(a.dateStart,a.dateEnd);var p=b[0].getFullYear();var q=b[0].getMonth();var r=b[0];for(var i=0;i<b.length;i++){var s=b[i];if(s.getFullYear()!=p){e.append($('<div class="row header year" style="width: '+K.getCellSize()*f+'px;"><div class="label">'+p+'</div></div>'));p=s.getFullYear();f=0}f++;g.append($('<div class="row day wd" id="dh-'+K.genId(s.getTime())+'" />').html(s.getMonth()+1))}e.append('<div class="row header year" style="width: '+K.getCellSize()*f+'px;"><div class="label">'+p+'</div></div>');g.append('<div class="row header month" style="width: '+K.getCellSize()*h+'px">"<div class="label">'+I.months[q]+'</div></div>');var B=J.dataPanel(a,b.length*K.getCellSize());B.append(e);B.append(g);B.append($('<div class="row"/>').html(j));B.append($('<div class="row"/>').html(l));for(var i=0;i<a.data.length;i++){var C=a.data[i];if(i>=a.pageNum*I.itemsPerPage&&i<(a.pageNum*I.itemsPerPage+I.itemsPerPage)){var D='<div class="row">';for(var x=0;x<b.length;x++){r=b[x];D+='<div class="row day" id="d'+i+'-'+K.genId(r.getTime())+'" ></div>'};B.append($(D+'</div>'))}}break;default:b=K.parseDateRange(a.dateStart,a.dateEnd);var p=b[0].getFullYear();var q=b[0].getMonth();var r=b[0];for(var i=0;i<b.length;i++){var s=b[i];if(s.getFullYear()!=p){e.append($('<div class="row header year" style="width:'+K.getCellSize()*f+'px;"><div class="label">'+p+'</div></div>'));p=s.getFullYear();f=0}f++;if(s.getMonth()!=q){g.append($('<div class="row header month" style="width:'+K.getCellSize()*h+'px;"><div class="label">'+I.months[q]+'</div></div>'));q=s.getMonth();h=0}h++;var w=s.getDay();var y=c[w];if(o.indexOf((new Date(s.getFullYear(),s.getMonth(),s.getDate())).getTime())>-1)y="hollyday";j+='<div class="row day '+y+'" '+' id="dh-'+K.genId(s.getTime())+' "> '+' <div class="label"/>'+s.getDate()+'</div></div>';l+='<div class="row day '+y+'" '+' id="dw-'+K.genId(s.getTime())+'"> '+' <div class="label"/>'+I.dow[w]+'</div></div>'}e.append('<div class="row header year" style="width: '+K.getCellSize()*f+'px;"><div class="label">'+p+'</div></div>');g.append('<div class="row header month" style="width: '+K.getCellSize()*h+'px"><div class="label">'+I.months[q]+'</div></div>');var B=J.dataPanel(a,b.length*K.getCellSize());B.append(e);B.append(g);B.append($('<div class="row"/>').html(j));B.append($('<div class="row"/>').html(l));for(var i=0;i<a.data.length;i++){var C=a.data[i];if(i>=a.pageNum*I.itemsPerPage&&i<(a.pageNum*I.itemsPerPage+I.itemsPerPage)){var D='<div class="row">';for(var x=0;x<b.length;x++){r=b[x];var E=d[r.getDay()];if(o.indexOf((new Date(r.getFullYear(),r.getMonth(),r.getDate())).getTime())>-1)E=" hollyday";D+='<div class="row day '+E+'" id="d'+i+'-'+K.genId(r.getTime())+'"></div>'};B.append($(D+'</div>'))}}break}return $('<div class="rightPanel"></div>').append(B)},navigation:function(a){var b=null;if(I.navigate=='scroll'){b=$('<div class="navigate" />').append($('<div class="nav-slider" />').append($('<div class="nav-slider-left" />').append($('<a href="javascript:///" class="nav-link nav-page-back"/>').html('&lt;').click(function(){J.navigatePage(a,-1)})).append($('<div class="page-number"/>').append($('<span/>').html(a.pageNum+1+' of '+a.pageCount))).append($('<a href="javascript:///" class="nav-link nav-page-next"/>').html('&gt;').click(function(){J.navigatePage(a,1)})).append($('<a href="javascript:///" class="nav-link nav-now"/>').html('&#9679;').click(function(){J.navigateTo(a,'now')})).append($('<a href="javascript:///" class="nav-link nav-prev-day"/>').html('&lt;').click(function(){J.navigateTo(a,K.getCellSize())}))).append($('<div class="nav-slider-content" />').append($('<div class="nav-slider-bar" />').append($('<a class="nav-slider-button" />')).mousedown(function(e){if(e.preventDefault)e.preventDefault();a.scrollNavigation.scrollerMouseDown=true;J.sliderScroll(a,e)}).mousemove(function(e){if(a.scrollNavigation.scrollerMouseDown){J.sliderScroll(a,e)}}))).append($('<div class="nav-slider-right" />').append($('<a href="javascript:///" class="nav-link nav-next-day"/>').html('&gt;').click(function(){J.navigateTo(a,K.getCellSize()*-1)})).append($('<a href="javascript:///" class="nav-link nav-zoomIn"/>').html('&#43;').click(function(){J.zoomInOut(a,-1)})).append($('<a href="javascript:///" class="nav-link nav-zoomOut"/>').html('&#45;').click(function(){J.zoomInOut(a,1)}))));$(document).mouseup(function(){a.scrollNavigation.scrollerMouseDown=false})}else{b=$('<div class="navigate" />').append($('<a href="javascript:///" class="nav-link nav-page-back"/>').html('&lt;').click(function(){J.navigatePage(a,-1)})).append($('<div class="page-number"/>').append($('<span/>').html(a.pageNum+1+' of '+a.pageCount))).append($('<a href="javascript:///" class="nav-link nav-page-next"/>').html('&gt;').click(function(){J.navigatePage(a,1)})).append($('<a href="javascript:///" class="nav-link nav-begin"/>').html('&#124;&lt;').click(function(){J.navigateTo(a,'begin')})).append($('<a href="javascript:///" class="nav-link nav-prev-week"/>').html('&lt;&lt;').click(function(){J.navigateTo(a,K.getCellSize()*7)})).append($('<a href="javascript:///" class="nav-link nav-prev-day"/>').html('&lt;').click(function(){J.navigateTo(a,K.getCellSize())})).append($('<a href="javascript:///" class="nav-link nav-now"/>').html('&#9679;').click(function(){J.navigateTo(a,'now')})).append($('<a href="javascript:///" class="nav-link nav-next-day"/>').html('&gt;').click(function(){J.navigateTo(a,K.getCellSize()*-1)})).append($('<a href="javascript:///" class="nav-link nav-next-week"/>').html('&gt;&gt;').click(function(){J.navigateTo(a,K.getCellSize()*-7)})).append($('<a href="javascript:///" class="nav-link nav-end"/>').html('&gt;&#124;').click(function(){J.navigateTo(a,'end')})).append($('<a href="javascript:///" class="nav-link nav-zoomIn"/>').html('&#43;').click(function(){J.zoomInOut(a,-1)})).append($('<a href="javascript:///" class="nav-link nav-zoomOut"/>').html('&#45;').click(function(){J.zoomInOut(a,1)}))}return $('<div class="bottom"/>').append(b)},createProgressBar:function(b,c,d,f){var g=K.getCellSize();var h=K.getProgressBarMargin()||0;var i=$("<div class='bar'><div class='label'>"+f+"</div></div>").addClass(c).css({width:((g*b)-h)});if(d){i.mouseover(function(e){var a=$("<div class='fn-gantt-hint' />").html(d);$("body").append(a);a.css('left',e.pageX);a.css('top',e.pageY);a.show()}).mouseout(function(){$(".fn-gantt-hint").remove()}).mousemove(function(e){$('.fn-gantt-hint').css('left',e.pageX);$('.fn-gantt-hint').css('top',e.pageY+15)})}return i},markNow:function(a){switch(I.scale){case'weeks':var b=Date.parse(new Date());b=(Math.floor(b/36400000)*36400000);$(a).find(':findweek("'+b+'")').removeClass('wd').addClass('today');break;case'months':$(a).find(':findmonth("'+new Date().getTime()+'")').removeClass('wd').addClass('today');break;default:var b=Date.parse(new Date());b=(Math.floor(b/36400000)*36400000);$(a).find(':findday("'+b+'")').removeClass('wd').addClass('today');break}},fillData:function(n){var o=function(a){try{a=a.replace('rgb(','').replace(')','');var b=a.split(',');var R=parseInt(b[0]);var G=parseInt(b[1]);var B=parseInt(b[2]);var c=Math.round((255-(0.299*R+0.587*G+0.114*B))*0.9,1);return'rgb('+c+', '+c+', '+c+')'}catch(err){return''}};$.each(n.data,function(i,m){if(i>=n.pageNum*I.itemsPerPage&&i<(n.pageNum*I.itemsPerPage+I.itemsPerPage)){$.each(m.values,function(j,a){var b=null;switch(I.scale){case'hours':var c=K.genId(K.dateDeserialize(a.from).getTime(),n.scaleStep);var d=K.genId(K.dateDeserialize(a.to).getTime(),n.scaleStep);var e=$(n).find('#d'+i+'-'+c).offset().left;var f=$(n).find('#d'+i+'-'+d).offset().left;var g=Math.floor((f-e)/K.getCellSize())+1;b=J.createProgressBar(g,a.customClass?a.customClass:'',a.desc?a.desc:'',a.label?a.label:'');$(n).find('#d'+i+'-'+K.genId(K.dateDeserialize(a.from).getTime(),n.scaleStep)).append(b);break;case'weeks':case'months':var c=K.genId(K.dateDeserialize(a.from).getTime());var d=K.genId(K.dateDeserialize(a.to).getTime());var e=$(n).find('#d'+i+'-'+c).offset().left;var f=$(n).find('#d'+i+'-'+d).offset().left;var g=Math.round((f-e)/K.getCellSize())+1;b=J.createProgressBar(g,a.customClass?a.customClass:'',a.desc?a.desc:'',a.label?a.label:'');$(n).find('#d'+i+'-'+K.genId(K.dateDeserialize(a.from).getTime(),n.scaleStep)).append(b);break;default:var c=K.genId(K.dateDeserialize(a.from).getTime());var d=K.genId(K.dateDeserialize(a.to).getTime());var g=Math.floor(((d/1000)-(c/1000))/86400)+1;b=J.createProgressBar(g,a.customClass?a.customClass:'',a.desc?a.desc:'',a.label?a.label:'');var h=$(n).find('#d'+i+'-'+K.genId(K.dateDeserialize(a.from).getTime()));h.append(b);break}var k=b.find('.label');if(k){var l=o(b.css("background-color"));k.css('color',l)}})}})},navigateTo:function(a,b){var c=$(a).find('.fn-gantt .rightPanel');var d=c.find('.dataPanel');var e=c.width();var f=d.width();switch(b){case'begin':d.animate({'margin-left':'0px'},'fast',function(){J.repositionLabel(a)});a.scrollNavigation.panelMargin=0;break;case'end':var g=f-e;a.scrollNavigation.panelMargin=g*-1;d.animate({'margin-left':'-'+g+'px'},'fast',function(){J.repositionLabel(a)});break;case'now':if(!a.scrollNavigation.canScroll)return false;var h=(f-e)*-1;var i=d.css('margin-left').replace('px','');var b=d.find('.today').offset().left-d.offset().left;b*=-1;if(b>0)b=0;else if(b<h)b=h;d.animate({'margin-left':b+'px'},'fast',J.repositionLabel(a));a.scrollNavigation.panelMargin=b;break;default:var h=(f-e)*-1;var i=d.css('margin-left').replace('px','');var b=parseInt(i)+b;if(b<=0&&b>=h)d.animate({'margin-left':b+'px'},'fast',J.repositionLabel(a));a.scrollNavigation.panelMargin=b;break}},navigatePage:function(a,b){if((a.pageNum+b)>=0&&(a.pageNum+b)<Math.ceil(a.rowsNum/I.itemsPerPage)){J.waitToggle(a,true,function(){a.pageNum+=b;a.hPosition=$('.fn-gantt .dataPanel').css('margin-left').replace('px','');a.scaleOldWidth=false;J.init(a)})}},zoomInOut:function(g,h){J.waitToggle(g,true,function(){var a=(h<0);var b=g.scaleStep+h*3;b=b<=1?1:b==4?3:b;var c=I.scale;var d=g.headerRows;if(I.scale=='hours'&&b>=13){c='days';d=4;b=13}else if(I.scale=='days'&&a){c='hours';d=5;b=12}else if(I.scale=='days'&&!a){c='weeks';d=3;b=13}else if(I.scale=='weeks'&&!a){c='months';d=2;b=14}else if(I.scale=='weeks'&&a){c='days';d=4;b=13}else if(I.scale=='months'&&a){c='weeks';d=3;b=13}if((a&&$.inArray(c,H)<$.inArray(I.minScale,H))||(!a&&$.inArray(c,H)>$.inArray(I.maxScale,H))){J.init(g);return}g.scaleStep=b;I.scale=c;g.headerRows=d;var e=$(g).find('.fn-gantt .rightPanel');var f=e.find('.dataPanel');g.hPosition=f.css('margin-left').replace('px','');g.scaleOldWidth=(f.width()-e.width());J.init(g)})},mouseScroll:function(a,e){var b=$(a).find('.fn-gantt .dataPanel');b.css("cursor","move");var c=b.offset();var d=a.scrollNavigation.mouseX==null?e.pageX:a.scrollNavigation.mouseX;var f=e.pageX-d;a.scrollNavigation.mouseX=e.pageX;J.scrollPanel(a,f);clearTimeout(a.scrollNavigation.repositionDelay);a.scrollNavigation.repositionDelay=setTimeout(J.repositionLabel,50,a)},wheelScroll:function(a,e){var b=e.detail?e.detail*(-50):e.wheelDelta/120*50;J.scrollPanel(a,b);clearTimeout(a.scrollNavigation.repositionDelay);a.scrollNavigation.repositionDelay=setTimeout(J.repositionLabel,50,a);if(e.preventDefault)e.preventDefault();else return false},sliderScroll:function(a,e){var b=$(a).find('.nav-slider-bar');var c=b.find('.nav-slider-button');var d=$(a).find('.fn-gantt .rightPanel');var f=d.find('.dataPanel');var g=b.offset();var h=b.width();var i=c.width();if((e.pageX>=g.left)&&(e.pageX<=g.left+h)){var j=e.pageX-g.left;var j=j-i/2;c.css('left',j);var k=f.width()-d.width();var l=j*k/h*-1;if(l>=0){f.css('margin-left','0px');a.scrollNavigation.panelMargin=0}else if(j>=h-(i*1)){f.css('margin-left',k*-1+'px');a.scrollNavigation.panelMargin=k*-1}else{f.css('margin-left',l+'px');a.scrollNavigation.panelMargin=l}clearTimeout(a.scrollNavigation.repositionDelay);a.scrollNavigation.repositionDelay=setTimeout(J.repositionLabel,50,a)}},scrollPanel:function(a,b){if(!a.scrollNavigation.canScroll)return false;var c=parseInt(a.scrollNavigation.panelMargin)+b;if(c>0){a.scrollNavigation.panelMargin=0;$(a).find('.fn-gantt .dataPanel').css('margin-left',a.scrollNavigation.panelMargin+'px')}else if(c<a.scrollNavigation.panelMaxPos*-1){a.scrollNavigation.panelMargin=a.scrollNavigation.panelMaxPos*-1;$(a).find('.fn-gantt .dataPanel').css('margin-left',a.scrollNavigation.panelMargin+'px')}else{a.scrollNavigation.panelMargin=c;$(a).find('.fn-gantt .dataPanel').css('margin-left',a.scrollNavigation.panelMargin+'px')}},synchronizeScroller:function(a){if(I.navigate=='scroll'){var b=$(a).find('.fn-gantt .rightPanel');var c=b.find('.dataPanel');var d=$(a).find('.nav-slider-bar');var e=d.find('.nav-slider-button');var f=d.width();var g=e.width();var h=c.width()-b.width();var i=0;if(c.css('margin-left'))i=c.css('margin-left').replace('px','');var j=i*f/h-e.width()*0.25;j=j>0?0:(j*-1>=f-(g*0.75))?(f-(g*1.25))*-1:j;e.css('left',j*-1)}},repositionLabel:function(f){var g=$('.fn-gantt .rightPanel');var h=g.find('.dataPanel');h.stop();var j={offset:g.offset(),width:g.width(),height:g.height()};$(".fn-gantt .rightPanel .year, .fn-gantt .rightPanel .month").each(function(i,a){var b={offset:$(a).offset(),width:$(a).width(),height:$(a).height()};if(b.offset.left+b.width>j.offset.left&&b.offset.left<j.offset.left+j.width){var c={left:b.offset.left>j.offset.left?b.offset.left:j.offset.left,right:b.offset.left+b.width<j.offset.left+j.width?b.offset.left+b.width:j.offset.left+j.width};$(a).children(".label").css("float","left");var d=$(a).children(".label").width();var e=b.offset.left<j.offset.left?j.offset.left-b.offset.left:0;if(c.right-c.left>d)$(a).children(".label").css("margin-left",e+(c.right-c.left)/2-d/2+"px")}});$(".fn-gantt .rightPanel .bar").each(function(i,a){var b={offset:$(a).offset(),width:$(a).width(),height:$(a).height()};if(b.offset.left+b.width>j.offset.left&&b.offset.left<j.offset.left+j.width){var c={left:b.offset.left>j.offset.left?b.offset.left:j.offset.left,right:b.offset.left+b.width<j.offset.left+j.width?b.offset.left+b.width:j.offset.left+j.width};$(a).children(".label").css("float","left");var d=$(a).children(".label").width();var e=b.offset.left<j.offset.left?j.offset.left-b.offset.left:0;if(c.right-c.left>d)$(a).children(".label").css("margin-left",e+(c.right-c.left)/2-d/2+"px")}});J.synchronizeScroller(f)},waitToggle:function(a,b,c){if(b){var d=$(a).offset();var e=$(a).outerWidth();var f=$(a).outerHeight();if(!a.loader){a.loader=$('<div class="fn-gantt-loader" style="position: absolute; top: '+d.top+'px; left: '+d.left+'px; width: '+e+'px; height: '+f+'px;">'+'<div class="fn-gantt-loader-spinner"><span>'+I.waitText+'</span></div></div>')}$('body').append(a.loader);setTimeout(c,100)}else{if(a.loader)a.loader.remove();a.loader=null}}};var K={getMaxDate:function(c){var d=null;$.each(c.data,function(i,b){$.each(b.values,function(i,a){d=d<K.dateDeserialize(a.to)?K.dateDeserialize(a.to):d})});switch(I.scale){case'hours':d.setHours(Math.ceil((d.getHours())/c.scaleStep)*c.scaleStep);d.setHours(d.getHours()+c.scaleStep*3);break;case'weeks':var e=new Date(d.getTime());var e=new Date(e.setDate(e.getDate()+3*7));var f=Math.floor(e.getDate()/7)*7;d=new Date(e.getFullYear(),e.getMonth(),f==0?4:f-3);break;case'months':var e=new Date(d.getFullYear(),d.getMonth(),1);e.setMonth(e.getMonth()+2);d=new Date(e.getFullYear(),e.getMonth(),1);break;default:d.setHours(0);d.setDate(d.getDate()+3);break}return d},getMinDate:function(c){var d=null;$.each(c.data,function(i,b){$.each(b.values,function(i,a){d=d>K.dateDeserialize(a.from)||d==null?K.dateDeserialize(a.from):d})});switch(I.scale){case'hours':d.setHours(Math.floor((d.getHours())/c.scaleStep)*c.scaleStep);d.setHours(d.getHours()-c.scaleStep*3);break;case'weeks':var e=new Date(d.getTime());var e=new Date(e.setDate(e.getDate()-3*7));var f=Math.floor(e.getDate()/7)*7;d=new Date(e.getFullYear(),e.getMonth(),f==0?4:f-3);break;case'months':var e=new Date(d.getFullYear(),d.getMonth(),1);e.setMonth(e.getMonth()-3);d=new Date(e.getFullYear(),e.getMonth(),1);break;default:d.setHours(0);d.setDate(d.getDate()-3);break}return d},parseDateRange:function(a,b){var c=new Date(a.getTime());var d=new Date(b.getTime());var e=new Array();var i=0;do{e[i++]=new Date(c.getTime());c.setDate(c.getDate()+1)}while(c.getTime()<=b.getTime());return e},parseTimeRange:function(a,b,c){var d=new Date(a);var e=new Date(b);var f=new Array();var i=0;do{f[i]=new Date(d.getTime());d.setHours(d.getHours()+c);d.setHours(Math.floor((d.getHours())/c)*c);if(d.getDay()!=f[i].getDay())d.setHours(0);i++}while(d.getTime()<=b.getTime());return f},parseWeeksRange:function(a,b){var c=new Date(a);var d=new Date(b);var e=new Array();var i=0;do{if(c.getDay()==0){e[i++]=c.getDayForWeek()}c.setDate(c.getDate()+1)}while(c.getTime()<=b.getTime());return e},parseMonthsRange:function(a,b){var c=new Date(a);var d=new Date(b);var e=new Array();var i=0;do{e[i++]=new Date(c.getFullYear(),c.getMonth(),1);c.setMonth(c.getMonth()+1)}while(c.getTime()<=b.getTime());return e},dateDeserialize:function(a){var b=eval('new'+a.replace(/\//g,' '));return new Date(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())},genId:function(a){var t=new Date(a);switch(I.scale){case'hours':var b=t.getHours();if(arguments.length>=2)b=(Math.floor((t.getHours())/arguments[1])*arguments[1]);return(new Date(t.getFullYear(),t.getMonth(),t.getDate(),b)).getTime();break;case'weeks':return t.getFullYear()+'-'+t.getDayForWeek().getWeekOfYear();break;case'months':return t.getFullYear()+'-'+t.getMonth();break;default:return(new Date(t.getFullYear(),t.getMonth(),t.getDate())).getTime();break}},_getCellSize:null,getCellSize:function(){if(!K._getCellSize){$("body").append($("<div style='display: none; position: absolute;' class='fn-gantt' id='measureCellWidth'><div class='row'></div></div>"));K._getCellSize=$('#measureCellWidth .row').height();$('#measureCellWidth').empty().remove()}return K._getCellSize},getRightPanelSize:function(){$("body").append($("<div style='display: none; position: absolute;' class='fn-gantt' id='measureCellWidth'><div class='rightPanel'></div></div>"));var a=$('#measureCellWidth .rightPanel').height();$('#measureCellWidth').empty().remove();return a},getPageHeight:function(a){return a.pageNum+1==a.pageCount?rowsOnLastPage*K.getCellSize():I.itemsPerPage*K.getCellSize()},_getProgressBarMargin:null,getProgressBarMargin:function(){if(!K._getProgressBarMargin){$("body").append($("<div style='display: none; position: absolute;' id='measureBarWidth' ><div class='fn-gantt'><div class='rightPanel'><div class='dataPanel'><div class='row day'><div class='bar' /></div></div></div></div></div>"));K._getProgressBarMargin=parseInt($('#measureBarWidth .fn-gantt .rightPanel .day .bar').css("margin-left").replace("px",""));K._getProgressBarMargin+=parseInt($('#measureBarWidth .fn-gantt .rightPanel .day .bar').css("margin-right").replace("px",""));$('#measureBarWidth').empty().remove()}return K._getProgressBarMargin}};this.each(function(){if(F)$.extend(I,F);this.data=null;this.pageNum=0;this.pageCount=0;this.rowsOnLastPage=0;this.rowsNum=0;this.hPosition=0;this.dateStart=null;this.dateEnd=null;this.scrollClicked=false;this.scaleOldWidth=null;this.headerRows=null;switch(I.scale){case'hours':this.headerRows=5;this.scaleStep=1;break;case'weeks':this.headerRows=3;this.scaleStep=13;break;case'months':this.headerRows=2;this.scaleStep=14;break;default:this.headerRows=4;this.scaleStep=13;break}this.scrollNavigation={panelMouseDown:false,scrollerMouseDown:false,mouseX:null,panelMargin:0,repositionDelay:0,panelMaxPos:0,canScroll:true};this.gantt=null;this.loader=null;J.create(this)})}})(jQuery);
+(function($){"use strict";$.fn.gantt=function(options){var scales=["hours","days","weeks","months"];var settings={source:null,itemsPerPage:7,months:["January","February","March","April","May","June","July","August","September","October","November","December"],dow:["S","M","T","W","T","F","S"],startPos:new Date,navigate:"buttons",scale:"days",maxScale:"months",minScale:"hours",waitText:"Please wait..."};$.extend($.expr[":"],{findday:function(a,b,c){var d=new Date(parseInt(c[3]));var e=$(a).attr("id");e=e?e:"";var f=e.indexOf("-")+1;var g=new Date(parseInt(e.substring(f,e.length)));d=new Date(d.getFullYear(),d.getMonth(),d.getDate());g=new Date(g.getFullYear(),g.getMonth(),g.getDate());return d.getTime()===g.getTime()}});$.extend($.expr[":"],{findweek:function(a,b,c){var d=new Date(parseInt(c[3]));var e=$(a).attr("id");e=e?e:"";var f=e.indexOf("-")+1;d=d.getFullYear()+"-"+d.getDayForWeek().getWeekOfYear();var g=$(a).attr("id").substring(f,$(a).attr("id").length);return d===g}});$.extend($.expr[":"],{findmonth:function(a,b,c){var d=new Date(parseInt(c[3]));d=d.getFullYear()+"-"+d.getMonth();var e=$(a).attr("id");e=e?e:"";var f=e.indexOf("-")+1;var g=$(a).attr("id").substring(f,$(a).attr("id").length);return d===g}});Date.prototype.getDayOfYear=function(){var a=new Date(this.getFullYear(),0,0);var b=new Date(this.getFullYear(),this.getMonth(),this.getDate());return Math.ceil((b-a)/864e5)};Date.prototype.getWeekOfYear=function(){var a=new Date(this.getFullYear(),0,1);var b=new Date(this.getFullYear(),this.getMonth(),this.getDate());if(a.getDay()>3)a=new Date(b.getFullYear(),0,7-a.getDay());var c=b.getDayOfYear()-a.getDayOfYear();return Math.ceil(c/7)};Date.prototype.getDaysInMonth=function(){return 32-(new Date(this.getFullYear(),this.getMonth(),32)).getDate()};Date.prototype.hasWeek=function(){var a=new Date(this.valueOf());a.setDate(a.getDate()-a.getDay());var b=new Date(this.valueOf());b.setDate(b.getDate()+(6-b.getDay()));if(a.getMonth()===b.getMonth())return true;else{return a.getMonth()===this.getMonth()&&b.getDate()<4||a.getMonth()!=this.getMonth()&&b.getDate()>=4}};Date.prototype.getDayForWeek=function(){var a=new Date(this.valueOf());a.setDate(a.getDate()-a.getDay());var b=new Date(this.valueOf());b.setDate(b.getDate()+(6-b.getDay()));if(a.getMonth()===b.getMonth()||a.getMonth()!=b.getMonth()&&b.getDate()>=4){return new Date(b.setDate(b.getDate()-3))}else{return new Date(a.setDate(a.getDate()+3))}};var core={create:function(a){$.ajaxSetup({scriptCharset:"utf-8",contentType:"application/json; charset=utf-8"});if(typeof settings.source!=="string"){a.data=settings.source;core.init(a)}else{$.getJSON(settings.source,function(b){a.data=b;core.init(a)})}},init:function(a){a.rowsNum=a.data.length;a.pageCount=Math.ceil(a.rowsNum/settings.itemsPerPage);a.rowsOnLastPage=a.rowsNum-Math.floor(a.rowsNum/settings.itemsPerPage)*settings.itemsPerPage;a.dateStart=tools.getMinDate(a);a.dateEnd=tools.getMaxDate(a);core.render(a);core.waitToggle(a,true,function(){core.render(a)})},render:function(a){var b=$('<div class="fn-content"/>');b.append(core.leftPanel(a));var c=core.rightPanel(a);b.append(c);b.append(core.navigation(a));var d=c.find(".dataPanel");a.gantt=$('<div class="fn-gantt" />').append(b);$(a).html(a.gantt);a.scrollNavigation.panelMargin=parseInt(d.css("margin-left").replace("px",""));a.scrollNavigation.panelMaxPos=d.width()-c.width();a.scrollNavigation.canScroll=d.width()>c.width();core.markNow(a);core.fillData(a);$(a).css({height:$(a).find(".fn-gantt").height()+"px"});var e=Math.round((settings.startPos/1e3-a.dateStart/1e3)/86400)-2;if(e>0&&a.hPosition!=0){if(a.scaleOldWidth){var f=d.width()-c.width();var g=f*a.hPosition/a.scaleOldWidth;g=g>0?0:g;d.css({"margin-left":g+"px"});a.scrollNavigation.panelMargin=g;a.hPosition=g;a.scaleOldWidth=null}else{d.css({"margin-left":a.hPosition+"px"});a.scrollNavigation.panelMargin=a.hPosition}core.repositionLabel(a)}else{core.repositionLabel(a)}core.waitToggle(a,false)},leftPanel:function(a){var b=$('<div class="leftPanel"/>').append($('<div class="row spacer"/>').css("height",tools.getCellSize()*a.headerRows+"px").css("width","100%"));$.each(a.data,function(c,d){if(c>=a.pageNum*settings.itemsPerPage&&c<a.pageNum*settings.itemsPerPage+settings.itemsPerPage){b.append($('<div class="row name row'+c+' "/>').append($('<span class="fn-label"/>').html(d.name))).append($('<div class="row desc row'+c+' "/>').append($('<span class="fn-label"/>').html(d.desc)))}});return b},dataPanel:function(a,b){var c=$('<div class="dataPanel" style="width: '+b+'px;"/>');var d=/Firefox/i.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel";if(document.attachEvent)a.attachEvent("on"+d,function(b){core.wheelScroll(a,b)});else if(document.addEventListener)a.addEventListener(d,function(b){core.wheelScroll(a,b)},false);c.mousedown(function(b){if(b.which!=1)return true;if(b.preventDefault)b.preventDefault();a.scrollNavigation.panelMouseDown=true;core.mouseScroll(a,b)}).mousemove(function(b){if(a.scrollNavigation.panelMouseDown){core.mouseScroll(a,b)}});$(document).mouseup(function(b){if(b.which!=1)return true;a.scrollNavigation.panelMouseDown=false;a.scrollNavigation.mouseX=null;var c=$(a).find(".fn-gantt .dataPanel");c.css("cursor","auto");core.repositionLabel(a)});return c},rightPanel:function(a){var b=null;var c=[" sn"," wd"," wd"," wd"," wd"," wd"," sa"];var d=[" sn","","","","",""," sa"];var e=$('<div class="row"/>');var f=0;var g=$('<div class="row"/>');var h=0;var i="";var j=0;var k="";var l="";var m=new Date;m=new Date(m.getFullYear(),m.getMonth(),m.getDate());var n=settings.holidays?settings.holidays.join():"";switch(settings.scale){case"hours":b=tools.parseTimeRange(a.dateStart,a.dateEnd,a.scaleStep);var o=b[0].getFullYear();var p=b[0].getMonth();var q=b[0];for(var r=0;r<b.length;r++){var s=b[r];var t=s.getFullYear();if(t!=o){e.html(e.html()+$('<div class="row header year" style="width: '+tools.getCellSize()*f+'px;"><div class="fn-label">'+o+"</div></div>"));o=t;f=0}f++;var u=s.getMonth();if(u!=p){g.append($('<div class="row header month" style="width: '+tools.getCellSize()*h+'px"><div class="fn-label"/>'+settings.months[p]+"</div></div>"));p=u;h=0}h++;var v=s.getDay();var w=q.getDay();var x=c[v];var y=q.getTime();if(n.indexOf((new Date(s.getFullYear(),s.getMonth(),s.getDate())).getTime())>-1)x="holiday";if(v!=w){var z=m-q===0?" today":n.indexOf(y)>-1?"holiday":c[w];i+='<div class="row day '+z+'" '+' style="width: '+tools.getCellSize()*j+'px;"> '+' <div class="fn-label"/>'+q.getDate()+"</div></div>";k+='<div class="row day '+z+'" '+' style="width: '+tools.getCellSize()*j+'px;"> '+' <div class="fn-label"/>'+settings.dow[w]+"</div></div>";q=s;j=0}j++;l+='<div class="row day '+x+'" id="dh-'+s.getTime()+'"> '+s.getHours()+"</div>"}e.html(e.html()+'<div class="row header year" style="width: '+tools.getCellSize()*f+'px;"><div class="fn-label"/>'+o+"</div></div>");g.html(g.html()+'<div class="row header month" style="width: '+tools.getCellSize()*h+'px"><div class="fn-label"/>'+settings.months[p]+"</div></div>");var x=c[q.getDay()];if(n.indexOf((new Date(q.getFullYear(),q.getMonth(),q.getDate())).getTime())>-1)x="holiday";i+='<div class="row day '+x+'" '+' style="width: '+tools.getCellSize()*j+'px;"> '+' <div class="fn-label"/>'+q.getDate()+"</div></div>";k+='<div class="row day '+x+'" '+' style="width: '+tools.getCellSize()*j+'px;"> '+' <div class="fn-label"/>'+settings.dow[q.getDay()]+"</div></div>";var A=core.dataPanel(a,b.length*tools.getCellSize());A.append(e);A.append(g);A.append($('<div class="row"/>').html(i));A.append($('<div class="row"/>').html(k));A.append($('<div class="row"/>').html(l));for(var r=0;r<a.data.length;r++){var B=a.data[r];if(r>=a.pageNum*settings.itemsPerPage&&r<a.pageNum*settings.itemsPerPage+settings.itemsPerPage){var C='<div class="row">';for(var D=0;D<b.length;D++){var q=b[D];var E=d[q.getDay()];if(n.indexOf((new Date(q.getFullYear(),q.getMonth(),q.getDate())).getTime())>-1)E=" holiday";C+='<div class="row day'+E+'" id="d'+r+"-"+tools.genId(q.getTime())+'" ></div>'}A.html(A.html()+C+"</div>")}}break;case"weeks":b=tools.parseWeeksRange(a.dateStart,a.dateEnd);var o=b[0].getFullYear();var p=b[0].getMonth();var q=b[0];for(var r=0;r<b.length;r++){var s=b[r];if(s.getFullYear()!=o){e.append($('<div class="row header year" style="width: '+tools.getCellSize()*f+'px;"><div class="fn-label">'+o+"</div></div>"));o=s.getFullYear();f=0}f++;if(s.getMonth()!=p){g.append($('<div class="row header month" style="width:'+tools.getCellSize()*h+'px;"><div class="fn-label">'+settings.months[p]+"</div></div>"));p=s.getMonth();h=0}h++;i+='<div class="row day wd" '+' id="dh-'+s.getFullYear()+"-"+s.getWeekOfYear()+'"> '+' <div class="fn-label"/>'+s.getWeekOfYear()+"</div></div>"}e.append('<div class="row header year" style="width: '+tools.getCellSize()*f+'px;"><div class="fn-label"/>'+o+"</div></div>");g.append('<div class="row header month" style="width: '+tools.getCellSize()*h+'px"><div class="fn-label"/>'+settings.months[p]+"</div></div>");var A=core.dataPanel(a,b.length*tools.getCellSize());A.append(e);A.append(g);A.append($('<div class="row"/>').html(i));A.append($('<div class="row"/>').html(k));for(var r=0;r<a.data.length;r++){var B=a.data[r];if(r>=a.pageNum*settings.itemsPerPage&&r<a.pageNum*settings.itemsPerPage+settings.itemsPerPage){var C='<div class="row">';for(var D=0;D<b.length;D++){q=b[D];C+='<div class="row day" id="d'+r+"-"+tools.genId(q.getTime())+'"></div>'}A.append($(C+"</div>"))}}break;case"months":b=tools.parseMonthsRange(a.dateStart,a.dateEnd);var o=b[0].getFullYear();var p=b[0].getMonth();var q=b[0];for(var r=0;r<b.length;r++){var s=b[r];if(s.getFullYear()!=o){e.append($('<div class="row header year" style="width: '+tools.getCellSize()*f+'px;"><div class="fn-label">'+o+"</div></div>"));o=s.getFullYear();f=0}f++;g.append($('<div class="row day wd" id="dh-'+tools.genId(s.getTime())+'" />').html(s.getMonth()+1))}e.append('<div class="row header year" style="width: '+tools.getCellSize()*f+'px;"><div class="fn-label">'+o+"</div></div>");g.append('<div class="row header month" style="width: '+tools.getCellSize()*h+'px">"<div class="fn-label">'+settings.months[p]+"</div></div>");var A=core.dataPanel(a,b.length*tools.getCellSize());A.append(e);A.append(g);A.append($('<div class="row"/>').html(i));A.append($('<div class="row"/>').html(k));for(var r=0;r<a.data.length;r++){var B=a.data[r];if(r>=a.pageNum*settings.itemsPerPage&&r<a.pageNum*settings.itemsPerPage+settings.itemsPerPage){var C='<div class="row">';for(var D=0;D<b.length;D++){q=b[D];C+='<div class="row day" id="d'+r+"-"+tools.genId(q.getTime())+'" ></div>'}A.append($(C+"</div>"))}}break;default:b=tools.parseDateRange(a.dateStart,a.dateEnd);var o=b[0].getFullYear();var p=b[0].getMonth();var q=b[0];for(var r=0;r<b.length;r++){var s=b[r];if(s.getFullYear()!=o){e.append($('<div class="row header year" style="width:'+tools.getCellSize()*f+'px;"><div class="fn-label">'+o+"</div></div>"));o=s.getFullYear();f=0}f++;if(s.getMonth()!=p){g.append($('<div class="row header month" style="width:'+tools.getCellSize()*h+'px;"><div class="fn-label">'+settings.months[p]+"</div></div>"));p=s.getMonth();h=0}h++;var w=s.getDay();var x=c[w];if(n.indexOf((new Date(s.getFullYear(),s.getMonth(),s.getDate())).getTime())>-1)x="holiday";i+='<div class="row day '+x+'" '+' id="dh-'+tools.genId(s.getTime())+' "> '+' <div class="fn-label"/>'+s.getDate()+"</div></div>";k+='<div class="row day '+x+'" '+' id="dw-'+tools.genId(s.getTime())+'"> '+' <div class="fn-label"/>'+settings.dow[w]+"</div></div>"}e.append('<div class="row header year" style="width: '+tools.getCellSize()*f+'px;"><div class="fn-label">'+o+"</div></div>");g.append('<div class="row header month" style="width: '+tools.getCellSize()*h+'px"><div class="fn-label">'+settings.months[p]+"</div></div>");var A=core.dataPanel(a,b.length*tools.getCellSize());A.append(e);A.append(g);A.append($('<div class="row"/>').html(i));A.append($('<div class="row"/>').html(k));for(var r=0;r<a.data.length;r++){var B=a.data[r];if(r>=a.pageNum*settings.itemsPerPage&&r<a.pageNum*settings.itemsPerPage+settings.itemsPerPage){var C='<div class="row">';for(var D=0;D<b.length;D++){q=b[D];var E=d[q.getDay()];if(n.indexOf((new Date(q.getFullYear(),q.getMonth(),q.getDate())).getTime())>-1)E=" holiday";C+='<div class="row day '+E+'" id="d'+r+"-"+tools.genId(q.getTime())+'"></div>'}A.append($(C+"</div>"))}}break}return $('<div class="rightPanel"></div>').append(A)},navigation:function(a){var b=null;if(settings.navigate==="scroll"){b=$('<div class="navigate" />').append($('<div class="nav-slider" />').append($('<div class="nav-slider-left" />').append($('<span role="button" class="nav-link nav-page-back"/>').html("<").click(function(){core.navigatePage(a,-1)})).append($('<div class="page-number"/>').append($("<span/>").html(a.pageNum+1+" of "+a.pageCount))).append($('<span role="button" class="nav-link nav-page-next"/>').html(">").click(function(){core.navigatePage(a,1)})).append($('<span role="button" class="nav-link nav-now"/>').html("&#9679;").click(function(){core.navigateTo(a,"now")})).append($('<span role="button" class="nav-link nav-prev-day"/>').html("<").click(function(){core.navigateTo(a,tools.getCellSize())}))).append($('<div class="nav-slider-content" />').append($('<div class="nav-slider-bar" />').append($('<a class="nav-slider-button" />')).mousedown(function(b){if(b.preventDefault)b.preventDefault();a.scrollNavigation.scrollerMouseDown=true;core.sliderScroll(a,b)}).mousemove(function(b){if(a.scrollNavigation.scrollerMouseDown){core.sliderScroll(a,b)}}))).append($('<div class="nav-slider-right" />').append($('<span role="button" class="nav-link nav-next-day"/>').html(">").click(function(){core.navigateTo(a,tools.getCellSize()*-1)})).append($('<span role="button" class="nav-link nav-zoomIn"/>').html("&#43;").click(function(){core.zoomInOut(a,-1)})).append($('<span role="button" class="nav-link nav-zoomOut"/>').html("&#45;").click(function(){core.zoomInOut(a,1)}))));$(document).mouseup(function(){a.scrollNavigation.scrollerMouseDown=false})}else{b=$('<div class="navigate" />').append($('<span role="button" class="nav-link nav-page-back"/>').html("<").click(function(){core.navigatePage(a,-1)})).append($('<div class="page-number"/>').append($("<span/>").html(a.pageNum+1+" of "+a.pageCount))).append($('<span role="button" class="nav-link nav-page-next"/>').html(">").click(function(){core.navigatePage(a,1)})).append($('<span role="button" class="nav-link nav-begin"/>').html("&#124;<").click(function(){core.navigateTo(a,"begin")})).append($('<span role="button" class="nav-link nav-prev-week"/>').html("<<").click(function(){core.navigateTo(a,tools.getCellSize()*7)})).append($('<span role="button" class="nav-link nav-prev-day"/>').html("<").click(function(){core.navigateTo(a,tools.getCellSize())})).append($('<span role="button" class="nav-link nav-now"/>').html("&#9679;").click(function(){core.navigateTo(a,"now")})).append($('<span role="button" class="nav-link nav-next-day"/>').html(">").click(function(){core.navigateTo(a,tools.getCellSize()*-1)})).append($('<span role="button" class="nav-link nav-next-week"/>').html(">>").click(function(){core.navigateTo(a,tools.getCellSize()*-7)})).append($('<span role="button" class="nav-link nav-end"/>').html(">&#124;").click(function(){core.navigateTo(a,"end")})).append($('<span role="button" class="nav-link nav-zoomIn"/>').html("&#43;").click(function(){core.zoomInOut(a,-1)})).append($('<span role="button" class="nav-link nav-zoomOut"/>').html("&#45;").click(function(){core.zoomInOut(a,1)}))}return $('<div class="bottom"/>').append(b)},createProgressBar:function(a,b,c,d,e){var f=tools.getCellSize();var g=tools.getProgressBarMargin()||0;var h=$('<div class="bar"><div class="fn-label">'+d+"</div></div>").addClass(b).css({width:f*a-g}).data("dataObj",e);if(c){h.mouseover(function(a){var b=$('<div class="fn-gantt-hint" />').html(c);$("body").append(b);b.css("left",a.pageX);b.css("top",a.pageY);b.show()}).mouseout(function(){$(".fn-gantt-hint").remove()}).mousemove(function(a){$(".fn-gantt-hint").css("left",a.pageX);$(".fn-gantt-hint").css("top",a.pageY+15)})}return h},markNow:function(a){switch(settings.scale){case"weeks":var b=Date.parse(new Date);b=Math.floor(b/364e5)*364e5;$(a).find(':findweek("'+b+'")').removeClass("wd").addClass("today");break;case"months":$(a).find(':findmonth("'+(new Date).getTime()+'")').removeClass("wd").addClass("today");break;default:var b=Date.parse(new Date);b=Math.floor(b/364e5)*364e5;$(a).find(':findday("'+b+'")').removeClass("wd").addClass("today");break}},fillData:function(a){var b=function(a){try{a=a.replace("rgb(","").replace(")","");var b=a.split(",");var c=parseInt(b[0]);var d=parseInt(b[1]);var e=parseInt(b[2]);var f=Math.round((255-(.299*c+.587*d+.114*e))*.9,1);return"rgb("+f+", "+f+", "+f+")"}catch(g){return""}};$.each(a.data,function(c,d){if(c>=a.pageNum*settings.itemsPerPage&&c<a.pageNum*settings.itemsPerPage+settings.itemsPerPage){$.each(d.values,function(d,e){var f=null;switch(settings.scale){case"hours":var g=tools.genId(tools.dateDeserialize(e.from).getTime(),a.scaleStep);var h=tools.genId(tools.dateDeserialize(e.to).getTime(),a.scaleStep);var j=$(a).find("#d"+c+"-"+g).offset().left;var k=$(a).find("#d"+c+"-"+h).offset().left;var l=Math.floor((k-j)/tools.getCellSize())+1;f=core.createProgressBar(l,e.customClass?e.customClass:"",e.desc?e.desc:"",e.label?e.label:"",e.dataObj?e.dataObj:null);$(a).find("#d"+c+"-"+tools.genId(tools.dateDeserialize(e.from).getTime(),a.scaleStep)).append(f);break;case"weeks":case"months":var g=tools.genId(tools.dateDeserialize(e.from).getTime());var h=tools.genId(tools.dateDeserialize(e.to).getTime());var j=$(a).find("#d"+c+"-"+g).offset().left;var k=$(a).find("#d"+c+"-"+h).offset().left;var l=Math.round((k-j)/tools.getCellSize())+1;f=core.createProgressBar(l,e.customClass?e.customClass:"",e.desc?e.desc:"",e.label?e.label:"",e.dataObj?e.dataObj:null);$(a).find("#d"+c+"-"+tools.genId(tools.dateDeserialize(e.from).getTime(),a.scaleStep)).append(f);break;default:var g=tools.genId(tools.dateDeserialize(e.from).getTime());var h=tools.genId(tools.dateDeserialize(e.to).getTime());var l=Math.floor((h/1e3-g/1e3)/86400)+1;f=core.createProgressBar(l,e.customClass?e.customClass:"",e.desc?e.desc:"",e.label?e.label:"",e.dataObj?e.dataObj:null);var m=$(a).find("#d"+c+"-"+tools.genId(tools.dateDeserialize(e.from).getTime()));m.append(f);break}var n=f.find(".fn-label");if(n){var o=b(f.css("background-color"));n.css("color",o)}})}})},navigateTo:function(a,b){var c=$(a).find(".fn-gantt .rightPanel");var d=c.find(".dataPanel");var e=c.width();var f=d.width();switch(b){case"begin":d.animate({"margin-left":"0px"},"fast",function(){core.repositionLabel(a)});a.scrollNavigation.panelMargin=0;break;case"end":var g=f-e;a.scrollNavigation.panelMargin=g*-1;d.animate({"margin-left":"-"+g+"px"},"fast",function(){core.repositionLabel(a)});break;case"now":if(!a.scrollNavigation.canScroll)return false;var h=(f-e)*-1;var i=d.css("margin-left").replace("px","");var b=d.find(".today").offset().left-d.offset().left;b*=-1;if(b>0)b=0;else if(b<h)b=h;d.animate({"margin-left":b+"px"},"fast",core.repositionLabel(a));a.scrollNavigation.panelMargin=b;break;default:var h=(f-e)*-1;var i=d.css("margin-left").replace("px","");var b=parseInt(i)+b;if(b<=0&&b>=h)d.animate({"margin-left":b+"px"},"fast",core.repositionLabel(a));a.scrollNavigation.panelMargin=b;break}},navigatePage:function(a,b){if(a.pageNum+b>=0&&a.pageNum+b<Math.ceil(a.rowsNum/settings.itemsPerPage)){core.waitToggle(a,true,function(){a.pageNum+=b;a.hPosition=$(".fn-gantt .dataPanel").css("margin-left").replace("px","");a.scaleOldWidth=false;core.init(a)})}},zoomInOut:function(a,b){core.waitToggle(a,true,function(){var c=b<0;var d=a.scaleStep+b*3;d=d<=1?1:d===4?3:d;var e=settings.scale;var f=a.headerRows;if(settings.scale==="hours"&&d>=13){e="days";f=4;d=13}else if(settings.scale==="days"&&c){e="hours";f=5;d=12}else if(settings.scale==="days"&&!c){e="weeks";f=3;d=13}else if(settings.scale==="weeks"&&!c){e="months";f=2;d=14}else if(settings.scale==="weeks"&&c){e="days";f=4;d=13}else if(settings.scale==="months"&&c){e="weeks";f=3;d=13}if(c&&$.inArray(e,scales)<$.inArray(settings.minScale,scales)||!c&&$.inArray(e,scales)>$.inArray(settings.maxScale,scales)){core.init(a);return}a.scaleStep=d;settings.scale=e;a.headerRows=f;var g=$(a).find(".fn-gantt .rightPanel");var h=g.find(".dataPanel");a.hPosition=h.css("margin-left").replace("px","");a.scaleOldWidth=h.width()-g.width();core.init(a)})},mouseScroll:function(a,b){var c=$(a).find(".fn-gantt .dataPanel");c.css("cursor","move");var d=c.offset();var e=a.scrollNavigation.mouseX===null?b.pageX:a.scrollNavigation.mouseX;var f=b.pageX-e;a.scrollNavigation.mouseX=b.pageX;core.scrollPanel(a,f);clearTimeout(a.scrollNavigation.repositionDelay);a.scrollNavigation.repositionDelay=setTimeout(core.repositionLabel,50,a)},wheelScroll:function(a,b){var c=b.detail?b.detail*-50:b.wheelDelta/120*50;core.scrollPanel(a,c);clearTimeout(a.scrollNavigation.repositionDelay);a.scrollNavigation.repositionDelay=setTimeout(core.repositionLabel,50,a);if(b.preventDefault)b.preventDefault();else return false},sliderScroll:function(a,b){var c=$(a).find(".nav-slider-bar");var d=c.find(".nav-slider-button");var e=$(a).find(".fn-gantt .rightPanel");var f=e.find(".dataPanel");var g=c.offset();var h=c.width();var i=d.width();if(b.pageX>=g.left&&b.pageX<=g.left+h){var j=b.pageX-g.left;var j=j-i/2;d.css("left",j);var k=f.width()-e.width();var l=j*k/h*-1;if(l>=0){f.css("margin-left","0px");a.scrollNavigation.panelMargin=0}else if(j>=h-i*1){f.css("margin-left",k*-1+"px");a.scrollNavigation.panelMargin=k*-1}else{f.css("margin-left",l+"px");a.scrollNavigation.panelMargin=l}clearTimeout(a.scrollNavigation.repositionDelay);a.scrollNavigation.repositionDelay=setTimeout(core.repositionLabel,50,a)}},scrollPanel:function(a,b){if(!a.scrollNavigation.canScroll)return false;var c=parseInt(a.scrollNavigation.panelMargin)+b;if(c>0){a.scrollNavigation.panelMargin=0;$(a).find(".fn-gantt .dataPanel").css("margin-left",a.scrollNavigation.panelMargin+"px")}else if(c<a.scrollNavigation.panelMaxPos*-1){a.scrollNavigation.panelMargin=a.scrollNavigation.panelMaxPos*-1;$(a).find(".fn-gantt .dataPanel").css("margin-left",a.scrollNavigation.panelMargin+"px")}else{a.scrollNavigation.panelMargin=c;$(a).find(".fn-gantt .dataPanel").css("margin-left",a.scrollNavigation.panelMargin+"px")}},synchronizeScroller:function(a){if(settings.navigate==="scroll"){var b=$(a).find(".fn-gantt .rightPanel");var c=b.find(".dataPanel");var d=$(a).find(".nav-slider-bar");var e=d.find(".nav-slider-button");var f=d.width();var g=e.width();var h=c.width()-b.width();var i=0;if(c.css("margin-left"))i=c.css("margin-left").replace("px","");var j=i*f/h-e.width()*.25;j=j>0?0:j*-1>=f-g*.75?(f-g*1.25)*-1:j;e.css("left",j*-1)}},repositionLabel:function(a){var b=$(".fn-gantt .rightPanel");var c=b.find(".dataPanel");c.stop();var d={offset:b.offset(),width:b.width(),height:b.height()};$(".fn-gantt .rightPanel .year, .fn-gantt .rightPanel .month").each(function(a,b){var c={offset:$(b).offset(),width:$(b).width(),height:$(b).height()};if(c.offset.left+c.width>d.offset.left&&c.offset.left<d.offset.left+d.width){var e={left:c.offset.left>d.offset.left?c.offset.left:d.offset.left,right:c.offset.left+c.width<d.offset.left+d.width?c.offset.left+c.width:d.offset.left+d.width};$(b).children(".fn-label").css("float","left");var f=$(b).children(".fn-label").width();var g=c.offset.left<d.offset.left?d.offset.left-c.offset.left:0;if(e.right-e.left>f)$(b).children(".fn-label").css("margin-left",g+(e.right-e.left)/2-f/2+"px")}});$(".fn-gantt .rightPanel .bar").each(function(a,b){var c={offset:$(b).offset(),width:$(b).width(),height:$(b).height()};if(c.offset.left+c.width>d.offset.left&&c.offset.left<d.offset.left+d.width){var e={left:c.offset.left>d.offset.left?c.offset.left:d.offset.left,right:c.offset.left+c.width<d.offset.left+d.width?c.offset.left+c.width:d.offset.left+d.width};$(b).children(".fn-label").css("float","left");var f=$(b).children(".fn-label").width();var g=c.offset.left<d.offset.left?d.offset.left-c.offset.left:0;if(e.right-e.left>f)$(b).children(".fn-label").css("margin-left",g+(e.right-e.left)/2-f/2+"px")}});core.synchronizeScroller(a)},waitToggle:function(a,b,c){if(b){var d=$(a).offset();var e=$(a).outerWidth();var f=$(a).outerHeight();if(!a.loader){a.loader=$('<div class="fn-gantt-loader" style="position: absolute; top: '+d.top+"px; left: "+d.left+"px; width: "+e+"px; height: "+f+'px;">'+'<div class="fn-gantt-loader-spinner"><span>'+settings.waitText+"</span></div></div>")}$("body").append(a.loader);setTimeout(c,100)}else{if(a.loader)a.loader.remove();a.loader=null}}};var tools={getMaxDate:function(a){var b=null;$.each(a.data,function(a,c){$.each(c.values,function(a,c){b=b<tools.dateDeserialize(c.to)?tools.dateDeserialize(c.to):b})});switch(settings.scale){case"hours":b.setHours(Math.ceil(b.getHours()/a.scaleStep)*a.scaleStep);b.setHours(b.getHours()+a.scaleStep*3);break;case"weeks":var c=new Date(b.getTime());var c=new Date(c.setDate(c.getDate()+3*7));var d=Math.floor(c.getDate()/7)*7;b=new Date(c.getFullYear(),c.getMonth(),d===0?4:d-3);break;case"months":var c=new Date(b.getFullYear(),b.getMonth(),1);c.setMonth(c.getMonth()+2);b=new Date(c.getFullYear(),c.getMonth(),1);break;default:b.setHours(0);b.setDate(b.getDate()+3);break}return b},getMinDate:function(a){var b=null;$.each(a.data,function(a,c){$.each(c.values,function(a,c){b=b>tools.dateDeserialize(c.from)||b===null?tools.dateDeserialize(c.from):b})});switch(settings.scale){case"hours":b.setHours(Math.floor(b.getHours()/a.scaleStep)*a.scaleStep);b.setHours(b.getHours()-a.scaleStep*3);break;case"weeks":var c=new Date(b.getTime());var c=new Date(c.setDate(c.getDate()-3*7));var d=Math.floor(c.getDate()/7)*7;b=new Date(c.getFullYear(),c.getMonth(),d===0?4:d-3);break;case"months":var c=new Date(b.getFullYear(),b.getMonth(),1);c.setMonth(c.getMonth()-3);b=new Date(c.getFullYear(),c.getMonth(),1);break;default:b.setHours(0);b.setDate(b.getDate()-3);break}return b},parseDateRange:function(a,b){var c=new Date(a.getTime());var d=new Date(b.getTime());var e=new Array;var f=0;do{e[f++]=new Date(c.getTime());c.setDate(c.getDate()+1)}while(c.getTime()<=b.getTime());return e},parseTimeRange:function(a,b,c){var d=new Date(a);var e=new Date(b);var f=new Array;var g=0;do{f[g]=new Date(d.getTime());d.setHours(d.getHours()+c);d.setHours(Math.floor(d.getHours()/c)*c);if(d.getDay()!=f[g].getDay())d.setHours(0);g++}while(d.getTime()<=b.getTime());return f},parseWeeksRange:function(a,b){var c=new Date(a);var d=new Date(b);var e=new Array;var f=0;do{if(c.getDay()===0){e[f++]=c.getDayForWeek()}c.setDate(c.getDate()+1)}while(c.getTime()<=b.getTime());return e},parseMonthsRange:function(a,b){var c=new Date(a);var d=new Date(b);var e=new Array;var f=0;do{e[f++]=new Date(c.getFullYear(),c.getMonth(),1);c.setMonth(c.getMonth()+1)}while(c.getTime()<=b.getTime());return e},dateDeserialize:function(dateStr){var date=eval("new"+dateStr.replace(/\//g," "));return new Date(date.getUTCFullYear(),date.getUTCMonth(),date.getUTCDate(),date.getUTCHours(),date.getUTCMinutes())},genId:function(a){var b=new Date(a);switch(settings.scale){case"hours":var c=b.getHours();if(arguments.length>=2)c=Math.floor(b.getHours()/arguments[1])*arguments[1];return(new Date(b.getFullYear(),b.getMonth(),b.getDate(),c)).getTime();break;case"weeks":return b.getFullYear()+"-"+b.getDayForWeek().getWeekOfYear();break;case"months":return b.getFullYear()+"-"+b.getMonth();break;default:return(new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime();break}},_getCellSize:null,getCellSize:function(){if(!tools._getCellSize){$("body").append($('<div style="display: none; position: absolute;" class="fn-gantt" id="measureCellWidth"><div class="row"></div></div>'));tools._getCellSize=$("#measureCellWidth .row").height();$("#measureCellWidth").empty().remove()}return tools._getCellSize},getRightPanelSize:function(){$("body").append($('<div style="display: none; position: absolute;" class="fn-gantt" id="measureCellWidth"><div class="rightPanel"></div></div>'));var a=$("#measureCellWidth .rightPanel").height();$("#measureCellWidth").empty().remove();return a},getPageHeight:function(a){return a.pageNum+1===a.pageCount?rowsOnLastPage*tools.getCellSize():settings.itemsPerPage*tools.getCellSize()},_getProgressBarMargin:null,getProgressBarMargin:function(){if(!tools._getProgressBarMargin){$("body").append($('<div style="display: none; position: absolute;" id="measureBarWidth" ><div class="fn-gantt"><div class="rightPanel"><div class="dataPanel"><div class="row day"><div class="bar" /></div></div></div></div></div>'));tools._getProgressBarMargin=parseInt($("#measureBarWidth .fn-gantt .rightPanel .day .bar").css("margin-left").replace("px",""));tools._getProgressBarMargin+=parseInt($("#measureBarWidth .fn-gantt .rightPanel .day .bar").css("margin-right").replace("px",""));$("#measureBarWidth").empty().remove()}return tools._getProgressBarMargin}};this.each(function(){if(options)$.extend(settings,options);this.data=null;this.pageNum=0;this.pageCount=0;this.rowsOnLastPage=0;this.rowsNum=0;this.hPosition=0;this.dateStart=null;this.dateEnd=null;this.scrollClicked=false;this.scaleOldWidth=null;this.headerRows=null;switch(settings.scale){case"hours":this.headerRows=5;this.scaleStep=1;break;case"weeks":this.headerRows=3;this.scaleStep=13;break;case"months":this.headerRows=2;this.scaleStep=14;break;default:this.headerRows=4;this.scaleStep=13;break}this.scrollNavigation={panelMouseDown:false,scrollerMouseDown:false,mouseX:null,panelMargin:0,repositionDelay:0,panelMaxPos:0,canScroll:true};this.gantt=null;this.loader=null;core.create(this)})}})(jQuery)
View
251 style.css
@@ -1,18 +1,11 @@
-body {
- font-family: Arial, Arial, Helvetica, sans-serif;
- font-size: 11px;
-}
-
.gantt, .gantt2 {
- /*width: 575px;*/
- width: 800px;
+ width: 100%;
height: 500px;
margin: 20px auto;
- border: 15px solid #ddd;
-
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
+ border: 14px solid #ddd;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
}
.gantt:after {
@@ -33,15 +26,18 @@ body {
width: 100%;
}
-/* left panel */
+
+
+
+/* === LEFT PANEL === */
.fn-gantt .leftPanel {
float: left;
- width: 200px;
+ width: 225px;
overflow: hidden;
border-right: 1px solid #DDD;
position: relative;
- z-index: 20000;
+ z-index: 20;
}
.fn-gantt .row {
@@ -49,8 +45,9 @@ body {
height: 24px;
line-height: 24px;
}
-.fn-gantt .leftPanel .label {
+.fn-gantt .leftPanel .fn-label {
margin: 0 0 0 5px;
+ color: #484A4D;
}
.fn-gantt .leftPanel .row0 {
@@ -65,11 +62,12 @@ body {
}
.fn-gantt .leftPanel .name {
- width: 100px;
+ width: 110px;
+ font-weight: bold;
}
.fn-gantt .leftPanel .desc {
- width: 100px;
+ width: 115px;
}
.fn-gantt .spacer
@@ -79,11 +77,12 @@ body {
background-color: #f6f6f6;
}
-/* right panel */
+
+
+
+/* === RIGHT PANEL === */
.fn-gantt .rightPanel {
- float: left;
- width: 599px;
overflow: hidden;
}
@@ -108,18 +107,22 @@ body {
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);
}
-.fn-gantt .hollyday {
+.fn-gantt .holiday {
background-color: #f9e5e2;
height: 23px;
margin: 0 0 -1px -1px;
}
.fn-gantt .today {
- background-color: #e2ebff;
+ background-color: #fff8da;
height: 23px;
margin: 0 0 -1px -1px;
+ font-weight: bold;
}
.fn-gantt .sa, .fn-gantt .sn, .fn-gantt .wd {
@@ -127,12 +130,9 @@ body {
margin: 0 0 0 -1px;
}
-.fn-gantt .sa {
- background-color: #eeeeee;
-}
-
-.fn-gantt .sn {
- background-color: #eeeeee;
+.fn-gantt .sa, .fn-gantt .sn {
+ color: #939496;
+ background-color: #f5f5f5;
}
.fn-gantt .wd {
@@ -147,6 +147,10 @@ body {
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);
}
.fn-gantt-hint {
@@ -158,39 +162,60 @@ body {
padding: 10px;
position: absolute;
display: none;
- z-index: 10001;
+ z-index: 11;
}
.fn-gantt .bar {
border: none;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- background-color: #89c5f8;
+ background-color: #D0E4FD;
height: 18px;
margin: 4px 3px 3px 3px;
position: absolute;
- z-index: 10000;
+ z-index: 10;
+ -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 .label {
+.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;
}
.fn-gantt .ganttRed {
- background-color: #8F0000;
+ background-color: #F9C4E1;
+}
+.fn-gantt .ganttRed .fn-label {
+ color: #78436D !important;
}
.fn-gantt .ganttGreen {
- background-color: #b3cf6f;
+ background-color: #D8EDA3;
+}
+.fn-gantt .ganttGreen .fn-label {
+ color: #778461 !important;
}
.fn-gantt .ganttOrange {
- background-color: #ff7e24;
+ background-color: #FCD29A;
}
+.fn-gantt .ganttOrange .fn-label {
+ color: #714715 !important;
+}
+
-/* bottom (navigation) */
+
+
+/* === BOTTOM NAVIGATION === */
.fn-gantt .bottom {
clear: both;
@@ -198,12 +223,12 @@ body {
width: 100%;
}
.fn-gantt .navigate {
- text-align: center;
border-top: 1px solid #DDD;
+ padding: 10px 0 10px 225px;
}
.fn-gantt .navigate .nav-slider {
- width: 390px;
+ height: 20px;
display: inline-block;
}
@@ -227,35 +252,34 @@ body {
width: 160px;
height: 20px;
display: inline-block;
- padding: 10px;
- margin: 0;
+ margin: 0 10px;
}
.fn-gantt .navigate .nav-slider-bar, .fn-gantt .navigate .nav-slider-button {
position: absolute;
- display: inline-block;
+ display: block;
}
.fn-gantt .navigate .nav-slider-bar {
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- width: 150px;
- height: 10px;
- background-color: #DDD;
- margin: 5px 0 5px 0;
+ 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 {
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- width: 14px;
- height: 14px;
- background-color: #888;
+ width: 17px;
+ height: 21px;
+ background: url(img/slider_handle.png);
left: 0px;
top: 0px;
- margin: -2px 0 0 0;
+ margin: -4px 0 0 0;
cursor: pointer;
}
@@ -267,9 +291,10 @@ body {
.fn-gantt .navigate .page-number span {
color: #666666;
- margin: 5px;
- position: relative;
- top: 13px;
+ 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 {
@@ -277,125 +302,89 @@ body {
}
.fn-gantt .nav-link {
- margin: 0px 0px 8px 0px;
+ 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-image: url(img/buttons.png);
- background-position: 0 0;
+ background-position: 1px 0 !important;
+ margin: 0;
}
.fn-gantt .navigate .nav-page-next {
- background-image: url(img/buttons.png);
- background-position: -50px 0;
+ background-position: 1px -16px !important;
margin-right: 15px;
}
.fn-gantt .navigate .nav-slider .nav-page-next {
margin-right: 5px;
}
-
-.fn-gantt .navigate .nav-page-back:hover {
- background-position: 0 -20px;
-}
-
-.fn-gantt .navigate .nav-page-next:hover {
- background-position: -50px -20px;
-}
.fn-gantt .navigate .nav-begin {
- background-image: url(img/buttons.png);
- background-position: -70px 0;
+ background-position: 1px -112px !important;
}
.fn-gantt .navigate .nav-prev-week {
- background-image: url(img/buttons.png);
- background-position: -90px 0;
+ background-position: 1px -128px !important;
}
.fn-gantt .navigate .nav-prev-day {
- background-image: url(img/buttons.png);
- background-position: -110px 0;
+ background-position: 1px -48px !important;
}
.fn-gantt .navigate .nav-next-day {
- background-image: url(img/buttons.png);
- background-position: -130px 0;
+ background-position: 1px -64px !important;
}
.fn-gantt .navigate .nav-next-week {
- background-image: url(img/buttons.png);
- background-position: -150px 0;
+ background-position: 1px -144px !important;
}
.fn-gantt .navigate .nav-end {
- background-image: url(img/buttons.png);
- background-position: -170px 0;
+ background-position: 1px -160px !important;
}
.fn-gantt .navigate .nav-zoomOut {
- background-image: url(img/buttons.png);
- background-position: -190px 0;
-}
-
-.fn-gantt .navigate .nav-zoomOut:hover {
- background-position: -190px -20px;
+ background-position: 1px -96px !important;
}
.fn-gantt .navigate .nav-zoomIn {
- background-image: url(img/buttons.png);
- background-position: -210px 0;
+ background-position: 1px -80px !important;
margin-left: 15px;
}
-.fn-gantt .navigate .nav-zoomIn:hover {
- background-position: -210px -20px;
-}
-
.fn-gantt .navigate .nav-now {
- background-image: url(img/buttons.png);
- background-position: -230px 0;
+ background-position: 1px -32px !important;
}
.fn-gantt .navigate .nav-slider .nav-now {
margin-right: 5px;
}
-.fn-gantt .navigate .nav-now:hover {
- background-position: -230px -20px;
-}
-
-.fn-gantt .navigate .nav-begin:hover {
- background-position: -70px -20px;
-}
-
-.fn-gantt .navigate .nav-prev-week:hover {
- background-position: -90px -20px;
-}
-
-.fn-gantt .navigate .nav-prev-day:hover {
- background-position: -110px -20px;
-}
-
-.fn-gantt .navigate .nav-next-day:hover {
- background-position: -130px -20px;
-}
-
-.fn-gantt .navigate .nav-next-week:hover {
- background-position: -150px -20px;
-}
-
-.fn-gantt .navigate .nav-end:hover {
- background-position: -170px -20px;
-}
-
.fn-gantt-loader {
- background-image: url(img/loader-bg.png);
- z-index: 30000;
+ background-image: url(img/loader_bg.png);
+ z-index: 30;
}
.fn-gantt-loader-spinner {
Please sign in to comment.
Something went wrong with that request. Please try again.