<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="manageStatic.aspx.cs" Inherits="Web.Wpdcc.manageStatic" %>

<!DOCTYPE html>
<html>
<!--<![endif]-->
<head>
    <title>静态化</title>
    <!--#include file="../Css/head.htm"-->
</head>
<body>
    <div class="main-content-inner">
        <!-- #section:basics/content.breadcrumbs -->
        <div class="breadcrumbs" id="breadcrumbs">
            <script type="text/javascript">
                try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
            </script>
            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa  fa-desktop"></i>
                    <a href="welcome.aspx">主页</a>
                </li>
                <li>网站设置
                </li>
                <li class="active">静态化设置</li>
            </ul>
            <!-- /.breadcrumb -->
            <!-- /section:basics/content.searchbox -->
        </div>
        <!-- /section:basics/content.breadcrumbs -->
        <div class="page-content">
            <div class="row">
                <div class="col-xs-12">
                    <!-- PAGE CONTENT BEGINS -->
                    <div class="edit-func-box func-box">
                        <form id="form1" method="post" runat="server">
                            <!-- #section:elements.tab.option -->
                            <!-- /section:elements.tab.option -->
                            <div>
                                <table class="edit-table">
                                    <tr>
                                        <th>开启静态化功能：
                                        </th>
                                        <td>
                                            <asp:DropDownList ID="DDLIsStatic" runat="server">
                                                <asp:ListItem Text="不开启" Value="0"></asp:ListItem>
                                                <asp:ListItem Text="开启频道静态化" Value="1"></asp:ListItem>
                                                <%--<asp:ListItem Text="开启全站静态化" Value="2"></asp:ListItem>--%>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>静态页更新方式：
                                        </th>
                                        <td>
                                            <asp:RadioButtonList ID="rblIsAuto" runat="server" RepeatDirection="Horizontal"
                                                RepeatLayout="Flow">
                                                <asp:ListItem Value="1" Selected="True">自动更新  &emsp;</asp:ListItem>
                                                <asp:ListItem Value="0">一键手动更新</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>静态化配置：
                                        </th>
                                        <td>
                                            <input id="btnStatic" runat="server" type="button" value="频道页" class="btn btn-sm btn-primary" />
                                            &nbsp;&nbsp;
                        <input id="btnMoreStatic" runat="server" type="button" value="更多页" class="btn btn-sm btn-primary" visible="false" />
                                            &nbsp;&nbsp;
                        <input id="btnStaticNews" runat="server" type="button" value="新闻页" class="btn btn-sm btn-primary" visible="false" />
                                        </td>
                                    </tr>
                                </table>
                                <!--/edit-table-->
                                <div class="ft">
                                    <div class="action-field btn-pl">
                                        <asp:Button ID="btnSave" class="btn btn-sm btn-primary" runat="server" Text="保 存" OnClientClick="return checkAllValidate();" OnClick="btn_Click"></asp:Button>
                                        &nbsp;<asp:Button ID="btnReset" class="btn btn-sm btn-primary" runat="server" Text="重 载" OnClick="btn_Click"></asp:Button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!-- PAGE CONTENT ENDS -->
                </div>
            </div>
        </div>
        <!-- /.page-content -->
    </div>

    <!--#include file = "../Css/foot.htm" -->
    <script type="text/javascript">
        $(document).ready(function () {

            $("#btnStatic").click(function () { }).fancybox({
                'width': 750,
                'height': 600,
                'type': 'iframe',
                'scrolling': 'no',
                'padding': 0,
                'href': "manageStaticPage.aspx"
            })

            $("#btnMoreStatic").click(function () {
            }).fancybox({
                'width': 750,
                'height': 600,
                'type': 'iframe',
                'scrolling': 'no',
                'padding': 0,
                "href": "manageStaticMorePage.aspx"
            })

            $("#btnStaticNews").click(function () {
            }).fancybox({
                'width': 750,
                'height': 600,
                'type': 'iframe',
                'scrolling': 'no',
                'padding': 0,
                "href": "manageStaticNewsPage.aspx"
            })

        })

        
    </script>
</body>
</html>
