mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-28 09:59:40 +01:00
Update pricing.html
This commit is contained in:
parent
32fae8ddfa
commit
8c1cf93579
@ -21,6 +21,8 @@
|
|||||||
<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/sweetalert2@11.7.27/dist/sweetalert2.min.css">
|
||||||
|
<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;
|
||||||
@ -486,17 +488,9 @@ label {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a href="javascript:void(0);" onclick="showConfirmation('https://rustdesk.com/api/lic/stripe/checkout?type=Personal')" class="uui-button-15 w-inline-block">
|
<button id="buyNowButton1" class="uui-button-3 w-inline-block">
|
||||||
<div>Buy now</div>
|
<div>Buy now</div>
|
||||||
</a>
|
</button>
|
||||||
<script>
|
|
||||||
function showConfirmation(redirectUrl) {
|
|
||||||
const userConfirmed = confirm("Do you want to proceed to the purchase page?");
|
|
||||||
if (userConfirmed) {
|
|
||||||
window.location.href = redirectUrl;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="uui-pricing08_popular-plan">
|
<div class="uui-pricing08_popular-plan">
|
||||||
@ -567,17 +561,9 @@ label {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a href="javascript:void(0);" onclick="showConfirmation('https://rustdesk.com/api/lic/stripe/checkout?type=Business')" class="uui-button-15 w-inline-block">
|
<button id="buyNowButton2" class="uui-button-3 w-inline-block">
|
||||||
<div>Buy now</div>
|
<div>Buy now</div>
|
||||||
</a>
|
</button>
|
||||||
<script>
|
|
||||||
function showConfirmation(redirectUrl) {
|
|
||||||
const userConfirmed = confirm("Do you want to proceed to the purchase page?");
|
|
||||||
if (userConfirmed) {
|
|
||||||
window.location.href = redirectUrl;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -715,5 +701,61 @@ window.addEventListener("load", function() {
|
|||||||
|
|
||||||
gtag('config', 'UA-178912857-1');
|
gtag('config', 'UA-178912857-1');
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.7.27"></script>
|
||||||
|
<script>
|
||||||
|
document.getElementById("buyNowButton1").addEventListener("click", function() {
|
||||||
|
Swal.fire({
|
||||||
|
title: 'Please Confirm',
|
||||||
|
text: 'Do you want to proceed to the purchase page?',
|
||||||
|
icon: 'question',
|
||||||
|
showCancelButton: true,
|
||||||
|
confirmButtonText: 'Yes',
|
||||||
|
cancelButtonText: 'No',
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
const redirectUrl = 'https://rustdesk.com/api/lic/stripe/checkout?type=Personal';
|
||||||
|
window.location.href = redirectUrl;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
document.getElementById("buyNowButton2").addEventListener("click", function() {
|
||||||
|
Swal.fire({
|
||||||
|
title: 'Please Confirm',
|
||||||
|
text: 'Do you want to proceed to the purchase page?',
|
||||||
|
icon: 'question',
|
||||||
|
showCancelButton: true,
|
||||||
|
confirmButtonText: 'Yes',
|
||||||
|
cancelButtonText: 'No',
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
const redirectUrl = 'https://rustdesk.com/api/lic/stripe/checkout?type=Business';
|
||||||
|
window.location.href = redirectUrl;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</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>
|
||||||
|
Loading…
Reference in New Issue
Block a user