10
0
Fork 0

make it braun

This commit is contained in:
Morris Jobke 2014-10-31 00:54:09 +01:00
parent 03a72f78ac
commit e5caab5692
1 changed files with 4 additions and 4 deletions

View File

@ -53,14 +53,14 @@
<div id="form"> <div id="form">
<form id="changeLight"> <form id="changeLight">
<label for="fadestep">Umschaltzeit in Sekunden: </label> <label for="fadestep">Umschaltzeit in Sekunden: </label>
<input name="fadestep" type="text" value="3"><br /> <input name="fadestep" type="text" value="10"><br />
<input name="color" type="text" value="003d69" id="picker"> <input name="color" type="text" value="003d69" id="picker">
<div id="picker2"></div> <div id="picker2"></div>
<input id="mode-flashy" name="mode" type="radio" value="y"> <input id="mode-flashy" name="mode" type="radio" value="y">
<label for="mode-flashy">Hektisch</label> <label for="mode-flashy">Hektisch</label>
<input id="mode-instant" name="mode" type="radio" value="s" checked="checked"> <input id="mode-instant" name="mode" type="radio" value="s">
<label for="mode-instant">Sofort</label> <label for="mode-instant">Sofort</label>
<input id="mode-fade" name="mode" type="radio" value="f"> <input id="mode-fade" name="mode" type="radio" value="f" checked="checked">
<label for="mode-fade">Geschmeidig</label><br /> <label for="mode-fade">Geschmeidig</label><br />
<button type="submit" id="submit">Erhelle mich!</button> <button type="submit" id="submit">Erhelle mich!</button>
</form> </form>
@ -71,7 +71,7 @@
submit:0, submit:0,
colorScheme:'light', colorScheme:'light',
flat: true, flat: true,
color: '003d69', color: 'ab571f',
onChange:function(hsb,hex,rgb,el,bySetColor) { onChange:function(hsb,hex,rgb,el,bySetColor) {
// Fill the text box just if the color was set using the picker, and not the colpickSetColor function. // Fill the text box just if the color was set using the picker, and not the colpickSetColor function.
if(!bySetColor) $('#picker').val(hex); if(!bySetColor) $('#picker').val(hex);