summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/widget/Calendar
diff options
context:
space:
mode:
Diffstat (limited to 'js/dojo/dojox/widget/Calendar')
-rw-r--r--js/dojo/dojox/widget/Calendar/Calendar.css307
-rw-r--r--js/dojo/dojox/widget/Calendar/Calendar.html24
-rw-r--r--js/dojo/dojox/widget/Calendar/CalendarDay.html23
-rw-r--r--js/dojo/dojox/widget/Calendar/CalendarMonth.html12
-rw-r--r--js/dojo/dojox/widget/Calendar/CalendarMonthYear.html31
-rw-r--r--js/dojo/dojox/widget/Calendar/CalendarYear.html12
6 files changed, 409 insertions, 0 deletions
diff --git a/js/dojo/dojox/widget/Calendar/Calendar.css b/js/dojo/dojox/widget/Calendar/Calendar.css
new file mode 100644
index 0000000..4837459
--- /dev/null
+++ b/js/dojo/dojox/widget/Calendar/Calendar.css
@@ -0,0 +1,307 @@
+.dojoxCalendar {
+ width: 182px;
+}
+.dojoxCalendarContainer {
+ cursor: default;
+ font-family: tahoma, verdana, helvetica;
+ font-size: 11px;
+ padding: 0px;
+ text-align: center;
+ width: 180px;
+ overflow: hidden;
+}
+.dj_ie6 .dojoxCalendarContainer {
+ width: auto;
+ position: relative;
+}
+
+.dojoxCalendarBody {
+ height: 138px;
+ overflow: hidden;
+ position: relative;
+ margin: auto;
+ width: 180px;
+}
+.dojoxCalendar .no-header .dojoxCalendarBody {
+ height: 162px;
+}
+
+.dojoxCalendar .dijitCalendarDayLabels, .dojoxCalendarMonthLabels, .dojoxCalendarYearLabels, .dojoxCal-MY-labels {
+ width: 180px;
+ height: 138px;
+ top: 0px;
+ position: absolute;
+ left: 0px;
+ margin: auto;
+ text-align: center;
+}
+
+.dojoxCalendar .dojoxCalendarBody > div {
+ width: 180px;
+}
+
+.dojoxCalendar .dijitCalendarDateTemplate {
+ padding: 0 1px 0 0 !important;
+}
+
+.nihilo .dojoxCalendar .dijitCalendarDateTemplate,
+.soria .dojoxCalendar .dijitCalendarDateTemplate {
+ border: 0px none !important;
+}
+
+.soria tr.dojoxCal-MY-btns {
+ background: url(../../../dijit/themes/soria/images/tabBottomHoverC.gif) repeat-x scroll 0px -21px;
+}
+
+.dojoxCalendar .noPointer, .dojoxCalendar .noPointer * {
+ cursor: auto;
+}
+
+.dojoxCalendarContainer table {
+ font-size: 11px;
+ border-bottom: 4px solid white;
+}
+
+.dojoxCalendarHeader {
+ height: 20px;
+ width: 172px;
+ padding: 4px 4px 0;
+}
+.dojoxCalendar .no-header .dojoxCalendarHeader {
+ display: none;
+}
+
+.soria .dojoxCalendarHeader {
+ background: #BED7F0 url(../../../dijit/themes/soria/images/titleBar.png) repeat-x scroll center top;
+}
+
+
+.dojoxCalendarDecrease, .dojoxCalendarIncrease {
+ height: 15px;
+ width: 15px;
+ cursor: pointer;
+}
+
+.dojoxCalendarDecrease {
+ background: transparent url(../../../dijit/themes/nihilo/images/spriteRoundedIconsSmall.png) no-repeat scroll left top;
+ float: left;
+}
+
+.dojoxCalendarIncrease {
+ background: transparent url(../../../dijit/themes/nihilo/images/spriteRoundedIconsSmall.png) no-repeat scroll -30px top;
+ float: right;
+}
+
+
+.dojoxCalendarMonthLabel {
+ cursor: pointer;
+ height: 35px;
+ width: 41px;
+ overflow: hidden;
+ text-align: center;
+ padding-top: 10px;
+}
+
+.dojoxCalendarYearLabel {
+ cursor: pointer;
+ height: 35px;
+ width: 41px;
+ overflow: hidden;
+ text-align: center;
+ padding-top: 10px;
+}
+
+.dojoxCalendarTitle {
+ cursor: pointer;
+ font-weight: bold;
+}
+
+.dojoxCalendar .navToPanel .dojoxCalendarDayYearLabel,
+.dojoxCalendar .navToPanel .dojoxCalendarYearHeader,
+.dojoxCalendar .navToPanel .dojoxCalendarMonthHeader {
+ padding-right: 15px;
+ background: url(../../../dijit/themes/tundra/images/comboArrowDown.gif) right no-repeat;
+}
+
+.dojoxCalendar .dijitCalendarDateLabel {
+ height: 17px;
+ width: 17px;
+ padding: 1px 3px 0px 3px;
+ text-align: center;
+ border: 1px solid white;
+}
+
+.dojoxCalendar .dijitCalendarDayLabel {
+ cursor: pointer;
+ height: 17px;
+ width: 18px;
+ padding: 0pt 2px;
+ text-align: center;
+}
+
+
+.dojoxCalendar .dojoxCalendarContainer {
+ background-color: white;
+ border: 1px solid #656565;
+ color: black;
+}
+
+.dojoxCalendar .dijitCalendarDisabledDate {
+ text-decoration:line-through !important;
+ cursor:default !important;
+}
+
+.dojoxCalendar .dojoxCalendarFooter {
+ border-top: 1px solid #F4F4F4;
+ height: 15px;
+ padding-top: 4px;
+ cursor: pointer;
+}
+
+.soria .dojoxCalendar .dojoxCalendarFooter {
+ border-top: 0px none;
+ padding-top: 5px;
+ background: white url(../../../dijit/themes/soria/images/titleBar.png) repeat-x scroll center top
+}
+
+.dojoxCalendar .dojoxCalendarMonthLabel {
+ border: 1px solid white;
+}
+
+.dojoxCalendar .dojoxCalendarYearLabel {
+ border: 1px solid white;
+}
+
+.dojoxCalendar .dijitCalendarNextMonth .dijitCalendarDateLabel,
+.dojoxCalendar .dijitCalendarPreviousMonth .dijitCalendarDateLabel {
+ border: 0px;
+ color: #646464;
+ padding-left: 0px;
+ padding-right: 0px;
+}
+
+.dojoxCalendar .dijitCalendarNextMonth, .dojoxCalendar .dijitCalendarPreviousMonth {
+ background-color: #E4E4E4;
+}
+
+.dojoxCalendar .dijitCalendarNextMonth .dojoxCalendarYearLabel,
+.dojoxCalendar .dijitCalendarPreviousMonth .dojoxCalendarYearLabel {
+ background-color: white;
+ border-color: white;
+ color: #646464;
+}
+.dojoxCalendar .dijitCalendarSelectedDate,
+.tundra .dojoxCalendar .dijitCalendarSelectedDate,
+.nihilo .dojoxCalendar .dijitCalendarSelectedDate {
+ /* cell for the selected date */
+ background-color:#ffe284 !important;
+ color:black !important;
+ border:#f5b93c solid 1px !important;
+}
+
+
+.soria .dojoxCalendar td.dijitCalendarSelectedDate {
+ background-color: #B9CBF1 !important;
+ color: black !important;
+ border: 1px solid #4B5AAA !important;
+}
+
+.soria .dojoxCalendar .dijitCalendarSelectedDate div {
+ /* cell for the selected date */
+ background-color: #B9CBF1 !important;
+ border: none !important;
+}
+.dojoxCalendar .dijitCalendarSelectedDate div {
+ /* cell for the selected date */
+ background-color: #FFE284 !important;
+ border: none !important;
+}
+div.dojoxCalendar tr.dojoxCal-MY-G-Template td.dijitCalendarSelectedDate {
+ background-color: transparent;
+ width: 43px;
+}
+
+.dojoxCalendar tr.dojoxCal-MY-G-Template td {
+ width: 45px;
+}
+
+.dojoxCalendar .dijitCalendarSelectedDate div.dijitCalendarDateLabel {
+ padding: 1px 1px 0px 3px;
+}
+
+.dojoxCalendar .monthOnly .dijitCalendarDayLabels,
+.dojoxCalendar .yearOnly .dijitCalendarDayLabels,
+.dojoxCalendar .monthOnly .dojoxCalendarComma,
+.dojoxCalendar .yearOnly .dojoxCalendarComma,
+.dojoxCalendar .monthOnly .dojoxCalendarFooter,
+.dojoxCalendar .yearOnly .dojoxCalendarFooter,
+.dojoxCalendar .monthOnly .dojoxCalendarYearHeader,
+.dojoxCalendar .monthOnly .dojoxCalendarIncrease,
+.dojoxCalendar .monthOnly .dojoxCalendarDecrease,
+.dojoxCalendar .yearOnly .dojoxCalendarMonthLabelNode {
+ display: none;
+}
+
+.dojoxCal-MY-labels .dojoxCalendarMonthLabel,
+.dojoxCal-MY-labels .dojoxCalendarYearLabel {
+ height: 13px;
+ padding-top: 4px;
+ padding-bottom: 3px;
+}
+
+.dojoxCal-MY-labels td.dojoxCal-MY-btns {
+ padding-top: 2px;
+ border-top: 1px solid grey;
+ text-align: center;
+}
+
+.dojoxCal-MY-labels {
+ background-color: white;
+}
+
+.dojoxCal-MY-labels .dojoxCalendarIncrease,
+.dojoxCal-MY-labels .dojoxCalendarDecrease {
+ float: none;
+ margin-left: 14px;
+}
+
+.dojoxCal-MY-btns button {
+ font-size: 8pt;
+}
+.dojoxCalendar .dojoxCal-MY-btns .dijitDisabled button {
+ color: #999;
+}
+.dojoxCal-hidden {
+ visibility: hidden;
+}
+.dojoxCalendar .dojoxCal-MY-labels {
+ height: 164px;
+}
+.dojoxCalendar .dojoxCal-MY-labels .dijitCalendarSelectedDate div {
+ padding-top: 3px;
+ padding-bottom: 2px;
+}
+.soria .dojoxCal-MY-labels .dijitCalendarSelectedDate div {
+ padding-top: 4px;
+ padding-bottom: 3px;
+}
+.dojoxCal-MY-labels .dojoxCalendarMonthLabel {
+ width: 38px;
+}
+.dojoxCal-MY-labels .dojoxCal-MY-M-last {
+ border-right: 1px grey solid;
+}
+.soria .dojoxCal-MY-labels .dojoxCal-MY-M-last {
+ border-right: 1px #B9CBF1 solid;
+}
+.dojoxCal-MY-labels .dojoxCal-MY-M-last .dojoxCalendarMonthLabel,
+.dojoxCal-MY-labels .dojoxCal-MY-G-Template div.dojoxCalendarYearLabel {
+ width: 42px;
+}
+
+.dojoxCalendar .cancel-btn {
+ margin-left: 11px;
+}
+.dojoxCalendar .ok-btn {
+ margin-left: 15px;
+}
diff --git a/js/dojo/dojox/widget/Calendar/Calendar.html b/js/dojo/dojox/widget/Calendar/Calendar.html
new file mode 100644
index 0000000..7aafc40
--- /dev/null
+++ b/js/dojo/dojox/widget/Calendar/Calendar.html
@@ -0,0 +1,24 @@
+<div class="dojoxCalendar">
+ <div tabindex="0" class="dojoxCalendarContainer" style="visibility: visible;" dojoAttachPoint="container">
+ <div style="display:none">
+ <div dojoAttachPoint="previousYearLabelNode"></div>
+ <div dojoAttachPoint="nextYearLabelNode"></div>
+ <div dojoAttachPoint="monthLabelSpacer"></div>
+ </div>
+ <div class="dojoxCalendarHeader">
+ <div>
+ <div class="dojoxCalendarDecrease" dojoAttachPoint="decrementMonth"></div>
+ </div>
+ <div class="">
+ <div class="dojoxCalendarIncrease" dojoAttachPoint="incrementMonth"></div>
+ </div>
+ <div class="dojoxCalendarTitle" dojoAttachPoint="header" dojoAttachEvent="onclick: onHeaderClick">
+ </div>
+ </div>
+ <div class="dojoxCalendarBody" dojoAttachPoint="containerNode"></div>
+ <div class="">
+ <div class="dojoxCalendarFooter" dojoAttachPoint="footer">
+ </div>
+ </div>
+ </div>
+</div>
diff --git a/js/dojo/dojox/widget/Calendar/CalendarDay.html b/js/dojo/dojox/widget/Calendar/CalendarDay.html
new file mode 100644
index 0000000..1180d6f
--- /dev/null
+++ b/js/dojo/dojox/widget/Calendar/CalendarDay.html
@@ -0,0 +1,23 @@
+<div class="dijitCalendarDayLabels" style="left: 0px;" dojoAttachPoint="dayContainer">
+ <div dojoAttachPoint="header">
+ <div dojoAttachPoint="monthAndYearHeader">
+ <span dojoAttachPoint="monthLabelNode" class="dojoxCalendarMonthLabelNode"></span>
+ <span dojoAttachPoint="headerComma" class="dojoxCalendarComma">,</span>
+ <span dojoAttachPoint="yearLabelNode" class="dojoxCalendarDayYearLabel"></span>
+ </div>
+ </div>
+ <table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
+ <thead>
+ <tr>
+ <td class="dijitCalendarDayLabelTemplate"><div class="dijitCalendarDayLabel"></div></td>
+ </tr>
+ </thead>
+ <tbody dojoAttachEvent="onclick: _onDayClick">
+ <tr class="dijitCalendarWeekTemplate">
+ <td class="dojoxCalendarNextMonth dijitCalendarDateTemplate">
+ <div class="dijitCalendarDateLabel"></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
diff --git a/js/dojo/dojox/widget/Calendar/CalendarMonth.html b/js/dojo/dojox/widget/Calendar/CalendarMonth.html
new file mode 100644
index 0000000..f0bc3e8
--- /dev/null
+++ b/js/dojo/dojox/widget/Calendar/CalendarMonth.html
@@ -0,0 +1,12 @@
+<div class="dojoxCalendarMonthLabels" style="left: 0px;"
+ dojoAttachPoint="monthContainer" dojoAttachEvent="onclick: onClick">
+ <table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
+ <tbody>
+ <tr class="dojoxCalendarMonthGroupTemplate">
+ <td class="dojoxCalendarMonthTemplate">
+ <div class="dojoxCalendarMonthLabel"></div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
diff --git a/js/dojo/dojox/widget/Calendar/CalendarMonthYear.html b/js/dojo/dojox/widget/Calendar/CalendarMonthYear.html
new file mode 100644
index 0000000..f87a09d
--- /dev/null
+++ b/js/dojo/dojox/widget/Calendar/CalendarMonthYear.html
@@ -0,0 +1,31 @@
+<div class="dojoxCal-MY-labels" style="left: 0px;"
+ dojoAttachPoint="myContainer" dojoAttachEvent="onclick: onClick">
+ <table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
+ <tbody>
+ <tr class="dojoxCal-MY-G-Template">
+ <td class="dojoxCal-MY-M-Template">
+ <div class="dojoxCalendarMonthLabel"></div>
+ </td>
+ <td class="dojoxCal-MY-M-Template">
+ <div class="dojoxCalendarMonthLabel"></div>
+ </td>
+ <td class="dojoxCal-MY-Y-Template">
+ <div class="dojoxCalendarYearLabel"></div>
+ </td>
+ <td class="dojoxCal-MY-Y-Template">
+ <div class="dojoxCalendarYearLabel"></div>
+ </td>
+ </tr>
+ <tr class="dojoxCal-MY-btns">
+ <td class="dojoxCal-MY-btns" colspan="4">
+ <span class="dijitReset dijitInline dijitButtonNode ok-btn" dojoAttachEvent="onclick: onOk" dojoAttachPoint="okBtn">
+ <button class="dijitReset dijitStretch dijitButtonContents">OK</button>
+ </span>
+ <span class="dijitReset dijitInline dijitButtonNode cancel-btn" dojoAttachEvent="onclick: onCancel" dojoAttachPoint="cancelBtn">
+ <button class="dijitReset dijitStretch dijitButtonContents">Cancel</button>
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
diff --git a/js/dojo/dojox/widget/Calendar/CalendarYear.html b/js/dojo/dojox/widget/Calendar/CalendarYear.html
new file mode 100644
index 0000000..08ca429
--- /dev/null
+++ b/js/dojo/dojox/widget/Calendar/CalendarYear.html
@@ -0,0 +1,12 @@
+<div class="dojoxCalendarYearLabels" style="left: 0px;" dojoAttachPoint="yearContainer">
+ <table cellspacing="0" cellpadding="0" border="0" style="margin: auto;" dojoAttachEvent="onclick: onClick">
+ <tbody>
+ <tr class="dojoxCalendarYearGroupTemplate">
+ <td class="dojoxCalendarNextMonth dojoxCalendarYearTemplate">
+ <div class="dojoxCalendarYearLabel">
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>