<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../Global.Master" CodeBehind="DefaultExTemp.aspx.cs" Inherits="Web.AdminManager.Servers.DefaultExTemp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../js/Servers.DefaultExTemp.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="UI_Edit" runat="server" visible="false">
        <form action="" method="post" class="ui-form ui-form-vertical">
            <div class="ui-form-group">
                <label class="ui-form-label">模版名称</label><div class="ui-form-ctrls">
                    <input type="text" name="ExName" id="ExName"
                        class="ui-input-small" value="<%=mdet.ExName %>" /><span
                            class="ExName ui-help-inline">写个方便识别的名称</span>
                </div>
            </div>
            <div class="ui-form-group">
                <label class="ui-form-label">目录名称</label><div class="ui-form-ctrls">
                    <input type="text" value="<%=mdet.ExFloder %>"
                        name="ExFloder" id="ExFloder" class="ui-input-small" /><span
                            class="ExFloder ui-help-inline">程序的文件夹名称，存放位置：被控端/Files/DefaultEx</span>
                </div>
            </div>
            <div class="ui-form-group">
                <label class="ui-form-label">程序简介</label><div class="ui-form-ctrls">
                    <textarea rows="9" name="ExInfo" id="ExInfo" cols="40"><%=mdet.ExInfo%></textarea><span class="ExInfo ui-help-inline">对该程序做一个简短的介绍</span>
                </div>
            </div>
            <div class="ui-form-group">
                <label class="ui-form-label">&nbsp;</label><div class="ui-form-ctrls">
                    <button class="ui-btn ui-btn-primary" type="submit">提交保存</button>
                    <button type="button" class="ui-btn" onclick="history.back();">返回</button>
                </div>
            </div>
        </form>
    </div>
    <div id="UI_List" runat="server" visible="false">
        <table class="ui-table ui-table-bordered">
            <thead>
                <tr>
                    <td colspan="5">
                        <a href="?Action=Add" class="ui-btn ui-btn-primary">添加模版</a>
                    </td>
                </tr>
                <tr>
                    <th>模版名称
                    </th>
                    <th>目录名称
                    </th>
                    <th>操作
                    </th>
                </tr>
            </thead>
            <%=ShowList%>
        </table>
    </div>
</asp:Content>
