mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-22 08:04:10 +01:00
Donation page moved from webserver into the extension
This commit is contained in:
parent
e21ada5182
commit
e0bb871eaf
11
pages/donate/donate.css
Normal file
11
pages/donate/donate.css
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Donations
|
||||
*/
|
||||
|
||||
#table-bank-transfer {
|
||||
font-family: 'monospace', Arial, sans-serif;
|
||||
padding: 16px;
|
||||
}
|
||||
#table-bank-transfer > tbody > tr > td:nth-of-type(1) {
|
||||
font-weight: bold;
|
||||
}
|
37
pages/donate/donate.html
Normal file
37
pages/donate/donate.html
Normal file
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>LocalCDN | Donate</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="../welcome/welcome.css">
|
||||
<link rel="stylesheet" type="text/css" href="../updates/updates.css">
|
||||
<link rel="stylesheet" type="text/css" href="donate.css">
|
||||
<link rel="shortcut icon" href="../welcome/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="../welcome/favicon.ico" type="image/x-icon">
|
||||
</head>
|
||||
<body>
|
||||
<img src="../welcome/logo.svg" alt="Decentraleyes" class="logo"/>
|
||||
<div class="container">
|
||||
<div class="notice">
|
||||
<div class="subtle-hint">
|
||||
<p>LocalCDN is free and open-source. If you like LocalCDN you can support continued development by making a donation. Any help would be greatly appreciated!</p>
|
||||
<div id="div-bank-transfer">
|
||||
<table id="table-bank-transfer"><tbody>
|
||||
<tr>
|
||||
<td></td><td>LocalCDN</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IBAN:</td><td>DE44 5003 1000 1069 4660 08</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BIC:</td><td>TRODDEF1XXX</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<p>(Currently only SEPA bank transfers)</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -423,7 +423,7 @@ popup._onDonationButtonClicked = function () {
|
||||
if (event.button === 0 || event.button === 1) {
|
||||
|
||||
chrome.tabs.create({
|
||||
'url': 'https://localcdn.de/donate/',
|
||||
'url': chrome.extension.getURL('pages/donate/donate.html'),
|
||||
'active': (event.button === 0)
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user