mirror of
https://github.com/OutCast3k/coinbin.git
synced 2025-12-25 11:54:39 +01:00
Add git commit to footer & about page
This commit is contained in:
parent
cda4559cfd
commit
640d4ec51f
5
.git-hooks-post-checkout
Normal file
5
.git-hooks-post-checkout
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
commit=$(git cat-file commit HEAD) #
|
||||
sha1=($((printf "commit %s\0" $(echo "$commit" | wc -c); echo "$commit") | sha1sum))
|
||||
commit="var git_commit = '${sha1}';"
|
||||
sed -i "s/.*var git_commit =.*/${commit}/" js/git-commit.js
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
js/git-commit.js
|
||||
14
index.html
14
index.html
@ -37,6 +37,7 @@
|
||||
|
||||
<script type="text/javascript" src="js/coin.js"></script>
|
||||
<script type="text/javascript" src="js/coinbin.js"></script>
|
||||
<script type="text/javascript" src="js/git-commit.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -137,7 +138,7 @@
|
||||
|
||||
<div class="col-md-4">
|
||||
<h3><span class="glyphicon glyphicon-wrench"></span> Development</h3>
|
||||
<p>Use what we've built to write your own projects! See our documention (coming soon), or contribute at <a href="https://github.com/OutCast3k/coinbin/">github</a>.</p>
|
||||
<p>Use what we've built to write your own projects! See our documention (coming soon), or contribute at <a href="https://github.com/ayanamitech/coinbin/">github</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1356,14 +1357,15 @@
|
||||
<div class="tab-pane tab-content" id="about">
|
||||
<h2>About <small>open source bitcoin wallet</small></h2>
|
||||
<p>Version 1.7</p>
|
||||
<p>Commit: <a id="git-commit-href" href="https://github.com/ayanamitech/coinbin/commit/" target="_blank"><span id="git-commit"></span></a></p>
|
||||
<p>Compatible with bitcoin core</p>
|
||||
<p>Github <a href="https://github.com/OutCast3k/coinbin/">https://github.com/OutCast3k/coinbin/</a></p>
|
||||
<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">TOR <a href="http://coinbin3ravkwb24f7rmxx6w3snkjw45jhs5lxbh3yfeg3vpt6janwqd.onion"><i>coinbin</i>3ravkwb24f7rmxx6w3snkjw45jhs5lxbh3yfeg3vpt6janwqd.onion</a> | <i><s><a href="http://4zpinp6gdkjfplhk.onion">4zpinp6gdkjfplhk.onion</a></s></i></p>
|
||||
<p>Github <a href="https://github.com/ayanamitech/coinbin/" target="_blank">https://github.com/ayanamitech/coinbin/</a></p>
|
||||
<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">TOR <a href="http://coinbin3ravkwb24f7rmxx6w3snkjw45jhs5lxbh3yfeg3vpt6janwqd.onion" target="_blank"><i>coinbin</i>3ravkwb24f7rmxx6w3snkjw45jhs5lxbh3yfeg3vpt6janwqd.onion</a> | <i><s><a href="http://4zpinp6gdkjfplhk.onion">4zpinp6gdkjfplhk.onion</a></s></i></p>
|
||||
<h3>What is Bitcoin?</h3>
|
||||
<p>Bitcoin is a type of digital currency in which encryption techniques are used to regulate the generation of units of currency and verify the transfer of funds, operating independently of a central bank. See <a href="http://www.weusecoins.com/" target="_blank">weusecoins.com</a> for more information.</p>
|
||||
<h3>Information</h3>
|
||||
<p>Coinb.in is a free and open source project released under the MIT license, originally by <a href="https://bitcointalk.org/index.php?action=profile;u=34834" target="_blank">OutCast3k</a> in 2013. Discussion of the project can be found at <a href="https://bitcointalk.org/index.php?topic=390046" target="_blank">bitcointalk.org</a> during its early testing stages when its primary focus was to develop a proof of concept multisig solution in javascript.</p>
|
||||
<p>Coinb.in is run and funded by the generosity of others in terms of <a href="https://github.com/OutCast3k/coinbin/graphs/contributors" target="_blank">development</a> and hosting.</p>
|
||||
<p>Coinb.in is run and funded by the generosity of others in terms of <a href="https://github.com/ayanamitech/coinbin/graphs/contributors" target="_blank">development</a> and hosting.</p>
|
||||
<p>Coinb.in is kindly hosted by <a href="https://www.bitvps.com/" target="_blank">BitVPS.com</a>.</p>
|
||||
<h3>Privacy</h3>
|
||||
<p>Coinb.in believes strongly in privacy, not only do we support the use of TOR, the site does not collect and store IP or transaction data via our servers nor do we store your bitcoins private key. We do route traffic via cloudflare using an SSL certificate.</p>
|
||||
@ -1484,7 +1486,7 @@
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<p class="text-muted">This page uses javascript to generate your addresses and sign your transactions within your browser, this means we <i>never</i> receive your private keys, this can be independently verified by reviewing the source code on <a href="https://github.com/OutCast3k/coinbin/" target="_blank">github</a>. You can even <a href="https://github.com/OutCast3k/coinbin/archive/master.zip">download</a> this page and host it yourself or run it offline!</p>
|
||||
<p class="text-muted">This page uses javascript to generate your addresses and sign your transactions within your browser, this means we <i>never</i> receive your private keys, this can be independently verified by reviewing the source code on <a href="https://github.com/ayanamitech/coinbin/" target="_blank">github</a>. You can even <a href="https://github.com/ayanamitech/coinbin/archive/master.zip">download</a> this page and host it yourself or run it offline!</p>
|
||||
<br>
|
||||
|
||||
</div>
|
||||
@ -1493,7 +1495,7 @@
|
||||
|
||||
<div id="footer">
|
||||
<div class="container text-right">
|
||||
<p class="text-muted">Version 1.7</p>
|
||||
<p class="text-muted">Version 1.7 commit: <a id="git-commit-href-footer" href="https://github.com/ayanamitech/coinbin/" target="_blank"><span id="git-commit-footer"></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
9
js/git-commit.js
Normal file
9
js/git-commit.js
Normal file
@ -0,0 +1,9 @@
|
||||
var git_commit = '';
|
||||
var git_commit_sub = git_commit.substring(0, 8);
|
||||
|
||||
$(document).ready(function(){
|
||||
$('#git-commit').text(`${git_commit_sub}`);
|
||||
$('#git-commit-footer').text(`${git_commit_sub}`);
|
||||
$('#git-commit-href').attr('href', `https://github.com/ayanamitech/coinbin/commit/${git_commit}`);
|
||||
$('#git-commit-href-footer').attr('href', `https://github.com/ayanamitech/coinbin/commit/${git_commit}`);
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user