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.

86 lines
3.2 KiB

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/arnaucode/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. <div class="row">
  22. <div class="col-sm-12">
  23. <input id="inputDate" type="date">
  24. </div>
  25. </div>
  26. <br>
  27. <div class="row">
  28. <div class="col-sm-5">
  29. <input type="number" class="form-control" id="inputFaircoin" placeholder="faircoin">
  30. </div>
  31. <div class="col-sm-2">
  32. FC
  33. </div>
  34. <!--
  35. <div class="col-sm-5">
  36. <button onclick="calculateEuros()" type="button" class="btn btn-outline-primary">Calculate euros</button>
  37. </div>
  38. -->
  39. </div>
  40. <br>
  41. <div class="row">
  42. <div class="col-sm-5">
  43. <input type="number" class="form-control" id="inputEuro" placeholder="euro">
  44. </div>
  45. <div class="col-sm-2">
  46. </div>
  47. <!--
  48. <div class="col-sm-5">
  49. <button onclick="calculateFaircoins()" type="button" class="btn btn-outline-primary">Calculate faircoins</button>
  50. </div>
  51. -->
  52. </div>
  53. <br>
  54. <div class="row">
  55. <div class="col-sm-12">
  56. <div id="result"></div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <!-- bootstrap -->
  64. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  65. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  66. <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>
  67. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  68. <!--toastr-->
  69. <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css">
  70. <script src="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
  71. <!-- own javascript-->
  72. <script src="index.js"></script>
  73. </body>
  74. </html>