beaker-plugin-dat
Version:
Dat-protocol plugin for the Beaker browser
9 lines • 474 B
JavaScript
module.exports = function (err) {
return `<body style="font-family: sans-serif;color: #666;font-size:21px">
<div style="margin: 35px;">
<h1 style="color: #555">This site cant be reached</h1>
<h2>${err}</h2>
<a href="javascript:window.location.reload()" style="display: inline-block;background: #4b92ea;color:#fff;border-radius:2px;text-decoration: none;padding: 6px 17px;border: 1px solid #428ae4;">Retry</a>
</div>
</body>`.replace(/\n/g,'')
}