]> jfr.im git - uguu.git/commitdiff
1.8.3
authorGo Johansson (neku) <redacted>
Sun, 10 Dec 2023 14:24:52 +0000 (15:24 +0100)
committerGo Johansson (neku) <redacted>
Sun, 10 Dec 2023 14:24:52 +0000 (15:24 +0100)
package.json
src/config.json
src/static/css/uguu.css
src/static/img/ethereum.png [new file with mode: 0644]
src/static/img/flattr.png [deleted file]
src/templates/partials/donation_banner.ejs

index 4c53a25a3eed89f662a646d08f15931fac2e34c0..ead3ba4897b5b226cb931def88e53a03a7976e69 100755 (executable)
@@ -1,6 +1,6 @@
 {
   "name": "uguu",
-  "version": "1.8.2",
+  "version": "1.8.3",
   "description": "Uguu is a simple lightweight temporary file host with support for drop, paste, click and API uploading.",
   "homepage": "https://uguu.se",
   "repository": {
index 255e9f408f4a1667b5db004958cf66127126d45e..18eec163a977a5a15ef70eb888cd742daf39f358 100755 (executable)
@@ -1,6 +1,6 @@
 {
   "dest": "dist",
-  "pkgVersion": "1.8.2",
+  "pkgVersion": "1.8.3",
   "pages": [
     "index.ejs",
     "faq.ejs",
@@ -23,7 +23,7 @@
   "donationBanner": false,
   "paypalUrl": "",
   "bitcoinAddress": "",
-  "flattrUrl": "",
+  "ethereumAddress": "",
   "kofiUrl": "",
   "malwareBanner": false,
   "DB_MODE": "sqlite",
index 748dcb80ad247155d54aa6e2cef8bb1ef07520cf..bdcf7bf9d704aeb5d3824699670ced49bfb92ba9 100755 (executable)
@@ -186,8 +186,8 @@ a.donate-btn:hover {
 .icon-bitcoin {
   background-image: url('img/bitcoin.png');
 }
-.icon-flattr {
-  background-image: url('img/flattr.png');
+.icon-ethereum {
+  background-image: url('img/ethereum.png');
 }
 .icon-kofi {
   background-image: url('img/kofi.png');
diff --git a/src/static/img/ethereum.png b/src/static/img/ethereum.png
new file mode 100644 (file)
index 0000000..569dbcf
Binary files /dev/null and b/src/static/img/ethereum.png differ
diff --git a/src/static/img/flattr.png b/src/static/img/flattr.png
deleted file mode 100755 (executable)
index d6cb1f9..0000000
Binary files a/src/static/img/flattr.png and /dev/null differ
index 55f963dc0058db8c90d9e39cc085176411bf008a..172128929fa785f48bc3170883de0aaeb968946c 100755 (executable)
                 </a>
         <% } %>
 
+            <% if (ethereumAddress) { %>
+                <a class="donate-btn donate-ethereum" href="ethereum:<%= ethereumAddress %>" target="_BLANK">
+            <span class="icon icon-bitcoin"></span>
+                                Ethereum
+        </a>
+            <% } %>
+
             <% if (paypalUrl) { %>
                 <a class="donate-btn donate-paypal" href="<%= paypalUrl %>" target="_BLANK">
                     <span class="icon icon-paypal"></span>
                 </a>
             <% } %>
 
-            <% if (flattrUrl) { %>
-                <a class="donate-btn donate-flattr" href="<%= flattrUrl %>" target="_BLANK">
-                    <span class="icon icon-flattr"></span>
-                                        Flattr
-                </a>
-            <% } %>
             <% if (kofiUrl) { %>
                 <a class="donate-btn donate-kofi" href="<%= kofiUrl %>" target="_BLANK">
                     <span class="icon icon-kofi"></span>