<%@ Page ValidateRequest="false" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AppParameter.aspx.cs" Inherits="QW2021C.Administration.AppParameter" %>

<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register Assembly="Syncfusion.EJ.Web, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>
<%@ Register Assembly="Syncfusion.EJ, Version=18.3460.0.35, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="Server">
    <style type="text/css">
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }


            .switch input {
                opacity: 0;
            }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            -webkit-transition: .4s;
            transition: .4s;
        }

            .slider:before {
                position: absolute;
                content: "";
                height: 16px;
                width: 16px;
                left: 4px;
                bottom: 4px;
                background-color: white;
                -webkit-transition: .4s;
                transition: .4s;
            }

        input:checked + .slider {
            background-color: #2196F3;
        }

        input:focus + .slider {
            box-shadow: 0 0 1px #2196F3;
        }

        input:checked + .slider:before {
            -webkit-transform: translateX(26px);
            -ms-transform: translateX(26px);
            transform: translateX(26px);
        }

        /* Rounded sliders */
        .slider.round {
            border-radius: 34px;
        }

            .slider.round:before {
                border-radius: 50%;
            }
    </style>


    <asp:Label runat="server"><h4>Applikationsparameter</h4></asp:Label>
    <table style="width: 50%;">
        <tr>
            <th style="width: 150px">
                <h5></h5>
            </th>
            <th style="width: 80px">
                <h5></h5>
            </th>
            <th style="width: 150px">
                <h5></h5>
            </th>
            <th style="width: 80px">
                <h5></h5>
            </th>
        </tr>
        <tr>
            <td>User-Anmeldung aktiv</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkUserAnmeldung" runat="server" Checked="true" /><span class="slider round"></span></label></td>
        </tr>
        <tr>
            <td>Anmeldung Runde 1</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkRunde1" runat="server" Checked="true" /><span class="slider round"></span></label></td>
            <td>Anmeldung Runde 2</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkRunde2" runat="server" Checked="true" /><span class="slider round"></span></label></td>

        </tr>
        <tr>
            <td>Anmeldung Runde 3</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkRunde3" runat="server" Checked="true" /><span class="slider round"></span></label></td>
            <td>Anmeldung Runde 4</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkRunde4" runat="server" Checked="true" /><span class="slider round"></span></label></td>
        </tr>



        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </table>
    <br />
    <p></p>
    <table style="width: 100%;">
        <th style="width: 80px">
            <h5></h5>
        </th>
        <th style="width: 600px">
            <h5></h5>
        </th>
        <tr>
            <td>Titel</td>
            <td>
                <FTB:FreeTextBox runat="server" ID="ftbtitel" AllowHtmlMode="True" AutoHideToolbar="True" Height="100px" BackColor="" EnableHtmlMode="False" EnableToolbars="False" HtmlModeDefaultsToMonoSpaceFont="True" Language="de-DE" ScriptMode="InPage" StartMode="DesignMode" ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print" UseToolbarBackGroundImage="False"></FTB:FreeTextBox>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Text</td>
            <td>
                <FTB:FreeTextBox runat="server" ID="ftbtext" AllowHtmlMode="True" AutoHideToolbar="True" Height="100px" BackColor="" EnableHtmlMode="False" EnableToolbars="False" HtmlModeDefaultsToMonoSpaceFont="True" Language="de-DE" ScriptMode="InPage" StartMode="DesignMode" ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print" UseToolbarBackGroundImage="False"></FTB:FreeTextBox>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>News</td>
            <td>
                <FTB:FreeTextBox runat="server" ID="ftbnews" AllowHtmlMode="True" AutoHideToolbar="True" Height="100px" BackColor="" EnableHtmlMode="False" EnableToolbars="False" HtmlModeDefaultsToMonoSpaceFont="True" Language="de-DE" ScriptMode="InPage" StartMode="DesignMode" ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print" UseToolbarBackGroundImage="False"></FTB:FreeTextBox>
                &nbsp;</td>
        </tr>

    </table>
    <ej:Button ID="btnSave" runat="server" Text="Speichern"  EnableRTL="true" Type="button" OnClick="btnSave_Click">
    </ej:Button>
    <hr />
    <h3>Daten löschen</h3>
    <table>
        <tr>
            <td>Anmeldungen</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkDelAnmeldung" runat="server" Checked="FALSE" /><span class="slider round"></span></label></td>
        </tr>
        <tr>
            <td>Mannschaften</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="ChkDelMannschaften" runat="server" Checked="FALSE" /><span class="slider round"></span></label>

            </td>
        </tr>
        <tr>
            <td>Vereine (Importiert)</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkdelvereine" runat="server" Checked="FALSE" /><span class="slider round"></span></label>

            </td>
        </tr>
        <tr>
            <td>Athleten (Importiert)</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkdelathleten" runat="server" Checked="FALSE" /><span class="slider round"></span></label>

            </td>
        </tr>
        <tr>
            <td>Athleten (Manuell erfasst)</td>
            <td>
                <label class="switch">
                    <asp:CheckBox ID="chkdelteilnehmer" runat="server" Checked="FALSE" /><span class="slider round"></span>
            </td>
        </tr>

    </table>
    <ej:Button ID="btndelete" runat="server" Text="Daten löschen" EnableRTL="true" Type="button" OnClick="btndelete_Click">
    </ej:Button>
    </label>

</asp:Content>
