2020-12-07 21:52:47 +00:00
|
|
|
<!doctype html>
|
2020-12-08 15:46:26 +00:00
|
|
|
<html class="h-100">
|
2020-12-08 12:21:49 +00:00
|
|
|
|
|
|
|
<head>
|
2020-12-08 15:46:26 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2020-12-12 20:20:43 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='index.css') }}">
|
|
|
|
<!-- <script src="{{ url_for('static', filename='index.js') }}"></script> -->
|
2020-12-08 12:21:49 +00:00
|
|
|
</head>
|
2020-12-07 21:52:47 +00:00
|
|
|
|
|
|
|
<title>Hello world!</title>
|
|
|
|
|
2020-12-08 15:46:26 +00:00
|
|
|
<body class="h-100 d-flex flex-column">
|
2020-12-14 13:55:33 +00:00
|
|
|
<div id="root" class="d-flex flex-fill"></div>
|
2020-12-12 20:20:43 +00:00
|
|
|
<!-- <main class="container my-2 border h-100">
|
2020-12-08 15:46:26 +00:00
|
|
|
|
2020-12-10 16:54:49 +00:00
|
|
|
<div class="row row-cols-auto justify-content-center my-2" id="statistics">
|
|
|
|
<div class="card bg-light mx-auto" style="max-width: 25rem;">
|
|
|
|
<div class="row g-0">
|
|
|
|
<div class="col-md-7 my-2">
|
|
|
|
<h3 class="my-auto border-end text-center">Current price:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="card-body">
|
|
|
|
<p class="card-text text-center text-decoration-underline">USD XXXX.XX</p>
|
2020-12-08 12:21:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-10 16:54:49 +00:00
|
|
|
<p class="card-text text-center border-top my-auto">
|
|
|
|
<small class="text-muted">Last updated 3 mins ago</small>
|
|
|
|
</p>
|
2020-12-08 12:21:49 +00:00
|
|
|
</div>
|
2020-12-08 15:46:26 +00:00
|
|
|
</div>
|
2020-12-10 16:54:49 +00:00
|
|
|
</div>
|
2020-12-08 12:21:49 +00:00
|
|
|
|
2020-12-10 16:54:49 +00:00
|
|
|
<div class="row border-top my-2">
|
|
|
|
<div class="col">
|
|
|
|
<div class="card my-2">
|
|
|
|
<div class="card-header text-center">
|
|
|
|
<h3>Open positions:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-striped table-hover table-sm align-middle">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Amount</th>
|
|
|
|
<th>P/L</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>1</th>
|
|
|
|
<th>01/01/2020</th>
|
|
|
|
<th>BTC +1.0000</th>
|
|
|
|
<th>1.00 %</th>
|
|
|
|
<th>
|
|
|
|
<button id="button" type="button" class="btn btn-danger btn-sm">Close</button>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-12-08 12:21:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-10 16:54:49 +00:00
|
|
|
</div>
|
2020-12-08 19:33:55 +00:00
|
|
|
|
2020-12-10 16:54:49 +00:00
|
|
|
<div class="col">
|
|
|
|
<div class="card my-2">
|
|
|
|
<div class="card-header text-center">
|
|
|
|
<h3>Open orders:</h3>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-striped table-hover table-sm align-middle">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Amount</th>
|
|
|
|
<th>P/L</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>1</th>
|
|
|
|
<th>01/01/2020</th>
|
|
|
|
<th>BTC +1.0000</th>
|
|
|
|
<th>1.00 %</th>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-12-08 15:46:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-10 16:54:49 +00:00
|
|
|
</div>
|
2020-12-08 12:21:49 +00:00
|
|
|
|
2020-12-10 16:54:49 +00:00
|
|
|
<div class="row align-content-center">
|
|
|
|
<div class="col">
|
|
|
|
<div class="my-auto" id="price_chart">
|
|
|
|
<!-- Price chart is inserted here by rustico.js -->
|
2020-12-12 20:20:43 +00:00
|
|
|
<!-- </div>
|
2020-12-08 12:21:49 +00:00
|
|
|
</div>
|
2020-12-10 16:54:49 +00:00
|
|
|
</div>
|
|
|
|
</main>
|
2020-12-08 15:46:26 +00:00
|
|
|
|
2020-12-10 16:54:49 +00:00
|
|
|
<div class="toast-container hide">
|
2020-12-12 20:20:43 +00:00
|
|
|
<div class="toast mx-2 my-2 bg-success hide" id="connectedtoast" role="alert" aria-live="assertive"
|
|
|
|
aria-atomic="true">
|
2020-12-08 19:33:55 +00:00
|
|
|
<div class="toast-header">
|
2020-12-10 16:54:49 +00:00
|
|
|
<strong class="me-auto">Connected!</strong>
|
2020-12-12 20:20:43 +00:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
|
|
|
</div>
|
2020-12-10 16:54:49 +00:00
|
|
|
</div>
|
2020-12-08 19:33:55 +00:00
|
|
|
|
2020-12-12 20:20:43 +00:00
|
|
|
<div class="toast mx-2 my-2 bg-danger hide" id="disconnectedtoast" role="alert" aria-live="assertive"
|
|
|
|
aria-atomic="true">
|
2020-12-10 16:54:49 +00:00
|
|
|
<div class="toast-header">
|
|
|
|
<strong class="me-auto">Disconnected!</strong>
|
2020-12-12 20:20:43 +00:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
|
|
|
|
</div>
|
2020-12-10 16:54:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<footer class="footer mt-auto py-3 bg-light border-top">
|
|
|
|
<div class="container text-center">
|
|
|
|
<span class="text-muted">Made with ❤️ by the Pepe</span>
|
|
|
|
</div>
|
2020-12-12 20:20:43 +00:00
|
|
|
</footer> -->
|
|
|
|
|
|
|
|
<script src="{{ url_for('static', filename='index.js') }}"></script>
|
2020-12-08 15:46:26 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|