<%@ Page language="c#" Codebehind="collection.aspx.cs" AutoEventWireup="false" Inherits="Orciid.collectionproperties" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title runat="server" id="PageTitle">Collection Properties</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 id="Heading" runat="server">Collection Properties</h1>
			<H2><asp:label id="CollectionTitleLabel" runat="server">Label</asp:label></H2>
			<P>
				<asp:HyperLink id="PermissionsHyperLink" runat="server">Permissions</asp:HyperLink>&nbsp;
				<asp:HyperLink id="FieldDefinitionsHyperLink" runat="server">Field Definitions</asp:HyperLink>&nbsp;
				<asp:HyperLink id="ControlledListsHyperLink" runat="server">Controlled Lists</asp:HyperLink>&nbsp;
				<asp:HyperLink id="ImportDataHyperLink" runat="server">Import Data</asp:HyperLink>&nbsp;
				<asp:HyperLink id="ExportDataHyperLink" runat="server">Export Data</asp:HyperLink>&nbsp;
				<asp:LinkButton id="ModerateSubmissionsLinkButton" runat="server">Moderate Submissions</asp:LinkButton>&nbsp;
				<asp:HyperLink id="SharingHyperLink" runat="server">Sharing</asp:HyperLink></P>
			<H3 id="PropertiesHeading" runat="server">Properties</H3>
			<P>
				<TABLE cellSpacing="2" cellPadding="2" border="0">
					<TR>
						<TD vAlign="top"><STRONG><span id="NameLabelSpan" runat="server">Name</span></STRONG></TD>
						<TD><asp:textbox id="NameTextBox" runat="server" Columns="40"></asp:textbox>&nbsp;
							<asp:requiredfieldvalidator id="NameRequiredFieldValidator" runat="server" ErrorMessage="Please specify a name for the collection"
								Display="Dynamic" ControlToValidate="NameTextBox"></asp:requiredfieldvalidator></TD>
					</TR>
					<TR>
						<TD vAlign="top"><STRONG><span id="TypeLabelSpan" runat="server">Type</span></STRONG></TD>
						<TD><asp:label id="CollectionTypeLabel" runat="server">Label</asp:label></TD>
					</TR>
					<TR>
						<TD vAlign="top"><STRONG><span id="DescriptionLabelSpan" runat="server">Description</span></STRONG></TD>
						<TD><asp:textbox id="DescriptionTextBox" runat="server" TextMode="MultiLine" Rows="5" Columns="40"></asp:textbox></TD>
					</TR>
					<TR id="ResourcePathTableRow" runat="server">
						<TD vAlign="top"><STRONG><span id="ResourcePathLabelSpan" runat="server">Resource 
									Path</span></STRONG></TD>
						<TD><asp:textbox id="ResourcePathTextBox" runat="server" Columns="40"></asp:textbox></TD>
					</TR>
					<TR id="RemoteUrlTableRow" runat="server">
						<TD vAlign="top"><STRONG><span id="RemoteUrlLabelSpan" runat="server">Remote URL</span></STRONG>
						</TD>
						<TD>
							<asp:TextBox id="RemoteUrlTextBox" runat="server" Columns="40"></asp:TextBox>
							<asp:Label id="RemoteUrlLabel" runat="server"></asp:Label></TD>
					</TR>
					<TR id="CacheSizeTableRow" runat="server">
						<TD vAlign="top"><STRONG><span id="CacheSizeLabelSpan" runat="server">Cache Size</span></STRONG></TD>
						<TD>
							<asp:TextBox id="CacheSizeTextBox" runat="server" Columns="10"></asp:TextBox>&nbsp;<span id="CacheSizeNotesSpan" runat="server">MB 
								(ignored if images in use take up more space)</span></TD>
					</TR>
					<TR id="ImageSizesTableRow" runat="server">
						<TD vAlign="top"><STRONG><span id="ImageSizesLabelSpan" runat="server">Image Sizes</span></STRONG></TD>
						<TD>
							<TABLE cellSpacing="0" cellPadding="4" border="1">
								<TR>
									<TD></TD>
									<TD><span id="WidthLabelSpan" runat="server">Width</span></TD>
									<TD><span id="HeightLabelSpan" runat="server">Height</span></TD>
									<TD><span id="QualityLabelSpan" runat="server">Quality</span></TD>
									<TD><span id="FixedSizeLabelSpan" runat="server">Fixed Size</span></TD>
									<TD><span id="BackgroundColorLabelSpan" runat="server">Background Color</span></TD>
								</TR>
								<TR>
									<TD><span id="FullLabelSpan" runat="server">Full</span></TD>
									<TD><asp:textbox id="WidthFullTextBox" runat="server" Columns="5"></asp:textbox>&nbsp;
										<asp:rangevalidator id="WidthFullRangeValidator" runat="server" ErrorMessage="Must be 1-99999" Display="Dynamic"
											ControlToValidate="WidthFullTextBox" MaximumValue="99999" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="WidthFullRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="WidthFullTextBox"></asp:requiredfieldvalidator></TD>
									<TD><asp:textbox id="HeightFullTextBox" runat="server" Columns="5"></asp:textbox>&nbsp;
										<asp:rangevalidator id="HeightFullRangeValidator" runat="server" ErrorMessage="Must be 1-99999" Display="Dynamic"
											ControlToValidate="HeightFullTextBox" MaximumValue="99999" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="HeightFullRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="HeightFullTextBox"></asp:requiredfieldvalidator></TD>
									<TD><asp:textbox id="QualityFullTextBox" runat="server" Columns="3"></asp:textbox>&nbsp;<asp:rangevalidator id="QualityFullRangeValidator" runat="server" ErrorMessage="Must be 1-100" Display="Dynamic"
											ControlToValidate="QualityFullTextBox" MaximumValue="100" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="QualityFullRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="QualityFullTextBox"></asp:requiredfieldvalidator></TD>
									<TD align="center"><asp:checkbox id="FixedSizeFullCheckBox" runat="server"></asp:checkbox></TD>
									<TD align="left">
										<asp:TextBox id="BGColorFullTextBox" runat="server" Columns="6" MaxLength="6"></asp:TextBox>
										<asp:RegularExpressionValidator id="BGColorFullRegularExpressionValidator" runat="server" ControlToValidate="BGColorFullTextBox"
											Display="Dynamic" ErrorMessage="Enter a RGB color value between 000000 and FFFFFF" ValidationExpression="[a-fA-F0-9]{6}"></asp:RegularExpressionValidator></TD>
								</TR>
								<TR>
									<TD><span id="MediumLabelSpan" runat="server">Medium</span></TD>
									<TD><asp:textbox id="WidthMediumTextBox" runat="server" Columns="5"></asp:textbox>&nbsp;
										<asp:rangevalidator id="WidthMediumRangeValidator" runat="server" ErrorMessage="Must be 1-99999" Display="Dynamic"
											ControlToValidate="WidthMediumTextBox" MaximumValue="99999" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="WidthMediumRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="WidthMediumTextBox"></asp:requiredfieldvalidator></TD>
									<TD><asp:textbox id="HeightMediumTextBox" runat="server" Columns="5"></asp:textbox>&nbsp;
										<asp:rangevalidator id="HeightMediumRangeValidator" runat="server" ErrorMessage="Must be 1-99999" Display="Dynamic"
											ControlToValidate="HeightMediumTextBox" MaximumValue="99999" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="HeightMediumRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="HeightMediumTextBox"></asp:requiredfieldvalidator></TD>
									<TD><asp:textbox id="QualityMediumTextBox" runat="server" Columns="3"></asp:textbox>&nbsp;<asp:rangevalidator id="QualityMediumRangeValidator" runat="server" ErrorMessage="Must be 1-100" Display="Dynamic"
											ControlToValidate="QualityMediumTextBox" MaximumValue="100" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="QualityMediumRequiredFieldValidator" runat="server" ErrorMessage="Required"
											Display="Dynamic" ControlToValidate="QualityMediumTextBox"></asp:requiredfieldvalidator></TD>
									<TD align="center"><asp:checkbox id="FixedSizeMediumCheckBox" runat="server"></asp:checkbox></TD>
									<TD align="left">
										<asp:TextBox id="BGColorMediumTextBox" runat="server" Columns="6" MaxLength="6"></asp:TextBox>
										<asp:RegularExpressionValidator id="BGColorMediumRegularExpressionValidator" runat="server" ControlToValidate="BGColorMediumTextBox"
											Display="Dynamic" ErrorMessage="Enter a RGB color value between 000000 and FFFFFF" ValidationExpression="[a-fA-F0-9]{6}"></asp:RegularExpressionValidator></TD>
								</TR>
								<TR>
									<TD><span id="ThumbLabelSpan" runat="server">Thumb</span></TD>
									<TD><asp:textbox id="WidthThumbTextBox" runat="server" Columns="5"></asp:textbox>&nbsp;
										<asp:rangevalidator id="WidthThumbRangeValidator" runat="server" ErrorMessage="Must be 1-99999" Display="Dynamic"
											ControlToValidate="WidthThumbTextBox" MaximumValue="99999" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="WidthThumbRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="WidthThumbTextBox"></asp:requiredfieldvalidator></TD>
									<TD><asp:textbox id="HeightThumbTextBox" runat="server" Columns="5"></asp:textbox>&nbsp;
										<asp:rangevalidator id="HeightThumbRangeValidator" runat="server" ErrorMessage="Must be 1-99999" Display="Dynamic"
											ControlToValidate="HeightThumbTextBox" MaximumValue="99999" MinimumValue="1" Type="Integer"></asp:rangevalidator>
										<asp:RequiredFieldValidator id="HeightThumbRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="HeightThumbTextBox"></asp:RequiredFieldValidator></TD>
									<TD><asp:textbox id="QualityThumbTextBox" runat="server" Columns="3"></asp:textbox>&nbsp;<asp:rangevalidator id="QualityThumbRangeValidator" runat="server" ErrorMessage="Must be 1-100" Display="Dynamic"
											ControlToValidate="QualityThumbTextBox" MaximumValue="100" MinimumValue="1" Type="Integer"></asp:rangevalidator><asp:requiredfieldvalidator id="QualityThumbRequiredFieldValidator" runat="server" ErrorMessage="Required" Display="Dynamic"
											ControlToValidate="QualityThumbTextBox"></asp:requiredfieldvalidator></TD>
									<TD align="center"><asp:checkbox id="FixedSizeThumbCheckBox" runat="server"></asp:checkbox></TD>
									<TD align="left">
										<asp:TextBox id="BGColorThumbTextBox" runat="server" Columns="6" MaxLength="6"></asp:TextBox>
										<asp:RegularExpressionValidator id="BGColorThumbRegularExpressionValidator" runat="server" ControlToValidate="BGColorThumbTextBox"
											Display="Dynamic" ErrorMessage="Enter a RGB color value between 000000 and FFFFFF" ValidationExpression="[a-fA-F0-9]{6}"></asp:RegularExpressionValidator></TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
					<TR id="OverviewImageTableRow" runat="server">
						<TD vAlign="top"><STRONG><span id="OverviewImageLabelSpan" runat="server">Overview 
									Image</span></STRONG></TD>
						<TD>
							<asp:TextBox id="OverviewImageTextBox" runat="server" Columns="40"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD vAlign="top"><STRONG><span id="GroupLabelSpan" runat="server">Group</span></STRONG></TD>
						<TD>
							<asp:DropDownList id="CollectionGroupDropDownList" runat="server"></asp:DropDownList></TD>
					</TR>
					<TR>
						<TD vAlign="top"><STRONG></STRONG></TD>
						<TD>
							<asp:Button id="UpdateButton" runat="server" Text="Update Properties"></asp:Button></TD>
					</TR>
				</TABLE>
			</P>
			<div id="UsageAgreementDiv" runat="server">
				<H3 id="UsageAgreementHeading" runat="server">Usage Agreement</H3>
				<asp:TextBox id="UsageAgreementTextBox" runat="server" TextMode="MultiLine" Rows="10" Columns="60"></asp:TextBox><br>
				<asp:Button id="UsageAgreementButton" runat="server" Text="Update Usage Agreement" CausesValidation="False"></asp:Button>
			</div>
			<div id="CreateImageDiv" runat="server">
				<H3 runat="server" id="CreateNewImageHeading">Create new image</H3>
				<asp:Button id="CreateImageButton" runat="server" Text="Create" CausesValidation="False"></asp:Button>
			</div>
			<div id="RemoveDiv" runat="server">
				<H3 id="RemoveCollectionHeading" runat="server">Remove this collection</H3>
				<P><span id="RemoveCollectionWarningSpan" runat="server">WARNING: Removing a 
						collection cannot be undone and will result in a large amount of data being 
						removed. If you want to remove this collection, type YES into the confirmation 
						box and click the Remove button.</span></P>
				<P><span id="RemoveCollectionConfirmationLabelSpan" runat="server">Confirmation:</span>
					<asp:TextBox id="RemoveConfirmationTextBox" runat="server" Columns="3"></asp:TextBox>&nbsp;
					<asp:Button id="RemoveButton" runat="server" Text="Remove" CausesValidation="False"></asp:Button></P>
			</div>
		</form>
	</body>
</HTML>
