react-code-dataset / wp-calypso /desktop /public_desktop /magic-links-unsupported.html
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
<!DOCTYPE html>
<html class="desktop-auth">
<head>
<title>WordPress.com account requires password</title>
<meta charset="utf-8" />
<link
rel="stylesheet"
href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600|Merriweather:700,300,700italic,300italic"
/>
<link rel="stylesheet" href="wordpress-desktop.css" />
</head>
<body>
<div class="flex">
<div class="welcome">
<div class="large-icon">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-2 -2 24 24"
width="36"
height="36"
role="img"
aria-hidden="true"
focusable="false"
>
<path
d="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"
></path>
</svg>
</div>
<h3>Password Required</h3>
<p>
To use the WordPress.com Desktop app your account requires a password. Please log in to your account through your browser, create a password for your account and use this password to log in
to the Desktop application.
</p>
<p><a class="button-emphasis" id="set-password" href="https://wordpress.com/me/security">Set Password</a></p>
</div>
</div>
<script>
const button = document.getElementById('set-password');
button.addEventListener('click', function () {
window.electron.send('magic-link-set-password');
});
</script>
</body>
</html>