Skip to content

Instantly share code, notes, and snippets.

@bsetmet
Last active September 15, 2018 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsetmet/3537569def0ff0dc7431517eea1135ba to your computer and use it in GitHub Desktop.
Save bsetmet/3537569def0ff0dc7431517eea1135ba to your computer and use it in GitHub Desktop.
Html, css, and js example of a donation page to the public address for cryptocurrencies
<!DOCTYPE html>
<html>
<!--
"The MIT License"
Copyrighft 2018 Jeremy D. Gerdes
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="/bespoke/assets/copy_to_clipboard.js"></script>
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="/bespoke/assets/global_style.css">
</head>
<body>
<h1>If you like the Bsetmet site content Tip us with Cryptocurrency</h1>
<div>
<div class="tg-wrap">
<!-- To rotate text, using this method: https://stackoverflow.com/a/15807121 -->
<table class="tg">
<tr>
<th class="tg-bodered-cell">Coin</th>
<th class="tg-bodered-cell">QR Code</th>
<th class="tg-no-border">Address</th>
</tr>
<!-- Electroneum -->
<tr>
<td class="rotate" >
<div>
<span>
<a href="https://wiki.electroneum.com/helpdesk/how-to-articles" target="new">
Electroneum
</a>
</span>
</div>
</td>
<td class="tg-bodered-cell">
<a href="/bespoke/images/donate/bsetmet_public_electroneum_key.png" target="new">
<img
style="border: 2px solid black;border-radius: 4px;padding: 0px;"
src="/bespoke/images/donate/bsetmet_public_electroneum_key.png"
alt="Electroneum QR Code"
width="200px"
height="200px"
/>
</a>
</td>
<td class="tg-bodered-cell">
<img
src="/bespoke/images/donate/electroneum_icon.png"
alt="Electroneum QR Code Icon"
width="40px"
height="40px"
/>
<span class="custom_tooltip">
<button onclick="copyTextarea()" onmouseout="copyTextareaOut()">
<span class="custom_tooltiptext" id="textareaToCopyTooltip">Copy to clipboard</span>
Copy to clipboard
</button>
</span>
<br/>
<textarea class="custom_textarea" id="textareaToCopy">etnk5p9ii28NpbJfo86bYxgoZ4GQWb43EPARkEai71jE7Ebvm3c39tgG2YM5fQgB5Sii5nByuAyn85MLr7xaA6qU2WMi9rg92d</textarea>
</td>
</tr>
<!-- Monero -->
<tr>
<td class="rotate">
<div><span><a href="https://wiki.monero.com/helpdesk/how-to-articles">monero</a></span></div>
</td>
<td class="tg-bodered-cell">
<a href="/bespoke/images/donate/bsetmet_public_monero_key.png" target="new">
<img
src="/bespoke/images/donate/bsetmet_public_monero_key.png"
alt="monero QR Code"
width="200px"
height="200px"
/>
</a> margin-left:auto;
</td>
<td class="tg-bodered-cell">
<div class="wrap-key-text-block">
comming soon
</div>
</td>
</tr>
</table>
<script charset="utf-8" src="/bespoke/assets/handle_table_sort.js"></script>
</div>
</div>
<div class=informational>
<p>This page contains no server side scripting, only html, css, and javascript</p>
</div>
<div>
<a href="http://www.bsetmet.com/index.php/about-bsetmet/additional-terms-and-conditions/">
Additional Terms and Conditions
</a>
</div>
</body>
</html>
@bsetmet
Copy link
Author

bsetmet commented Sep 14, 2018

Originally had some php, now is only html, css and javascirpt...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment