global_schedulemanage.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:3k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Page Language="c#" CodeBehind="global_schedulemanage.aspx.cs" Inherits="Discuz.Web.Admin.global_schedulemanage" %>
  2. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  3. <%@ Register TagPrefix="uc1" TagName="PageInfo" Src="../UserControls/PageInfo.ascx" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head runat="server">
  7. <title>整合程序设置</title>
  8. <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
  9. <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
  10. <script type="text/javascript" src="../js/common.js"></script>
  11. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  12. </head>
  13. <body>
  14. <form id="form1" runat="server">
  15. <uc1:PageInfo id="info1" runat="server" Icon="information"
  16. Text="计划任务分为系统级和非系统级两种.系统级计划任务不可禁用;添加的计划任务均为非系统级,可以设置开启或禁用."></uc1:PageInfo>
  17. <uc1:PageInfo id="PageInfo1" runat="server" Icon="warning"
  18. Text="请勿随意添加计划任务,此功能适用于开发人员。"></uc1:PageInfo>
  19. <div  id="passportbody" runat="server">
  20. <table class="ntcplist" >
  21. <tr class="head">
  22. <td>计划任务列表</td>
  23. </tr>
  24. <tr>
  25. <td>
  26. <asp:DataGrid ID="DataGrid1" runat="server" 
  27. onitemcommand="DataGrid1_ItemCommand">
  28. <Columns>
  29. <asp:BoundColumn DataField="key" HeaderText="计划任务名称"></asp:BoundColumn>
  30. <asp:BoundColumn DataField="exetime" HeaderText="执行方式"></asp:BoundColumn>
  31. <asp:BoundColumn DataField="lastexecute" HeaderText="上次执行时间"></asp:BoundColumn>
  32. <asp:BoundColumn DataField="enable" HeaderText="状态"></asp:BoundColumn>
  33. <asp:BoundColumn DataField="issystemevent" HeaderText="级别"></asp:BoundColumn>
  34. <asp:TemplateColumn HeaderText="">
  35. <ItemTemplate>
  36. <a href="global_schedulesetting.aspx?keyid=<%# DataBinder.Eval(Container, "DataItem.key").ToString()%>">编辑</a>
  37. </ItemTemplate>
  38. </asp:TemplateColumn>
  39. <asp:TemplateColumn HeaderText="">
  40. <ItemTemplate>
  41. <asp:LinkButton runat="server" ID="button" CommandName="exec" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.key").ToString()%>'>立即执行</asp:LinkButton>
  42. </ItemTemplate>
  43. </asp:TemplateColumn>
  44. </Columns>
  45. </asp:DataGrid>
  46. </td></tr></TABLE><BR />
  47. <p style="text-align:right;">
  48. <button type="button" class="ManagerButton" onclick="javascript:window.location.href='global_schedulesetting.aspx';">
  49. <img src="../images/add.gif" />添加计划任务
  50. </button>
  51. </p>
  52. </div>
  53. </form>
  54. <%=footer%>
  55. </body>
  56. </html>