You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
3.8 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Faircoin-calculator</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  8. </head>
  9. <body>
  10. <!-- github -->
  11. <a target="_blank" href="https://github.com/mayel/faircoin-calculator"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>
  12. <!-- /github -->
  13. <div class="container">
  14. <div class="row">
  15. <div class="col-sm-3"></div>
  16. <div class="col-sm-6">
  17. <div class="card-body">
  18. <div class="card-title">
  19. <img src="img/faircoin-logo.png" class="img-fluid" />
  20. </div>
  21. <p>Display the historical value of FairCoin at any given date:</p>
  22. <div class="row">
  23. <div class="col-sm-12">
  24. <input id="inputDate" type="date">
  25. </div>
  26. </div>
  27. <br>
  28. <div class="row">
  29. <div class="col-sm-5">
  30. <input type="number" class="form-control" id="inputFaircoin" placeholder="FairCoin">
  31. </div>
  32. <div class="col-sm-2">
  33. FAIR
  34. </div>
  35. <!--
  36. <div class="col-sm-5">
  37. <button onclick="calculateEuros()" type="button" class="btn btn-outline-primary">Calculate euros</button>
  38. </div>
  39. -->
  40. </div>
  41. <br>
  42. <div class="row">
  43. <div class="col-sm-5">
  44. <input type="number" class="form-control" id="inputEuro" placeholder="Euros">
  45. </div>
  46. <div class="col-sm-2">
  47. </div>
  48. <!--
  49. <div class="col-sm-5">
  50. <button onclick="calculateFaircoins()" type="button" class="btn btn-outline-primary">Calculate faircoins</button>
  51. </div>
  52. -->
  53. </div>
  54. <br>
  55. <div class="row">
  56. <div class="col-sm-12">
  57. <div id="result"></div>
  58. </div>
  59. </div>
  60. </div>
  61. <p> You can also use the browser extension which displays the historical value of FairCoin at the time of each transaction when <a href="https://chain.fair.to/">browsing the blockchain.</a> Available for <a href="https://addons.mozilla.org/en-US/firefox/addon/faircoin-calculator/">Firefox</a> and <a href="https://chrome.google.com/webstore/detail/faircoin-calculator/alnbjhldpppajfdoknbdpienjbiogmlp">Chrome</a>.
  62. <p>If you're happy with the FairCoin Calculator, you can donate at <a href="faircoin:fMGcrP9nAFic4356F4oHDDWVq8YvtJSXZL">fMGcrP9nAFic4356F4oHDDWVq8YvtJSXZL</a>
  63. </div>
  64. </div>
  65. </div>
  66. <!-- bootstrap -->
  67. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  68. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  69. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  70. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  71. <!--toastr-->
  72. <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css">
  73. <script src="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
  74. <!-- own javascript-->
  75. <script src="index.js"></script>
  76. </body>
  77. </html>