diff options
Diffstat (limited to 'lib/dijit/templates')
-rw-r--r-- | lib/dijit/templates/Calendar.html | 35 | ||||
-rw-r--r-- | lib/dijit/templates/CheckedMenuItem.html | 10 | ||||
-rw-r--r-- | lib/dijit/templates/ColorPalette.html | 5 | ||||
-rw-r--r-- | lib/dijit/templates/Dialog.html | 9 | ||||
-rw-r--r-- | lib/dijit/templates/InlineEditBox.html | 10 | ||||
-rw-r--r-- | lib/dijit/templates/Menu.html | 3 | ||||
-rw-r--r-- | lib/dijit/templates/MenuBar.html | 1 | ||||
-rw-r--r-- | lib/dijit/templates/MenuBarItem.html | 4 | ||||
-rw-r--r-- | lib/dijit/templates/MenuItem.html | 14 | ||||
-rw-r--r-- | lib/dijit/templates/MenuSeparator.html | 10 | ||||
-rw-r--r-- | lib/dijit/templates/ProgressBar.html | 8 | ||||
-rw-r--r-- | lib/dijit/templates/TimePicker.html | 9 | ||||
-rw-r--r-- | lib/dijit/templates/TitlePane.html | 17 | ||||
-rw-r--r-- | lib/dijit/templates/Tooltip.html | 4 | ||||
-rw-r--r-- | lib/dijit/templates/TooltipDialog.html | 6 | ||||
-rw-r--r-- | lib/dijit/templates/Tree.html | 4 | ||||
-rw-r--r-- | lib/dijit/templates/TreeNode.html | 13 |
17 files changed, 162 insertions, 0 deletions
diff --git a/lib/dijit/templates/Calendar.html b/lib/dijit/templates/Calendar.html new file mode 100644 index 000000000..a3428f5c7 --- /dev/null +++ b/lib/dijit/templates/Calendar.html @@ -0,0 +1,35 @@ +<table cellspacing="0" cellpadding="0" class="dijitCalendarContainer" role="grid" aria-labelledby="${id}_mddb ${id}_year"> + <thead> + <tr class="dijitReset dijitCalendarMonthContainer" valign="top"> + <th class='dijitReset dijitCalendarArrow' data-dojo-attach-point="decrementMonth"> + <img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarDecrease" role="presentation"/> + <span data-dojo-attach-point="decreaseArrowNode" class="dijitA11ySideArrow">-</span> + </th> + <th class='dijitReset' colspan="5"> + <div data-dojo-attach-point="monthNode"> + </div> + </th> + <th class='dijitReset dijitCalendarArrow' data-dojo-attach-point="incrementMonth"> + <img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarIncrease" role="presentation"/> + <span data-dojo-attach-point="increaseArrowNode" class="dijitA11ySideArrow">+</span> + </th> + </tr> + <tr> + ${!dayCellsHtml} + </tr> + </thead> + <tbody data-dojo-attach-point="dateRowsNode" data-dojo-attach-event="onclick: _onDayClick" class="dijitReset dijitCalendarBodyContainer"> + ${!dateRowsHtml} + </tbody> + <tfoot class="dijitReset dijitCalendarYearContainer"> + <tr> + <td class='dijitReset' valign="top" colspan="7" role="presentation"> + <div class="dijitCalendarYearLabel"> + <span data-dojo-attach-point="previousYearLabelNode" class="dijitInline dijitCalendarPreviousYear" role="button"></span> + <span data-dojo-attach-point="currentYearLabelNode" class="dijitInline dijitCalendarSelectedYear" role="button" id="${id}_year"></span> + <span data-dojo-attach-point="nextYearLabelNode" class="dijitInline dijitCalendarNextYear" role="button"></span> + </div> + </td> + </tr> + </tfoot> +</table> diff --git a/lib/dijit/templates/CheckedMenuItem.html b/lib/dijit/templates/CheckedMenuItem.html new file mode 100644 index 000000000..8e1bf5773 --- /dev/null +++ b/lib/dijit/templates/CheckedMenuItem.html @@ -0,0 +1,10 @@ +<tr class="dijitReset dijitMenuItem" data-dojo-attach-point="focusNode" role="menuitemcheckbox" tabIndex="-1" + data-dojo-attach-event="onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick"> + <td class="dijitReset dijitMenuItemIconCell" role="presentation"> + <img src="${_blankGif}" alt="" class="dijitMenuItemIcon dijitCheckedMenuItemIcon" data-dojo-attach-point="iconNode"/> + <span class="dijitCheckedMenuItemIconChar">✓</span> + </td> + <td class="dijitReset dijitMenuItemLabel" colspan="2" data-dojo-attach-point="containerNode,labelNode"></td> + <td class="dijitReset dijitMenuItemAccelKey" style="display: none" data-dojo-attach-point="accelKeyNode"></td> + <td class="dijitReset dijitMenuArrowCell" role="presentation"> </td> +</tr> diff --git a/lib/dijit/templates/ColorPalette.html b/lib/dijit/templates/ColorPalette.html new file mode 100644 index 000000000..3f7f96065 --- /dev/null +++ b/lib/dijit/templates/ColorPalette.html @@ -0,0 +1,5 @@ +<div class="dijitInline dijitColorPalette"> + <table dojoAttachPoint="paletteTableNode" class="dijitPaletteTable" cellSpacing="0" cellPadding="0" role="grid"> + <tbody data-dojo-attach-point="gridNode"></tbody> + </table> +</div> diff --git a/lib/dijit/templates/Dialog.html b/lib/dijit/templates/Dialog.html new file mode 100644 index 000000000..1e4a2237a --- /dev/null +++ b/lib/dijit/templates/Dialog.html @@ -0,0 +1,9 @@ +<div class="dijitDialog" role="dialog" aria-labelledby="${id}_title"> + <div data-dojo-attach-point="titleBar" class="dijitDialogTitleBar"> + <span data-dojo-attach-point="titleNode" class="dijitDialogTitle" id="${id}_title"></span> + <span data-dojo-attach-point="closeButtonNode" class="dijitDialogCloseIcon" data-dojo-attach-event="ondijitclick: onCancel" title="${buttonCancel}" role="button" tabIndex="-1"> + <span data-dojo-attach-point="closeText" class="closeText" title="${buttonCancel}">x</span> + </span> + </div> + <div data-dojo-attach-point="containerNode" class="dijitDialogPaneContent"></div> +</div> diff --git a/lib/dijit/templates/InlineEditBox.html b/lib/dijit/templates/InlineEditBox.html new file mode 100644 index 000000000..75451e31f --- /dev/null +++ b/lib/dijit/templates/InlineEditBox.html @@ -0,0 +1,10 @@ +<span data-dojo-attach-point="editNode" role="presentation" style="position: absolute; visibility:hidden" class="dijitReset dijitInline" + data-dojo-attach-event="onkeypress: _onKeyPress" + ><span data-dojo-attach-point="editorPlaceholder"></span + ><span data-dojo-attach-point="buttonContainer" + ><button data-dojo-type="dijit.form.Button" data-dojo-props="label: '${buttonSave}', 'class': 'saveButton'" + data-dojo-attach-point="saveButton" data-dojo-attach-event="onClick:save"></button + ><button data-dojo-type="dijit.form.Button" data-dojo-props="label: '${buttonCancel}', 'class': 'cancelButton'" + data-dojo-attach-point="cancelButton" data-dojo-attach-event="onClick:cancel"></button + ></span +></span> diff --git a/lib/dijit/templates/Menu.html b/lib/dijit/templates/Menu.html new file mode 100644 index 000000000..45e12a011 --- /dev/null +++ b/lib/dijit/templates/Menu.html @@ -0,0 +1,3 @@ +<table class="dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable" role="menu" tabIndex="${tabIndex}" data-dojo-attach-event="onkeypress:_onKeyPress" cellspacing="0"> + <tbody class="dijitReset" data-dojo-attach-point="containerNode"></tbody> +</table> diff --git a/lib/dijit/templates/MenuBar.html b/lib/dijit/templates/MenuBar.html new file mode 100644 index 000000000..3ba1ea2b4 --- /dev/null +++ b/lib/dijit/templates/MenuBar.html @@ -0,0 +1 @@ +<div class="dijitMenuBar dijitMenuPassive" data-dojo-attach-point="containerNode" role="menubar" tabIndex="${tabIndex}" data-dojo-attach-event="onkeypress: _onKeyPress"></div> diff --git a/lib/dijit/templates/MenuBarItem.html b/lib/dijit/templates/MenuBarItem.html new file mode 100644 index 000000000..f5e262966 --- /dev/null +++ b/lib/dijit/templates/MenuBarItem.html @@ -0,0 +1,4 @@ +<div class="dijitReset dijitInline dijitMenuItem dijitMenuItemLabel" data-dojo-attach-point="focusNode" role="menuitem" tabIndex="-1" + data-dojo-attach-event="onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick"> + <span data-dojo-attach-point="containerNode"></span> +</div> diff --git a/lib/dijit/templates/MenuItem.html b/lib/dijit/templates/MenuItem.html new file mode 100644 index 000000000..b4fe7d603 --- /dev/null +++ b/lib/dijit/templates/MenuItem.html @@ -0,0 +1,14 @@ +<tr class="dijitReset dijitMenuItem" data-dojo-attach-point="focusNode" role="menuitem" tabIndex="-1" + data-dojo-attach-event="onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick"> + <td class="dijitReset dijitMenuItemIconCell" role="presentation"> + <img src="${_blankGif}" alt="" class="dijitIcon dijitMenuItemIcon" data-dojo-attach-point="iconNode"/> + </td> + <td class="dijitReset dijitMenuItemLabel" colspan="2" data-dojo-attach-point="containerNode"></td> + <td class="dijitReset dijitMenuItemAccelKey" style="display: none" data-dojo-attach-point="accelKeyNode"></td> + <td class="dijitReset dijitMenuArrowCell" role="presentation"> + <div data-dojo-attach-point="arrowWrapper" style="visibility: hidden"> + <img src="${_blankGif}" alt="" class="dijitMenuExpand"/> + <span class="dijitMenuExpandA11y">+</span> + </div> + </td> +</tr> diff --git a/lib/dijit/templates/MenuSeparator.html b/lib/dijit/templates/MenuSeparator.html new file mode 100644 index 000000000..77d1d0516 --- /dev/null +++ b/lib/dijit/templates/MenuSeparator.html @@ -0,0 +1,10 @@ +<tr class="dijitMenuSeparator"> + <td class="dijitMenuSeparatorIconCell"> + <div class="dijitMenuSeparatorTop"></div> + <div class="dijitMenuSeparatorBottom"></div> + </td> + <td colspan="3" class="dijitMenuSeparatorLabelCell"> + <div class="dijitMenuSeparatorTop dijitMenuSeparatorLabel"></div> + <div class="dijitMenuSeparatorBottom"></div> + </td> +</tr>
\ No newline at end of file diff --git a/lib/dijit/templates/ProgressBar.html b/lib/dijit/templates/ProgressBar.html new file mode 100644 index 000000000..9ed12aff6 --- /dev/null +++ b/lib/dijit/templates/ProgressBar.html @@ -0,0 +1,8 @@ +<div class="dijitProgressBar dijitProgressBarEmpty" role="progressbar" + ><div data-dojo-attach-point="internalProgress" class="dijitProgressBarFull" + ><div class="dijitProgressBarTile" role="presentation"></div + ><span style="visibility:hidden"> </span + ></div + ><div data-dojo-attach-point="labelNode" class="dijitProgressBarLabel" id="${id}_label"></div + ><img data-dojo-attach-point="indeterminateHighContrastImage" class="dijitProgressBarIndeterminateHighContrastImage" alt="" +/></div> diff --git a/lib/dijit/templates/TimePicker.html b/lib/dijit/templates/TimePicker.html new file mode 100644 index 000000000..919fbb0d2 --- /dev/null +++ b/lib/dijit/templates/TimePicker.html @@ -0,0 +1,9 @@ +<div id="widget_${id}" class="dijitMenu" + ><div data-dojo-attach-point="upArrow" class="dijitButtonNode dijitUpArrowButton" data-dojo-attach-event="onmouseenter:_buttonMouse,onmouseleave:_buttonMouse" + ><div class="dijitReset dijitInline dijitArrowButtonInner" role="presentation"> </div + ><div class="dijitArrowButtonChar">▲</div></div + ><div data-dojo-attach-point="timeMenu,focusNode" data-dojo-attach-event="onclick:_onOptionSelected,onmouseover,onmouseout"></div + ><div data-dojo-attach-point="downArrow" class="dijitButtonNode dijitDownArrowButton" data-dojo-attach-event="onmouseenter:_buttonMouse,onmouseleave:_buttonMouse" + ><div class="dijitReset dijitInline dijitArrowButtonInner" role="presentation"> </div + ><div class="dijitArrowButtonChar">▼</div></div +></div> diff --git a/lib/dijit/templates/TitlePane.html b/lib/dijit/templates/TitlePane.html new file mode 100644 index 000000000..4e7aece4f --- /dev/null +++ b/lib/dijit/templates/TitlePane.html @@ -0,0 +1,17 @@ +<div> + <div data-dojo-attach-event="onclick:_onTitleClick, onkeypress:_onTitleKey" + class="dijitTitlePaneTitle" data-dojo-attach-point="titleBarNode"> + <div class="dijitTitlePaneTitleFocus" data-dojo-attach-point="focusNode"> + <img src="${_blankGif}" alt="" data-dojo-attach-point="arrowNode" class="dijitArrowNode" role="presentation" + /><span data-dojo-attach-point="arrowNodeInner" class="dijitArrowNodeInner"></span + ><span data-dojo-attach-point="titleNode" class="dijitTitlePaneTextNode"></span> + </div> + </div> + <div class="dijitTitlePaneContentOuter" data-dojo-attach-point="hideNode" role="presentation"> + <div class="dijitReset" data-dojo-attach-point="wipeNode" role="presentation"> + <div class="dijitTitlePaneContentInner" data-dojo-attach-point="containerNode" role="region" id="${id}_pane"> + <!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc. Put padding on inner div. --> + </div> + </div> + </div> +</div> diff --git a/lib/dijit/templates/Tooltip.html b/lib/dijit/templates/Tooltip.html new file mode 100644 index 000000000..fdb1a8212 --- /dev/null +++ b/lib/dijit/templates/Tooltip.html @@ -0,0 +1,4 @@ +<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip" + ><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role='alert'></div + ><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div +></div> diff --git a/lib/dijit/templates/TooltipDialog.html b/lib/dijit/templates/TooltipDialog.html new file mode 100644 index 000000000..00a6022e2 --- /dev/null +++ b/lib/dijit/templates/TooltipDialog.html @@ -0,0 +1,6 @@ +<div role="presentation" tabIndex="-1"> + <div class="dijitTooltipContainer" role="presentation"> + <div class ="dijitTooltipContents dijitTooltipFocusNode" data-dojo-attach-point="containerNode" role="dialog"></div> + </div> + <div class="dijitTooltipConnector" role="presentation"></div> +</div> diff --git a/lib/dijit/templates/Tree.html b/lib/dijit/templates/Tree.html new file mode 100644 index 000000000..4e1b9432e --- /dev/null +++ b/lib/dijit/templates/Tree.html @@ -0,0 +1,4 @@ +<div class="dijitTree dijitTreeContainer" role="tree" + data-dojo-attach-event="onkeypress:_onKeyPress"> + <div class="dijitInline dijitTreeIndent" style="position: absolute; top: -9999px" data-dojo-attach-point="indentDetector"></div> +</div> diff --git a/lib/dijit/templates/TreeNode.html b/lib/dijit/templates/TreeNode.html new file mode 100644 index 000000000..f55450cc3 --- /dev/null +++ b/lib/dijit/templates/TreeNode.html @@ -0,0 +1,13 @@ +<div class="dijitTreeNode" role="presentation" + ><div data-dojo-attach-point="rowNode" class="dijitTreeRow" role="presentation" data-dojo-attach-event="onmouseenter:_onMouseEnter, onmouseleave:_onMouseLeave, onclick:_onClick, ondblclick:_onDblClick" + ><img src="${_blankGif}" alt="" data-dojo-attach-point="expandoNode" class="dijitTreeExpando" role="presentation" + /><span data-dojo-attach-point="expandoNodeText" class="dijitExpandoText" role="presentation" + ></span + ><span data-dojo-attach-point="contentNode" + class="dijitTreeContent" role="presentation"> + <img src="${_blankGif}" alt="" data-dojo-attach-point="iconNode" class="dijitIcon dijitTreeIcon" role="presentation" + /><span data-dojo-attach-point="labelNode" class="dijitTreeLabel" role="treeitem" tabindex="-1" aria-selected="false" data-dojo-attach-event="onfocus:_onLabelFocus"></span> + </span + ></div> + <div data-dojo-attach-point="containerNode" class="dijitTreeContainer" role="presentation" style="display: none;"></div> +</div> |