mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added ethereum donate option
This commit is contained in:
BIN
server/public/assets/images/ethdonate.png
Normal file
BIN
server/public/assets/images/ethdonate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
@@ -1041,6 +1041,17 @@ $(document).on("click", "#bitcoin-address", function(e) {
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", "#ethereum-address", function(e) {
|
||||
var copyTextarea = document.querySelector('#ethereum-address');
|
||||
copyTextarea.select();
|
||||
var successful = document.execCommand('copy');
|
||||
if(successful) {
|
||||
Materialize.toast("Copied!", 2000, "green lighten");
|
||||
} else {
|
||||
Materialize.toast("Error copying..", 2000, "red lighten");
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", ".pagination-results a", function(e) {
|
||||
e.preventDefault();
|
||||
var that = $(this);
|
||||
|
||||
@@ -7,8 +7,14 @@
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col s12 m6 center">
|
||||
<img src="https://en.bitcoin.it/w/images/en/c/cb/BC_Logotype.png" alt="bitcoin-image" class="col s6 center"/>
|
||||
<input type="text" id="bitcoin-address" readonly value="18DxBV9ij9t1eSLC3rTrugJbzGtMVPEyNB" />
|
||||
<div class="col s12 center">
|
||||
<img src="https://en.bitcoin.it/w/images/en/c/cb/BC_Logotype.png" alt="bitcoin-image" class="col s6 center"/>
|
||||
<input type="text" id="bitcoin-address" readonly value="18DxBV9ij9t1eSLC3rTrugJbzGtMVPEyNB" />
|
||||
</div>
|
||||
<div class="col s12 center">
|
||||
<img src="/assets/images/ethdonate.png" alt="ethereum-image" class="col s6 center"/>
|
||||
<input type="text" id="ethereum-address" readonly value="0x4f867b619cbbc05b0e81d7a3fd9b1ae73b42098f" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col s12 m6 center">
|
||||
<img src="https://www.paypalobjects.com/webstatic/i/logo/rebrand/ppcom.png" alt="paypal-image" class="center-align" />
|
||||
@@ -20,6 +26,7 @@
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
Reference in New Issue
Block a user