improvements
This commit is contained in:
parent
fcd3383a25
commit
0433ad434f
1 changed files with 15 additions and 4 deletions
19
index.html
19
index.html
|
@ -38,7 +38,7 @@
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.hl { background-color: hsl(0,62%,60%); color: white; }
|
.hl { background-color: hsl(0,90%,80%); color: white; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -82,7 +82,8 @@
|
||||||
],
|
],
|
||||||
fts: [ "SX Session",
|
fts: [ "SX Session",
|
||||||
"Bug Squashing",
|
"Bug Squashing",
|
||||||
"Secure Client" ],
|
"Secure Client",
|
||||||
|
"PTO"],
|
||||||
assignments: {}
|
assignments: {}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -211,8 +212,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function genColor(devname) {
|
function genColor(devname) {
|
||||||
var h = hashcode(devname);
|
var hue = hashcode(devname);
|
||||||
return "hsl(" + h + ",90%, 80%)";
|
switch (devname) {
|
||||||
|
case "GE":
|
||||||
|
case "GB":
|
||||||
|
case "M":
|
||||||
|
case "Y":
|
||||||
|
hue = 0;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
hue = hue % 200 + 56;
|
||||||
|
}
|
||||||
|
return "hsl(" + hue + ",90%, 80%)";
|
||||||
}
|
}
|
||||||
|
|
||||||
function createDev(devname){
|
function createDev(devname){
|
||||||
|
|
Loading…
Reference in a new issue