Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable useless nav buttons #199

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
12 changes: 11 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
width: 20px;
height: 20px;
font-size: 0px;
background: #595959 url(../img/icon_sprite.png) !important;
background: #595959 url(../img/icon_sprite.png);
border: 1px solid #454546;
cursor: pointer;
vertical-align: top;
Expand All @@ -343,6 +343,16 @@
box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
}

.fn-gantt .nav-link:disabled {
border: 1px solid #C4C4C4;
background-color: #dddddd;
-webkit-box-shadow: 0 0px 0px rgba(0,0,0,0);
-moz-box-shadow: 0 0px 0px rgba(0,0,0,0);
box-shadow: 0 0px 0px rgba(0,0,0,0);

cursor: not-allowed;
}

.fn-gantt .navigate .nav-page-back {
background-position: 1px 0 !important;
margin: 0;
Expand Down
44 changes: 22 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>jQuery.Gantt</title>
Expand Down Expand Up @@ -185,7 +185,7 @@ <h2 id="config">
<code>"days"</code>
</td>
<td>
string ("months", "weeks", "days", "hours")
string ("months", "weeks", "days", "hours12", "hours6", "hours3", "hours")
</td>
</tr>
<tr>
Expand All @@ -196,7 +196,7 @@ <h2 id="config">
<code>"months"</code>
</td>
<td>
string ("months", "weeks", "days", "hours")
string ("months", "weeks", "days", "hours12", "hours6", "hours3", "hours")
</td>
</tr>
<tr>
Expand All @@ -207,7 +207,7 @@ <h2 id="config">
<code>"hours"</code>
</td>
<td>
string ("months", "weeks", "days", "hours")
string ("months", "weeks", "days", "hours12", "hours6", "hours3", "hours")
</td>
</tr>
<tr>
Expand Down Expand Up @@ -487,76 +487,76 @@ <h2 id="values">
name: "Sprint 0",
desc: "Analysis",
values: [{
from: "/Date(1320192000000)/",
to: "/Date(1322401600000)/",
from: "/Date(1446336000000)/",
to: "/Date(1448545600000)/",
label: "Requirement Gathering",
customClass: "ganttRed"
}]
},{
desc: "Scoping",
values: [{
from: "/Date(1322611200000)/",
to: "/Date(1323302400000)/",
from: "/Date(1448755200000)/",
to: "/Date(1449446400000)/",
label: "Scoping",
customClass: "ganttRed"
}]
},{
name: "Sprint 1",
desc: "Development",
values: [{
from: "/Date(1323802400000)/",
to: "/Date(1325685200000)/",
from: "/Date(1449946400000)/",
to: "/Date(1451829200000)/",
label: "Development",
customClass: "ganttGreen"
}]
},{
name: " ",
desc: "Showcasing",
values: [{
from: "/Date(1325685200000)/",
to: "/Date(1325695200000)/",
from: "/Date(1451829200000)/",
to: "/Date(1451839200000)/",
label: "Showcasing",
customClass: "ganttBlue"
}]
},{
name: "Sprint 2",
desc: "Development",
values: [{
from: "/Date(1326785200000)/",
to: "/Date(1325785200000)/",
from: "/Date(1452929200000)/",
to: "/Date(1451929200000)/",
label: "Development",
customClass: "ganttGreen"
}]
},{
desc: "Showcasing",
values: [{
from: "/Date(1328785200000)/",
to: "/Date(1328905200000)/",
from: "/Date(1454929200000)/",
to: "/Date(1455049200000)/",
label: "Showcasing",
customClass: "ganttBlue"
}]
},{
name: "Release Stage",
desc: "Training",
values: [{
from: "/Date(1330011200000)/",
to: "/Date(1336611200000)/",
from: "/Date(1456155200000)/",
to: "/Date(1462755200000)/",
label: "Training",
customClass: "ganttOrange"
}]
},{
desc: "Deployment",
values: [{
from: "/Date(1336611200000)/",
to: "/Date(1338711200000)/",
from: "/Date(1462755200000)/",
to: "/Date(1464855200000)/",
label: "Deployment",
customClass: "ganttOrange"
}]
},{
desc: "Warranty Period",
values: [{
from: "/Date(1336611200000)/",
to: "/Date(1349711200000)/",
from: "/Date(1462755200000)/",
to: "/Date(1475855200000)/",
label: "Warranty Period",
customClass: "ganttOrange"
}]
Expand Down
Loading