renew/upgrade for success

This commit is contained in:
rustdesk 2023-09-11 00:45:54 +08:00
parent 54936b8690
commit 17744b5ee0
2 changed files with 20 additions and 24 deletions

View File

@ -25,7 +25,7 @@ You can find renew/upgrade as below (please refresh browser if you can not see)
| -- | -- | | -- | -- |
| ![](/docs/en/self-host/rustdesk-server-pro/license/images/renew.jpg) | ![](/docs/en/self-host/rustdesk-server-pro/license/images/upgrade.png) | | ![](/docs/en/self-host/rustdesk-server-pro/license/images/renew.jpg) | ![](/docs/en/self-host/rustdesk-server-pro/license/images/upgrade.png) |
After payment, you need to go ahead to web console to make the license taking effective manually as below. Just click on `edit`, then `Ok`, no need to edit anything, because your license key remains the same. After payment, you need to proceed to the web console to activate it manually as below. Just click on `edit`, then `Ok`, no need to edit anything, because your license key remains the same.
![](/docs/en/self-host/rustdesk-server-pro/license/images/updatelic.jpg) ![](/docs/en/self-host/rustdesk-server-pro/license/images/updatelic.jpg)

View File

@ -21,7 +21,6 @@
<script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script> <script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script>
<link href="images/favicon.png?v2" rel="shortcut icon" type="image/x-icon"> <link href="images/favicon.png?v2" rel="shortcut icon" type="image/x-icon">
<link href="images/webclip.png" rel="apple-touch-icon"> <link href="images/webclip.png" rel="apple-touch-icon">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.css">
<style> <style>
:root { :root {
--accent: #024eff; --accent: #024eff;
@ -205,9 +204,17 @@ a[class^="uui-button-1"]:hover, a[class^="uui-button-1"]:focus, .uui-button-6:ho
<div class="uui-text-align-center-7"> <div class="uui-text-align-center-7">
<h1 class="uui-heading-large-2">Payment successful!</h1> <h1 class="uui-heading-large-2">Payment successful!</h1>
<div class="uui-space-small-3"></div> <div class="uui-space-small-3"></div>
<div id="newlic">
<div class="uui-text-size-xlarge-3">Your license has been sent by email.<br>Please contact us at<a href="mailto: support@rustdesk.com" target="_blank"> support@rustdesk.com</a> if you didn&#x27;t receive the email.</div> <div class="uui-text-size-xlarge-3">Your license has been sent by email.<br>Please contact us at<a href="mailto: support@rustdesk.com" target="_blank"> support@rustdesk.com</a> if you didn&#x27;t receive the email.</div>
<div class="uui-space-small-3"></div> <div class="uui-space-small-3"></div>
<div class="uui-text-size-xlarge-3">Getting Started? Read our <a href="https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/" target="_blank"> docs</a>.</div> <div class="uui-text-size-xlarge-3">Getting Started? Read our <a href="https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/" target="_blank"> docs</a>.</div>
</div>
<div id="renewlic" style="display:none">
<div class="uui-text-size-xlarge-3">Your license has been renewed, please proceed to the web console to <a href="https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/license/#renewupgrade-license">activate it</a>.</div>
</div>
<div id="upgradelic"style="display:none">
<div class="uui-text-size-xlarge-3">Your license has been upgraded, please proceed to the web console to <a href="https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/license/#renewupgrade-license">activate it</a>.</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -319,6 +326,17 @@ window.addEventListener("load", function() {
localStorage.setItem("hide-scammer", "Y"); localStorage.setItem("hide-scammer", "Y");
}); });
} }
var newlic = document.getElementById("newlic");
var renewlic = document.getElementById("renewlic");
var upgradelic = document.getElementById("upgradelic");
if (location.href.indexOf("action=renew") > 0) {
newlic.style.display = 'none';
renewlic.style.display = 'block';
}
if (location.href.indexOf("action=upgrade") > 0) {
newlic.style.display = 'none';
upgradelic.style.display = 'block';
}
}); });
</script> </script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-178912857-1"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-178912857-1"></script>
@ -329,27 +347,5 @@ window.addEventListener("load", function() {
gtag('config', 'UA-178912857-1'); gtag('config', 'UA-178912857-1');
</script> </script>
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.1/build/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#edeff5",
"text": "#838391"
},
"button": {
"background": "#4b81e8"
}
},
"position": "bottom-right",
"content": {
"message": "This website uses cookies to ensure you get the best experience on our website.",
"dismiss": "Got it!",
"link": "Learn more"
}
});
});
</script>
</body> </body>
</html> </html>