Removed files based on patch 148633 for bug 243765
@ -1,97 +0,0 @@
|
||||
|
||||
calendar {
|
||||
-moz-binding: url("chrome://calendar/content/datepicker/calendar.xml#calendar");
|
||||
}
|
||||
|
||||
.cal-mainbox {
|
||||
min-width: 130px;
|
||||
background-color: #ffffff;
|
||||
border: 1px outset #ffffff;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.cal-month-box {
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.cal-month-name {
|
||||
font-family: Arial;
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
color: #000000;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cal-navbtn {
|
||||
min-width: 10px;
|
||||
-moz-binding: url("chrome://calendar/content/datepicker/calendar.xml#cal-navbtn");
|
||||
}
|
||||
|
||||
.cal-navbtn[dir="-1"] {
|
||||
background: url("chrome://calendar/skin/datetimepickers/left-arrow.gif") no-repeat 50% 50%;
|
||||
}
|
||||
|
||||
.cal-navbtn[dir="1"] {
|
||||
background: url("chrome://calendar/skin/datetimepickers/right-arrow.gif") no-repeat 50% 50%;
|
||||
}
|
||||
|
||||
.cal-navbtn[dir="-1"]:hover {
|
||||
background: url("chrome://calendar/skin/datetimepickers/left-arrow-hover.gif") no-repeat 50% 50%;
|
||||
}
|
||||
|
||||
.cal-navbtn[dir="1"]:hover {
|
||||
background: url("chrome://calendar/skin/datetimepickers/right-arrow-hover.gif") no-repeat 50% 50%;
|
||||
}
|
||||
|
||||
.cal-navbtn:active {
|
||||
left: 2px;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.cal-cal-box {
|
||||
}
|
||||
|
||||
.cal-header {
|
||||
font-family: Arial;
|
||||
color: blue;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cal-row-body {
|
||||
}
|
||||
|
||||
.cal-day {
|
||||
font-family: Arial;
|
||||
color: #000000;
|
||||
border: 1px solid transparent;
|
||||
text-align: center;
|
||||
-moz-binding: url("chrome://calendar/content/datepicker/calendar.xml#cal-day");
|
||||
}
|
||||
|
||||
.cal-day[othermonth="true"] {
|
||||
color: #d2d2d2;
|
||||
}
|
||||
|
||||
.cal-day[budy="true"] {
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.cal-day[selected="true"] {
|
||||
background-color: #778899;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.cal-day[busy="true"]
|
||||
{
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.cal-day:hover {
|
||||
color: #ff0000;
|
||||
border: 1px solid #d2d2d2;
|
||||
}
|
||||
|
||||
.cal-day:active {
|
||||
background-color: #d2d2d2;
|
||||
}
|
||||
|
@ -1,414 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<bindings id="xulCalendar"
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="calendar" extends="xul:box">
|
||||
|
||||
<!-- ::::::::::::::::: CONTENT ::::::::::::::::::::::::: -->
|
||||
<content>
|
||||
|
||||
<xul:vbox class="cal-mainbox" flex="1">
|
||||
<xul:hbox class="cal-month-box">
|
||||
<xul:image class="cal-navbtn" dir="-1"/>
|
||||
<xul:spacer flex="1"/>
|
||||
<xul:text id="month-name" class="cal-month-name" value="Month"/>
|
||||
<xul:spacer flex="1"/>
|
||||
<xul:image class="cal-navbtn" dir="1"/>
|
||||
</xul:hbox>
|
||||
<xul:vbox class="cal-cal-box" flex="1">
|
||||
<xul:hbox class="cal-row-head" equalsize="always">
|
||||
<xul:text class="cal-header" flex="1"/>
|
||||
<xul:text class="cal-header" flex="1"/>
|
||||
<xul:text class="cal-header" flex="1"/>
|
||||
<xul:text class="cal-header" flex="1"/>
|
||||
<xul:text class="cal-header" flex="1"/>
|
||||
<xul:text class="cal-header" flex="1"/>
|
||||
<xul:text class="cal-header" flex="1"/>
|
||||
</xul:hbox>
|
||||
<xul:hbox class="cal-row-body" equalsize="always" flex="1">
|
||||
<xul:text class="cal-day" flex="1" />
|
||||
<xul:text class="cal-day" flex="1" />
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
</xul:hbox>
|
||||
<xul:hbox class="cal-row-body" equalsize="always" flex="1">
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
</xul:hbox>
|
||||
<xul:hbox class="cal-row-body" equalsize="always" flex="1">
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
</xul:hbox>
|
||||
<xul:hbox class="cal-row-body" equalsize="always" flex="1">
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
</xul:hbox>
|
||||
<xul:hbox class="cal-row-body" equalsize="always" flex="1">
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
</xul:hbox>
|
||||
<xul:hbox class="cal-row-body" equalsize="always" flex="1">
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
<xul:text class="cal-day" flex="1"/>
|
||||
</xul:hbox>
|
||||
</xul:vbox>
|
||||
</xul:vbox>
|
||||
</content>
|
||||
|
||||
<!-- ::::::::::::::::: INTERFACE ::::::::::::::::::::::::: -->
|
||||
<implementation>
|
||||
|
||||
<property name="value"
|
||||
onget="return this.mValue"
|
||||
onset="this.update(val)"/>
|
||||
|
||||
<property name="onchange"/>
|
||||
|
||||
<property name="onmonthchange"/>
|
||||
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
this.refreshDisplay( );
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
<method name="refreshDisplay">
|
||||
<parameter name="aReinitialize" />
|
||||
<body>
|
||||
<![CDATA[
|
||||
if (!this.mInitialized || aReinitialize) {
|
||||
this.mInitialized = true;
|
||||
|
||||
// Find out which should be the first day of the week
|
||||
var pref = Components.classes[
|
||||
"@mozilla.org/preferences-service;1"
|
||||
].getService(Components.interfaces.nsIPrefBranch);
|
||||
|
||||
this.weekStart;
|
||||
try {
|
||||
this.weekStart = pref.getIntPref("calendar.week.start");
|
||||
}
|
||||
catch (e) {
|
||||
this.weekStart = 0;
|
||||
}
|
||||
|
||||
// save references for convenience
|
||||
var monthbox = document.getAnonymousNodes(this)[0].childNodes[0];
|
||||
this.mLeftBtn = monthbox.childNodes[0];
|
||||
this.mLeftBtn.mCalendar = this;
|
||||
this.mRightBtn = monthbox.childNodes[4];
|
||||
this.mRightBtn.mCalendar = this;
|
||||
this.mMonthCell = monthbox.childNodes[2];
|
||||
|
||||
var val = this.parentNode.parentNode.parentNode.parentNode.value;
|
||||
if (val) this.mValue = new Date(val);
|
||||
else this.mValue = new Date();
|
||||
|
||||
var change = this.getAttribute("onchange");
|
||||
if (change) this.onchange = new Function(change);
|
||||
|
||||
var monthchange = this.getAttribute("onmonthchange");
|
||||
if (monthchange) this.onmonthchange = new Function(monthchange);
|
||||
|
||||
this.setHeader();
|
||||
this.showMonth(this.mValue);
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="setHeader">
|
||||
<body><![CDATA[
|
||||
// need to create string bundle manually instead of
|
||||
// using <xul:stringbundle/> see bug 63370 for details
|
||||
|
||||
var localeService = Components.classes[
|
||||
"@mozilla.org/intl/nslocaleservice;1"
|
||||
].getService(Components.interfaces.nsILocaleService);
|
||||
|
||||
var stringBundleService = Components.classes[
|
||||
"@mozilla.org/intl/stringbundle;1"
|
||||
].getService(Components.interfaces.nsIStringBundleService);
|
||||
|
||||
var bundleURL = "chrome://calendar/locale/dateFormat.properties";
|
||||
var dateBundle = stringBundleService.createBundle(
|
||||
bundleURL, localeService.getApplicationLocale()
|
||||
);
|
||||
|
||||
// Reset the headers
|
||||
var header = document.getAnonymousNodes(this)[0].
|
||||
childNodes[1].childNodes[0]
|
||||
;
|
||||
|
||||
for (var column = 0; column < header.childNodes.length; column++) {
|
||||
|
||||
header.childNodes[column].setAttribute( "value",
|
||||
dateBundle.GetStringFromName(
|
||||
"day."+
|
||||
((this.weekStart + column) % 7 + 1) +
|
||||
".short"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
|
||||
<method name="showMonth">
|
||||
<parameter name="aDate"/>
|
||||
<body><![CDATA[
|
||||
if (!aDate) {
|
||||
aDate = new Date();
|
||||
} else {
|
||||
aDate = new Date(aDate.toString());
|
||||
aDate.setDate(1);
|
||||
}
|
||||
this.mEditorDate = aDate;
|
||||
|
||||
if (this.mSelected) {
|
||||
this.mSelected.setAttribute("selected", "");
|
||||
this.mSelected = null;
|
||||
}
|
||||
|
||||
//-------- Update the month title
|
||||
var mon = this.getMonthName(aDate) + " " + aDate.getFullYear();
|
||||
|
||||
this.mMonthCell.setAttribute("value", mon);
|
||||
|
||||
//-------- Update the calendar
|
||||
var calbox = document.getAnonymousNodes(this)[0].childNodes[1];
|
||||
|
||||
var firstWeekday = (7 + aDate.getDay() - this.weekStart) % 7;
|
||||
var date = new Date(aDate.getTime());
|
||||
date.setDate(date.getDate()-firstWeekday);
|
||||
|
||||
for (var k = 1; k < calbox.childNodes.length; k++) {
|
||||
var row = calbox.childNodes[k];
|
||||
|
||||
|
||||
for (var i = 0; i < 7; i++) {
|
||||
var day = row.childNodes[i];
|
||||
|
||||
if (aDate.getMonth() != date.getMonth()) {
|
||||
day.setAttribute("othermonth", "true");
|
||||
} else {
|
||||
day.setAttribute("othermonth", "");
|
||||
}
|
||||
|
||||
// highlight the current date
|
||||
var val = this.value;
|
||||
if (val) {
|
||||
if ((val.getFullYear() == date.getFullYear()) &&
|
||||
(val.getMonth() == date.getMonth()) &&
|
||||
(val.getDate() == date.getDate()))
|
||||
{
|
||||
this.mSelected = day;
|
||||
day.setAttribute("selected", "true");
|
||||
}
|
||||
}
|
||||
day.date = date;
|
||||
day.calendar = this;
|
||||
day.setAttribute("value", date.getDate());
|
||||
date = new Date(date.getTime());
|
||||
date.setDate(date.getDate() + 1);
|
||||
}
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="setBusyDates">
|
||||
<parameter name="arrayOfDates"/>
|
||||
<body><![CDATA[
|
||||
/* CODE FROM monthView.js for finding the events for the month. */
|
||||
/*
|
||||
document.getElementById( "lefthandcalendar" ).value = date;
|
||||
|
||||
//get a list of events for this month.
|
||||
var monthEvents =
|
||||
this.eventSource.getEventsForMonth( this.getSelectedDate() );
|
||||
|
||||
var arrayOfDates = new Array();
|
||||
|
||||
for( var eventIndex = 0; eventIndex < monthEvents.length; ++eventIndex )
|
||||
{
|
||||
var calendarEventDisplay = monthEvents[ eventIndex ];
|
||||
var eventDate = new Date( calendarEventDisplay.displayDate );
|
||||
|
||||
//add them to an array
|
||||
arrayOfDates[ eventDate.getDate() ] = true;
|
||||
|
||||
}
|
||||
document.getElementById( "lefthandcalendar" ).setBusyDates( arrayOfDates );
|
||||
*/
|
||||
var aDate = new Date();
|
||||
aDate.setDate( 1 );
|
||||
//-------- Update the calendar
|
||||
var calbox = document.getAnonymousNodes(this)[0].childNodes[1];
|
||||
|
||||
// weekStart day is set by preference
|
||||
var firstWeekday = (7 + aDate.getDay() - this.weekStart) % 7;
|
||||
var date = new Date(aDate.getTime());
|
||||
date.setDate(date.getDate() - firstWeekday);
|
||||
|
||||
for (var k = 1; k < calbox.childNodes.length; k++) {
|
||||
var row = calbox.childNodes[k];
|
||||
for (var i = 0; i < 7; i++) {
|
||||
var day = row.childNodes[i];
|
||||
|
||||
if (aDate.getMonth() == date.getMonth() &&
|
||||
arrayOfDates[ date.getDate() ] == true ) {
|
||||
day.setAttribute("busy", "true");
|
||||
} else {
|
||||
day.removeAttribute("busy");
|
||||
}
|
||||
|
||||
// next date of month, may increment month
|
||||
date.setDate(date.getDate() + 1);
|
||||
}
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="advanceMonth">
|
||||
<parameter name="aDir"/>
|
||||
<body><![CDATA[
|
||||
|
||||
var ad = this.mEditorDate.getMonth() + aDir;
|
||||
this.mEditorDate.setMonth(ad);
|
||||
|
||||
this.showMonth(this.mEditorDate);
|
||||
|
||||
if (this.onmonthchange) this.onmonthchange();
|
||||
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="dayClicked">
|
||||
<parameter name="aDay"/>
|
||||
<body><![CDATA[
|
||||
|
||||
if (this.mSelected) {
|
||||
this.mSelected.setAttribute("selected", "");
|
||||
}
|
||||
|
||||
this.mSelected = aDay;
|
||||
aDay.setAttribute("selected", "true");
|
||||
|
||||
this.value = aDay.date;
|
||||
|
||||
// For an unknown reason the bug http://bugzilla.mozilla.org/show_bug.cgi?id=223505 is corrected
|
||||
// by direct call of the attribute. This bug occurs on Moz1.5 and Moz1.6a and related applications
|
||||
// like Thunderbird. It has been observe on Windows in a NON reproduicible way.
|
||||
// This correction could be also a temporary one.
|
||||
// Original code :
|
||||
// if (this.onchange) this.onchange();
|
||||
// New code :
|
||||
if (this.onchange) eval( this.getAttribute("onchange") );
|
||||
|
||||
if (this.parentNode.parentNode.parentNode.parentNode.callback)
|
||||
this.parentNode.parentNode.parentNode.parentNode.callback();
|
||||
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="update">
|
||||
<parameter name="aValue"/>
|
||||
<body><![CDATA[
|
||||
|
||||
this.mValue = aValue;
|
||||
this.showMonth(aValue);
|
||||
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="getMonthName">
|
||||
<parameter name="aDate"/>
|
||||
<body><![CDATA[
|
||||
|
||||
var dateStringBundle =
|
||||
srGetStrBundle("chrome://calendar/locale/dateFormat.properties");
|
||||
|
||||
var monthNames = new Array(12);
|
||||
monthNames[0] = dateStringBundle.GetStringFromName("month.1.name");
|
||||
monthNames[1] = dateStringBundle.GetStringFromName("month.2.name");
|
||||
monthNames[2] = dateStringBundle.GetStringFromName("month.3.name");
|
||||
monthNames[3] = dateStringBundle.GetStringFromName("month.4.name");
|
||||
monthNames[4] = dateStringBundle.GetStringFromName("month.5.name");
|
||||
monthNames[5] = dateStringBundle.GetStringFromName("month.6.name");
|
||||
monthNames[6] = dateStringBundle.GetStringFromName("month.7.name");
|
||||
monthNames[7] = dateStringBundle.GetStringFromName("month.8.name");
|
||||
monthNames[8] = dateStringBundle.GetStringFromName("month.9.name");
|
||||
monthNames[9] = dateStringBundle.GetStringFromName("month.10.name");
|
||||
monthNames[10]= dateStringBundle.GetStringFromName("month.11.name");
|
||||
monthNames[11]= dateStringBundle.GetStringFromName("month.12.name");
|
||||
|
||||
var midx = aDate.getMonth();
|
||||
|
||||
return monthNames[midx];
|
||||
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
</implementation>
|
||||
|
||||
<!-- ::::::::::::::::: HANDLERS ::::::::::::::::::::::::: -->
|
||||
<handlers>
|
||||
<handler event="bindingattached" action="this.initialize();"/>
|
||||
</handlers>
|
||||
|
||||
</binding>
|
||||
|
||||
<binding id="cal-navbtn" inherits="dir">
|
||||
<!-- ::::::::::::::::: HANDLERS ::::::::::::::::::::::::: -->
|
||||
<handlers>
|
||||
<handler event="click">
|
||||
<![CDATA[
|
||||
this.mCalendar.advanceMonth(parseInt(this.getAttribute('dir')));
|
||||
]]>
|
||||
</handler>
|
||||
</handlers>
|
||||
|
||||
<implementation/>
|
||||
</binding>
|
||||
|
||||
<binding id="cal-day" extends="xul:text">
|
||||
<!-- ::::::::::::::::: HANDLERS ::::::::::::::::::::::::: -->
|
||||
<handlers>
|
||||
<handler event="click" action="this.calendar.dayClicked(this)"/>
|
||||
</handlers>
|
||||
|
||||
<implementation/>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
@ -1,25 +0,0 @@
|
||||
|
||||
datepicker {
|
||||
-moz-binding: url("chrome://calendar/content/datepicker/datepicker.xml#datepicker");
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
menu.datepicker-button {
|
||||
background-image : url( "chrome://calendar/skin/datetimepickers/calendar_up.gif" );
|
||||
background-repeat : no-repeat;
|
||||
}
|
||||
|
||||
.datepicker-button:hover {
|
||||
/*background-image : url( "chrome://calendar/skin/datetimepickers/calendar_hover.gif" );
|
||||
background-repeat : no-repeat;*/
|
||||
}
|
||||
|
||||
.datepicker-button[open="true"] {
|
||||
/*background-image : url( "chrome://calendar/skin/datetimepickers/calendar_down.gif" );
|
||||
background-repeat : no-repeat;*/
|
||||
}
|
||||
|
||||
.menu-right
|
||||
{
|
||||
visibility : hidden;
|
||||
}
|
@ -1,146 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* OEone Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
* Mike Potter <mikep@oeone.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
*/
|
||||
-->
|
||||
<bindings id="xulDatePicker"
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="datepicker" extends="xul:box" inherits="value,ondatepick">
|
||||
<!-- ::::::::::::::::: CONTENT ::::::::::::::::::::::::: -->
|
||||
<content id="content">
|
||||
<xul:hbox flex="1" id="hbox">
|
||||
<xul:textbox id="textbox"
|
||||
onkeypress="if (event.keyCode == 13) this.parentNode.parentNode.parseTextDate();"
|
||||
onblur="this.parentNode.parentNode.parentNode.parentNode.parseTextDate(true);"/>
|
||||
|
||||
<xul:menu class="datepicker-button">
|
||||
<xul:menupopup popupanchor="bottomright" popupalign="topright"
|
||||
onpopupshowing="this.parentNode.parentNode.parentNode.openPopup()">
|
||||
<xul:calendar onchange="this.parentNode.hidePopup(); this.parentNode.parentNode.parentNode.parentNode.update(new Date(this.value),true); "/>
|
||||
</xul:menupopup>
|
||||
</xul:menu>
|
||||
|
||||
</xul:hbox>
|
||||
</content>
|
||||
|
||||
<!-- ::::::::::::::::: INTERFACE ::::::::::::::::::::::::: -->
|
||||
<implementation>
|
||||
<property name="value"
|
||||
onset="this.update(val,false)"
|
||||
onget="return this.mValue"/>
|
||||
|
||||
<property name="ondatepick"
|
||||
onset="this.callback = val;"/>
|
||||
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
this.mTextBox = document.getAnonymousNodes(this)[0].childNodes[0];
|
||||
this.mPopup = document.getAnonymousNodes(this)[0].childNodes[1].childNodes[0];
|
||||
this.calendar = document.getAnonymousNodes(this)[0].childNodes[1].childNodes[0].childNodes[0];
|
||||
this.formatter= new DateFormater();
|
||||
|
||||
var val = this.getAttribute("value");
|
||||
if (val) {
|
||||
this.value = val;
|
||||
} else {
|
||||
this.value = new Date();
|
||||
}
|
||||
val = this.getAttribute("ondatepick");
|
||||
if (val) this.callback = new Function( val );
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
<method name="update">
|
||||
<parameter name="aValue"/>
|
||||
<parameter name="refresh"/>
|
||||
<body><![CDATA[
|
||||
if (aValue == null) { // invalid date, revert to previous date
|
||||
// set textBox.value property, not attribute
|
||||
this.mTextBox.value = this.getPrettyDate(this.mValue);
|
||||
} else {
|
||||
this.mValue = aValue;
|
||||
this.mTextBox.value = this.getPrettyDate(this.mValue);
|
||||
if( this.callback && refresh != false )
|
||||
this.callback();
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="refreshDisplay">
|
||||
<body><![CDATA[
|
||||
this.calendar.refreshDisplay( );
|
||||
alert( "in refresh display" );
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="getPrettyDate">
|
||||
<parameter name="aValue"/>
|
||||
<body><![CDATA[
|
||||
return this.formatter.getShortFormatedDate(aValue);
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="parseTextDate">
|
||||
<parameter name="aRefresh"/>
|
||||
<body><![CDATA[
|
||||
this.update(this.formatter.parseShortDate(this.mTextBox.value),
|
||||
aRefresh);
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="openPopup">
|
||||
<body><![CDATA[
|
||||
this.calendar.update( this.mValue );
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
</implementation>
|
||||
|
||||
<!-- ::::::::::::::::: HANDLERS ::::::::::::::::::::::::: -->
|
||||
<handlers>
|
||||
<handler event="bindingattached" action="this.initialize();"/>
|
||||
</handlers>
|
||||
|
||||
</binding>
|
||||
</bindings>
|
||||
|
Before Width: | Height: | Size: 51 B |
Before Width: | Height: | Size: 53 B |
Before Width: | Height: | Size: 53 B |
Before Width: | Height: | Size: 53 B |
Before Width: | Height: | Size: 53 B |
@ -1,763 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- ***** BEGIN LICENSE BLOCK *****
|
||||
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
-
|
||||
- The contents of this file are subject to the Mozilla Public License Version
|
||||
- 1.1 (the "License"); you may not use this file except in compliance with
|
||||
- the License. You may obtain a copy of the License at
|
||||
- http://www.mozilla.org/MPL/
|
||||
-
|
||||
- Software distributed under the License is distributed on an "AS IS" basis,
|
||||
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
- for the specific language governing rights and limitations under the
|
||||
- License.
|
||||
-
|
||||
- The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
-
|
||||
- The Initial Developer of the Original Code is
|
||||
- OEone Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 2001
|
||||
- the Initial Developer. All Rights Reserved.
|
||||
-
|
||||
- Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
-
|
||||
- Alternatively, the contents of this file may be used under the terms of
|
||||
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
- in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
- of those above. If you wish to allow use of your version of this file only
|
||||
- under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
- use your version of this file under the terms of the MPL, indicate your
|
||||
- decision by deleting the provisions above and replace them with the notice
|
||||
- and other provisions required by the LGPL or the GPL. If you do not delete
|
||||
- the provisions above, a recipient may use your version of this file under
|
||||
- the terms of any one of the MPL, the GPL or the LGPL.
|
||||
-
|
||||
- ***** END LICENSE BLOCK ***** -->
|
||||
|
||||
<!-- CSS Files -->
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://calendar/skin/timepicker/timepicker.css" ?>
|
||||
|
||||
<!-- DTD Files -->
|
||||
|
||||
<!DOCTYPE overlay
|
||||
[
|
||||
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
|
||||
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
|
||||
]>
|
||||
|
||||
<!-- Overlay -->
|
||||
|
||||
<overlay
|
||||
id="oe-time-picker-overlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<!-- Javascript includes -->
|
||||
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/timepicker/timepicker.js"/>
|
||||
|
||||
<!-- Popup to hold time picker-->
|
||||
|
||||
<popup onpopupshowing="oeTimePicker.onpopupshowing(this)" id="oe-time-picker-popup" >
|
||||
<vbox id="oe-time-picker-overlay-box" flex="1"/>
|
||||
</popup>
|
||||
|
||||
|
||||
<!-- Box to hold time picker internals -->
|
||||
|
||||
<vbox id="oe-time-picker-overlay-box" >
|
||||
|
||||
<!-- AM/PM controls -->
|
||||
|
||||
<!--<hbox id="oe-time-picker-ampm-controls-box" >
|
||||
|
||||
<box class="oe-time-picker-am-pm-box-class" id="oe-time-picker-am-box" flex="1" onclick="oeTimePicker.clickAm( this )">
|
||||
<label id="oe-time-picker-year-title-text" value="&time.AM;" />
|
||||
</box>
|
||||
|
||||
<box class="oe-time-picker-am-pm-box-class" id="oe-time-picker-pm-box" flex="1" onclick="oeTimePicker.clickPm( this )" >
|
||||
<label id="oe-time-picker-year-title-text" value="&time.PM;" />
|
||||
</box>
|
||||
|
||||
|
||||
</hbox>
|
||||
-->
|
||||
|
||||
<!-- Hour Grid -->
|
||||
|
||||
<grid id="oe-time-picker-hour-grid">
|
||||
<columns>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-hour-column-class" flex="1"/>
|
||||
</columns>
|
||||
<rows >
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-0" onclick="oeTimePicker.clickHour(this, 0)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="0" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-1" onclick="oeTimePicker.clickHour(this, 1)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="1" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-2" onclick="oeTimePicker.clickHour(this, 2)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="2" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-3" onclick="oeTimePicker.clickHour(this, 3)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="3" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-4" onclick="oeTimePicker.clickHour(this, 4)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="4" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-5" onclick="oeTimePicker.clickHour(this, 5)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="5" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-6" onclick="oeTimePicker.clickHour(this, 6)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="6" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-7" onclick="oeTimePicker.clickHour(this, 7)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="7" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-8" onclick="oeTimePicker.clickHour(this, 8)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="8" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-9" onclick="oeTimePicker.clickHour(this, 9)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="9" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-10" onclick="oeTimePicker.clickHour(this, 10)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="10" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-11" onclick="oeTimePicker.clickHour(this, 11)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="11" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-12" onclick="oeTimePicker.clickHour(this, 12)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="12" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-13" onclick="oeTimePicker.clickHour(this, 13)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="13" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-14" onclick="oeTimePicker.clickHour(this, 14)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="14" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-15" onclick="oeTimePicker.clickHour(this, 15)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="15" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-16" onclick="oeTimePicker.clickHour(this, 16)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="16" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-17" onclick="oeTimePicker.clickHour(this, 17)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="17" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-18" onclick="oeTimePicker.clickHour(this, 18)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="18" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-19" onclick="oeTimePicker.clickHour(this, 19)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="19" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-20" onclick="oeTimePicker.clickHour(this, 20)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="20" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-21" onclick="oeTimePicker.clickHour(this, 21)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="21" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-22" onclick="oeTimePicker.clickHour(this, 22)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="22" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-hour-box-class" id="oe-time-picker-hour-box-23" onclick="oeTimePicker.clickHour(this, 23)" >
|
||||
<spacer flex="1" />
|
||||
<box ><label class="oe-time-picker-hour-name-class" value="23" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
</rows>
|
||||
|
||||
</grid> <!-- Hour Grid -->
|
||||
|
||||
|
||||
<!-- Five Minute Grid -->
|
||||
|
||||
<vbox id="oe-time-picker-five-minute-grid-box" flex="1">
|
||||
|
||||
<grid id="oe-time-picker-five-minute-grid" flex="1">
|
||||
<columns>
|
||||
<column class="oe-time-picker-five-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-five-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-five-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-five-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-five-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-five-minute-column-class" flex="1"/>
|
||||
</columns>
|
||||
<rows >
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-0" onclick="oeTimePicker.increaseMinute(this, 60)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+1h" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-5" onclick="oeTimePicker.increaseMinute(this, 30)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:30" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-10" onclick="oeTimePicker.increaseMinute(this, 15)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:15" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-15" onclick="oeTimePicker.increaseMinute(this, 10)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:10" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-20" onclick="oeTimePicker.increaseMinute(this, 5)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:05" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-25" onclick="oeTimePicker.increaseMinute(this, -30)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="-:30" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-0" onclick="oeTimePicker.clickMinute(this, 0)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":00" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-5" onclick="oeTimePicker.clickMinute(this, 5)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":05" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-10" onclick="oeTimePicker.clickMinute(this, 10)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":10" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-15" onclick="oeTimePicker.clickMinute(this, 15)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":15" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-20" onclick="oeTimePicker.clickMinute(this, 20)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":20" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-25" onclick="oeTimePicker.clickMinute(this, 25)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":25" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-30" onclick="oeTimePicker.clickMinute(this, 30)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":30" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-35" onclick="oeTimePicker.clickMinute(this, 35)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":35" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-40" onclick="oeTimePicker.clickMinute(this, 40)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":40" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-45" onclick="oeTimePicker.clickMinute(this, 45)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":45" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-50" onclick="oeTimePicker.clickMinute(this, 50)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":50" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-55" onclick="oeTimePicker.clickMinute(this, 55)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value=":55" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
|
||||
</rows>
|
||||
</grid> <!-- Five Minute Grid -->
|
||||
|
||||
<hbox class="oe-time-picker-minutes-bottom">
|
||||
<label class="oe-time-picker-more-control-label" value="&more.label;" onclick="oeTimePicker.clickMore()" />
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
|
||||
</vbox> <!-- Five Minute Grid Box -->
|
||||
|
||||
<!-- One Minute Grid -->
|
||||
|
||||
<vbox id="oe-time-picker-one-minute-grid-box" flex="1" collapsed="true">
|
||||
|
||||
<grid id="oe-time-picker-one-minute-grid" flex="1">
|
||||
<columns>
|
||||
<column class="oe-time-picker-one-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-one-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-one-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-one-minute-column-class" flex="1"/>
|
||||
<column class="oe-time-picker-one-minute-column-class" flex="1"/>
|
||||
</columns>
|
||||
<rows >
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-0" onclick="oeTimePicker.increaseMinute(this, 60)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+1h" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-5" onclick="oeTimePicker.increaseMinute(this, 30)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:30" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-10" onclick="oeTimePicker.increaseMinute(this, 15)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:15" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-15" onclick="oeTimePicker.increaseMinute(this, 10)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:10" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-20" onclick="oeTimePicker.increaseMinute(this, 5)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="+:05" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-five-minute-box-class" id="oe-time-picker-five-minute-box-25" onclick="oeTimePicker.increaseMinute(this, -30)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-five-minute-number-class" value="-:30" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-0" onclick="oeTimePicker.clickMinute(this, 0)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":00" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-1" onclick="oeTimePicker.clickMinute(this, 1)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":01" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-2" onclick="oeTimePicker.clickMinute(this, 2)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":02" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-3" onclick="oeTimePicker.clickMinute(this, 3)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":03" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-4" onclick="oeTimePicker.clickMinute(this, 4)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":04" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-5" onclick="oeTimePicker.clickMinute(this, 5)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":05" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-6" onclick="oeTimePicker.clickMinute(this, 6)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":06" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-7" onclick="oeTimePicker.clickMinute(this, 7)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":07" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-8" onclick="oeTimePicker.clickMinute(this, 8)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":08" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-9" onclick="oeTimePicker.clickMinute(this, 9)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":09" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-10" onclick="oeTimePicker.clickMinute(this, 10)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":10" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-11" onclick="oeTimePicker.clickMinute(this, 11)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":11" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-12" onclick="oeTimePicker.clickMinute(this, 12)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":12" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-13" onclick="oeTimePicker.clickMinute(this, 13)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":13" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-14" onclick="oeTimePicker.clickMinute(this, 14)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":14" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-15" onclick="oeTimePicker.clickMinute(this, 15)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":15" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-16" onclick="oeTimePicker.clickMinute(this, 16)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":16" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-17" onclick="oeTimePicker.clickMinute(this, 17)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":17" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-18" onclick="oeTimePicker.clickMinute(this, 18)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":18" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-19" onclick="oeTimePicker.clickMinute(this, 19)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":19" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-20" onclick="oeTimePicker.clickMinute(this, 20)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":20" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-21" onclick="oeTimePicker.clickMinute(this, 21)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":21" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-22" onclick="oeTimePicker.clickMinute(this, 22)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":22" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-23" onclick="oeTimePicker.clickMinute(this, 23)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":23" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-24" onclick="oeTimePicker.clickMinute(this, 24)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":24" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-25" onclick="oeTimePicker.clickMinute(this, 25)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":25" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-26" onclick="oeTimePicker.clickMinute(this, 26)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":26" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-27" onclick="oeTimePicker.clickMinute(this, 27)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":27" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-28" onclick="oeTimePicker.clickMinute(this, 28)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":28" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-29" onclick="oeTimePicker.clickMinute(this, 29)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":29" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-30" onclick="oeTimePicker.clickMinute(this, 30)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":30" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-31" onclick="oeTimePicker.clickMinute(this, 31)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":31" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-32" onclick="oeTimePicker.clickMinute(this, 32)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":32" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-33" onclick="oeTimePicker.clickMinute(this, 33)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":33" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-34" onclick="oeTimePicker.clickMinute(this, 34)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":34" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-35" onclick="oeTimePicker.clickMinute(this, 35)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":35" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-36" onclick="oeTimePicker.clickMinute(this, 36)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":36" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-37" onclick="oeTimePicker.clickMinute(this, 37)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":37" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-38" onclick="oeTimePicker.clickMinute(this, 38)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":38" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-39" onclick="oeTimePicker.clickMinute(this, 39)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":39" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-40" onclick="oeTimePicker.clickMinute(this, 40)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":40" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-41" onclick="oeTimePicker.clickMinute(this, 41)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":41" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-42" onclick="oeTimePicker.clickMinute(this, 42)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":42" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-43" onclick="oeTimePicker.clickMinute(this, 43)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":43" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-44" onclick="oeTimePicker.clickMinute(this, 44)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":44" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-45" onclick="oeTimePicker.clickMinute(this, 45)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":45" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-46" onclick="oeTimePicker.clickMinute(this, 46)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":46" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-47" onclick="oeTimePicker.clickMinute(this, 47)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":47" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-48" onclick="oeTimePicker.clickMinute(this, 48)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":48" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-49" onclick="oeTimePicker.clickMinute(this, 49)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":49" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-50" onclick="oeTimePicker.clickMinute(this, 50)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":50" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-51" onclick="oeTimePicker.clickMinute(this, 51)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":51" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-52" onclick="oeTimePicker.clickMinute(this, 52)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":52" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-53" onclick="oeTimePicker.clickMinute(this, 53)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":53" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-54" onclick="oeTimePicker.clickMinute(this, 54)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":54" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
<row flex="1" >
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-55" onclick="oeTimePicker.clickMinute(this, 55)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":55" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-56" onclick="oeTimePicker.clickMinute(this, 56)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":56" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-57" onclick="oeTimePicker.clickMinute(this, 57)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":57" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-58" onclick="oeTimePicker.clickMinute(this, 58)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":58" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
<vbox class="oe-time-picker-one-minute-box-class" id="oe-time-picker-one-minute-box-59" onclick="oeTimePicker.clickMinute(this, 59)">
|
||||
<spacer flex="1" />
|
||||
<box><label class="oe-time-picker-one-minute-number-class" value=":59" /></box>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</row>
|
||||
|
||||
|
||||
|
||||
</rows>
|
||||
</grid> <!-- One Minute Grid -->
|
||||
|
||||
<hbox class="oe-time-picker-minutes-bottom">
|
||||
<label class="oe-time-picker-more-control-label" value="&less.label;" onclick="oeTimePicker.clickLess()"/>
|
||||
<spacer flex="1"/>
|
||||
</hbox>
|
||||
|
||||
</vbox> <!-- One Minute Grid Box -->
|
||||
|
||||
</vbox> <!-- Box to hold time picker internals -->
|
||||
|
||||
</overlay>
|
||||
|
@ -1,386 +0,0 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* OEone Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
* Mike Potter <mikep@oeone.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
|
||||
/***** oe-timepicker
|
||||
* AUTHOR
|
||||
* Garth Smedley
|
||||
*
|
||||
* NOTES
|
||||
* Time picker popup.
|
||||
* Closes when a minute is clicked, and passes the picked time into your oncommand function.
|
||||
*
|
||||
* To use the timepicker include the overlay in your XUL, this .js file is included from there
|
||||
|
||||
<?xul-overlay href="chrome://calendar/content/timepicker/timepicker-overlay.xul"?>
|
||||
*
|
||||
*
|
||||
<popup id="oe-time-picker-popup" oncommand="yourCommandFunction( this )" >
|
||||
</popup>
|
||||
*
|
||||
* In your .js, initialize the picker with the inital time when the user clicks, set to now in this example:
|
||||
*
|
||||
function yourPrepareTimePickerFunction( )
|
||||
{
|
||||
var timePickerPopup = document.getElementById( "oe-time-picker-popup" );
|
||||
|
||||
timePickerPopup.setAttribute( "value", new Date() );
|
||||
}
|
||||
*
|
||||
* In your .js, respond to the user picking a time, this function will not be called if they just click
|
||||
* out of the picker
|
||||
*
|
||||
function yourCommandFunction( timepopup )
|
||||
{
|
||||
var newTime = timepopup.value;
|
||||
|
||||
// timepopup.value is a Date object with
|
||||
// the hours, minutes and seconds set to the user selection
|
||||
}
|
||||
|
||||
* IMPLEMENTATION NOTES
|
||||
*
|
||||
* In order to prevent name space pollution, all of the time picker methods
|
||||
* are static members of the oeTimePicker class.
|
||||
*
|
||||
**********
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Time picker class, has static members only.
|
||||
*/
|
||||
|
||||
function oeTimePicker()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Static variables
|
||||
*/
|
||||
|
||||
|
||||
/** The popup window containing the picker */
|
||||
oeTimePicker.gPopup = null;
|
||||
|
||||
/** The currently selected time */
|
||||
oeTimePicker.gSelectedTime = new Date();
|
||||
|
||||
/** The selected hour and selected minute items */
|
||||
oeTimePicker.gSelectedHourItem = null;
|
||||
oeTimePicker.gSelectedMinuteItem = null;
|
||||
|
||||
/** constants use to specify one anf five minue view */
|
||||
oeTimePicker.kMinuteView_Five = 5;
|
||||
oeTimePicker.kMinuteView_One = 1;
|
||||
|
||||
/**
|
||||
* Set up the picker, called when the popup pops
|
||||
*/
|
||||
|
||||
oeTimePicker.onpopupshowing = function( popup )
|
||||
{
|
||||
// remember the popup
|
||||
|
||||
oeTimePicker.gPopup = popup;
|
||||
|
||||
// if there is a Date object in the popup item's value attribute, use it,
|
||||
// otherwise use Now.
|
||||
|
||||
var inputTime = oeTimePicker.gPopup.getAttribute( "value" );
|
||||
|
||||
if( inputTime )
|
||||
{
|
||||
oeTimePicker.gSelectedTime = new Date( inputTime );
|
||||
}
|
||||
else
|
||||
{
|
||||
oeTimePicker.gSelectedTime = new Date();
|
||||
}
|
||||
|
||||
|
||||
var hours24 = oeTimePicker.gSelectedTime.getHours();
|
||||
|
||||
// select the hour item
|
||||
|
||||
var hourItem = document.getElementById( "oe-time-picker-hour-box-" + hours24 );
|
||||
oeTimePicker.selectHourItem( hourItem );
|
||||
|
||||
// Show the five minute view if we are an even five minutes, one minute
|
||||
// otherwise
|
||||
|
||||
var minutesByFive = oeTimePicker.calcNearestFiveMinutes( oeTimePicker.gSelectedTime );
|
||||
|
||||
if( minutesByFive == oeTimePicker.gSelectedTime.getMinutes() )
|
||||
{
|
||||
oeTimePicker.clickLess();
|
||||
}
|
||||
else
|
||||
{
|
||||
oeTimePicker.clickMore();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called when one of the hour boxes is clicked
|
||||
*/
|
||||
|
||||
oeTimePicker.clickHour = function( hourItem, hourNumber )
|
||||
{
|
||||
// select the item
|
||||
|
||||
oeTimePicker.selectHourItem( hourItem );
|
||||
|
||||
// Change the hour in the selected time.
|
||||
|
||||
var hour24 = null;
|
||||
hour24 = hourNumber;
|
||||
|
||||
oeTimePicker.gSelectedTime.setHours( hour24 );
|
||||
|
||||
this.selectTime();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called when the more tab is clicked, and possibly at startup
|
||||
*/
|
||||
|
||||
oeTimePicker.clickMore = function()
|
||||
{
|
||||
// switch to one minute view
|
||||
|
||||
oeTimePicker.switchMinuteView( oeTimePicker.kMinuteView_One );
|
||||
|
||||
// select minute box corresponding to the time
|
||||
|
||||
var minutes = oeTimePicker.gSelectedTime.getMinutes();
|
||||
|
||||
var oneMinuteItem = document.getElementById( "oe-time-picker-one-minute-box-" + minutes );
|
||||
oeTimePicker.selectMinuteItem( oneMinuteItem );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called when the less tab is clicked, and possibly at startup
|
||||
*/
|
||||
|
||||
oeTimePicker.clickLess = function()
|
||||
{
|
||||
// switch to five minute view
|
||||
|
||||
oeTimePicker.switchMinuteView( oeTimePicker.kMinuteView_Five );
|
||||
|
||||
// select closest five minute box,
|
||||
|
||||
// BUT leave the selected time at what may NOT be an even five minutes
|
||||
// So that If they click more again the proper non-even-five minute box will be selected
|
||||
|
||||
var minutesByFive = oeTimePicker.calcNearestFiveMinutes( oeTimePicker.gSelectedTime );
|
||||
|
||||
var fiveMinuteItem = document.getElementById( "oe-time-picker-five-minute-box-" + minutesByFive );
|
||||
oeTimePicker.selectMinuteItem( fiveMinuteItem );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Called when one of the minute boxes is clicked,
|
||||
* Calls the client's oncommand and Closes the popup
|
||||
*/
|
||||
|
||||
oeTimePicker.clickMinute = function( minuteItem, minuteNumber )
|
||||
{
|
||||
// set the minutes in the selected time
|
||||
|
||||
oeTimePicker.gSelectedTime.setMinutes( minuteNumber );
|
||||
|
||||
oeTimePicker.selectMinuteItem( minuteItem );
|
||||
|
||||
oeTimePicker.selectTime();
|
||||
|
||||
oeTimePicker.gPopup.hidePopup();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when one of the minute boxes is clicked,
|
||||
* Calls the client's oncommand and Closes the popup
|
||||
*/
|
||||
|
||||
oeTimePicker.selectTime = function()
|
||||
{
|
||||
// We copy the picked time to avoid problems with changing the Date object in place
|
||||
|
||||
var pickedTime = new Date( oeTimePicker.gSelectedTime )
|
||||
|
||||
// put the picked time in the value property of the popup item.
|
||||
|
||||
oeTimePicker.gPopup.value = pickedTime;
|
||||
|
||||
// get and call the client's oncommand function
|
||||
|
||||
var commandEventMethod = oeTimePicker.gPopup.getAttribute( "oncommand" );
|
||||
|
||||
if( commandEventMethod )
|
||||
{
|
||||
// set up a variable date, that will be avaialable from within the
|
||||
// client method
|
||||
|
||||
var date = pickedTime;
|
||||
|
||||
// Make the function a member of the popup before calling it so that
|
||||
// 'this' will be the popup
|
||||
|
||||
oeTimePicker.gPopup.oeTimePickerFunction = function() { eval( commandEventMethod ); };
|
||||
|
||||
oeTimePicker.gPopup.oeTimePickerFunction();
|
||||
}
|
||||
|
||||
// close the popup
|
||||
|
||||
//oeTimePicker.gPopup.hidePopup();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Helper function to switch between "one" and "five" minute views
|
||||
*/
|
||||
|
||||
|
||||
oeTimePicker.switchMinuteView = function( view )
|
||||
{
|
||||
var fiveMinuteBox = document.getElementById( "oe-time-picker-five-minute-grid-box" );
|
||||
var oneMinuteBox = document.getElementById( "oe-time-picker-one-minute-grid-box" );
|
||||
|
||||
if( view == oeTimePicker.kMinuteView_One )
|
||||
{
|
||||
fiveMinuteBox.setAttribute( "collapsed", true );
|
||||
oneMinuteBox.setAttribute( "collapsed", false );
|
||||
}
|
||||
else
|
||||
{
|
||||
fiveMinuteBox.setAttribute( "collapsed", false );
|
||||
oneMinuteBox.setAttribute( "collapsed", true );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Helper function to select an hour item
|
||||
*/
|
||||
|
||||
oeTimePicker.selectHourItem = function( hourItem )
|
||||
{
|
||||
// clear old selection, if there is one
|
||||
|
||||
if( oeTimePicker.gSelectedHourItem != null )
|
||||
{
|
||||
oeTimePicker.gSelectedHourItem.removeAttribute( "selected" );
|
||||
}
|
||||
|
||||
// set selected attribute, to cause the selected style to apply
|
||||
|
||||
hourItem.setAttribute( "selected" , "true" );
|
||||
|
||||
// remember the selected item so we can deselect it
|
||||
|
||||
oeTimePicker.gSelectedHourItem = hourItem;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Helper function to select an minute item
|
||||
*/
|
||||
|
||||
oeTimePicker.selectMinuteItem = function( minuteItem )
|
||||
{
|
||||
// clear old selection, if there is one
|
||||
|
||||
if( oeTimePicker.gSelectedMinuteItem != null )
|
||||
{
|
||||
oeTimePicker.gSelectedMinuteItem.removeAttribute( "selected" );
|
||||
}
|
||||
|
||||
// set selected attribute, to cause the selected style to apply
|
||||
|
||||
minuteItem.setAttribute( "selected" , "true" );
|
||||
|
||||
// remember the selected item so we can deselect it
|
||||
|
||||
oeTimePicker.gSelectedMinuteItem = minuteItem;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Helper function to calulate the nearset even five minutes
|
||||
*/
|
||||
|
||||
oeTimePicker.calcNearestFiveMinutes = function( time )
|
||||
{
|
||||
var minutes = time.getMinutes();
|
||||
var minutesByFive = Math.round( minutes / 5 ) * 5;
|
||||
|
||||
if( minutesByFive > 59 )
|
||||
{
|
||||
minutesByFive = 55;
|
||||
}
|
||||
|
||||
return minutesByFive;
|
||||
}
|
||||
|
||||
oeTimePicker.increaseMinute = function( minuteItem, minuteNumber )
|
||||
{
|
||||
// set the minutes in the selected time
|
||||
|
||||
oeTimePicker.gSelectedTime.setMinutes( oeTimePicker.gSelectedTime.getMinutes()+minuteNumber );
|
||||
|
||||
oeTimePicker.selectMinuteItem( minuteItem );
|
||||
|
||||
oeTimePicker.selectTime();
|
||||
|
||||
oeTimePicker.gPopup.hidePopup();
|
||||
}
|
||||
|
@ -63,15 +63,6 @@ calendar.jar:
|
||||
content/calendar/converters/xcs2ics.xsl (content/converters/xcs2ics.xsl)
|
||||
content/calendar/converters/xcs2rdf.xsl (content/converters/xcs2rdf.xsl)
|
||||
content/calendar/converters/xml2xcs.xsl (content/converters/xml2xcs.xsl)
|
||||
content/calendar/datepicker/calendar.css (content/datepicker/calendar.css)
|
||||
content/calendar/datepicker/calendar.xml (content/datepicker/calendar.xml)
|
||||
content/calendar/datepicker/datepicker.css (content/datepicker/datepicker.css)
|
||||
content/calendar/datepicker/datepicker.xml (content/datepicker/datepicker.xml)
|
||||
content/calendar/datepicker/image/down-arrow.gif (content/datepicker/image/down-arrow.gif)
|
||||
content/calendar/datepicker/image/left-arrow-hover.gif (content/datepicker/image/left-arrow-hover.gif)
|
||||
content/calendar/datepicker/image/left-arrow.gif (content/datepicker/image/left-arrow.gif)
|
||||
content/calendar/datepicker/image/right-arrow-hover.gif (content/datepicker/image/right-arrow-hover.gif)
|
||||
content/calendar/datepicker/image/right-arrow.gif (content/datepicker/image/right-arrow.gif)
|
||||
content/calendar/datetimepickers/datepicker.css (content/datetimepickers/datepicker.css)
|
||||
content/calendar/datetimepickers/datepicker.xbl (content/datetimepickers/datepicker.xbl)
|
||||
content/calendar/datetimepickers/datetimepicker.css (content/datetimepickers/datetimepicker.css)
|
||||
@ -104,8 +95,6 @@ calendar.jar:
|
||||
content/calendar/pref/viewPrefs.xul (content/pref/viewPrefs.xul)
|
||||
content/calendar/pref/timezonePrefs.xul (content/pref/timezonePrefs.xul)
|
||||
content/calendar/pref/wsm.js (content/pref/wsm.js)
|
||||
content/calendar/timepicker/timepicker-overlay.xul (content/timepicker/timepicker-overlay.xul)
|
||||
content/calendar/timepicker/timepicker.js (content/timepicker/timepicker.js)
|
||||
locale/en-US/calendar/calendar.dtd (locale/en-US/calendar.dtd)
|
||||
locale/en-US/calendar/calendar.properties (locale/en-US/calendar.properties)
|
||||
locale/en-US/calendar/categories.properties (locale/en-US/categories.properties)
|
||||
@ -143,21 +132,6 @@ calendar.jar:
|
||||
skin/classic/calendar/taskbar-calalarm.gif (skin/classic/taskbar-calalarm.gif)
|
||||
skin/classic/calendar/taskbar-calalarm-act.gif (skin/classic/taskbar-calalarm-act.gif)
|
||||
skin/classic/calendar/week-view-corner.png (skin/classic/week-view-corner.png)
|
||||
skin/classic/calendar/ca-event-dialog/calendar_disabled.gif (skin/classic/ca-event-dialog/calendar_disabled.gif)
|
||||
skin/classic/calendar/ca-event-dialog/calendar_down.gif (skin/classic/ca-event-dialog/calendar_down.gif)
|
||||
skin/classic/calendar/ca-event-dialog/calendar_hover.gif (skin/classic/ca-event-dialog/calendar_hover.gif)
|
||||
skin/classic/calendar/ca-event-dialog/calendar_up.gif (skin/classic/ca-event-dialog/calendar_up.gif)
|
||||
skin/classic/calendar/ca-event-dialog/clock_disabled.gif (skin/classic/ca-event-dialog/clock_disabled.gif)
|
||||
skin/classic/calendar/ca-event-dialog/clock_down.gif (skin/classic/ca-event-dialog/clock_down.gif)
|
||||
skin/classic/calendar/ca-event-dialog/clock_hover.gif (skin/classic/ca-event-dialog/clock_hover.gif)
|
||||
skin/classic/calendar/ca-event-dialog/clock_up.gif (skin/classic/ca-event-dialog/clock_up.gif)
|
||||
skin/classic/calendar/ca-event-dialog/new_event_icon.png (skin/classic/ca-event-dialog/new_event_icon.png)
|
||||
skin/classic/calendar/datepicker/datepicker.css (skin/classic/datepicker/datepicker.css)
|
||||
skin/classic/calendar/datepicker/day_grid.png (skin/classic/datepicker/day_grid.png)
|
||||
skin/classic/calendar/datepicker/left_arrow.png (skin/classic/datepicker/left_arrow.png)
|
||||
skin/classic/calendar/datepicker/right_arrow.png (skin/classic/datepicker/right_arrow.png)
|
||||
skin/classic/calendar/timepicker/time_picker_minutes_bottom.png (skin/classic/timepicker/time_picker_minutes_bottom.png)
|
||||
skin/classic/calendar/timepicker/timepicker.css (skin/classic/timepicker/timepicker.css)
|
||||
skin/classic/calendar/datetimepickers/datepicker.css (skin/classic/datetimepickers/datepicker.css)
|
||||
skin/classic/calendar/datetimepickers/timepicker.css (skin/classic/datetimepickers/timepicker.css)
|
||||
skin/classic/calendar/datetimepickers/minimonth.css (skin/classic/datetimepickers/minimonth.css)
|
||||
@ -205,34 +179,15 @@ calendar.jar:
|
||||
skin/modern/calendar/taskbar-calalarm.gif (skin/modern/taskbar-calalarm.gif)
|
||||
skin/modern/calendar/taskbar-calalarm-act.gif (skin/modern/taskbar-calalarm-act.gif)
|
||||
skin/modern/calendar/week-view-corner.png (skin/modern/week-view-corner.png)
|
||||
skin/modern/calendar/ca-event-dialog/calendar_disabled.gif (skin/modern/ca-event-dialog/calendar_disabled.gif)
|
||||
skin/modern/calendar/ca-event-dialog/calendar_down.png (skin/modern/ca-event-dialog/calendar_down.png)
|
||||
skin/modern/calendar/ca-event-dialog/calendar_hover.png (skin/modern/ca-event-dialog/calendar_hover.png)
|
||||
skin/modern/calendar/ca-event-dialog/calendar_up.gif (skin/modern/ca-event-dialog/calendar_up.gif)
|
||||
skin/modern/calendar/ca-event-dialog/clock_disabled.gif (skin/modern/ca-event-dialog/clock_disabled.gif)
|
||||
skin/modern/calendar/ca-event-dialog/clock_down.png (skin/modern/ca-event-dialog/clock_down.png)
|
||||
skin/modern/calendar/ca-event-dialog/clock_hover.png (skin/modern/ca-event-dialog/clock_hover.png)
|
||||
skin/modern/calendar/ca-event-dialog/clock_up.gif (skin/modern/ca-event-dialog/clock_up.gif)
|
||||
skin/modern/calendar/ca-event-dialog/new_event_icon.png (skin/modern/ca-event-dialog/new_event_icon.png)
|
||||
skin/modern/calendar/datepicker/datepicker.css (skin/modern/datepicker/datepicker.css)
|
||||
skin/modern/calendar/datepicker/day_grid.png (skin/modern/datepicker/day_grid.png)
|
||||
skin/modern/calendar/datepicker/left_arrow.png (skin/modern/datepicker/left_arrow.png)
|
||||
skin/modern/calendar/datepicker/right_arrow.png (skin/modern/datepicker/right_arrow.png)
|
||||
skin/modern/calendar/timepicker/time_picker_minutes_bottom.png (skin/modern/timepicker/time_picker_minutes_bottom.png)
|
||||
skin/modern/calendar/timepicker/timepicker.css (skin/modern/timepicker/timepicker.css)
|
||||
skin/modern/calendar/datetimepickers/datepicker.css (skin/modern/datetimepickers/datepicker.css)
|
||||
skin/modern/calendar/datetimepickers/timepicker.css (skin/modern/datetimepickers/timepicker.css)
|
||||
skin/modern/calendar/datetimepickers/minimonth.css (skin/modern/datetimepickers/minimonth.css)
|
||||
skin/modern/calendar/datetimepickers/calendar_disabled.gif (skin/modern/datetimepickers/calendar_disabled.gif)
|
||||
skin/modern/calendar/datetimepickers/calendar_down.gif (skin/modern/datetimepickers/calendar_down.gif)
|
||||
skin/modern/calendar/datetimepickers/calendar_down.png (skin/modern/datetimepickers/calendar_down.png)
|
||||
skin/modern/calendar/datetimepickers/calendar_hover.gif (skin/modern/datetimepickers/calendar_hover.gif)
|
||||
skin/modern/calendar/datetimepickers/calendar_hover.png (skin/modern/datetimepickers/calendar_hover.png)
|
||||
skin/modern/calendar/datetimepickers/calendar_up.gif (skin/modern/datetimepickers/calendar_up.gif)
|
||||
skin/modern/calendar/datetimepickers/clock_disabled.gif (skin/modern/datetimepickers/clock_disabled.gif)
|
||||
skin/modern/calendar/datetimepickers/clock_down.gif (skin/modern/datetimepickers/clock_down.gif)
|
||||
skin/modern/calendar/datetimepickers/clock_down.png (skin/modern/datetimepickers/clock_down.png)
|
||||
skin/modern/calendar/datetimepickers/clock_hover.gif (skin/modern/datetimepickers/clock_hover.gif)
|
||||
skin/modern/calendar/datetimepickers/clock_hover.png (skin/modern/datetimepickers/clock_hover.png)
|
||||
skin/modern/calendar/datetimepickers/clock_up.gif (skin/modern/datetimepickers/clock_up.gif)
|
||||
skin/modern/calendar/datetimepickers/left-arrow-hover.gif (skin/modern/datetimepickers/left-arrow-hover.gif)
|
||||
|
Before Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 1.3 KiB |
@ -1,145 +0,0 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* OEone Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
* Mike Potter <mikep@oeone.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
|
||||
|
||||
|
||||
#oe-date-picker-overlay-box
|
||||
{
|
||||
background-color : #F8F8F8;
|
||||
font-size : 8pt;
|
||||
}
|
||||
|
||||
|
||||
#oe-date-picker-year-controls-box
|
||||
{
|
||||
border : 1px solid #2085c4;
|
||||
-moz-box-align : center;
|
||||
-moz-box-pack : center;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#oe-date-picker-year-previous-button
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/datepicker/left_arrow.png");
|
||||
|
||||
}
|
||||
|
||||
|
||||
#oe-date-picker-year-next-button
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/datepicker/right_arrow.png");
|
||||
}
|
||||
|
||||
#oe-date-picker-year-next-button-box
|
||||
{
|
||||
-moz-box-pack : end;
|
||||
}
|
||||
|
||||
#oe-date-picker-year-grid
|
||||
{
|
||||
border-top : 1px solid #2085c4;
|
||||
border-left : 1px solid #2085c4;
|
||||
margin-top : 1px;
|
||||
margin-right : 1px;
|
||||
}
|
||||
|
||||
.oe-date-picker-year-month-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
border-right : 1px solid #2085c4;
|
||||
border-bottom : 1px solid #2085c4;
|
||||
}
|
||||
|
||||
.oe-date-picker-year-month-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
|
||||
.oe-date-picker-month-day-number-class
|
||||
{
|
||||
|
||||
margin : 2px;
|
||||
}
|
||||
|
||||
|
||||
.oe-date-picker-month-day-number-class[selected="true"]
|
||||
{
|
||||
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
#oe-date-picker-month-grid-box
|
||||
{
|
||||
background-image : url("chrome://calendar/skin/datepicker/day_grid.png");
|
||||
background-repeat : no-repeat;
|
||||
}
|
||||
|
||||
#oe-date-picker-month-grid
|
||||
{
|
||||
margin-right : 2px;
|
||||
margin-bottom : 2px;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-day-box-class
|
||||
{
|
||||
min-width : 27px;
|
||||
min-height : 27px;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-day-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-days-header-class
|
||||
{
|
||||
margin : 0px;
|
||||
padding : 0px;
|
||||
}
|
||||
|
||||
#oe-date-picker-month-days-header-box
|
||||
{
|
||||
margin : 2px 0px;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-days-box-header-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
}
|
Before Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 215 B |
@ -1,202 +0,0 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* OEone Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
* Mike Potter <mikep@oeone.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
|
||||
|
||||
/* Box that occupies whole window */
|
||||
|
||||
#oe-time-picker-overlay-box
|
||||
{
|
||||
background-color : #F8F8F8;
|
||||
font-size : 8pt;
|
||||
margin-bottom : 1px;
|
||||
margin-right : 1px;
|
||||
}
|
||||
|
||||
|
||||
/* Box that holds the am/pm boxes */
|
||||
|
||||
#oe-time-picker-ampm-controls-box
|
||||
{
|
||||
border : 1px solid #2060c7;
|
||||
}
|
||||
|
||||
/* Style for selected am/pm box */
|
||||
|
||||
.oe-time-picker-am-pm-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
.oe-time-picker-am-pm-box-class
|
||||
{
|
||||
-moz-box-pack : center;
|
||||
}
|
||||
|
||||
|
||||
/* Grid for hours */
|
||||
|
||||
#oe-time-picker-hour-grid
|
||||
{
|
||||
border-top : 1px solid #2060c7;
|
||||
border-left : 1px solid #2060c7;
|
||||
margin-top : 1px;
|
||||
}
|
||||
|
||||
/* Box in each cell of the grid for hours */
|
||||
|
||||
.oe-time-picker-hour-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
border-right : 1px solid #2060c7;
|
||||
border-bottom : 1px solid #2060c7;
|
||||
}
|
||||
|
||||
/* selected hour box */
|
||||
|
||||
.oe-time-picker-hour-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* box around five minute grid */
|
||||
|
||||
#oe-time-picker-five-minute-grid-box
|
||||
{
|
||||
min-width : 195px;
|
||||
margin-left : 1px;
|
||||
}
|
||||
|
||||
/* five minute grid */
|
||||
|
||||
#oe-time-picker-five-minute-grid
|
||||
{
|
||||
margin-top : 2px;
|
||||
margin-right : 2px;
|
||||
border-top : 1px solid #003399;
|
||||
border-left : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
background-color : #e7eeec;
|
||||
}
|
||||
|
||||
|
||||
/* box in five-minute grid elements */
|
||||
|
||||
.oe-time-picker-five-minute-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
}
|
||||
|
||||
/* selected five-minute grid element box */
|
||||
|
||||
.oe-time-picker-five-minute-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* box around one minute grid */
|
||||
|
||||
#oe-time-picker-one-minute-grid-box
|
||||
{
|
||||
min-width : 195px;
|
||||
margin-left : 1px;
|
||||
}
|
||||
|
||||
/* one minute grid */
|
||||
|
||||
#oe-time-picker-one-minute-grid
|
||||
{
|
||||
margin-top : 2px;
|
||||
margin-right : 2px;
|
||||
border-top : 1px solid #003399;
|
||||
border-left : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
background-color : #e7eeec;
|
||||
}
|
||||
|
||||
/* box in one-minute grid elements */
|
||||
|
||||
.oe-time-picker-one-minute-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
}
|
||||
|
||||
/* selected one-minute grid element box */
|
||||
|
||||
.oe-time-picker-one-minute-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
.oe-time-picker-more-control-label
|
||||
{
|
||||
background-color : #6699CC;
|
||||
color : #ffffff;
|
||||
font-weight : bold;
|
||||
padding : 2px 4px;
|
||||
min-width : 40px;
|
||||
margin : 0px;
|
||||
border-top : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
text-align : center;
|
||||
}
|
||||
|
||||
.oe-time-picker-more-control-label:hover
|
||||
{
|
||||
background-color : #477eb7;
|
||||
}
|
||||
|
||||
.oe-time-picker-more-control-label:hover:active
|
||||
{
|
||||
background-color : #2063a8;
|
||||
}
|
||||
|
||||
/* line across the bottom of the minute boxes, made to line up with more & less tabs */
|
||||
|
||||
.oe-time-picker-minutes-bottom
|
||||
{
|
||||
background-color : #e7eeec;
|
||||
border-bottom : 1px solid #003399;
|
||||
border-left : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
margin-right : 2px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 922 B |
Before Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 718 B |
@ -1,145 +0,0 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* OEone Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
* Mike Potter <mikep@oeone.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
|
||||
|
||||
|
||||
#oe-date-picker-overlay-box
|
||||
{
|
||||
background-color : #F8F8F8;
|
||||
font-size : 8pt;
|
||||
}
|
||||
|
||||
|
||||
#oe-date-picker-year-controls-box
|
||||
{
|
||||
border : 1px solid #2085c4;
|
||||
-moz-box-align : center;
|
||||
-moz-box-pack : center;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#oe-date-picker-year-previous-button
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/datepicker/left_arrow.png");
|
||||
|
||||
}
|
||||
|
||||
|
||||
#oe-date-picker-year-next-button
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/datepicker/right_arrow.png");
|
||||
}
|
||||
|
||||
#oe-date-picker-year-next-button-box
|
||||
{
|
||||
-moz-box-pack : end;
|
||||
}
|
||||
|
||||
#oe-date-picker-year-grid
|
||||
{
|
||||
border-top : 1px solid #2085c4;
|
||||
border-left : 1px solid #2085c4;
|
||||
margin-top : 1px;
|
||||
margin-right : 1px;
|
||||
}
|
||||
|
||||
.oe-date-picker-year-month-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
border-right : 1px solid #2085c4;
|
||||
border-bottom : 1px solid #2085c4;
|
||||
}
|
||||
|
||||
.oe-date-picker-year-month-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
|
||||
.oe-date-picker-month-day-number-class
|
||||
{
|
||||
|
||||
margin : 2px;
|
||||
}
|
||||
|
||||
|
||||
.oe-date-picker-month-day-number-class[selected="true"]
|
||||
{
|
||||
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
#oe-date-picker-month-grid-box
|
||||
{
|
||||
background-image : url("chrome://calendar/skin/datepicker/day_grid.png");
|
||||
background-repeat : no-repeat;
|
||||
}
|
||||
|
||||
#oe-date-picker-month-grid
|
||||
{
|
||||
margin-right : 2px;
|
||||
margin-bottom : 2px;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-day-box-class
|
||||
{
|
||||
min-width : 27px;
|
||||
min-height : 27px;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-day-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-days-header-class
|
||||
{
|
||||
margin : 0px;
|
||||
padding : 0px;
|
||||
}
|
||||
|
||||
#oe-date-picker-month-days-header-box
|
||||
{
|
||||
margin : 2px 0px;
|
||||
}
|
||||
|
||||
.oe-date-picker-month-days-box-header-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
}
|
Before Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 140 B |
@ -1,202 +0,0 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* OEone Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
* Mike Potter <mikep@oeone.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
|
||||
|
||||
/* Box that occupies whole window */
|
||||
|
||||
#oe-time-picker-overlay-box
|
||||
{
|
||||
background-color : #F8F8F8;
|
||||
font-size : 8pt;
|
||||
margin-bottom : 1px;
|
||||
margin-right : 1px;
|
||||
}
|
||||
|
||||
|
||||
/* Box that holds the am/pm boxes */
|
||||
|
||||
#oe-time-picker-ampm-controls-box
|
||||
{
|
||||
border : 1px solid #2060c7;
|
||||
}
|
||||
|
||||
/* Style for selected am/pm box */
|
||||
|
||||
.oe-time-picker-am-pm-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
.oe-time-picker-am-pm-box-class
|
||||
{
|
||||
-moz-box-pack : center;
|
||||
}
|
||||
|
||||
|
||||
/* Grid for hours */
|
||||
|
||||
#oe-time-picker-hour-grid
|
||||
{
|
||||
border-top : 1px solid #2060c7;
|
||||
border-left : 1px solid #2060c7;
|
||||
margin-top : 1px;
|
||||
}
|
||||
|
||||
/* Box in each cell of the grid for hours */
|
||||
|
||||
.oe-time-picker-hour-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
border-right : 1px solid #2060c7;
|
||||
border-bottom : 1px solid #2060c7;
|
||||
}
|
||||
|
||||
/* selected hour box */
|
||||
|
||||
.oe-time-picker-hour-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* box around five minute grid */
|
||||
|
||||
#oe-time-picker-five-minute-grid-box
|
||||
{
|
||||
min-width : 195px;
|
||||
margin-left : 1px;
|
||||
}
|
||||
|
||||
/* five minute grid */
|
||||
|
||||
#oe-time-picker-five-minute-grid
|
||||
{
|
||||
margin-top : 2px;
|
||||
margin-right : 2px;
|
||||
border-top : 1px solid #003399;
|
||||
border-left : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
background-color : #e7eeec;
|
||||
}
|
||||
|
||||
|
||||
/* box in five-minute grid elements */
|
||||
|
||||
.oe-time-picker-five-minute-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
}
|
||||
|
||||
/* selected five-minute grid element box */
|
||||
|
||||
.oe-time-picker-five-minute-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* box around one minute grid */
|
||||
|
||||
#oe-time-picker-one-minute-grid-box
|
||||
{
|
||||
min-width : 195px;
|
||||
margin-left : 1px;
|
||||
}
|
||||
|
||||
/* one minute grid */
|
||||
|
||||
#oe-time-picker-one-minute-grid
|
||||
{
|
||||
margin-top : 2px;
|
||||
margin-right : 2px;
|
||||
border-top : 1px solid #003399;
|
||||
border-left : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
background-color : #e7eeec;
|
||||
}
|
||||
|
||||
/* box in one-minute grid elements */
|
||||
|
||||
.oe-time-picker-one-minute-box-class
|
||||
{
|
||||
-moz-box-align : center;
|
||||
}
|
||||
|
||||
/* selected one-minute grid element box */
|
||||
|
||||
.oe-time-picker-one-minute-box-class[selected="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
.oe-time-picker-more-control-label
|
||||
{
|
||||
background-color : #6699CC;
|
||||
color : #ffffff;
|
||||
font-weight : bold;
|
||||
padding : 2px 4px;
|
||||
min-width : 40px;
|
||||
margin : 0px;
|
||||
border-top : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
text-align : center;
|
||||
}
|
||||
|
||||
.oe-time-picker-more-control-label:hover
|
||||
{
|
||||
background-color : #477eb7;
|
||||
}
|
||||
|
||||
.oe-time-picker-more-control-label:hover:active
|
||||
{
|
||||
background-color : #2063a8;
|
||||
}
|
||||
|
||||
/* line across the bottom of the minute boxes, made to line up with more & less tabs */
|
||||
|
||||
.oe-time-picker-minutes-bottom
|
||||
{
|
||||
background-color : #e7eeec;
|
||||
border-bottom : 1px solid #003399;
|
||||
border-left : 1px solid #003399;
|
||||
border-right : 1px solid #003399;
|
||||
margin-right : 2px;
|
||||
}
|
||||
|