RoadFlow2.1 临时演示

Default.aspx 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebForm.Platform.Log.Default" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title></title>
  7. </head>
  8. <body>
  9. <form id="form1" runat="server">
  10. <div class="querybar">
  11. <table cellpadding="0" cellspacing="0" border="0" width="100%">
  12. <tr>
  13. <td>
  14. 标题:<input type="text" class="mytext" id="Title1" name="Title1" value="" runat="server" />
  15. 分类:<select class="myselect" id="Type" name="Type"><option value="">==全部==</option><asp:Literal ID="TypeOptions" runat="server"></asp:Literal></select>
  16. 人员:<input type="text" user="true" dept="false" value="" runat="server" station="false" unit="false" more="false" group="false" id="UserID" name="UserID" class="mymember" />
  17. 发生日期:<input type="text" class="mycalendar" name="Date1" style="width:90px;" value="" runat="server" /> 至 <input type="text" class="mycalendar" name="Date2" style="width:90px;" value="" runat="server" />
  18. <input type="submit" name="Search" value="&nbsp;&nbsp;查&nbsp;询&nbsp;&nbsp;" class="mybutton" />
  19. </td>
  20. </tr>
  21. </table>
  22. </div>
  23. <table class="listtable">
  24. <thead>
  25. <tr>
  26. <th width="45%">标题</th>
  27. <th width="10%">分类</th>
  28. <th width="15%">发生时间</th>
  29. <th width="10%">操作员</th>
  30. <th width="10%">发生IP</th>
  31. <th width="10%" sort="0">详细</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <%foreach(System.Data.DataRow dr in Dt.Rows){ %>
  36. <tr>
  37. <td><%=dr["title"] %></td>
  38. <td><%=dr["Type"] %></td>
  39. <td><%=dr["WriteTime"].ToString().ToDateTimeStringS() %></td>
  40. <td><%=dr["UserName"] %></td>
  41. <td><%=dr["IPAddress"] %></td>
  42. <td><a class="viewlink" href="javascript:void(0);" onclick="detail('<%=dr["ID"] %>');return false;">查看</a></td>
  43. </tr>
  44. <%} %>
  45. </tbody>
  46. </table>
  47. <div class="buttondiv"><asp:Literal ID="Pager" runat="server"></asp:Literal></div>
  48. </form>
  49. <script type="text/javascript">
  50. var appid = '<%=Request.QueryString["appid"]%>';
  51. var iframeid = '<%=Request.QueryString["tabid"]%>';
  52. var dialog = top.mainDialog;
  53. var query = '<%=Query%>';
  54. function detail(id)
  55. {
  56. dialog.open({ id: "window_" + appid.replaceAll('-', ''), title: "查看日志详细信息", width: 850, height: 450, url: top.rootdir + "/Platform/Log/Detail.aspx?id=" + id + '<%=Query%>', openerid: iframeid });
  57. }
  58. </script>
  59. </body>
  60. </html>