<%@ Page Language="c#" Inherits="Web.Wpdcc.manageTempLib" CodeBehind="manageTempLib.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" -->

    <script language="javascript" type="text/javascript">
        function openwin() {
            location.href = "../pageLayoutTemplate.aspx";
        }

    </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>
        </div>
        <!-- /section:basics/content.breadcrumbs -->
        <div class="page-content">
            <div class="row">
                <div class="col-xs-12">
                    <!-- PAGE CONTENT BEGINS -->
                    <form id="manage" method="post" runat="server">
                        <div class="page-header clearfix">
                            <div class="action-field">
                                <asp:Button ID="Button1" CssClass="btn btn-sm btn-primary" runat="server" Text="添加模板" OnClick="Button1_ServerClick" />
                            </div>
                            <!--/action-field-->
                        </div>
                        <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                        <asp:DataGrid ID="pageGrid" class="table table-striped table-bordered table-hover" runat="server" AutoGenerateColumns="False">
                            <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" CommandName="edit" CausesValidation="False" data-toggle="tooltip" data-placement="bottom"  title="编辑"><i class="ace-icon fa fa-pencil bigger-120 blue"></i></asp:LinkButton>
                                        <asp:LinkButton ID="copyy" runat="server" CommandName="copy1" data-toggle="tooltip" data-placement="bottom"  title="复制"><i class="ace-icon fa fa-copy bigger-120  orange"></i></asp:LinkButton>
                                        <asp:LinkButton ID="dell"  runat="server" CommandName="del1" CausesValidation="False" CommandArgument='<%# Eval( "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="是否默认" HeaderStyle-CssClass="title"></asp:BoundColumn>
                                <asp:BoundColumn Visible="False" DataField="adminId" HeaderText="adminId" HeaderStyle-CssClass="title"></asp:BoundColumn>
                            </Columns>
                        </asp:DataGrid>
                        <!--[if lte IE 7]></div><![endif]-->
                        <!--/function-bd-->
                    </form>
                    <!-- PAGE CONTENT ENDS -->
                </div>
            </div>
        </div>
        <!-- /.page-content -->
    </div>
    <!--#include file = "../Css/foot.htm" -->
</body>
</html>
