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-weight: bold;
|
||||
}
|
||||
.hl { background-color: hsl(0,62%,60%); color: white; }
|
||||
.hl { background-color: hsl(0,90%,80%); color: white; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -82,7 +82,8 @@
|
|||
],
|
||||
fts: [ "SX Session",
|
||||
"Bug Squashing",
|
||||
"Secure Client" ],
|
||||
"Secure Client",
|
||||
"PTO"],
|
||||
assignments: {}
|
||||
};
|
||||
}
|
||||
|
@ -211,8 +212,18 @@
|
|||
}
|
||||
|
||||
function genColor(devname) {
|
||||
var h = hashcode(devname);
|
||||
return "hsl(" + h + ",90%, 80%)";
|
||||
var hue = hashcode(devname);
|
||||
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){
|
||||
|
|
Loading…
Reference in a new issue