<%@ page language="c#" inherits="Web.Wpdcc.grade" codebehind="grade.aspx.cs" %>

<!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"-->
</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="list-func-box func-box">
                        <!-- #section:elements.tab.option -->
                        <div class="tabbable">
                            <ul class="nav nav-tabs" id="myTab4">
                                <li>
                                    <a aria-expanded="false" href="department.aspx" data-toggle="tab">部门管理</a>
                                </li>
                                <li class="active">
                                    <a aria-expanded="false" href="grade.aspx" data-toggle="tab">等级管理</a>
                                </li>
                                <li>
                                    <a aria-expanded="false" href="lockIP.aspx" data-toggle="tab">内外网管理</a>
                                </li>
                                <li>
                                    <a aria-expanded="false" href="special.aspx" data-toggle="tab">专题管理</a>
                                </li>
                                <li>
                                    <a aria-expanded="false" href="manageSensitiveWord.aspx" data-toggle="tab">敏感词</a>
                                </li>
                                <li>
                                    <a aria-expanded="false" href="ManageSignUpField.aspx" data-toggle="tab">自定义表单</a>
                                </li>
                            </ul>
                        </div>
                        <!-- /section:elements.tab.option -->
                        <div class="bd tab-content">
                            <form method="post" runat="server">
                                <div class="page-header clearfix">
                                    <div class="action-field">
                                        <div class="function-hd">
                                            <div class="search-box">
                                                等级名称：<asp:TextBox ID="name" class="input-md" runat="server" notNull="true"
                                                    MaxLength="40" msgName="等级名称"></asp:TextBox><asp:HiddenField ID="HiddenFieldGradeId"
                                                        runat="server" />
                                                <asp:Button ID="ok" class="btn btn-sm btn-primary" runat="server" Text="添加" OnClientClick="return checkAllValidate();"
                                                    OnClick="Btn_Click"></asp:Button>
                                                &nbsp;&nbsp;
                    <asp:Button ID="cancel" class="btn btn-sm btn-primary" runat="server" Text="取消" Enabled="False" CausesValidation="False"
                        OnClick="Btn_Click"></asp:Button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="function-bd">
                                    <asp:GridView ID="GridView1" runat="server" EnableModelValidation="True" AutoGenerateColumns="false" CssClass="table table-striped table-bordered table-hover" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound">
                                        <Columns>
                                            <asp:BoundField DataField="pkId" HeaderText="ID" HeaderStyle-CssClass="title"/>
                                            <asp:BoundField DataField="name" HeaderText="等级名称" HeaderStyle-CssClass="title" HeaderStyle-Width="60%" />
                                            <asp:TemplateField HeaderText="执行" HeaderStyle-CssClass="title">
                                                <ItemTemplate>
                                                    <div class="action-buttons">
                                                        <asp:LinkButton ID="edit1" runat="server" CausesValidation="False" CommandName="edit1" data-toggle="tooltip" data-placement="bottom" title="编辑" CommandArgument='<%#Eval("pkId") +"&"+Eval("name") %>'><i class="ace-icon fa fa-pencil bigger-120 blue"></i></asp:LinkButton>
                                                        <asp:LinkButton ID="lbdelete" runat="server" CausesValidation="False" CommandName="del" data-toggle="tooltip" data-placement="bottom" title="删除" CommandArgument='<%#Eval("pkId") +"&"+Eval("name") %>'><i class="ace-icon fa fa-trash-o bigger-120 red" ></i></asp:LinkButton>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
                                </div>
                            </form>
                        </div>
                    </div>
                    <!-- PAGE CONTENT ENDS -->
                </div>
            </div>
        </div>
        <!-- /.page-content -->
    </div>
    <!--#include file = "../Css/foot.htm" -->
</body>
</html>
