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

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>网站菜单制作</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->
    <script type="text/javascript" language="javascript">
        function menuPreview(str) {
            window.open("previewMenu.aspx?menuid=" + str);
        }
    </script>
</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 -->
                    <form id="form1" runat="server">
                        <div class="list-func-box func-box">
                            <!-- #section:elements.tab.option -->
                            <div class="tabbable">
                                <ul class="nav nav-tabs " id="myTab4">
                                    <li class="active">
                                        <a aria-expanded="false" href="manageTempMenu.aspx" data-toggle="tab">菜单模板</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="true" href="manageVisualArtDesign.aspx" data-toggle="tab">栏目模板</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="true" href="manageBanner.aspx" data-toggle="tab">网站横幅</a>
                                    </li>
                                </ul>
                            </div>
                            <!-- /section:elements.tab.option -->
                            <div class="bd tab-content">
                                <div class="page-header clearfix">
                                    <div class="action-field">
                                        <asp:Button ID="btnadd" runat="server" Text="开始制作" OnClick="btnadd_Click" CssClass="btn btn-sm btn-primary" />
                                    </div>
                                </div>
                                <!--/action-field-->
                                <div class="function-bd">
                                    <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                                    <asp:DataGrid ID="gvMenu" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover" OnItemCommand="gvMenu_ItemCommand">
                                        <Columns>
                                            <asp:BoundColumn DataField="pkId" HeaderText="ID" HeaderStyle-CssClass="title"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="name" HeaderText="名称" HeaderStyle-CssClass="title"></asp:BoundColumn>
                                            <asp:TemplateColumn HeaderText="操作" HeaderStyle-CssClass="title">
                                                <ItemTemplate>
                                                    <div class="action-buttons">
                                                        <asp:LinkButton ID="edit" runat="server" CausesValidation="False" CommandName="edit" data-toggle="tooltip" data-placement="bottom" title="编辑"><i class="ace-icon fa fa-pencil bigger-120 blue"></i></asp:LinkButton>
                                                        <asp:LinkButton ID="del" runat="server" CausesValidation="False" CommandName="del" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.name") %>' data-toggle="tooltip" data-placement="bottom" title="删除"><i class="ace-icon fa fa-trash-o bigger-120 red"></i></asp:LinkButton>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:TemplateColumn>
                                            <asp:BoundColumn Visible="False" DataField="isSystem" HeaderText="isSystem"></asp:BoundColumn>
                                            <asp:BoundColumn Visible="False" DataField="adminId" HeaderText="adminId"></asp:BoundColumn>
                                        </Columns>
                                    </asp:DataGrid>
                                    <!--[if lte IE 7]></div><![endif]-->
                                </div>
                                <!--/function-bd-->
                            </div>
                        </div>
                    </form>
                    <!-- PAGE CONTENT ENDS -->
                </div>
            </div>
        </div>
        <!-- /.page-content -->
    </div>
    <!--#include file = "../Css/foot.htm" -->
</body>
</html>
