Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor changes to the style.
  • Loading branch information
rbpark committed Feb 5, 2011
1 parent cd02632 commit 3c2c979
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions azkaban/web/static/css/azkaban-history.css
Expand Up @@ -63,6 +63,7 @@ table {
text-align: center;
background-color: #444;
border: 2px solid #444;
overflow: hidden;
}

.gantts div.failed {
Expand Down
9 changes: 9 additions & 0 deletions azkaban/web/static/js/azkaban-history.js
Expand Up @@ -72,6 +72,15 @@ function createGantzChart(status, absStart, absEnd, start, end) {
else if(percentWidth < 1) {
percentWidth = 1;
}

if (startPercent + percentWidth > 98) {
if (percentWidth == 1) {
startPercent = 97;
}
else {
percentWidth = 98 - startPercent;
}
}
}

var generalBar = document.createElement("div");
Expand Down

0 comments on commit 3c2c979

Please sign in to comment.