index.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <link rel="stylesheet" href="/static/index.css">
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>GetGrass WebUI</title>
  8. </head>
  9. <body>
  10. <div class="loading" id="loading">
  11. <div class="loading-text">Loading...</div>
  12. </div>
  13. <div class="title">
  14. <h2>GetGrass WebUI - <span class='status-2' id="onlineCount">0</span>/<span id="allCount">20</span></h2>
  15. <div>
  16. <button onclick="addUser()">添加账号</button>
  17. <button onclick="deleteAllUser()">清空账号</button>
  18. <button onclick="uploadFile()">上传文件</button>
  19. </div>
  20. </div>
  21. <div id="logsModal" class="modal">
  22. <div class="modal-content">
  23. <span class="close" onclick="closeModal()">&times;</span>
  24. <p id="logText"></p>
  25. </div>
  26. </div>
  27. <table id="data-table">
  28. <thead>
  29. <tr>
  30. <th>编号</th>
  31. <th>UserID</th>
  32. <th>代理</th>
  33. <th>状态</th>
  34. <th>操作</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <!-- Data will be dynamically added here -->
  39. </tbody>
  40. </table>
  41. <script src="/static/index.js"></script>
  42. </body>
  43. </html>