diff options
Diffstat (limited to 'includes/js/dijit/form/templates')
-rw-r--r-- | includes/js/dijit/form/templates/Button.html | 11 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/CheckBox.html | 7 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/ComboBox.html | 19 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/ComboButton.html | 21 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/DropDownButton.html | 13 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/HorizontalSlider.html | 37 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/InlineEditBox.html | 12 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/Spinner.html | 28 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/TextBox.html | 4 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/TimePicker.html | 5 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/ValidationTextBox.html | 12 | ||||
-rw-r--r-- | includes/js/dijit/form/templates/VerticalSlider.html | 46 |
12 files changed, 215 insertions, 0 deletions
diff --git a/includes/js/dijit/form/templates/Button.html b/includes/js/dijit/form/templates/Button.html new file mode 100644 index 0000000..09dbad8 --- /dev/null +++ b/includes/js/dijit/form/templates/Button.html @@ -0,0 +1,11 @@ +<div class="dijit dijitReset dijitLeft dijitInline" + dojoAttachEvent="onclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" + waiRole="presentation" + ><button class="dijitReset dijitStretch dijitButtonNode dijitButtonContents" dojoAttachPoint="focusNode,titleNode" + type="${type}" waiRole="button" waiState="labelledby-${id}_label" + ><span class="dijitReset dijitInline ${iconClass}" dojoAttachPoint="iconNode" + ><span class="dijitReset dijitToggleButtonIconChar">✓</span + ></span + ><div class="dijitReset dijitInline"><center class="dijitReset dijitButtonText" id="${id}_label" dojoAttachPoint="containerNode">${label}</center></div + ></button +></div> diff --git a/includes/js/dijit/form/templates/CheckBox.html b/includes/js/dijit/form/templates/CheckBox.html new file mode 100644 index 0000000..580b820 --- /dev/null +++ b/includes/js/dijit/form/templates/CheckBox.html @@ -0,0 +1,7 @@ +<div class="dijitReset dijitInline" waiRole="presentation" + ><input + type="${type}" name="${name}" + class="dijitReset dijitCheckBoxInput" + dojoAttachPoint="focusNode" + dojoAttachEvent="onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick" +/></div> diff --git a/includes/js/dijit/form/templates/ComboBox.html b/includes/js/dijit/form/templates/ComboBox.html new file mode 100644 index 0000000..b957b54 --- /dev/null +++ b/includes/js/dijit/form/templates/ComboBox.html @@ -0,0 +1,19 @@ +<div class="dijit dijitReset dijitInlineTable dijitLeft" + id="widget_${id}" + dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" dojoAttachPoint="comboNode" waiRole="combobox" tabIndex="-1" + ><div style="overflow:hidden;" + ><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton' + dojoAttachPoint="downArrowNode" waiRole="presentation" + dojoAttachEvent="onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse" + ><div class="dijitArrowButtonInner"> </div + ><div class="dijitArrowButtonChar">▼</div + ></div + ><div class="dijitReset dijitValidationIcon"><br></div + ><div class="dijitReset dijitValidationIconText">Χ</div + ><div class="dijitReset dijitInputField" + ><input type="text" autocomplete="off" name="${name}" class='dijitReset' + dojoAttachEvent="onkeypress:_onKeyPress, onfocus:_update, compositionend,onkeyup" + dojoAttachPoint="textbox,focusNode" waiRole="textbox" waiState="haspopup-true,autocomplete-list" + /></div + ></div +></div> diff --git a/includes/js/dijit/form/templates/ComboButton.html b/includes/js/dijit/form/templates/ComboButton.html new file mode 100644 index 0000000..6b46ea0 --- /dev/null +++ b/includes/js/dijit/form/templates/ComboButton.html @@ -0,0 +1,21 @@ +<table class='dijit dijitReset dijitInline dijitLeft' + cellspacing='0' cellpadding='0' waiRole="presentation" + ><tbody waiRole="presentation"><tr waiRole="presentation" + ><td class="dijitReset dijitStretch dijitButtonContents dijitButtonNode" + tabIndex="${tabIndex}" + dojoAttachEvent="ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" dojoAttachPoint="titleNode" + waiRole="button" waiState="labelledby-${id}_label" + ><div class="dijitReset dijitInline ${iconClass}" dojoAttachPoint="iconNode" waiRole="presentation"></div + ><div class="dijitReset dijitInline dijitButtonText" id="${id}_label" dojoAttachPoint="containerNode" waiRole="presentation">${label}</div + ></td + ><td class='dijitReset dijitStretch dijitButtonNode dijitArrowButton dijitDownArrowButton' + dojoAttachPoint="popupStateNode,focusNode" + dojoAttachEvent="ondijitclick:_onArrowClick, onkeypress:_onKey,onmouseenter:_onMouse,onmouseleave:_onMouse" + stateModifier="DownArrow" + title="${optionsTitle}" name="${name}" + waiRole="button" waiState="haspopup-true" + ><div class="dijitReset dijitArrowButtonInner" waiRole="presentation"> </div + ><div class="dijitReset dijitArrowButtonChar" waiRole="presentation">▼</div + ></td + ></tr></tbody +></table> diff --git a/includes/js/dijit/form/templates/DropDownButton.html b/includes/js/dijit/form/templates/DropDownButton.html new file mode 100644 index 0000000..2e62f55 --- /dev/null +++ b/includes/js/dijit/form/templates/DropDownButton.html @@ -0,0 +1,13 @@ +<div class="dijit dijitReset dijitLeft dijitInline" + dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey" + waiRole="presentation" + ><div class='dijitReset dijitRight' waiRole="presentation" + ><button class="dijitReset dijitStretch dijitButtonNode dijitButtonContents" type="${type}" + dojoAttachPoint="focusNode,titleNode" waiRole="button" waiState="haspopup-true,labelledby-${id}_label" + ><div class="dijitReset dijitInline ${iconClass}" dojoAttachPoint="iconNode" waiRole="presentation"></div + ><div class="dijitReset dijitInline dijitButtonText" dojoAttachPoint="containerNode,popupStateNode" waiRole="presentation" + id="${id}_label">${label}</div + ><div class="dijitReset dijitInline dijitArrowButtonInner" waiRole="presentation"> </div + ><div class="dijitReset dijitInline dijitArrowButtonChar" waiRole="presentation">▼</div + ></button +></div></div> diff --git a/includes/js/dijit/form/templates/HorizontalSlider.html b/includes/js/dijit/form/templates/HorizontalSlider.html new file mode 100644 index 0000000..4dac451 --- /dev/null +++ b/includes/js/dijit/form/templates/HorizontalSlider.html @@ -0,0 +1,37 @@ +<table class="dijit dijitReset dijitSlider" cellspacing="0" cellpadding="0" border="0" rules="none" + ><tr class="dijitReset" + ><td class="dijitReset" colspan="2"></td + ><td dojoAttachPoint="containerNode,topDecoration" class="dijitReset" style="text-align:center;width:100%;"></td + ><td class="dijitReset" colspan="2"></td + ></tr + ><tr class="dijitReset" + ><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH" + ><div class="dijitSliderDecrementIconH" tabIndex="-1" style="display:none" dojoAttachPoint="decrementButton" dojoAttachEvent="onclick: decrement"><span class="dijitSliderButtonInner">-</span></div + ></td + ><td class="dijitReset" + ><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper dijitSliderLeftBumper" dojoAttachEvent="onclick:_onClkDecBumper"></div + ></td + ><td class="dijitReset" + ><input dojoAttachPoint="valueNode" type="hidden" name="${name}" + /><div waiRole="presentation" style="position:relative;" dojoAttachPoint="sliderBarContainer" + ><div waiRole="presentation" dojoAttachPoint="progressBar" class="dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" dojoAttachEvent="onclick:_onBarClick" + ><div dojoAttachPoint="sliderHandle,focusNode" class="dijitSliderMoveable dijitSliderMoveableH" dojoAttachEvent="onkeypress:_onKeyPress,onmousedown:_onHandleClick" waiRole="slider" valuemin="${minimum}" valuemax="${maximum}" + ><div class="dijitSliderImageHandle dijitSliderImageHandleH"></div + ></div + ></div + ><div waiRole="presentation" dojoAttachPoint="remainingBar" class="dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH" dojoAttachEvent="onclick:_onBarClick"></div + ></div + ></td + ><td class="dijitReset" + ><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper dijitSliderRightBumper" dojoAttachEvent="onclick:_onClkIncBumper"></div + ></td + ><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH" style="right:0px;" + ><div class="dijitSliderIncrementIconH" tabIndex="-1" style="display:none" dojoAttachPoint="incrementButton" dojoAttachEvent="onclick: increment"><span class="dijitSliderButtonInner">+</span></div + ></td + ></tr + ><tr class="dijitReset" + ><td class="dijitReset" colspan="2"></td + ><td dojoAttachPoint="containerNode,bottomDecoration" class="dijitReset" style="text-align:center;"></td + ><td class="dijitReset" colspan="2"></td + ></tr +></table> diff --git a/includes/js/dijit/form/templates/InlineEditBox.html b/includes/js/dijit/form/templates/InlineEditBox.html new file mode 100644 index 0000000..6db3496 --- /dev/null +++ b/includes/js/dijit/form/templates/InlineEditBox.html @@ -0,0 +1,12 @@ +<span + ><fieldset dojoAttachPoint="editNode" style="display:none;" waiRole="presentation" + ><div dojoAttachPoint="containerNode" dojoAttachEvent="onkeypress:_onEditWidgetKeyPress"></div + ><div dojoAttachPoint="buttonContainer" + ><button class='saveButton' dojoAttachPoint="saveButton" dojoType="dijit.form.Button" dojoAttachEvent="onClick:save">${buttonSave}</button + ><button class='cancelButton' dojoAttachPoint="cancelButton" dojoType="dijit.form.Button" dojoAttachEvent="onClick:cancel">${buttonCancel}</button + ></div + ></fieldset + ><span tabIndex="0" dojoAttachPoint="textNode,focusNode" waiRole="button" style="display:none;" + dojoAttachEvent="onkeypress:_onKeyPress,onclick:_onClick,onmouseout:_onMouseOut,onmouseover:_onMouseOver,onfocus:_onMouseOver,onblur:_onMouseOut" + ></span +></span> diff --git a/includes/js/dijit/form/templates/Spinner.html b/includes/js/dijit/form/templates/Spinner.html new file mode 100644 index 0000000..981c698 --- /dev/null +++ b/includes/js/dijit/form/templates/Spinner.html @@ -0,0 +1,28 @@ +<div class="dijit dijitReset dijitInlineTable dijitLeft" + id="widget_${id}" + dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" waiRole="presentation" + ><div class="dijitInputLayoutContainer" + ><div class="dijitReset dijitSpinnerButtonContainer" + > <div class="dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton" + dojoAttachPoint="upArrowNode" + dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse" + stateModifier="UpArrow" + ><div class="dijitArrowButtonInner"> </div + ><div class="dijitArrowButtonChar">▲</div + ></div + ><div class="dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton" + dojoAttachPoint="downArrowNode" + dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse" + stateModifier="DownArrow" + ><div class="dijitArrowButtonInner"> </div + ><div class="dijitArrowButtonChar">▼</div + ></div + ></div + ><div class="dijitReset dijitValidationIcon"><br></div + ><div class="dijitReset dijitValidationIconText">Χ</div + ><div class="dijitReset dijitInputField" + ><input class='dijitReset' dojoAttachPoint="textbox,focusNode" type="${type}" dojoAttachEvent="onfocus:_update,onkeyup:_onkeyup,onkeypress:_onKeyPress" + waiRole="spinbutton" autocomplete="off" name="${name}" + /></div + ></div +></div> diff --git a/includes/js/dijit/form/templates/TextBox.html b/includes/js/dijit/form/templates/TextBox.html new file mode 100644 index 0000000..804fe1e --- /dev/null +++ b/includes/js/dijit/form/templates/TextBox.html @@ -0,0 +1,4 @@ +<input class="dijit dijitReset dijitLeft" dojoAttachPoint='textbox,focusNode' name="${name}" + dojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeypress:_onKeyPress,onkeyup' + autocomplete="off" type="${type}" + />
\ No newline at end of file diff --git a/includes/js/dijit/form/templates/TimePicker.html b/includes/js/dijit/form/templates/TimePicker.html new file mode 100644 index 0000000..0bf3c40 --- /dev/null +++ b/includes/js/dijit/form/templates/TimePicker.html @@ -0,0 +1,5 @@ +<div id="widget_${id}" class="dijitMenu" + ><div dojoAttachPoint="upArrow" class="dijitButtonNode"><span class="dijitTimePickerA11yText">▲</span></div + ><div dojoAttachPoint="timeMenu,focusNode" dojoAttachEvent="onclick:_onOptionSelected,onmouseover,onmouseout"></div + ><div dojoAttachPoint="downArrow" class="dijitButtonNode"><span class="dijitTimePickerA11yText">▼</span></div +></div> diff --git a/includes/js/dijit/form/templates/ValidationTextBox.html b/includes/js/dijit/form/templates/ValidationTextBox.html new file mode 100644 index 0000000..2bdb674 --- /dev/null +++ b/includes/js/dijit/form/templates/ValidationTextBox.html @@ -0,0 +1,12 @@ +<div class="dijit dijitReset dijitInlineTable dijitLeft" + id="widget_${id}" + dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" waiRole="presentation" + ><div style="overflow:hidden;" + ><div class="dijitReset dijitValidationIcon"><br></div + ><div class="dijitReset dijitValidationIconText">Χ</div + ><div class="dijitReset dijitInputField" + ><input class="dijitReset" dojoAttachPoint='textbox,focusNode' dojoAttachEvent='onfocus:_update,onkeyup:_onkeyup,onblur:_onMouse,onkeypress:_onKeyPress' autocomplete="off" + type='${type}' name='${name}' + /></div + ></div +></div> diff --git a/includes/js/dijit/form/templates/VerticalSlider.html b/includes/js/dijit/form/templates/VerticalSlider.html new file mode 100644 index 0000000..88b2951 --- /dev/null +++ b/includes/js/dijit/form/templates/VerticalSlider.html @@ -0,0 +1,46 @@ +<table class="dijitReset dijitSlider" cellspacing="0" cellpadding="0" border="0" rules="none" +><tbody class="dijitReset" + ><tr class="dijitReset" + ><td class="dijitReset"></td + ><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV" + ><div class="dijitSliderIncrementIconV" tabIndex="-1" style="display:none" dojoAttachPoint="incrementButton" dojoAttachEvent="onclick:_topButtonClicked"><span class="dijitSliderButtonInner">+</span></div + ></td + ><td class="dijitReset"></td + ></tr + ><tr class="dijitReset" + ><td class="dijitReset"></td + ><td class="dijitReset" + ><center><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper dijitSliderTopBumper" dojoAttachEvent="onclick:_onClkIncBumper"></div></center + ></td + ><td class="dijitReset"></td + ></tr + ><tr class="dijitReset" + ><td dojoAttachPoint="leftDecoration" class="dijitReset" style="text-align:center;height:100%;"></td + ><td class="dijitReset" style="height:100%;" + ><input dojoAttachPoint="valueNode" type="hidden" name="${name}" + /><center waiRole="presentation" style="position:relative;height:100%;" dojoAttachPoint="sliderBarContainer" + ><div waiRole="presentation" dojoAttachPoint="remainingBar" class="dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV" dojoAttachEvent="onclick:_onBarClick"><!--#5629--></div + ><div waiRole="presentation" dojoAttachPoint="progressBar" class="dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV" dojoAttachEvent="onclick:_onBarClick" + ><div dojoAttachPoint="sliderHandle,focusNode" class="dijitSliderMoveable" dojoAttachEvent="onkeypress:_onKeyPress,onmousedown:_onHandleClick" style="vertical-align:top;" waiRole="slider" valuemin="${minimum}" valuemax="${maximum}" + ><div class="dijitSliderImageHandle dijitSliderImageHandleV"></div + ></div + ></div + ></center + ></td + ><td dojoAttachPoint="containerNode,rightDecoration" class="dijitReset" style="text-align:center;height:100%;"></td + ></tr + ><tr class="dijitReset" + ><td class="dijitReset"></td + ><td class="dijitReset" + ><center><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper dijitSliderBottomBumper" dojoAttachEvent="onclick:_onClkDecBumper"></div></center + ></td + ><td class="dijitReset"></td + ></tr + ><tr class="dijitReset" + ><td class="dijitReset"></td + ><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV" + ><div class="dijitSliderDecrementIconV" tabIndex="-1" style="display:none" dojoAttachPoint="decrementButton" dojoAttachEvent="onclick:_bottomButtonClicked"><span class="dijitSliderButtonInner">-</span></div + ></td + ><td class="dijitReset"></td + ></tr +></tbody></table> |