index.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>idsUser</title>
  7. <style>
  8. body {
  9. font-family: Arial, Helvetica, sans-serif;
  10. margin: 0;
  11. padding: 0;
  12. background-color: #f5f5f5;
  13. color: #333;
  14. }
  15. h1 {
  16. text-align: center;
  17. font-size: 36px;
  18. margin: 30px 0;
  19. background-image: linear-gradient(to right, #FF0000 0%, #FF7F00 15%, #FFFF00 30%, #00FF00 45%, #0000FF 60%, #4B0082 75%, #8F00FF 100%);
  20. -webkit-background-clip: text;
  21. -webkit-text-fill-color: transparent;
  22. text-shadow: 2px 2px #ccc;
  23. }
  24. h2 {
  25. text-align: center;
  26. color: #007bff;
  27. margin-bottom: 20px;
  28. }
  29. form {
  30. max-width: 400px;
  31. margin: 20px auto;
  32. padding: 15px;
  33. background-color: white;
  34. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  35. border-radius: 5px;
  36. }
  37. label {
  38. display: block;
  39. margin-bottom: 5px;
  40. }
  41. input {
  42. width: 100%;
  43. padding: 10px;
  44. margin-bottom: 15px;
  45. box-sizing: border-box;
  46. }
  47. button {
  48. background-color: #007bff;
  49. color: white;
  50. padding: 10px 15px;
  51. border: none;
  52. border-radius: 5px;
  53. cursor: pointer;
  54. }
  55. button:hover {
  56. background-color: #0056b3;
  57. }
  58. code {
  59. font-size: 16px;
  60. display: block;
  61. margin-top: 20px;
  62. text-align: center;
  63. color: #28a745; /* 突出链接颜色 */
  64. font-weight: bold;
  65. text-transform: uppercase;
  66. background-color: #f8f9fa;
  67. border-radius: 5px;
  68. padding: 10px;
  69. }
  70. a {
  71. color: #007bff;
  72. text-decoration: none;
  73. transition: color 0.3s ease-in-out;
  74. }
  75. a:hover {
  76. color: #0056b3;
  77. }
  78. </style>
  79. </head>
  80. <body>
  81. <h1>idsUser</h1>
  82. <h2>注册表单</h2>
  83. <form action="http://www.sencorsta.com:7779/user/register" method="post" onsubmit="return validateForm()">
  84. <label for="account">账号:</label>
  85. <input type="text" id="account" name="account" required><br>
  86. <label for="email">邮箱:</label>
  87. <input type="email" id="email" name="email" required><br>
  88. <label for="phone">手机:</label>
  89. <input type="tel" id="phone" name="phone" required><br>
  90. <label for="password">密码:</label>
  91. <input type="password" id="password" name="password" required><br>
  92. <label for="confirmPassword">确认密码:</label>
  93. <input type="password" id="confirmPassword" name="confirmPassword" required><br>
  94. <button type="submit">提交</button>
  95. </form>
  96. <script>
  97. function validateForm() {
  98. var password = document.getElementById('password').value;
  99. var confirmPassword = document.getElementById('confirmPassword').value;
  100. if (password !== confirmPassword) {
  101. alert('密码和确认密码不一致');
  102. return false;
  103. }
  104. return true;
  105. }
  106. </script>
  107. <h2>登录表单</h2>
  108. <form action="http://www.sencorsta.com:7779/user/loginAccount" method="post">
  109. <label for="account">账号:</label>
  110. <input type="text" id="account" name="account" required><br>
  111. <label for="password">密码:</label>
  112. <input type="password" id="password" name="password" required><br>
  113. <button type="submit">提交</button>
  114. </form>
  115. <h2>验证token</h2>
  116. <form action="http://www.sencorsta.com:7779/user/verify" method="post">
  117. <label for="token">token:</label>
  118. <input type="text" id="token" name="token" required><br>
  119. <button type="submit">提交</button>
  120. </form>
  121. <h2>helloFile</h2>
  122. <form action="http://www.sencorsta.com:7779/user/helloFile" method="get">
  123. <button type="submit">提交</button>
  124. </form>
  125. <code>本网站基于IDS2.0开发,仅供演示和学习使用。更多资源请访问 <a href="http://www.sencorsta.com:2203/ice/Ids" target="_blank">官方网站</a> 或 <a href="http://www.sencorsta.com:2203/ice/Ids" target="_blank">社区论坛</a>。</code>
  126. </body>
  127. </html>