<%@ Page language="c#" Codebehind="Create.aspx.cs" AutoEventWireup="True" Inherits="eDocument.Server.Administrator.Consumer.Create" %>

<%@ Register Src="../CultureChooser.ascx" TagName="CultureChooser" TagPrefix="uc1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Create</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK rel="stylesheet" type="text/css" href="../css/FrameWork.css">
		<LINK rel="stylesheet" type="text/css" href="../css/Main.css">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<h1>Opprett organisasjon</h1>
			<p>
				Fra denne siden kan du opprette en organisasjon. De obligatoriske feltene er merket med 
				*. Du kan også velge å angi kontaktinformasjon dersom du 
				ønsker dette.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td><asp:label id="Label1" runat="server">Navn *</asp:label></td>
					<td><asp:textbox id="txtName" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="HyperLink7" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" Display="Dynamic" ControlToValidate="txtName"
							ErrorMessage="Du må angi et navn."></asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td><asp:label id="Label4" runat="server">Organisasjonsnummer</asp:label></td>
					<td><asp:textbox id="txtOrgNo" runat="server" MaxLength="9" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="HyperLink20" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>

				<tr>
					<td><asp:label id="Label18" runat="server">Brukernavn *</asp:label></td>
					<td><asp:textbox id="txtUsername" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink17" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td><asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" Display="Dynamic" ControlToValidate="txtUsername"
							ErrorMessage="Du må angi et brukernavn."></asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td><asp:label id="Label19" runat="server">Passord *</asp:label></td>
					<td><asp:textbox id="txtPassword" runat="server" MaxLength="300" Width="272px" TextMode="Password"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink18" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td><asp:requiredfieldvalidator id="Requiredfieldvalidator3" runat="server" Display="Dynamic" ControlToValidate="txtPassword"
							ErrorMessage="Du må angi et passord."></asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td><asp:label id="Label2" runat="server">Gjenta passord *</asp:label></td>
					<td><asp:textbox id="txtRepeatPassword" runat="server" MaxLength="300" Width="272px" TextMode="Password"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink19" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td><asp:requiredfieldvalidator id="Requiredfieldvalidator4" runat="server" Display="Dynamic" ControlToValidate="txtRepeatPassword"
							ErrorMessage="Du må gjenta passord."></asp:requiredfieldvalidator>
						<asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="Passordene er ikke like." ControlToValidate="txtRepeatPassword"
							ControlToCompare="txtPassword"></asp:CompareValidator></td>
				</tr>
				<tr>
					<td><asp:label id="lblAddress1" runat="server">Adresse 1</asp:label></td>
					<td><asp:textbox id="txtAddress1" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink1" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="lblAddress2" runat="server">Adresse 2</asp:label></td>
					<td><asp:textbox id="txtAddress2" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink2" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="lblZip" runat="server">Postnummer</asp:label></td>
					<td><asp:textbox id="txtZip" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink3" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label6" runat="server">Stedsnavn</asp:label></td>
					<td><asp:textbox id="txtCity" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink4" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label7" runat="server">Telefon</asp:label></td>
					<td><asp:textbox id="txtTelephone" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink5" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label8" runat="server">Telefaks</asp:label></td>
					<td><asp:textbox id="txtTelefax" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink6" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label9" runat="server">E-post adresse</asp:label></td>
					<td><asp:textbox id="txtEmailAddress" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink8" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="lblUrl" runat="server">Url</asp:label></td>
					<td><asp:textbox id="txtUrl" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink9" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="lblFrontPage" runat="server">Kommunebanner bildeurl</asp:label></td>
					<td><asp:textbox id="txtFrontPage" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink10" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="lblCssUrl" runat="server">URL til CSS</asp:label></td>
					<td><asp:textbox id="txtCssUrl" runat="server" MaxLength="400" Width="272px"></asp:textbox></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label15" runat="server">Enhetsregisteret brukernavn</asp:label></td>
					<td><asp:textbox id="txtEnhetsregisteretUsername" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink14" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label16" runat="server">Enhetsregisteret passord</asp:label></td>
					<td><asp:textbox id="txtEnhetsregisteretPassword" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink15" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label12" runat="server">DSF brukernavn</asp:label></td>
					<td><asp:textbox id="txtDsfUsername" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink24" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label13" runat="server">DSF passord</asp:label></td>
					<td><asp:textbox id="txtDsfPassword" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink25" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label14" runat="server">DSF test</asp:label></td>
					<td><asp:checkbox id="cbDsfIsTest" runat="server"></asp:checkbox></td>
					<td><asp:hyperlink id="Hyperlink26" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label17" runat="server">ISI brukernavn</asp:label></td>
					<td><asp:textbox id="txtIsiUsername" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink27" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label20" runat="server">ISI passord</asp:label></td>
					<td><asp:textbox id="txtIsiPassword" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink28" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label21" runat="server">ISI URL</asp:label></td>
					<td><asp:textbox id="txtIsiUrl" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink29" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label22" runat="server">ISI Destination System ID</asp:label></td>
					<td><asp:textbox id="txtIsiDestinationSystemID" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink30" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label26" runat="server">Oppad brukernavn</asp:label></td>
					<td><asp:textbox id="txtOppadUsername" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink31" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label27" runat="server">Oppad passord</asp:label></td>
					<td><asp:textbox id="txtOppadPassword" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink33" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label28" runat="server">Oppad URL Preutfylling av persondata</asp:label></td>
					<td><asp:textbox id="txtOppadUrlGetPersonData" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink34" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>				
                <tr>
					<td><asp:label id="Label30" runat="server">Oppad URL Barnehage (701660)</asp:label></td>
					<td><asp:textbox id="txtOppadUrlBarnehage" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink13" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>				
                <tr>
					<td><asp:label id="Label31" runat="server">Oppad URL Barnepark (701665)</asp:label></td>
					<td><asp:textbox id="txtOppadUrlBarnepark" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink16" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>				
                <tr>
					<td><asp:label id="Label32" runat="server">Oppad URL SFO (701701)</asp:label></td>
					<td><asp:textbox id="txtOppadUrlSfo" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink35" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>				
                <tr>
					<td><asp:label id="Label23" runat="server">Skjemakatalog URL</asp:label></td>
					<td><asp:textbox id="txtTemplateRepositoryUrl" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label24" runat="server">Skjemakatalog brukernavn</asp:label></td>
					<td><asp:textbox id="txtTemplateRepositoryUsername" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label25" runat="server">Skjemakatalog passord</asp:label></td>
					<td><asp:textbox id="txtTemplateRepositoryPassword" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink32" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>				
				<tr>
					<td><asp:label id="lblImageUrl" runat="server">URL til logo</asp:label></td>
					<td><asp:textbox id="txtImageUrl" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink11" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label33" runat="server">Driftsmodell</asp:Label>
					</td>
					<td>
						<asp:DropDownList id="ddlOperationModel" runat="server" Width="272px">
							<asp:ListItem Value="0" Selected="True">A - Full ASP hosting</asp:ListItem>
							<asp:ListItem Value="1">A + B - Full ASP hosting og lokal viewer</asp:ListItem>
							<asp:ListItem Value="2">B - Lokal viewer</asp:ListItem>
							<asp:ListItem Value="3">C - Full lokal installasjon</asp:ListItem>
						</asp:DropDownList>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td><asp:label id="lblIsTest" runat="server">Er test</asp:label></td>
					<td><asp:checkbox id="cbIsTest" runat="server"></asp:checkbox></td>
					<td><asp:hyperlink id="Hyperlink12" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<% if(IsDokumentbanken) { %>
				<tr>
				    <td>Tillegsmoduler</td>
				    <td>
				        <asp:CheckBoxList ID="cblAdditionalModules" runat="server">
				            <asp:ListItem Value="Tjenestetorget.Administrator.Search">Søk i kundeadministrator</asp:ListItem>
										<asp:ListItem Value="Kommune24-7.IdPortenAuth">ID-porten autentisering</asp:ListItem>
										<asp:ListItem Value="Kommune24-7.UmsAuth">UMS autentisering</asp:ListItem>
										<asp:ListItem Value="Kommune24-7.MobilVersjon">Mobil utgave</asp:ListItem>
										<asp:ListItem Value="Kommune24-7.ResponsivtDesign">Responsivt design</asp:ListItem>
										<asp:ListItem Value="Kommune24-7.Dibs">Betaling med DIBS</asp:ListItem>
				        </asp:CheckBoxList>
                    </td>
				</tr>
				<% } %>
				<tr>
					<td vAlign="top"><asp:label id="Label3" runat="server">Kommentar</asp:label></td>
					<td><asp:textbox id="txtComment" runat="server" Width="272px" Height="160px" TextMode="MultiLine"></asp:textbox></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td vAlign="top"><asp:label id="Label29" runat="server">Språk</asp:label></td>
					<td>
						&nbsp; &nbsp;
						<uc1:CultureChooser ID="CultureChooser1" runat="server" />
					</td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td align="right" colSpan="3"><asp:button id="btnCreate" runat="server" Text="Opprett" onclick="btnCreate_Click"></asp:button></td>
					<td></td>
				</tr>
			</table>
			<asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></form>
	</body>
</HTML>
