<%@ Page language="c#" Codebehind="collectiondef.aspx.cs" AutoEventWireup="false" Inherits="Orciid.collectiondef" %>
<%@ Import namespace="Orciid.Core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title runat="server" id="PageTitle">Field Definitions</title>
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<form method="post" runat="server">
			<h1 runat="server" id="Heading">Field Definitions</h1>
			<H2>
				<asp:Label id="TitleLabel" runat="server"></asp:Label></H2>
			<P>
				<asp:HyperLink id="PropertiesHyperLink" runat="server">Back to Properties</asp:HyperLink></P>
			<asp:Panel id="ImportFieldsPanel" runat="server">
				<H3 id="AutogenerateFieldsHeading" runat="server">Autogenerate Fields</H3>
				<P>
					<TABLE id="Table2" cellSpacing="2" cellPadding="2" border="0">
						<TR>
							<TD>
								<asp:RadioButton id="DublinCoreRadioButton" runat="server" GroupName="Autogenerate" Text="Dublin Core"></asp:RadioButton></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD>
								<asp:RadioButton id="FromSchemaRadioButton" runat="server" GroupName="Autogenerate" Text="From Schema File:"></asp:RadioButton></TD>
							<TD><INPUT id="SchemaFileField" type="file" runat="server"></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD>
								<asp:RadioButton id="FromDataRadioButton" runat="server" GroupName="Autogenerate" Text="From XML Data File:"></asp:RadioButton></TD>
							<TD><INPUT id="DataFileField" type="file" runat="server"></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD>
								<asp:RadioButton id="FromCollectionRadioButton" runat="server" GroupName="Autogenerate" Text="From Existing Collection:"></asp:RadioButton></TD>
							<TD>
								<asp:DropDownList id="CollectionDropDownList" runat="server"></asp:DropDownList></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD></TD>
							<TD>
								<asp:Button id="GenerateFieldsButton" runat="server" Text="Generate Fields"></asp:Button></TD>
							<TD></TD>
							<TD></TD>
							<TD></TD>
						</TR>
					</TABLE>
				</P>
			</asp:Panel>
			<P></P>
			<h3 id="FieldDefinitionsHeading" runat="server">Field Definitions</h3>
			<P>
				<table cellspacing="0" cellpadding="3" border="0">
					<tr>
						<td valign="top"><span id="FieldLabelSpan" runat="server">Field:</span>
						</td>
						<td><asp:listbox id="FieldList" runat="server" Rows="15"></asp:listbox></td>
						<td valign="top">
							<p><asp:button id="ModifyButton" runat="server" text="Modify" width="100px"></asp:button>&nbsp;
							</p>
							<p>
								<asp:button id="RemoveButton" runat="server" text="Remove" width="100px"></asp:button></p>
							<p><asp:button id="CreateNewButton" runat="server" text="Create New" width="100px"></asp:button></p>
							<p>
								<asp:button id="MoveButton" runat="server" text="Move" width="100px"></asp:button>
								&nbsp;
								<asp:dropdownlist id="RepositionList" runat="server"></asp:dropdownlist>&nbsp;</p>
						</td>
					</tr>
				</table>
				<hr width="100%" size="1">
				<asp:panel id="DetailPanel" runat="server" visible="False">
					<TABLE id="Table1" cellSpacing="0" cellPadding="3" border="0">
						<TR>
							<TD align="right"><SPAN id="NameLabelSpan" runat="server">Name:</SPAN></TD>
							<TD>
								<asp:textbox id="NameBox" runat="server"></asp:textbox></TD>
							<TD>
								<asp:checkbox id="SearchableCheckBox" runat="server" text="Searchable"></asp:checkbox></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="LabelLabelSpan" runat="server">Label:</SPAN></TD>
							<TD>
								<asp:textbox id="LabelBox" runat="server"></asp:textbox></TD>
							<TD>
								<asp:checkbox id="KeywordSearchableCheckBox" runat="server" text="Keyword Searchable"></asp:checkbox></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="DCElementLabelSpan" runat="server">DC Element:</SPAN></TD>
							<TD>
								<asp:textbox id="DCElementBox" runat="server"></asp:textbox></TD>
							<TD>
								<asp:checkbox id="SortableCheckBox" runat="server" text="Sortable"></asp:checkbox></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="DCRefinementLabelSpan" runat="server">DC Refinement:</SPAN></TD>
							<TD>
								<asp:textbox id="DCRefinementBox" runat="server"></asp:textbox></TD>
							<TD>
								<asp:checkbox id="BrowsableCheckBox" runat="server" text="Browsable"></asp:checkbox></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="TypeLabelSpan" runat="server">Type:</SPAN></TD>
							<TD>
								<asp:dropdownlist id="TypeList" runat="server"></asp:dropdownlist></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="ControlledListLabelSpan" runat="server">Controlled 
									List:</SPAN></TD>
							<TD>
								<asp:dropdownlist id="ControlledListList" runat="server"></asp:dropdownlist></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="ShortViewLabelSpan" runat="server">Short View:</SPAN></TD>
							<TD>
								<asp:dropdownlist id="ShortViewList" runat="server"></asp:dropdownlist></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="MediumViewLabelSpan" runat="server">Medium View:</SPAN></TD>
							<TD>
								<asp:dropdownlist id="MediumViewList" runat="server"></asp:dropdownlist></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD align="right"><SPAN id="LongViewLabelSpan" runat="server">Long View:</SPAN></TD>
							<TD>
								<asp:dropdownlist id="LongViewList" runat="server"></asp:dropdownlist></TD>
							<TD></TD>
						</TR>
						<TR>
							<TD align="right" colSpan="3">
								<P>
									<asp:button id="SubmitButton" runat="server" text="Submit Changes"></asp:button></P>
							</TD>
						</TR>
					</TABLE>
				</asp:panel>
			<P></P>
		</form>
	</body>
</HTML>
