<screen title="Notes" version="1.0">

	<layout kind="arve" algn="top, extend"/>
	<layout kind="stks" algn="horizontal"  laye="1"/>

	<list id="acts">
		<record text="Confirm" actn="conf"/>
		<record text="Undo Changes" actn="undo" disa="true" />
		<record text="Cancel" actn="canc" disa="true" />
	</list>

	<widget kind="gbox">
		<layout kind="arhz" algn="middle, extend" offs="0"/>
		<layout kind="stks" algn="vertical" inse="0" laye="1"/>
		<layout kind="fitc" algn="vertical" offs="0"/>

		<widget kind="abtn" id="crnt" asiz="all" clke="crnt" text="Create note"/>
		<widget kind="abtn" id="dele" asiz="all" clke="dele" text="Delete note"/>

		<widget kind="gbox"/>
		<widget kind="gbox"/>

		<widget kind="abtn" id="filt" asiz="all" clke="filt" text="Filter"/>

	</widget>

	<widget kind="gbox">

		<layout kind="arhz" algn="right, extend" offs="0"/>
		<layout kind="stks" algn="vertical" laye="1" inse="0"/>

		<widget kind="gbox">
			<layout kind="arve" algn="bottom, extend" offs="0"/>
			<layout kind="stks" algn="horizontal" laye="1" inse="0"/>

			<widget kind="tbox" id="hstp" title="All notes">
				<layout kind="stks" algn="all" laye="1"/>

				<widget kind="tabl" id="hist" sele="htsl" toph="1" layo="90, -1, 30, 90">
						<flags id="mode" value="select_rows, select_multiple, fill_columns, show_bullets"/>
				</widget>
			</widget>

			<widget kind="lbox" id="lbox" titl="Note details">
				<layout kind="stks" algn="all" inse="0" laye="1"/>
				<layout kind="fitc" algn="vertical, fill"/>

				<widget kind="gbox" id="ntdt">
					<layout kind="arve" algn="top"/>
					<layout kind="stks" algn="horizontal" laye="1"/>
					<layout kind="fitc" algn="vertical, fill"/>

					<widget kind="ectl" mlti="true" id="ntxt" height="60" text="new note">
						<colour id="colr" name="yellow"/>
					</widget>

					<widget kind="tabl" id="note" mode="0" height="91" layo="170, 230, -1">

						<widget kind="labl" row="0" col="0" text="Created:"/>
						<widget kind="labl" row="0" col="1" id="crte" text="Creation date">
							<colour id="colr" name="yellow"/>
						</widget>


						<widget kind="labl" row="1" col="0" text="Category:"/>
						<widget kind="pbtn" row="1" col="1" id="cate" sele="cate">
							<list id="itms">
								<record name="general note" id="genr"/>
								<record name="injury note" id="injr"/>
								<record name="discipline note" id="disp"/>
								<record name="contract note" id="ctrt"/>
								<record name="training note" id="tran"/>
								<record name="scout note" id="scts"/>
								<record name="match note" id="mtch"/>
							</list>
						</widget>

						<widget kind="labl" row="2" col="0" text="Reminder required:"/>
						<widget kind="pbtn" row="2" col="1" id="sdtp" sele="sdtp">
							<list id="itms">
								<record name="none" id="none"/>
								<record name="specify date" id="sdte"/>
								<record name="at end of season" id="aeos"/>
								<record name="at end of contract" id="aeoc"/>
								<record name="at end of contract protection" id="aecp"/>
							</list>
						</widget>

						<widget kind="sclb" row="2" col="2"  id="rmdt" text="This will have current date" width="300">
							<flags id="clke" value="rmdt"/>
							<flags id="algn" value="left"/>
							<colour id="colr" name="cyan"/>
						</widget>


						<widget kind="labl" row="3" col="0" text="Repeat reminder:"/>
						<widget kind="pbtn" row="3" col="1" id="rptr" sele="rptr">
							<list id="itms">
								<record name="Once" id="once"/>
								<record name="every week" id="week"/>
								<record name="every month" id="mnth"/>
								<record name="every 3 months" id="3mth"/>
								<record name="every 6 months" id="6mth"/>
								<record name="every year" id="year"/>
							</list>
						</widget>

					</widget>

				</widget>
			</widget>

		</widget>

		<comment>filter editing panel</comment>
		<widget kind="filp" id="filp" width="200">
			<true id="hidn"/>
		</widget>

	</widget>

</screen>
