<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   logViewer.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) 2006 AOL LLC.  All rights reserved.
//      This software contains valuable confidential and proprietary
//      information of AOL LLC. 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 O L   C O N F I D E N T I A L

****************************************************************************
-->


<!DOCTYPE window SYSTEM "box://imApp/resources/im.dtd">

<?import href="box://aimToolkit/content/gadgets.box"?>
<?import href="box://aimToolkit/theme/toolkit.box"?>

<aimWindow 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"
    id="window" translucent="false" chromeless="true"
    title="&logViewer.LogViewer;"
    s:flex="1" s:width="600" s:height="400" 
    icon="box://imApp/resources/imWindowIcon.png"
    nativeIcon="box://imApp/resources/aim.ico"
    on:initialized="onInitialized();"
    on:constructed="onConstructed();"
    on:destroyed="onDestroyed();"
    on:close="onClose();">

    <script id="listener" language="jscript" href="box://imApp/content/viewListener.js"/>
    <script id="main" language="jscript" href="box://imApp/content/logViewer/logViewer.js"/>
    
    <vbox s:flex="1" s:fill="#B3B2B1" s:paddingTop="8">
        <hbox s:overflow="hidden" s:vAlign="center" s:maxWidth="auto">
            <aolLabel value="&logViewer.FromScreenName;"/>
            <aolCombobox id="snBox" on:command="populateFolders();"/>
            
            
        </hbox>
        <hbox s:flex="1">
            <vbox id="buddies">
                <aolLabel value="&logViewer.Buddies;"/>
                <aolListBox id="folderList" style="bordered" s:width="120" selectMode="single" s:flex="1" on:select="populateLogs();">
                    <columns header="false">
                        <column s:flex="1"/>
                    </columns>
                    <rows id="folderBox">
                    </rows>
                </aolListBox>
            </vbox>

            <vbox id="days">
                <aolLabel value="&logViewer.Conversations;"/>
                <aolListBox id="fileList" style="bordered" s:width="150" selectMode="single"  s:flex="1" on:select="displayLog();">
                    <columns header="false">
                        <column s:flex="1"/>
                    </columns>
                    <rows id="logBox">
                    </rows>
                </aolListBox>
            </vbox>

            <vbox s:flex="1">
                <aolLabel value="&logViewer.History;"/>
                <dhtml s:margin="3" id="browser" s:flex="1" s:overflow="scroll"/>
            </vbox>
            

        </hbox>
    </vbox>
</aimWindow>
