﻿<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   build.box

****************************************************************************
   C O P Y R I G H T   A N D   C O N F I D E N T I A L I T Y   N O T I C E
****************************************************************************

      Copyright (c) 2004-2005 America Online, Inc.  All rights reserved.
      This software contains valuable confidential and proprietary
      information of America Online, Inc. and is subject to applicable
      licensing agreements.  Unauthorized reproduction, transmission or
      distribution of this file and its contents is a violation of
      applicable laws.

            A M E R I C A   O N L I N E   C O N F I D E N T I A L

****************************************************************************
-->

<!DOCTYPE window SYSTEM "box://plaxoApp/resources/plaxoStrings.dtd">

<?import href="box://boxelyToolkit/content/gadgets.box"?>
<?import href="box://plaxoApp/content/plaxoToolkit.box"?>
<?import href="box://plaxoApp/content/gadget/bblGrid.box"?>

<aolDialog translucent="false" chromeless="true"
        xmlns="http://www.aol.com/boxely/box.xsd"
        xmlns:s="http://www.aol.com/boxely/style.xsd"
        xmlns:on="http://www.aol.com/boxely/reaction.xsd"
		icon="box://imApp/resources/runningman_small.png"
        title="&plaxoStrings.buildBuddyList.title;"
        id="build" 
		resizable="true"
        s:overflow="scroll"
        s:left="cursor_right_top" 
        s:height="480*"
		s:minHeight="540"
        s:width="640*"
		s:minWidth="750"
		s:fill="#FFFFFF"
		collapsed="true"
		>
   
	<reaction event="keyPress" keyCode="ESCAPE" action="scene.close();"/>

	<vbox s:flex="1" s:stroke="#464646" s:strokeWidth="1" s:margin="-1 1 1 1" style="plaxoHeaderBackground" s:maxWidth="auto" s:maxHeight="auto">

		<!-- Plaxo Header -->

		<hbox s:marginTop="1" s:marginLeft="1" s:marginRight="1" s:marginBottom="0" s:height="80">
			<image src="box://plaxoApp/theme/images/plaxo_build.png" s:marginLeft="2" s:marginTop="2" />
			<spacer s:width="4" />
			<vbox >	
				<spacer s:height="22" />
				<aolLabel style="plaxoCardHeader" value="&plaxoStrings.cards.header;" />
				<aolLabel s:padding="0" s:margin="0" s:fontSize="18px" s:fontWeight="bold" value="&plaxoStrings.buildBuddyList.title;" />
			</vbox>
			
			<!-- Power by Plaxo clickable -->
			<plaxoPowerBy s:right="0" s:top="47" s:position="fixed" img="box://plaxoApp/theme/images/plaxo_power2.png" on:command="shell.plaxo.launchPlaxoUrl('support/getting_started/aim?src=aim.Build');"/>
		</hbox>

		<hbox id="pageContent" s:flex="1" s:maxHeight="auto" s:maxWidth="auto" s:overflow="scroll" >
		
			<vbox id="buildRoot" s:flex="1" s:margin="5 13 5 13" s:maxHeight="auto" >
				<vbox style="plaxoCardBack" s:maxHeight="auto" s:flex="1">
					
					<spacer id="spacer1" s:height="30" />
					
					<aolMultilineStatic plaintext="true" s:fontSize="14px" id="buildHeader" s:fontBold="true" value="" collapsed="true" />
					<aolMultilineStatic plaintext="true" s:fontSize="12px" id="buildText" value="&plaxoStrings.setupWizard.build.header;"/>

					<spacer id="spacer2" s:height="10" />
					<plaxoBigProgressBar id="buildProgress" />

					<hbox s:flex="1" s:maxHeight="auto">
						<vbox s:flex="5" id="bbxOptions" collapsed="true" s:padding="1" s:strokeWidth="1" s:stroke="#C9CED4">
							<bblGrid s:flex="1" id="buildBuddyBox" s:maxWidth="auto" s:maxHeight="auto" />
							<hbox style="plaxoSideHBack" s:margin="0 1 1 1">
								<plaxoSingleLineLink label="&plaxoStrings.generic.checkAll;" on:command="build_checkAll(true);"/>
								<spacer s:width="10"/>
								<plaxoSingleLineLink label="&plaxoStrings.generic.uncheckAll;" on:command="build_checkAll(false);"/>
							</hbox>
						</vbox>
						<vbox id="addSummary" s:flex="2" s:margin="0 0 0 5" s:padding="1" s:strokeWidth="1" s:stroke="#C9CED4" collapsed="true" s:overflow="scroll" s:maxHeight="auto" s:maxWidth="auto">
							<hbox style="plaxoSideHBack" s:margin="1">
								<vbox s:flex="1">
									<plaxoSideboxH3 id="summaryHeader" text="&plaxoStrings.build.sidebox.h3;" accValue="&plaxoStrings.build.sidebox.h3c;" accTabRead="true" />
								</vbox>
							</hbox>
							<plaxoSideboxContent id="noBuddy" s:marginLeft="5" text="&plaxoStrings.build.sidebox.h3c;"/>
						</vbox>
					</hbox>

					<hbox id="bblOptions" collapsed="true" s:vAlign="center" s:margin="4 0 0 3">
						<aolLabel value="&plaxoStrings.build.setAll;" s:fontBold="true" />
						<plaxoComboBox id = "buildCombo" s:width="120*" s:maxWidth="120*" disableUpdateLabel="true" on:command="build_setAllGroups();" accName="&plaxoStrings.build.setAll;"/>
						<aolButton id="addBuddyBtn" label="&plaxoStrings.build.addSelected;" disabled="true" on:command="build_onSave();" defaultButton="true"/>
					</hbox>
				</vbox>
			</vbox>
		</hbox>
		

		<!-- Command Bar Footer -->
		<spacer s:height="1" s:fill="#DBDBDB" s:margin="0 1 0 1"/>
		<hbox s:height="41" s:fill="url(#plaxobrush.footer.gradient)" s:margin="1" s:hAlign="center" s:vAlign="center">
			<aolButton id="save" disabled="true" label="&plaxoStrings.generic.save;" on:command="build_onSave();" defaultButton="true" accesskey="&plaxoStrings.generic.save_accessKey;" />
			<aolButton id="cancel" label="&plaxoStrings.generic.cancel;" on:command="scene.close();" accesskey="&plaxoStrings.generic.cancel_accessKey;"/>		
		</hbox>

	</vbox>

</aolDialog>
