diff options
author | Anders Kaseorg <[email protected]> | 2017-01-20 12:29:59 -0500 |
---|---|---|
committer | Anders Kaseorg <[email protected]> | 2017-01-21 13:22:14 -0500 |
commit | 6887a0f57307820b097b51aee952c555bcf69024 (patch) | |
tree | ff041c03ac0251468eb4308927052f8bd6071ca3 /lib/dijit/templates/Calendar.html | |
parent | 9f539be3c2c93ce358b10ca396e922b3b99b56ea (diff) |
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.
Signed-off-by: Anders Kaseorg <[email protected]>
Diffstat (limited to 'lib/dijit/templates/Calendar.html')
-rw-r--r-- | lib/dijit/templates/Calendar.html | 65 |
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> |