| 1 |
<table class="dojoxColorPicker" dojoAttachEvent="onkeypress: _handleKey" cellpadding="0" cellspacing="0" role="presentation"> |
| 2 |
<tr> |
| 3 |
<td valign="top" class="dojoxColorPickerRightPad"> |
| 4 |
<div class="dojoxColorPickerBox"> |
| 5 |
|
| 6 |
<img title="${saturationPickerTitle}" alt="${saturationPickerTitle}" class="dojoxColorPickerPoint" src="${_pickerPointer}" tabIndex="0" dojoAttachPoint="cursorNode" style="position: absolute; top: 0px; left: 0px;"> |
| 7 |
<img role="presentation" alt="" dojoAttachPoint="colorUnderlay" dojoAttachEvent="onclick: _setPoint, onmousedown: _stopDrag" class="dojoxColorPickerUnderlay" src="${_underlay}" ondragstart="return false"> |
| 8 |
</div> |
| 9 |
</td> |
| 10 |
<td valign="top" class="dojoxColorPickerRightPad"> |
| 11 |
<div class="dojoxHuePicker"> |
| 12 |
|
| 13 |
<img dojoAttachPoint="hueCursorNode" tabIndex="0" class="dojoxHuePickerPoint" title="${huePickerTitle}" alt="${huePickerTitle}" src="${_huePickerPointer}" style="position: absolute; top: 0px; left: 0px;"> |
| 14 |
<div class="dojoxHuePickerUnderlay" dojoAttachPoint="hueNode"> |
| 15 |
<img role="presentation" alt="" dojoAttachEvent="onclick: _setHuePoint, onmousedown: _stopDrag" src="${_hueUnderlay}"> |
| 16 |
</div> |
| 17 |
</div> |
| 18 |
</td> |
| 19 |
<td valign="top"> |
| 20 |
<table cellpadding="0" cellspacing="0" role="presentation"> |
| 21 |
<tr> |
| 22 |
<td valign="top" class="dojoxColorPickerPreviewContainer"> |
| 23 |
<table cellpadding="0" cellspacing="0" role="presentation"> |
| 24 |
<tr> |
| 25 |
<td valign="top" class="dojoxColorPickerRightPad"> |
| 26 |
<div dojoAttachPoint="previewNode" class="dojoxColorPickerPreview"></div> |
| 27 |
</td> |
| 28 |
<td valign="top"> |
| 29 |
<div dojoAttachPoint="safePreviewNode" class="dojoxColorPickerWebSafePreview"></div> |
| 30 |
</td> |
| 31 |
</tr> |
| 32 |
</table> |
| 33 |
</td> |
| 34 |
</tr> |
| 35 |
<tr> |
| 36 |
<td valign="bottom"> |
| 37 |
<table class="dojoxColorPickerOptional" cellpadding="0" cellspacing="0" role="presentation"> |
| 38 |
<tr> |
| 39 |
<td> |
| 40 |
<div class="dijitInline dojoxColorPickerRgb" dojoAttachPoint="rgbNode"> |
| 41 |
<table cellpadding="1" cellspacing="1" role="presentation"> |
| 42 |
<tr><td><label for="${_uId}_r">${redLabel}</label></td><td><input id="${_uId}_r" dojoAttachPoint="Rval" size="1" dojoAttachEvent="onchange: _colorInputChange"></td></tr> |
| 43 |
<tr><td><label for="${_uId}_g">${greenLabel}</label></td><td><input id="${_uId}_g" dojoAttachPoint="Gval" size="1" dojoAttachEvent="onchange: _colorInputChange"></td></tr> |
| 44 |
<tr><td><label for="${_uId}_b">${blueLabel}</label></td><td><input id="${_uId}_b" dojoAttachPoint="Bval" size="1" dojoAttachEvent="onchange: _colorInputChange"></td></tr> |
| 45 |
</table> |
| 46 |
</div> |
| 47 |
</td> |
| 48 |
<td> |
| 49 |
<div class="dijitInline dojoxColorPickerHsv" dojoAttachPoint="hsvNode"> |
| 50 |
<table cellpadding="1" cellspacing="1" role="presentation"> |
| 51 |
<tr><td><label for="${_uId}_h">${hueLabel}</label></td><td><input id="${_uId}_h" dojoAttachPoint="Hval"size="1" dojoAttachEvent="onchange: _colorInputChange"> ${degLabel}</td></tr> |
| 52 |
<tr><td><label for="${_uId}_s">${saturationLabel}</label></td><td><input id="${_uId}_s" dojoAttachPoint="Sval" size="1" dojoAttachEvent="onchange: _colorInputChange"> ${percentSign}</td></tr> |
| 53 |
<tr><td><label for="${_uId}_v">${valueLabel}</label></td><td><input id="${_uId}_v" dojoAttachPoint="Vval" size="1" dojoAttachEvent="onchange: _colorInputChange"> ${percentSign}</td></tr> |
| 54 |
</table> |
| 55 |
</div> |
| 56 |
</td> |
| 57 |
</tr> |
| 58 |
<tr> |
| 59 |
<td colspan="2"> |
| 60 |
<div class="dojoxColorPickerHex" dojoAttachPoint="hexNode" aria-live="polite"> |
| 61 |
<label for="${_uId}_hex"> ${hexLabel} </label><input id="${_uId}_hex" dojoAttachPoint="hexCode, focusNode, valueNode" size="6" class="dojoxColorPickerHexCode" dojoAttachEvent="onchange: _colorInputChange"> |
| 62 |
</div> |
| 63 |
</td> |
| 64 |
</tr> |
| 65 |
</table> |
| 66 |
</td> |
| 67 |
</tr> |
| 68 |
</table> |
| 69 |
</td> |
| 70 |
</tr> |
| 71 |
</table> |
| 72 |
|