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

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

        jQuery(function ($) {
            /*列表高度*/
            $('.function-bd').height($(window).innerHeight() - 100);

            $(window).resize(function () {
                $('.function-bd').height($(window).innerHeight() - 100);
            });
        });
    </script>

</head>
<body>
    <div class="list-func-box func-box">
        <div class="hd">
            您的位置：网站模版设置 &gt;库模板管理
        </div>
        <form id="manage" method="post" runat="server">
            <div class="bd">
                <div class="function-hd">
                    <div class="action-field">
                        <asp:Button ID="Button1" CssClass="btn" runat="server" Text="添加模板" OnClick="Button1_ServerClick" />
                    </div>
                    <!--/action-field-->
                </div>
                <div class="function-bd" style="overflow: auto;">
                    <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                    <asp:DataGrid ID="pageGrid" class="list-table" 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>
                                    <asp:LinkButton ID="edit" runat="server" CommandName="edit" CausesValidation="False" title="编辑"><i class="icon icon-pencil"></i></asp:LinkButton>
                                    <asp:LinkButton ID="dell" runat="server" CommandName="del1" CausesValidation="False"
                                        CommandArgument='<%# DataBinder.Eval(Container, "DataItem.name") %>' title="删除"><i class="icon icon-remove"></i></asp:LinkButton>
                                    <asp:LinkButton ID="copyy" runat="server" CommandName="copy1" title="复制"><i class="icon icon-06"></i></asp:LinkButton>
                                </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]-->
                </div>
                <!--/function-bd-->
            </div>

        </form>
    </div>
</body>
</html>
