summaryrefslogtreecommitdiff
path: root/includes/js/dijit/templates
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dijit/templates')
-rw-r--r--includes/js/dijit/templates/Calendar.html35
-rw-r--r--includes/js/dijit/templates/ColorPalette.html5
-rw-r--r--includes/js/dijit/templates/Dialog.html9
-rw-r--r--includes/js/dijit/templates/InlineEditBox.html8
-rw-r--r--includes/js/dijit/templates/ProgressBar.html9
-rw-r--r--includes/js/dijit/templates/TitlePane.html14
-rw-r--r--includes/js/dijit/templates/Tooltip.html4
-rw-r--r--includes/js/dijit/templates/buttons/bg-fade.pngbin0 -> 177 bytes
-rw-r--r--includes/js/dijit/templates/colors3x4.pngbin0 -> 786 bytes
-rw-r--r--includes/js/dijit/templates/colors7x10.pngbin0 -> 2641 bytes
10 files changed, 84 insertions, 0 deletions
diff --git a/includes/js/dijit/templates/Calendar.html b/includes/js/dijit/templates/Calendar.html
new file mode 100644
index 0000000..d025351
--- /dev/null
+++ b/includes/js/dijit/templates/Calendar.html
@@ -0,0 +1,35 @@
+<table cellspacing="0" cellpadding="0" class="dijitCalendarContainer">
+ <thead>
+ <tr class="dijitReset dijitCalendarMonthContainer" valign="top">
+ <th class='dijitReset' dojoAttachPoint="decrementMonth">
+ <div class="dijitInline dijitCalendarIncrementControl dijitCalendarDecrease"><span dojoAttachPoint="decreaseArrowNode" class="dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarDecreaseInner">-</span></div>
+ </th>
+ <th class='dijitReset' colspan="5">
+ <div dojoAttachPoint="monthLabelSpacer" class="dijitCalendarMonthLabelSpacer"></div>
+ <div dojoAttachPoint="monthLabelNode" class="dijitCalendarMonthLabel"></div>
+ </th>
+ <th class='dijitReset' dojoAttachPoint="incrementMonth">
+ <div class="dijitInline dijitCalendarIncrementControl dijitCalendarIncrease"><span dojoAttachPoint="increaseArrowNode" class="dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarIncreaseInner">+</span></div>
+ </th>
+ </tr>
+ <tr>
+ <th class="dijitReset dijitCalendarDayLabelTemplate"><span class="dijitCalendarDayLabel"></span></th>
+ </tr>
+ </thead>
+ <tbody dojoAttachEvent="onclick: _onDayClick" class="dijitReset dijitCalendarBodyContainer">
+ <tr class="dijitReset dijitCalendarWeekTemplate">
+ <td class="dijitReset dijitCalendarDateTemplate"><span class="dijitCalendarDateLabel"></span></td>
+ </tr>
+ </tbody>
+ <tfoot class="dijitReset dijitCalendarYearContainer">
+ <tr>
+ <td class='dijitReset' valign="top" colspan="7">
+ <h3 class="dijitCalendarYearLabel">
+ <span dojoAttachPoint="previousYearLabelNode" class="dijitInline dijitCalendarPreviousYear"></span>
+ <span dojoAttachPoint="currentYearLabelNode" class="dijitInline dijitCalendarSelectedYear"></span>
+ <span dojoAttachPoint="nextYearLabelNode" class="dijitInline dijitCalendarNextYear"></span>
+ </h3>
+ </td>
+ </tr>
+ </tfoot>
+</table>
diff --git a/includes/js/dijit/templates/ColorPalette.html b/includes/js/dijit/templates/ColorPalette.html
new file mode 100644
index 0000000..e4557c7
--- /dev/null
+++ b/includes/js/dijit/templates/ColorPalette.html
@@ -0,0 +1,5 @@
+<div class="dijitInline dijitColorPalette">
+ <div class="dijitColorPaletteInner" dojoAttachPoint="divNode" waiRole="grid" tabIndex="${tabIndex}">
+ <img class="dijitColorPaletteUnder" dojoAttachPoint="imageNode" waiRole="presentation">
+ </div>
+</div>
diff --git a/includes/js/dijit/templates/Dialog.html b/includes/js/dijit/templates/Dialog.html
new file mode 100644
index 0000000..f3a2e5c
--- /dev/null
+++ b/includes/js/dijit/templates/Dialog.html
@@ -0,0 +1,9 @@
+<div class="dijitDialog" tabindex="-1" waiRole="dialog" waiState="labelledby-${id}_title">
+ <div dojoAttachPoint="titleBar" class="dijitDialogTitleBar">
+ <span dojoAttachPoint="titleNode" class="dijitDialogTitle" id="${id}_title">${title}</span>
+ <span dojoAttachPoint="closeButtonNode" class="dijitDialogCloseIcon" dojoAttachEvent="onclick: onCancel">
+ <span dojoAttachPoint="closeText" class="closeText">x</span>
+ </span>
+ </div>
+ <div dojoAttachPoint="containerNode" class="dijitDialogPaneContent"></div>
+</div>
diff --git a/includes/js/dijit/templates/InlineEditBox.html b/includes/js/dijit/templates/InlineEditBox.html
new file mode 100644
index 0000000..449705b
--- /dev/null
+++ b/includes/js/dijit/templates/InlineEditBox.html
@@ -0,0 +1,8 @@
+<fieldset dojoAttachPoint="editNode" waiRole="presentation" style="position: absolute; visibility:hidden" class="dijitReset dijitInline"
+ dojoAttachEvent="onkeypress: _onKeyPress"
+ ><input dojoAttachPoint="editorPlaceholder"
+ /><span dojoAttachPoint="buttonContainer"
+ ><button class='saveButton' dojoAttachPoint="saveButton" dojoType="dijit.form.Button" dojoAttachEvent="onClick:save" disabled="true">${buttonSave}</button
+ ><button class='cancelButton' dojoAttachPoint="cancelButton" dojoType="dijit.form.Button" dojoAttachEvent="onClick:cancel">${buttonCancel}</button
+ ></span
+></fieldset>
diff --git a/includes/js/dijit/templates/ProgressBar.html b/includes/js/dijit/templates/ProgressBar.html
new file mode 100644
index 0000000..49b8e22
--- /dev/null
+++ b/includes/js/dijit/templates/ProgressBar.html
@@ -0,0 +1,9 @@
+<div class="dijitProgressBar dijitProgressBarEmpty"
+ ><div waiRole="progressbar" tabindex="0" dojoAttachPoint="internalProgress" class="dijitProgressBarFull"
+ ><div class="dijitProgressBarTile"></div
+ ><span style="visibility:hidden">&nbsp;</span
+ ></div
+ ><div dojoAttachPoint="label" class="dijitProgressBarLabel" id="${id}_label">&nbsp;</div
+ ><img dojoAttachPoint="inteterminateHighContrastImage" class="dijitProgressBarIndeterminateHighContrastImage"
+ ></img
+></div>
diff --git a/includes/js/dijit/templates/TitlePane.html b/includes/js/dijit/templates/TitlePane.html
new file mode 100644
index 0000000..c14905d
--- /dev/null
+++ b/includes/js/dijit/templates/TitlePane.html
@@ -0,0 +1,14 @@
+<div class="${baseClass}">
+ <div dojoAttachEvent="onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus" tabindex="0"
+ waiRole="button" class="dijitTitlePaneTitle" dojoAttachPoint="titleBarNode,focusNode">
+ <div dojoAttachPoint="arrowNode" class="dijitInline dijitArrowNode"><span dojoAttachPoint="arrowNodeInner" class="dijitArrowNodeInner"></span></div>
+ <div dojoAttachPoint="titleNode" class="dijitTitlePaneTextNode"></div>
+ </div>
+ <div class="dijitTitlePaneContentOuter" dojoAttachPoint="hideNode">
+ <div class="dijitReset" dojoAttachPoint="wipeNode">
+ <div class="dijitTitlePaneContentInner" dojoAttachPoint="containerNode" waiRole="region" tabindex="-1">
+ <!-- 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/includes/js/dijit/templates/Tooltip.html b/includes/js/dijit/templates/Tooltip.html
new file mode 100644
index 0000000..8739648
--- /dev/null
+++ b/includes/js/dijit/templates/Tooltip.html
@@ -0,0 +1,4 @@
+<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip">
+ <div class="dijitTooltipContainer dijitTooltipContents" dojoAttachPoint="containerNode" waiRole='alert'></div>
+ <div class="dijitTooltipConnector"></div>
+</div>
diff --git a/includes/js/dijit/templates/buttons/bg-fade.png b/includes/js/dijit/templates/buttons/bg-fade.png
new file mode 100644
index 0000000..5d74aad
--- /dev/null
+++ b/includes/js/dijit/templates/buttons/bg-fade.png
Binary files differ
diff --git a/includes/js/dijit/templates/colors3x4.png b/includes/js/dijit/templates/colors3x4.png
new file mode 100644
index 0000000..e407881
--- /dev/null
+++ b/includes/js/dijit/templates/colors3x4.png
Binary files differ
diff --git a/includes/js/dijit/templates/colors7x10.png b/includes/js/dijit/templates/colors7x10.png
new file mode 100644
index 0000000..77d22ce
--- /dev/null
+++ b/includes/js/dijit/templates/colors7x10.png
Binary files differ