<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Act2SignSettings.aspx.vb" Inherits="Act2Sign.Synergy.Act2SignSettings" %>
<%@ register tagprefix="ex" namespace="Exact.Web.UI.Controls" assembly="Exact.Web.UI.Controls" %>

<html>
<head>
	<meta name="save" content="history">
	<link rel="stylesheet" type="text/css" href="Exact.css">
</head>
<body>
    
	<form runat="server" id="Baco">
        <ex:inputfield runat="server" id="Action" validationas="Int" validationdefault="0" hidden="true" />
        <ex:inputfield runat="server" id="LastAction" validationas="Int" validationdefault="0" hidden="true" />
        
		<ex:cardcontrol runat="server" id="Card" action="show" customizable="false" >
		<ex:header runat="server" id="hdr" caption="Act2Sign" captionid="0" captionsuffix=":Settings" captionsuffixid="8799">
		</ex:header>

        <ex:headerproperties runat="server" id="hdrProps" headerpropertiesstyle="Custom" />

		<ex:buttonbar id="btnBar" runat="server">
			<ex:button runat="server" id="btnClose" accesskey="C" buttonstyle="Close" />
            <ex:button runat="server" id="btnEdit" buttonstyle="Custom" Caption="Edit" CaptionID="25319" onClick="SysSet('Action', '1'); SysSubmit(1);" />
            <ex:button runat="server" id="btnSave" buttonstyle="Custom" Caption="Save" CaptionID="24522" onClick="SysSet('Action', '2'); SysSubmit(1);" />
		</ex:buttonbar>
		<ex:bcerrormessages runat="server" id="ErrorMsg" />
		<ex:cardrow runat="server" id="crRow1">
			<ex:cardcolumn runat="server" id="ccCol11">
                <ex:CardSection runat="server" ID="csRequest" Caption="Requests" CaptionID="17">
                     <ex:CardField runat="server" ID="cfRequestTypesDossier" Caption="Dossier" CaptionID="25199">
						<ex:combobox runat="server" id="RequestTypesDossier" showkey="False" validationas="Int" AllowEmpty="False" /> 
                    </ex:CardField>
					<ex:CardField runat="server" ID="cfRequestTypeSigner" Caption="Signer" CaptionID="0">
						<ex:combobox runat="server" id="RequestTypeSigner" showkey="False" validationas="Int" AllowEmpty="False" />
					</ex:CardField>
					<ex:CardField runat="server" ID="cfRequestTypeError" Caption="Error" CaptionID="4467">
						<ex:combobox runat="server" id="RequestTypeError" showkey="False" validationas="Int" AllowEmpty="True" />
					</ex:CardField>
                </ex:CardSection>

<%--				<ex:CardSection runat="server" ID="csLogbook" Caption="Logbook" CaptionID="8735">
					<ex:CardField runat="server" ID="cfLogInfo" Caption="Information" CaptionID="8642">
						<ex:CheckBox runat="server" id="ifLogInfo" />
					</ex:CardField>
					<ex:CardField runat="server" ID="cfLogError" Caption="Errors" CaptionID="4493">
						<ex:CheckBox runat="server" id="ifLogError" />
					</ex:CardField>
					<ex:CardField runat="server" ID="cfLogJsonOut" Caption="Outgoing" CaptionID="24765" CaptionSuffix=":Json" CaptionSuffixID="0">
						<ex:CheckBox runat="server" id="ifLogJsonOut" />
					</ex:CardField>
					<ex:CardField runat="server" ID="cfLogJsonIn" Caption="Result" CaptionID="7151" CaptionSuffix=":Json" CaptionSuffixID="0">
						<ex:CheckBox runat="server" id="ifLogJsonIn" />
					</ex:CardField>
				</ex:CardSection>--%>
			</ex:cardcolumn>
		</ex:cardrow>

		<ex:cardrow runat="server" id="crRow2">
			<ex:cardcolumn runat="server" id="cCol21">
                <ex:CardSection runat="server" ID="csSecurity" Caption="Security" CaptionID="32783">
                     <ex:CardField runat="server" ID="cfClientID" Caption="Client ID" CaptionID="36494">
						 <ex:InputField runat="server" id="ifClientID" inputsize="10" ValidationAs="Int" />
                    </ex:CardField>
					<ex:CardField runat="server" ID="cfSecret" Caption="Secret" CaptionID="0">
						 <ex:InputField runat="server" id="ifSecret" inputsize="50" />
                    </ex:CardField>
                </ex:CardSection>
			</ex:cardcolumn>
		</ex:cardrow>

		<ex:cardrow runat="server" id="crRow3">
			<ex:cardcolumn runat="server" id="cCol31">
                <ex:CardSection runat="server" ID="csProxy" Caption="Proxy server settings" CaptionID="38637">
                     <ex:CardField runat="server" ID="cfUseProxy" Caption="Use proxy" CaptionID="38638">
						 <ex:CheckBox runat="server" id="ifUseProxy" Autopostback="True" />
                    </ex:CardField>
					<ex:CardField runat="server" ID="cfProxyAddress" Caption="Proxy server" CaptionID="38639">
						 <ex:InputField runat="server" id="ifProxyAddress" inputsize="50" />
                    </ex:CardField>
                     <ex:CardField runat="server" ID="cfProxyCurrentUser" Caption="Current user (background job)" CaptionID="0">
						 <ex:CheckBox runat="server" id="ifProxyCurrentUser" ValidationDefault="True" Autopostback="True" />
                    </ex:CardField>
					<ex:CardField runat="server" ID="cfProxyUserName" Caption="User name" CaptionID="60026">
						 <ex:InputField runat="server" id="ifProxyUserName" inputsize="50" />
                    </ex:CardField>
					<ex:CardField runat="server" ID="cfProxyUserPassword" Caption="Password" CaptionID="8436">
						 <ex:InputField runat="server" id="ifProxyUserPassword" inputsize="50" />
                    </ex:CardField>
                </ex:CardSection>
			</ex:cardcolumn>
		</ex:cardrow>
		</ex:cardcontrol>
	</form>
</body>
</html>