entity_appinfo.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>main_entiity</title>
  6. <script src="./entity_appinfo.js"></script>
  7. <script>
  8. $(document).ready(function() {
  9. $('#get').click(function() {
  10. data_get_appinfo($('#id').val());
  11. });
  12. $('#put').click(function() {
  13. data_put_appinfo($('#id').val());
  14. });
  15. $('#post').click(function() {
  16. data_post_appinfo();
  17. });
  18. $('#delete').click(function() {
  19. data_delete_appinfo( $('#id').val() );
  20. });
  21. $('#getforuser').click(function() {
  22. data_getforuser_appinfo( );
  23. });
  24. $('#getforadmin').click(function() {
  25. data_getforadmin_appinfo( );
  26. });
  27. $('#geticon').click(function() {
  28. data_geticon_appinfo( $('#id').val() );
  29. });
  30. });
  31. </script>
  32. </head>
  33. <body>
  34. <div style="float: left; width: 720px;">
  35. <div style="width: 100%;">
  36. <table border="1" style="width:100%">
  37. <tr>
  38. <td>id:</td>
  39. <td><input type="text" id="id" style="width:95%"/></td>
  40. </tr>
  41. <tr>
  42. <td>type:</td>
  43. <td>
  44. APPINFO
  45. </td>
  46. </tr>
  47. <tr>
  48. <td colspan="2">
  49. <button id="get">GET</button>
  50. <button id="put">PUT</button>
  51. <button id="post">POST</button>
  52. <button id="delete">DELETE</button>
  53. <button id="getforuser">GET FORUSER</button>
  54. <button id="getforadmin">GET FORADMIN</button>
  55. <button id="geticon">GET ICON</button>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td colspan="2">
  60. <textarea id="content" style="width:97%;height:300px"></textarea>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td colspan="2">
  65. <textarea id="result" style="width:97%;height:400px"></textarea>
  66. </td>
  67. </tr>
  68. </table>
  69. </div>
  70. </div>
  71. </body>
  72. </html>