<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE panel SYSTEM "http://www.sigames.com/dtds/sios/panel.dtd">

<!-- add manager panel -->
<panel>
    <!-- this layout arranges all the screen items vertically, starting at the top -->
	<layout class="fit_children_attachment" alignment="vertical,fill" gap="16" offset="0" />
    <layout class="arrange_vertical_attachment" alignment="top,extend" gap="16" offset="0"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>
    
    <!-- details table -->
    <widget class="table" layout="-1,-2" auto_size="vertical">
        <flags id="mode" value=""/>
        <boolean id="auto_size_rows" value="true"/>
		<flags id="heading_class" value="column_heading_alternative"/>
		<flags id="row_spacing" value="2"/>

        <list id="headings">
            <record text="Details" column_span="2"/>
        </list>
      
        <list id="column_display_properties">
	        <record indx="0" sort_disabled="true"/>
            <record indx="1" sort_disabled="true"/>
        </list>
        
        
        <widget class="label" text="First" col="0" row="0"/>
        <widget class="edit_box" id="frst" col="1" row="0" edit_event="frst">
			<layout class="max_length_attachment" length="25"/>
        </widget>
    
        <widget class="label" text="Last" col="0" row="1"/>
        <widget class="edit_box" id="last" col="1" row="1" edit_event="last">
			<layout class="max_length_attachment" length="25"/>
        </widget>

        <widget class="label" text="Nationality" col="0" row="2"/>
        <widget class="subtle_popup" id="natn" sele="natn" col="1" row="2" />

        <widget class="label" text="Date Of Birth" col="0" row="3" />
        <widget class="action_button" id="date" click_event="cdob" alignment="left, middle_y" col="1" row="3"/>
    </widget>
    
    <!-- password table -->
    <widget class="table" layout="-1,-2" auto_size="vertical">
        <flags id="mode" value=""/>
		<flags id="heading_class" value="column_heading_alternative"/>
		<flags id="row_spacing" value="4"/>

      	<list id="headings">
            <record text="Password" column_span="2"/>
        </list>
      
        <list id="column_display_properties">
            <record indx="0" sort_disabled="true"/>
            <record indx="1">
				<flags id="sort_disabled" value="true"/>
				<flags id="column_alignment" value="centre_y,left" />
            </record>
        </list>

        <widget class="label" text="Use Password?" col="0" row="0"/>
        <widget class="check_box" id="usep" text="" click_event="tusp" col="1" row="0"/>
                
        <widget class="label" text="Password" col="0" row="1"/>
        <widget class="edit_box" id="pass" col="1" row="1" hide_text="true" edit_event="pass"/>
    
        <widget class="label" text="Verify Password" col="0" row="2"/>
        <widget class="edit_box" id="veri" col="1" row="2" hide_text="true" edit_event="veri"/>
 
    </widget>

    <!-- teams table -->
    <widget class="table" layout="-1,-2">
        <boolean id="stretch_to_fit_rows" value="true"/>
        <boolean id="auto_size_rows" value="true"/>
		<flags id="heading_class" value="column_heading_alternative"/>
		<flags id="row_spacing" value="2"/>

        <flags id="mode" value=""/>
        <list id="headings">
            <record text="Teams" column_span="2"/>
        </list>
      
        <list id="column_display_properties">
            <record indx="0" sort_disabled="true"/>
            <record indx="1" sort_disabled="true"/>
        </list>

        <widget class="label" text="Team To Manage" col="0" row="0"/>
        <widget class="subtle_popup" id="team" text="None Selected" col="1" row="0"/>

        <widget class="label" text="Favourite Team" col="0" row="1"/>
        <widget class="subtle_popup" id="favo" text="None Selected" col="1" row="1"/>
    
 
    </widget>


	<!-- 	buttons - these aren't in a table, so that they size themselves correctly, and
			the Recent Users button is positioned apart from the other two, on the left -->
	
    <container file="add manager buttons"/>

</panel>
