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

<panel title="Fixtures Panel">

	<boolean id="save_current_state" value="true"/>

	<layout class="arrange_horizontal_attachment" alignment="right,extend" offset="0"/>
	<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/>
	
	<!-- fixtures panel on left -->
	<container class="titled_box" title="Fixtures" id="fxTB">
		<layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0"/>
		<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>
		
		<container id="btns" embed_in_frame="true">
			<layout class="arrange_horizontal_attachment" alignment="right" embed_in_frame="true"/>
			<layout class="stick_to_sides_attachment" alignment="top" inset="0" layout_children="true" embed_in_frame="true"/>
		
			<layout class="stick_to_sides_attachment" alignment="top,right" embed_in_frame="true" inset="3"/>
		
			<layout class="fit_children_attachment" alignment="vertical" embed_in_frame="true"/>
			<layout class="fit_children_attachment" alignment="horizontal,fill" embed_in_frame="true"/>
		
			<!-- view menu -->
			<widget kind="embedded_popup_button" id="view" auto_size="all" sele="view" text="View" fixed="true" embed_in_frame="true">
			<list id="items">
				<record id="0" text="Fixtures" tkex="true"/>
				<record id="1" text="Important Dates" tkex="true"/>
				<record id="2" text="All Dates" tkex="true"/>
			</list>
			</widget>
		
			<!-- seasons popup -->
			<widget kind="embedded_plus_minus_list" id="fxyr" width="200" sele="fxcy" auto_size="all" embed_in_frame="true"/>
		</container>
			
		<!-- fixtures table -->
		<widget class="fixtures_table" id="fxtb" mode="fill_rows, select_rows, show_bullets, keyboard"/>
		
		<container id="frba">
			<layout class="arrange_horizontal_attachment" alignment="right" offset="0"/>
			<layout class="fit_children_attachment" alignment="vertical" offset="0"/>
			<layout class="stick_to_sides_attachment" alignment="top" layout_children="true" inset="0"/>

			<!-- past meetings button -->
			<widget class="action_button" id="psmt" text="Past Meetings" auto_size="horizontal" disabled="true"/>
			
			<!-- cancel friendly button -->
			<widget class="action_button" id="cafr" text="Cancel Friendly" clke="cafr" auto_size="horizontal" disabled="true"/>
			
			<!-- arrange friendly button -->
			<widget class="action_button" id="arrf" text="Arrange Friendly" clke="arrf" auto_size="horizontal" hint="Click to arrange a friendly match"/>

			<!-- next fixture button -->
			<widget class="action_button" id="shnf" text="Show Next Fixture" clke="shnf" auto_size="horizontal" hint="Click to highlight your next fixture"/>
		</container>
		
		<widget class="fixture_details_panel" id="fxdt" />

	</container>

	<!-- friendly panel on the right -->		
	<container class="friendly_panel" id="arfr" hidden="true"/>
</panel>
