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.

82 lines
3.2 KiB

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