testLogin.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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>Login Page</title>
  7. <style>
  8. body {
  9. font-family: Arial, sans-serif;
  10. background-color: #f4f4f4;
  11. margin: 0;
  12. padding: 0;
  13. display: flex;
  14. align-items: center;
  15. justify-content: center;
  16. height: 100vh;
  17. }
  18. .login-container {
  19. background-color: #fff;
  20. padding: 20px;
  21. border-radius: 8px;
  22. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  23. }
  24. .login-container h2 {
  25. text-align: center;
  26. color: #333;
  27. }
  28. .login-form {
  29. margin-top: 20px;
  30. }
  31. .form-group {
  32. margin-bottom: 15px;
  33. }
  34. .form-group label {
  35. display: block;
  36. margin-bottom: 5px;
  37. color: #555;
  38. }
  39. .form-group input {
  40. width: 100%;
  41. padding: 8px;
  42. box-sizing: border-box;
  43. border: 1px solid #ccc;
  44. border-radius: 4px;
  45. }
  46. .form-group button {
  47. background-color: #4caf50;
  48. color: #fff;
  49. padding: 10px;
  50. border: none;
  51. border-radius: 4px;
  52. cursor: pointer;
  53. width: 100%;
  54. }
  55. .form-group button:hover {
  56. background-color: #45a049;
  57. }
  58. </style>
  59. </head>
  60. <body>
  61. <div class="login-container">
  62. <h2>Login</h2>
  63. <form class="login-form" action="http://127.0.0.1:9898/open/jd/callback" method="get">
  64. <div class="form-group">
  65. <label for="username">Username:</label>
  66. <input type="text" id="username" name="username" required>
  67. </div>
  68. <div class="form-group">
  69. <label for="password">Password:</label>
  70. <input type="password" id="password" name="password" required>
  71. </div>
  72. <div class="form-group">
  73. <button type="submit">Login</button>
  74. </div>
  75. </form>
  76. </div>
  77. </body>
  78. </html>