| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>OauthSuccess - RustDesk API</title>
- <style>
- body {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
- background-color: #f5f5f5;
- margin: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- min-height: 100vh;
- }
- .success-container {
- text-align: center;
- background: white;
- padding: 2rem;
- border-radius: 10px;
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
- max-width: 400px;
- width: 90%;
- }
- .checkmark {
- color: #4CAF50;
- font-size: 4rem;
- margin-bottom: 1rem;
- }
- h1 {
- color: #333;
- margin-bottom: 1rem;
- }
- p {
- color: #666;
- line-height: 1.6;
- margin-bottom: 1.5rem;
- }
- .return-link {
- display: inline-block;
- padding: 10px 20px;
- background-color: #4CAF50;
- color: white;
- text-decoration: none;
- border-radius: 5px;
- transition: background-color 0.3s;
- }
- .return-link:hover {
- background-color: #45a049;
- }
- </style>
- <script>
- var lang = navigator.language || navigator.userLanguage || 'zh-CN';
- var title = 'OauthSuccess'
- var msg = '{{.message}}'
- var btn = 'Close'
- document.writeln('<script src="/api/oidc/msg?lang=' + lang + '&msg=' + msg + '&title=OauthSuccess"><\/script>');
- </script>
- </head>
- <body>
- <div class="success-container">
- <i class="fas fa-check-circle checkmark"></i>
- <h1 id="h1"></h1>
- <!-- <p>您已成功授权访问您的账户。</p>-->
- <!-- <p>现在可以关闭本页面或返回应用继续操作。</p>-->
- <a href="javascript:window.close()" class="return-link">Close</a>
- </div>
- <script>
- document.title = title + ' - RustDesk API';
- document.getElementById('h1').innerText = title;
- document.getElementById('msg').innerText = msg;
- </script>
- </body>
- </html>
|