]> git.wh0rd.org - tt-rss.git/blobdiff - lib/dijit/templates/Calendar.html
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
[tt-rss.git] / lib / dijit / templates / Calendar.html
index b4405ed848ebd73e35adefbd3a552ff82dcfa457..5a2fa2b87bfe5dc2a81d3f78e626dddc6eb24800 100644 (file)
@@ -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>