oauth_success.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>授权成功 - RustDesk API</title>
  7. <style>
  8. body {
  9. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  10. background-color: #f5f5f5;
  11. margin: 0;
  12. display: flex;
  13. justify-content: center;
  14. align-items: center;
  15. min-height: 100vh;
  16. }
  17. .success-container {
  18. text-align: center;
  19. background: white;
  20. padding: 2rem;
  21. border-radius: 10px;
  22. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  23. max-width: 400px;
  24. width: 90%;
  25. }
  26. .checkmark {
  27. color: #4CAF50;
  28. font-size: 4rem;
  29. margin-bottom: 1rem;
  30. }
  31. h1 {
  32. color: #333;
  33. margin-bottom: 1rem;
  34. }
  35. p {
  36. color: #666;
  37. line-height: 1.6;
  38. margin-bottom: 1.5rem;
  39. }
  40. .return-link {
  41. display: inline-block;
  42. padding: 10px 20px;
  43. background-color: #4CAF50;
  44. color: white;
  45. text-decoration: none;
  46. border-radius: 5px;
  47. transition: background-color 0.3s;
  48. }
  49. .return-link:hover {
  50. background-color: #45a049;
  51. }
  52. </style>
  53. </head>
  54. <body>
  55. <div class="success-container">
  56. <i class="fas fa-check-circle checkmark"></i>
  57. <h1>授权成功!</h1>
  58. <p>您已成功授权访问您的账户。</p>
  59. <p>现在可以关闭本页面或返回应用继续操作。</p>
  60. <a href="javascript:window.close()" class="return-link">关闭页面</a>
  61. </div>
  62. <script>
  63. </script>
  64. </body>
  65. </html>