<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_NavMenuMg.aspx.cs" Inherits="QiCms.Web.Admin.Admin_NavMenuMg" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="QBSCmsContentPlaceHolder" runat="server">
    <form id="TableForm" runat="server">
    <asp:Panel ID="AddPH" runat="server">
        <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_NavMenu.aspx">导航管理</a></li>
            <li class="am-active">添加导航</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">菜单类型：</label>
                            <div class="am-u-sm-9">
                                <div style="width:150px;">
                                <select data-am-selected="{btnSize: 'sm'}" ID="MenuTypeDrop" runat="server">
                                 </select>
                                 </div>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">菜单名称：</label>
                            <div class="am-u-sm-9">
                                <input name="MenuNameTxt" type="text" id="MenuNameTxt" placeholder="菜单名称" style="width:50%;float:left;" MaxLength="50" runat="server">
                                <div class="input-icon right">
                                    <div class="tpl-switch" style="width:10%;float:left;margin-left:5%;">
                                        <input type="checkbox" class="ios-switch tpl-switch-btn" ID="TargetChk" name="TargetChk" runat="server"/>
                                        <div class="tpl-switch-btn-view">
                                            <div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">是否新窗口打开</label>
                                <asp:RequiredFieldValidator ID="MenuNameValR" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>

                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">链  接：</label>
                            <div class="am-u-sm-9">
                                <input name="MenuUrlTxt" type="text" id="MenuUrlTxt" placeholder="你希望打开的地址" runat="server">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">链接说明：</label>
                            <div class="am-u-sm-9">
                                <input name="MenuAltTxt" type="text" id="MenuAltTxt" placeholder="链接说明" runat="server">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="MenuAddBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="MenuAddBtn_Click" Text="添加"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="EditPH" runat="server">
        <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_NavMenu.aspx">导航管理</a></li>
            <li class="am-active">编辑导航</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">菜单类型：</label>
                            <div class="am-u-sm-9">
                                <div style="width:150px;">
                                <select data-am-selected="{btnSize: 'sm'}" ID="MenuTypeDropEdit" runat="server">
                                 </select>
                                 </div>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">菜单名称：</label>
                            <div class="am-u-sm-9">
                                <input name="MenuNameTxtEdit" type="text" id="MenuNameTxtEdit" placeholder="菜单名称" style="width:50%;float:left;" MaxLength="50" runat="server">
                                <div class="input-icon right">
                                    <div class="tpl-switch" style="width:10%;float:left;margin-left:5%;">
                                        <input type="checkbox" class="ios-switch tpl-switch-btn" ID="TargetChkEdit" name="TargetChkEdit" runat="server"/>
                                        <div class="tpl-switch-btn-view">
                                            <div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">是否新窗口打开</label>
                                <asp:RequiredFieldValidator ID="MenuNameValREdit" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>

                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">链  接：</label>
                            <div class="am-u-sm-9">
                                <input name="MenuUrlTxtEdit" type="text" id="MenuUrlTxtEdit" placeholder="你希望打开的地址" runat="server">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;color:darkred;">链接说明：</label>
                            <div class="am-u-sm-9">
                                <input name="MenuAltTxtEdit" type="text" id="MenuAltTxtEdit" placeholder="链接说明" runat="server">
                            </div>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="MenuEditBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="MenuEditBtn_Click" Text="保存"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
    </form>
</asp:Content>
