<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StartStopSubscription.aspx.cs" Inherits="Tjenestetorget.Administrator.StartStopSubscription"  MasterPageFile="~/Site.master" %>

<asp:Content ID="content1" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="pnlHeading" runat="server" Width="100%">
        <h4>
            <asp:Label ID="lblTemplateName" runat="server" Visible="False"></asp:Label>
        </h4>
    </asp:Panel>
    <asp:Panel ID="pnlMessage" runat="server">
        <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
    </asp:Panel>
    <asp:Panel ID="pnlContent" runat="server" Width="100%">
        <table>
            <tr>
                <td>Publisert:</td>
                <td colspan="2">
                    <asp:CheckBox runat="server" ID="chkEnabled" AutoPostBack="true" OnCheckedChanged="chkEnabled_OnCheckedChanged"/>
                </td>
            </tr>
            <tr>
                <td>Publisert fra og med:</td>
                <td><asp:TextBox runat="server" id="txtStart"></asp:TextBox></td>
                <td><asp:Label ID="lblStart" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr>
                <td>Publisert til og med:</td>
                <td><asp:TextBox runat="server" id="txtStopp"></asp:TextBox></td>
                <td><asp:Label ID="lblStopp" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
        </table>
    </asp:Panel>
	<asp:Button runat="server" ID="btnSave" OnClick="btnSave_OnClick" Text="Lagre endringer"/><br/>
	<asp:Label runat="server" ID="lblSuccess" Visible="False" ForeColor="Green">Endringer lagret!</asp:Label>
</asp:Content>
