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

<html>
<head>
	<meta name="save" content="history" />
	<link runat="server" id="ExactCSS" href="Exact.css" type="text/css" rel="stylesheet" />
</head>
<body>

	<ep:form id="frm" runat="server">
        <ex:CardControl runat="server" ID="Card" Action="Show" Customizable="false">

		    <ex:header runat="server" id="hdr" Caption="Easy Office365" CaptionID="0" CaptionSuffix=":Configuration" CaptionSuffixID="16797">
            </ex:header>

            <ex:headerproperties runat="server" id="hdrProps" headerpropertiesstyle="CreatedModified" datasource="bc" 
                datafieldcreated="Created" datafieldcreator="Creator" datafieldcreatorname="CreatorFullName"
                datafieldmodified="Modified" datafieldmodifier="Modifier" datafieldmodifiername="ModifierFullName" />

            <ex:ButtonBar runat="server" ID="Buttons">
                <ex:Button runat="server" ID="btnSave" ButtonStyle="Save" DataSource="bc" />
                <ex:Button runat="server" ID="btnSaveNew" ButtonStyle="SaveNew" DataSource="bc" />
                <ex:Button runat="server" ID="btnDelete" ButtonStyle="Delete" DataSource="bc" />
                <ex:Button runat="server" ID="btnClose" ButtonStyle="Close" />
            </ex:ButtonBar>

            <ex:bcerrormessages runat="server" id="ErrorMsg" />

            <ex:BCDataSource runat="server" ID="bc" Component="CSEasyO365EmailSettings" />

            <ex:cardrow runat="server" id="cr1">
                <ex:cardcolumn runat="server" id="cc11">
                    <ex:cardsection runat="server" id="csGeneral" caption="General" captionid="8606">
					    <ex:cardfield runat="server" id="cfDescription" caption="Description" captionid="4243">
						    <ex:inputfield runat="server" id="Description" datasource="bc" InputSize="100" StartFocus="True" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfFolder" caption="Folder" captionid="36930">
						    <ex:inputfield runat="server" id="Folder" datasource="bc" InputSize="50" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfActive" caption="Active" captionid="2212">
						    <ex:checkbox runat="server" id="Active" datasource="bc" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfMarkAsRead" caption="Mark as read" captionid="43367">
						    <ex:checkbox runat="server" id="MarkAsRead" datasource="bc" />
					    </ex:cardfield>
                    </ex:cardsection>
                </ex:cardcolumn>
            </ex:cardrow>

            <ex:cardrow runat="server" id="cr2">
                <ex:cardcolumn runat="server" id="cc21">
                    <ex:cardsection runat="server" id="csSaveAs" caption="Save as" captionid="9879">
					    <ex:cardfield runat="server" id="cfDocumentType" caption="Document type" captionid="15829">
						    <ex:combobox runat="server" id="DocumentType" datasource="bc" AllowEmpty="True" Autopostback="True" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfRequestType" caption="Request type" captionid="268">
						    <ex:combobox runat="server" id="RequestType" datasource="bc" AllowEmpty="True" Autopostback="True" />
					    </ex:cardfield>
                    </ex:cardsection>
                </ex:cardcolumn>
            </ex:cardrow>

            <ex:cardrow runat="server" id="crDocument">
                <ex:cardcolumn runat="server" id="ccDocument">
                    <ex:cardsection runat="server" id="csDocument" caption="Document" captionid="7226" CaptionSuffix=":Functions" CaptionSuffixID="8604">
					    <ex:cardfield runat="server" id="cfAllowDuplicateDocuments" caption="Allow" captionid="451" CaptionSuffix=":Duplicate" CaptionSuffixID="2183">
						    <ex:checkbox runat="server" id="AllowDuplicateDocuments" datasource="bc" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfKeepRepliesTogether" caption="Use" captionid="11227" CaptionSuffix=":Replies" CaptionSuffixID="308">
						    <ex:checkbox runat="server" id="KeepRepliesTogether" datasource="bc" />
					    </ex:cardfield>
                    </ex:cardsection>
                </ex:cardcolumn>
            </ex:cardrow>

            <ex:cardrow runat="server" id="crRequest">
                <ex:cardcolumn runat="server" id="ccRequest">
                    <ex:cardsection runat="server" id="csRequest" caption="Request" captionid="16" CaptionSuffix=":Functions" CaptionSuffixID="8604">
					    <ex:cardfield runat="server" id="cfAllowDuplicateRequests" caption="Allow" captionid="451" CaptionSuffix=":Duplicate" CaptionSuffixID="2183">
						    <ex:checkbox runat="server" id="AllowDuplicateRequests" datasource="bc" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfUpdateDocumentInRequest" caption="Document" captionid="7226" CaptionSuffix=":Update" CaptionSuffixID="1103">
						    <ex:checkbox runat="server" id="UpdateDocumentInRequest" datasource="bc" />
					    </ex:cardfield>
                        <ex:cardfield runat="server" id="cfCreateRequestMoment" caption="Create" captionid="20180">
                            <ex:combobox runat="server" id="CreateRequestMoment" datasource="bc" AllowEmpty="False" />
                        </ex:cardfield>
                    </ex:cardsection>
                </ex:cardcolumn>
            </ex:cardrow>

        </ex:CardControl>
	</ep:form>
</body>
</html>