robot.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>www.weavi.com</title>
  6. <link rel="stylesheet" type="text/css" href="../easyui/themes/default/easyui.css" />
  7. <link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css" />
  8. <script type="text/javascript" src="../easyui/jquery.min.js"></script>
  9. <script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
  10. <script type="text/javascript" src="../easyui/locale/easyui-lang-zh_CN.js"></script>
  11. <script type="text/javascript" src="../js/my.js"></script>
  12. </head>
  13. <body>
  14. <table id="dg" title="Weavi Database" class="easyui-datagrid" fitColumns="true" pagination="true" rownumbers="true" url="/weavi/list" fit="true" toolbar="#tb">
  15. <thead>
  16. <tr>
  17. <th field="cb" checkbox="true" align="center"></th>
  18. <th field="id" width="100" align="center">编号</th>
  19. <th field="name" width="200" align="center">用户名</th>
  20. <th field="word" width="200" align="center">密码</th>
  21. </tr>
  22. </thead>
  23. </table>
  24. <!-- CRUD 菜单栏 -->
  25. <div id="tb">
  26. <div>
  27. <!--plain="true"去掉边框-->
  28. <a href="javascript:openLinkAddDialog()" class="easyui-linkbutton" iconCls="icon-add" plain="true">添加</a>
  29. <a href="javascript:openLinkModifyDialog()" class="easyui-linkbutton" iconCls="icon-edit" plain="true">修改</a>
  30. <a href="javascript:deleteLink()" class="easyui-linkbutton" iconCls="icon-remove" plain="true">删除</a>
  31. </div>
  32. <div>
  33. &nbsp;用户名:&nbsp;<input type="text" id="s_name" size="20" onkeydown="if(event.keyCode==13) searchWebSite()" /> &nbsp;密码:&nbsp;
  34. <input type="text" id="s_word" size="20" onkeydown="if(event.keyCode==13) searchWebSite()" />
  35. <a href="javascript:searchWebSite()" class="easyui-linkbutton" iconCls="icon-search" plain="true">搜索</a>
  36. </div>
  37. </div>
  38. <!-- 修改框内容 -->
  39. <div id="dlg" class="easyui-dialog" style="width: 500px;height: 200px;padding: 10px 20px" closed="true" buttons="#dlg-buttons">
  40. <form id="fm" method="post">
  41. <table cellspacing="8px">
  42. <tr>
  43. <td>用户名:</td>
  44. <td>
  45. <input type="text" id="name" name="name" class="easyui-validatebox" required="true" />
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>密码:</td>
  50. <td>
  51. <input type="text" id="password" name="password" class="easyui-validatebox" required="true" />
  52. </td>
  53. </tr>
  54. </table>
  55. </form>
  56. </div>
  57. <div id="dlg-buttons">
  58. <a href="javascript:saveLink()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
  59. <a href="javascript:closeLinkDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
  60. </div>
  61. </body>
  62. </html>