<%@ page language="C#" autoeventwireup="true" inherits="Admin_CreatStaticBlock, App_Web_ahimsrpm" %>
<html>
<head runat="server">
    <title>页面静态模块定制</title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="../css/Admin.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div class="tips">
               页面静态模块定制， 手动新增新的模块，该页面的数据是手动从数据库中选择添加
            </div>
            <div class="tips">
                请务必遵照规定的格式自定义模块
            </div>
            <div class="tips">
                <span style="color:Red; font-weight:bolder;">请务必从上到下依次设置</span>
            </div>
    <table>
                <thead>
                    <tr>
                        <td colspan="2">
                            页面静态模块定制</td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td style="width: 15%; text-align:left">
                            &nbsp;模块名</td>
                        <td style="width: 85%; text-align: left">
                            <Ws:TextBox ID="txt_blockName" runat="server" Width="50%" ValidNull="False" ValidType="Str"></Ws:TextBox></td>
                    </tr>
                    <tr>
                         <td style="width: 15%; text-align:left">
                            &nbsp;选择字段</td>
                        <td style="width: 700px; text-align: left">
                            <asp:CheckBoxList ID="Ckl_cname" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" Width="100%">
                            </asp:CheckBoxList></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" valign="middle">
                            <Ws:Button ID="btn_Preview" runat="server" Styles="WebButton" Text="设置样式" Type="Wait" Format-Value="正在处理，请稍候..." OnClick="btn_Preview_Click" /></td>
                    </tr>
                    <tr>
                         <td style="width: 15%; text-align:left">
                            &nbsp;设置列表行样式</td>
                        <td style="width: 700px; text-align: left">
                            <Ws:TextBox ID="txt_css" runat="server" Width="70%" ValidType="No" TextMode="MultiLine" Rows="10"></Ws:TextBox><br /><span style="color:Red">[网页扩展名]标签必须使用</span></td>
                    </tr>
                    <tr>
                         <td style="width: 15%; text-align:left">
                            &nbsp;输入关键字搜索数据</td>
                        <td style="width: 700px; text-align: left">
                            <Ws:TextBox ID="txt_keywords" runat="server" Width="250px" ValidType="Str"></Ws:TextBox>
                            <Ws:Button ID="btn_search" runat="server" 
                            OnClick="btn_search_Click" Styles="WebButton"
                                Text=" 搜 索 " Type="Wait" Format-Value="正在处理，请稍候..." /></td>
                    </tr>
                    <tr>
                         <td style="width: 15%; text-align:left">
                            &nbsp;搜索到的数据</td>
                        <td style="width: 85%; text-align: left; line-height:250px; vertical-align:middle; " valign="middle">
                            &nbsp;&nbsp;&nbsp;
                            <table style=" width:100%">
                                <tr>
                                    <td rowspan="4" style="width: 35%">
                            <asp:ListBox ID="ListBox1" runat="server" Width="80%" Height="250px" SelectionMode="Multiple"></asp:ListBox></td>
                                    <td style="width: 30%" align="center">
                            <Ws:Button ID="btn_add" runat="server" Styles="WebButton" Text="添加为数据源" OnClick="btn_add_Click" Width="146px"  Format-Value="正在处理，请稍候..."/></td>
                                    <td rowspan="4" style=" width:35%">
                            <asp:ListBox ID="ListBox2" runat="server" Height="250px" Width="80%" SelectionMode="Multiple"></asp:ListBox></td>
                                </tr>
                                <tr>
                                    <td style="width: 30%" align="center">
                                        <Ws:Button ID="btn_addall" runat="server" Text="全部添加" Type="Ok" Format-Value="正在处理，请稍候..." OnClick="btn_addall_Click" Styles="WebButton" /></td>
                                </tr>
                                <tr>
                                    <td style="width: 30%">
                                    <Ws:Button ID="btn_canel" runat="server" Text="取消添加" Type="Wait" Format-Value="正在处理，请稍候..." OnClick="btn_canel_Click" Styles="WebButton" /></td>
                                </tr>
                                <tr>
                                    <td style="width: 30%">
                                    <Ws:Button ID="btn_canelall" runat="server" Text="全部取消" Type="Wait" Format-Value="正在处理，请稍候..." OnClick="btn_canelall_Click" Styles="WebButton" /></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align:center">
                            </td>
                    </tr>
                    <tr><td colspan="2" align="center" valign="middle">
                        <Ws:Button ID="btn_Save" runat="server" Styles="WebButton" Type="Wait" Format-Value="正在处理，请稍候..."
                                OnClick="btn_Save_Click" />&nbsp;</td>
                    </tr>
                </tbody>
            </table>
    </div>
        <asp:Label ID="lab_ziduan" runat="server" Visible="False"></asp:Label>
    </form>
</body>
</html>
