<%@ Page Language="c#" Codebehind="SubscriberDetails.aspx.cs" AutoEventWireup="True" Inherits="eDocument.Server.Administrator.Subscription.SubscriberDetails"  MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
        <h1>
            Detaljer for abonnement</h1>
        <p>
            Denne siden viser deg detaljer for et abonnement. Klikk på "Rediger" knappen dersom
            du ønsker å redigere abonnementet. Klikk på "Legg til prosess" knappen dersom du
            ønsker å legge prosesser til dette abonnementet.
        </p>
        <table cellspacing="2" cellpadding="5">
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server">Skjema</asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblTemplate" runat="server"></asp:Label>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Versjonsnummer
                </td>
                <td>
                    <asp:Label ID="lblVersionNumber" runat="server"></asp:Label>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label5" runat="server">Aktiv</asp:Label>
                </td>
                <td>
                    <asp:CheckBox id="checkActive" runat="server" Enabled="False"></asp:CheckBox>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server">Kategori</asp:Label></td>
                <td>
                    <asp:Label ID="lblTemplateCategory" runat="server"></asp:Label></td>
                <td>
                    <asp:HyperLink ID="Hyperlink10" runat="server" Visible="False" Target="_blank">Hjelp</asp:HyperLink></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label4" runat="server">Mottak</asp:Label></td>
                <td>
                    <asp:Label ID="lblBox" runat="server"></asp:Label></td>
                <td>
                    <asp:HyperLink ID="Hyperlink1" runat="server" Visible="False" Target="_blank">Hjelp</asp:HyperLink></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label12" runat="server">XSL</asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblXsl" runat="server"></asp:Label>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    E-post
                </td>
                <td>
                    <asp:Label ID="lblMail" runat="server"></asp:Label>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Sikkerhetsnivå
                </td>
                <td>
                    <asp:Label ID="lblSecurityLevel" runat="server" />
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server">PDF</asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblDokumentbankenBlankett" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:HyperLink ID="HyperLink7" runat="server" Target="_blank" Visible="False">Help</asp:HyperLink>
                </td>
            </tr>
              <tr>
                <td>
                    <asp:Label ID="Label11" runat="server">Fra dato</asp:Label></td>
                <td>
                    <asp:Label ID="lblFromDate" runat="server"></asp:Label></td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label13" runat="server">Til dato</asp:Label></td>
                <td>
                    <asp:Label ID="lblToDate" runat="server"></asp:Label></td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    XSD
                </td>
                <td>
                    <asp:HyperLink ID="lnkCurrentXsd" runat="server" Target="_blank" NavigateUrl="~/eDocumentTemplateVersion/DownloadXsd.aspx?eDocumentTemplateVersionID=">Last ned</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <asp:Label ID="Label14" runat="server">Egenskaper</asp:Label>
                </td>
                <td>
                    <asp:TextBox id="txtPropertyBag" runat="server" TextMode="MultiLine" Height="70px" Width="500px"></asp:TextBox>
                </td>
                <td>
                </td>
            </tr>          
            <tr>
                <td colspan="3" align="right">
                    <asp:Button ID="btnEdit" runat="server" Text="Rediger" OnClick="btnEdit_Click"></asp:Button>
                </td>
            </tr>
        </table>
        <p>&nbsp;</p>
        <h2>Retur URL-er</h2>
        <table  cellspacing="2" cellpadding="5">
    		<tr>
			    <td>
				    Send inn 
			    </td>
			    <td>
				    <asp:Label id="lblReturnUrlSubmit" runat="server" Width="500px"></asp:Label>
			    </td>
		    </tr>
    		<tr>
			    <td>
				    Lagre
			    </td>
			    <td>
				    <asp:Label id="lblReturnUrlSave" runat="server" Width="500px"></asp:Label>
			    </td>
		    </tr>
    		<tr>
			    <td>
				    Avbryt
			    </td>
			    <td>
				    <asp:Label id="lblReturnUrlAbort" runat="server" Width="500px"></asp:Label>
			    </td>
		    </tr>
        </table>
        <p>&nbsp;</p>
        <h2>
            Prosesser:</h2>
        <asp:DataGrid ID="dgProcesses" runat="server" Width="100%" AlternatingItemStyle-CssClass="AlternatingItemStyle"
            ItemStyle-CssClass="ItemStyle" HeaderStyle-CssClass="HeaderStyle" AutoGenerateColumns="False">
            <AlternatingItemStyle CssClass="AlternatingItemStyle"></AlternatingItemStyle>
            <ItemStyle CssClass="ItemStyle"></ItemStyle>
            <HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
            <Columns>
                <asp:BoundColumn Visible="False" DataField="ProcessOnSubscriptionID"></asp:BoundColumn>
                <asp:BoundColumn Visible="False" DataField="ProcessID"></asp:BoundColumn>
                <asp:BoundColumn HeaderText="Navn"></asp:BoundColumn>
                <asp:BoundColumn DataField="Sequence" HeaderText="Rekkefølge"></asp:BoundColumn>
                <asp:BoundColumn DataField="IsAsync" HeaderText="IsAsync" Visible="False"></asp:BoundColumn>
                <asp:BoundColumn HeaderText="Mode" Visible="False"></asp:BoundColumn>
                <asp:ButtonColumn Text="Flytt opp" CommandName="MoveUp"></asp:ButtonColumn>
                <asp:ButtonColumn Text="Flytt ned" CommandName="MoveDown"></asp:ButtonColumn>
                <asp:ButtonColumn Text="Rediger" CommandName="Edit" Visible="False"></asp:ButtonColumn>
                <asp:ButtonColumn Text="Fjern" CommandName="Delete"></asp:ButtonColumn>
            </Columns>
        </asp:DataGrid><asp:Label ID="lblNoProcessesMessage" runat="server">Ingen prosesser.</asp:Label>
        <p>
            <asp:Button ID="btnAttachProcess" runat="server" Text="Legg til prosess" OnClick="btnAttachProcess_Click">
            </asp:Button></p>
        <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
        <asp:Label ID="lblOkMessage" runat="server" ForeColor="Green" Text=""></asp:Label>
</asp:Content>