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

<!DOCTYPE html>
<html lang="en">
<head>
<title>Faircoin-calculator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body>
<!-- github -->
<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>
<!-- /github -->
<div class="container">
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-6">
<div class="card-body">
<div class="card-title">
<img src="img/faircoin-logo.png" class="img-fluid" />
</div>
<div class="row">
<div class="col-sm-12">
<input id="inputDate" type="date">
</div>
</div>
<br>
<div class="row">
<div class="col-sm-5">
<input type="number" class="form-control" id="inputFaircoin" placeholder="faircoin">
</div>
<div class="col-sm-2">
FC
</div>
<div class="col-sm-5">
<button onclick="calculateEuros()" type="button" class="btn btn-outline-primary">Calculate euros</button>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-5">
<input type="number" class="form-control" id="inputEuro" placeholder="euro">
</div>
<div class="col-sm-2">
</div>
<div class="col-sm-5">
<button onclick="calculateFaircoins()" type="button" class="btn btn-outline-primary">Calculate faircoins</button>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-12">
<div id="result"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- bootstrap -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<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>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!--toastr-->
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css">
<script src="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
<!-- own javascript-->
<script src="index.js"></script>
</body>
</html>