summaryrefslogtreecommitdiff
path: root/lib/dijit/templates/Calendar.html
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dijit/templates/Calendar.html')
-rw-r--r--lib/dijit/templates/Calendar.html65
1 files changed, 30 insertions, 35 deletions
diff --git a/lib/dijit/templates/Calendar.html b/lib/dijit/templates/Calendar.html
index b4405ed84..5a2fa2b87 100644
--- a/lib/dijit/templates/Calendar.html
+++ b/lib/dijit/templates/Calendar.html
@@ -1,35 +1,30 @@
-<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 role="row">
- ${!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>
+<div class="dijitCalendarContainer dijitInline" role="presentation" aria-labelledby="${id}_mddb ${id}_year">
+ <div class="dijitReset dijitCalendarMonthContainer" role="presentation">
+ <div class='dijitReset dijitCalendarArrow dijitCalendarDecrementArrow' data-dojo-attach-point="decrementMonth">
+ <img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarDecrease" role="presentation"/>
+ <span data-dojo-attach-point="decreaseArrowNode" class="dijitA11ySideArrow">-</span>
+ </div>
+ <div class='dijitReset dijitCalendarArrow dijitCalendarIncrementArrow' data-dojo-attach-point="incrementMonth">
+ <img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarIncrease" role="presentation"/>
+ <span data-dojo-attach-point="increaseArrowNode" class="dijitA11ySideArrow">+</span>
+ </div>
+ <div data-dojo-attach-point="monthNode" class="dijitInline"></div>
+ </div>
+ <table cellspacing="0" cellpadding="0" role="grid" data-dojo-attach-point="gridNode">
+ <thead>
+ <tr role="row">
+ ${!dayCellsHtml}
+ </tr>
+ </thead>
+ <tbody data-dojo-attach-point="dateRowsNode" data-dojo-attach-event="ondijitclick: _onDayClick" class="dijitReset dijitCalendarBodyContainer">
+ ${!dateRowsHtml}
+ </tbody>
+ </table>
+ <div class="dijitReset dijitCalendarYearContainer" 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>
+ </div>
+</div>