FunctionModule.aspx 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FunctionModule.aspx.cs" Inherits="LYFZ.WeixinServers.WeiXinAPP.FunctionModule" %>
  2. <!--#include file="html/head.html" -->
  3. <!--#include file="html/leftMenu.html" -->
  4. <div class="content">
  5. <ul class="breadcrumb">
  6. <!--#include file="html/indexBread.html" -->
  7. <li class="active">功能模块管理</li>
  8. </ul>
  9. <div class="container-fluid">
  10. <div class="row-fluid">
  11. <div style="width:100%; min-height:700px;">
  12. <div class="btn-toolbar">
  13. <!-- <button class="btn btn-primary"><i class="icon-plus"></i> New User</button>-->
  14. <div style="width:100%;height:24px;">
  15. <!-- <label style="width:50px;height:100%; padding-top:5px; float:left;">关键字</label>
  16. <div style="width:200px;height:100%; float:left; margin-right:5px;">
  17. <input id="Keyword" name="Keyword" type="text" class="span12" />
  18. </div>
  19. <button class="btn">查询</button> -->
  20. <button class="btn" onclick="showAddFunctionModule()">添加功能模块</button>
  21. </div>
  22. <div class="btn-group">
  23. </div>
  24. </div>
  25. <div class="well">
  26. <table class="table">
  27. <thead>
  28. <tr>
  29. <th>#</th>
  30. <th style="width:160px;">模块名称</th>
  31. <th>模块代码</th>
  32. <th>创建时间</th>
  33. <th style="width:62px;">操作</th>
  34. </tr>
  35. </thead>
  36. <tbody>
  37. <%=this.FunctionModuleListHtmlTb.ToString() %>
  38. </tbody>
  39. </table>
  40. </div>
  41. <!--<div class="pagination">
  42. <ul>
  43. <li><a href="#">上一页</a></li>
  44. <li><a href="#">1</a></li>
  45. <li><a href="#">2</a></li>
  46. <li><a href="#">3</a></li>
  47. <li><a href="#">4</a></li>
  48. <li><a href="#">下一页</a></li>
  49. </ul>
  50. </div>-->
  51. </div>
  52. <!--#include file="html/DeleteDialog.html" -->
  53. <div class="modal small hide fade" id="addFunctionModule" tabindex="-1" role="dialog" aria-hidden="true" >
  54. <div class="modal-header">
  55. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  56. <h3 id="myModalLabel">添加功能模块</h3>
  57. </div>
  58. <div class="modal-body">
  59. <label>功能模块名称</label>
  60. <input name="txtFunctionName" id="txtFunctionName" type="text" value="" class="input-xlarge">
  61. <label>功能模块代码</label>
  62. <input name="txtFunctionCode" id="txtFunctionCode" type="text" value="" class="input-xlarge">
  63. </div>
  64. <div class="modal-footer">
  65. <button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
  66. <button class="btn btn-danger" onclick="">确定</button>
  67. </div>
  68. </div>
  69. <!--#include file="html/footer.html" -->
  70. </div>
  71. </div>
  72. </div>
  73. <script type="text/javascript">
  74. $(document).ready(function () {
  75. var Keyword = GetQueryString("Keyword");
  76. if (Keyword)
  77. {
  78. $("#Keyword").val(Keyword);
  79. }
  80. });
  81. function showAddFunctionModule()
  82. {
  83. $('#addFunctionModule').modal('show');
  84. }
  85. function myModalDefine(objModal)
  86. {
  87. var relValue = objModal.attr("rel");
  88. document.location = "CustomerList.aspx?del=" + relValue;
  89. //alert(relValue);
  90. }
  91. </script>
  92. <!--#include file="html/bottom.html" -->