Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: uberscientist/bitstarter
base: 4a619d1576
...
head fork: uberscientist/bitstarter
compare: b0dde43977
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 40 additions and 3 deletions.
  1. +32 −3 public/index.html
  2. +8 −0 public/js/donate.js
View
35 public/index.html
@@ -95,8 +95,13 @@
<!-- We define a new 'actions' div to contain statistics, order, and share buttons.-->
<div class="col-12 col-lg-12 actions">
<div class="statistics">
- <h3>1</h3> <p><a href="#">backers</a></p>
- <h3>&#3647;0.5</h3>
+
+ <!-- Button trigger modal -->
+
+ <h3 id="backers-count">1</h3>
+ <p><a data-toggle="modal" href="#donation-rank-modal" id="backers-link" href="#">backers</a></p>
+ <h3>&#3647;<span id="total-btc">0.5</span></h3>
+ <h3>&#0321;<span id="total-ltc">0.0</span></h3>
</div>
<!-- Bootstrap progress bar -->
@@ -137,7 +142,7 @@
</div><!-- container -->
</div><!-- wrap -->
- <!-- Modal -->
+ <!-- Donation Modal -->
<div class="modal fade" id="donate-modal">
<div class="modal-dialog">
<div class="modal-content">
@@ -190,6 +195,30 @@ <h4 class="modal-title">Donate</h4>
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
+ <!-- Donation Display Modal -->
+ <div class="modal fade" id="donation-rank-modal">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
+ </div>
+ <div class="modal-body">
+
+ <div id="#btc-donators" class="col-lg-6">
+ <h3>Bitcoin donations:</h3>
+ </div>
+
+ <div id="#ltc-donators"class="col-lg-6">
+ <h3>Litecoin donations:</h3>
+ </div>
+
+ <div class="clearfix"></div>
+
+ </div>
+ </div><!-- /.modal-content -->
+ </div><!-- /.modal-dialog -->
+ </div><!-- /.modal -->
+
<!-- SCRIPTS -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js"></script>
View
8 public/js/donate.js
@@ -26,8 +26,16 @@ $.ready = function() {
});
}
+ var displayDonations = function() {
+
+ }
+
+ // Donation request
$('.coin-select-btn').click(function () {
var coin_type = $(this).attr('id');
displayAddress(coin_type);
});
+
+ // Display the backer ranks when clicked
+ $('#backers-link').click(displayDonations);
};

No commit comments for this range

Something went wrong with that request. Please try again.