new graphics for new-event dialog & removed categories
git-svn-id: svn://10.0.0.236/trunk@117185 18797224-902f-48f8-a5cc-f745e15eee43
@@ -432,20 +432,6 @@ function deselectEventInUnifinder( )
|
||||
document.getElementById( "modify_command" ).setAttribute( "disabled", true );
|
||||
}
|
||||
|
||||
function selectCategoryInUnifinder( )
|
||||
{
|
||||
document.getElementById( "delete_command" ).removeAttribute( "disabled" );
|
||||
|
||||
document.getElementById( "modify_command" ).removeAttribute( "disabled" );
|
||||
}
|
||||
|
||||
function deselectCategoryInUnifinder( )
|
||||
{
|
||||
document.getElementById( "delete_command" ).setAttribute( "disabled", true );
|
||||
|
||||
document.getElementById( "modify_command" ).setAttribute( "disabled", true );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called when the new event button is clicked
|
||||
|
||||
@@ -127,18 +127,6 @@
|
||||
<textbox id="location-field"/>
|
||||
</row>
|
||||
|
||||
<!-- Category -->
|
||||
<row collapsed="true" align="center">
|
||||
<hbox class="field-label-box-class" pack="end">
|
||||
<label for="category-field" value="&newevent.category.label;"/>
|
||||
</hbox>
|
||||
<menulist id="category-field" label="&newevent.choosecategory.label;" value="" >
|
||||
<menupopup id="category-field-menupopup">
|
||||
<menuitem label="&newevent.nocategory.label;" value=""/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</row>
|
||||
|
||||
<!-- Date -->
|
||||
<row align="center">
|
||||
<hbox class="field-label-box-class" pack="end">
|
||||
|
||||
@@ -127,18 +127,6 @@
|
||||
<textbox id="location-field"/>
|
||||
</row>
|
||||
|
||||
<!-- Category -->
|
||||
<row collapsed="true" align="center">
|
||||
<hbox class="field-label-box-class" pack="end">
|
||||
<label for="category-field" value="&newevent.category.label;"/>
|
||||
</hbox>
|
||||
<menulist id="category-field" label="&newevent.choosecategory.label;" value="" >
|
||||
<menupopup id="category-field-menupopup">
|
||||
<menuitem label="&newevent.nocategory.label;" value=""/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</row>
|
||||
|
||||
<!-- Date -->
|
||||
<row align="center">
|
||||
<hbox class="field-label-box-class" pack="end">
|
||||
|
||||
@@ -545,11 +545,8 @@ function testModify( owner )
|
||||
this.repeatEnd = new Date( 2000, 6, 7, 0, 0, 0 );
|
||||
this.addedEvent.repeatEnd = this.repeatEnd;
|
||||
|
||||
this.addedEvent.category = "7";
|
||||
|
||||
/* THESE FIELDS ARE NOT SET UP PROPERLY WHEN YOU GET AN EVENT
|
||||
FOR MODIFICATION!!!!
|
||||
category:null,
|
||||
location:null,
|
||||
inviteEmailAddress:null,
|
||||
alarmEmailAddress:null,
|
||||
@@ -597,7 +594,6 @@ function testModify( owner )
|
||||
assertEquals( "mod: start" , this.newStart.toString(), this.modEvent.start.toString() );
|
||||
assertEquals( "mod: end" , this.newEnd.toString(), this.modEvent.end.toString() );
|
||||
assertEquals( "mod: description" , "test description", this.modEvent.description );
|
||||
assertEquals( "mod: category" , "7", this.modEvent.category );
|
||||
assertEquals( "mod: location" , "test location", this.modEvent.location );
|
||||
assertEquals( "mod: privateEvent" , false, this.modEvent.privateEvent );
|
||||
assertEquals( "mod: alarm" , true, this.modEvent.alarm );
|
||||
|
||||
@@ -106,14 +106,14 @@ calendar.jar:
|
||||
skin/modern/calendar/week_up.gif (skin/modern/week_up.gif)
|
||||
skin/modern/calendar/weekendwatch1.png (skin/modern/weekendwatch1.png)
|
||||
skin/modern/calendar/weekendwatch8.png (skin/modern/weekendwatch8.png)
|
||||
skin/modern/calendar/ca-event-dialog/calendar_disabled.png (skin/modern/ca-event-dialog/calendar_disabled.png)
|
||||
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.png (skin/modern/ca-event-dialog/calendar_up.png)
|
||||
skin/modern/calendar/ca-event-dialog/clock_disabled.png (skin/modern/ca-event-dialog/clock_disabled.png)
|
||||
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.png (skin/modern/ca-event-dialog/clock_up.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.gif (skin/modern/ca-event-dialog/calendar_down.gif)
|
||||
skin/modern/calendar/ca-event-dialog/calendar_hover.gif (skin/modern/ca-event-dialog/calendar_hover.gif)
|
||||
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.gif (skin/modern/ca-event-dialog/clock_down.gif)
|
||||
skin/modern/calendar/ca-event-dialog/clock_hover.gif (skin/modern/ca-event-dialog/clock_hover.gif)
|
||||
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)
|
||||
|
||||
|
After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 428 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 502 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 497 B |
|
After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 411 B |
|
After Width: | Height: | Size: 326 B |
|
Before Width: | Height: | Size: 750 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 326 B |
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -169,21 +169,21 @@
|
||||
#start-date-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
#start-date-button[disabled="true"],
|
||||
#start-date-button[disabled="true"]:hover,
|
||||
#start-date-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
#start-date-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.gif");
|
||||
}
|
||||
#start-date-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -194,21 +194,21 @@
|
||||
#start-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#start-time-button[disabled="true"],
|
||||
#start-time-button[disabled="true"]:hover,
|
||||
#start-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#start-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
}
|
||||
#start-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -219,21 +219,21 @@
|
||||
#end-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#end-time-button[disabled="true"],
|
||||
#end-time-button[disabled="true"]:hover,
|
||||
#end-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#end-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
}
|
||||
#end-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -245,21 +245,21 @@
|
||||
#repeat-end-date-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
#repeat-end-date-button[disabled="true"],
|
||||
#repeat-end-date-button[disabled="true"]:hover,
|
||||
#repeat-end-date-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
#repeat-end-date-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.gif");
|
||||
}
|
||||
#repeat-end-date-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -169,21 +169,21 @@
|
||||
#start-date-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
#start-date-button[disabled="true"],
|
||||
#start-date-button[disabled="true"]:hover,
|
||||
#start-date-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
#start-date-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.gif");
|
||||
}
|
||||
#start-date-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -194,21 +194,21 @@
|
||||
#start-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#start-time-button[disabled="true"],
|
||||
#start-time-button[disabled="true"]:hover,
|
||||
#start-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#start-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
}
|
||||
#start-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -219,21 +219,21 @@
|
||||
#end-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#end-time-button[disabled="true"],
|
||||
#end-time-button[disabled="true"]:hover,
|
||||
#end-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#end-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
}
|
||||
#end-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
}
|
||||
|
||||
|
||||
@@ -245,21 +245,21 @@
|
||||
#repeat-end-date-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
#repeat-end-date-button[disabled="true"],
|
||||
#repeat-end-date-button[disabled="true"]:hover,
|
||||
#repeat-end-date-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
#repeat-end-date-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.gif");
|
||||
}
|
||||
#repeat-end-date-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -122,24 +122,20 @@ tabpanels {
|
||||
|
||||
.unifinder-modify-button > .unifinder-button-image
|
||||
{
|
||||
background-color : #DDE3EB;
|
||||
list-style-image : url("chrome://calendar/skin/unifinder/modify_up.png");
|
||||
}
|
||||
.unifinder-modify-button[disabled="true"] > .unifinder-button-image,
|
||||
.unifinder-modify-button[disabled="true"]:hover > .unifinder-button-image,
|
||||
.unifinder-modify-button[disabled="true"]:hover:active > .unifinder-button-image
|
||||
{
|
||||
background-color : #DDE3EB;
|
||||
list-style-image : url("chrome://calendar/skin/unifinder/modify_disabled.png");
|
||||
}
|
||||
.unifinder-modify-button:hover > .unifinder-button-image
|
||||
{
|
||||
background-color : #EAEEF6;
|
||||
list-style-image : url("chrome://calendar/skin/unifinder/modify_hover.png");
|
||||
}
|
||||
.unifinder-modify-button:hover:active > .unifinder-button-image
|
||||
{
|
||||
background-color : #CBD9E8;
|
||||
list-style-image : url("chrome://calendar/skin/unifinder/modify_down.png");
|
||||
}
|
||||
|
||||
@@ -173,6 +169,28 @@ tabpanels {
|
||||
list-style-image : url("chrome://calendar/skin/unifinder/remove_down.png");
|
||||
}
|
||||
|
||||
.unifinder-remove-button,
|
||||
.unifinder-remove-button[disabled="true"],
|
||||
.unifinder-remove-button[disabled="true"]:hover,
|
||||
.unifinder-remove-button[disabled="true"]:hover:active,
|
||||
.unifinder-modify-button,
|
||||
.unifinder-modify-button[disabled="true"],
|
||||
.unifinder-modify-button[disabled="true"]:hover,
|
||||
.unifinder-modify-button[disabled="true"]:hover:active
|
||||
{
|
||||
background-color : #DDE3EB;
|
||||
}
|
||||
.unifinder-remove-button:hover,
|
||||
.unifinder-modify-button:hover
|
||||
{
|
||||
background-color : #EAEEF6;
|
||||
}
|
||||
.unifinder-remove-button:hover:active,
|
||||
.unifinder-modify-button:hover:active
|
||||
{
|
||||
background-color : #CBD9E8;
|
||||
}
|
||||
|
||||
.unifinder-button-text
|
||||
{
|
||||
font-family : helvetica;
|
||||
|
||||