one_ton_daily_bot/client/templates/stats.hbs

100 lines
3.0 KiB
Handlebars

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background: #000;
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 0;
}
.stock-card {
display: inline-block;
text-align: left;
padding: 40px;
border-radius: 20px;
background-color: #111;
min-width: 700px;
}
.stock-header {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.stock-header img {
width: 24px;
height: 24px;
margin-right: 10px;
}
.stock-price {
font-size: 96px;
margin: 10px 0;
color: #fff;
}
.stock-change-positive {
color: rgb(20, 171, 20);
font-size: 20px;
}
.stock-change-negative {
color: rgb(213, 11, 11);
font-size: 20px;
}
.flex-row {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 20px;
}
</style>
</head>
<body>
<div class="stock-card">
<div style="display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between;">
<div class="stock-header">
{{!-- <img src="/public/tonlogo.png" alt="Logo"> --}}
<img src="https://static.coinstats.app/coins/1685602314954.png" alt="Logo">
<div style="display: flex; flex-direction: column; align-items: flex-start; color: #939393;">
<div style="font-size: 16px; color: #fff;">Toncoin</div>
<div style="font-size: 24px;">TON • USDT</div>
</div>
</div>
{{!-- <div style="color: #939393;"> --}}
<div style="color: #fff;">
<div style="font-size: 36px;"><span style="font-size: 16px; color: #939393">+1</span>
{{totalAmount}} TON</div>
</div>
</div>
<div class="stock-price"> {{lastPurchasePrice}} <span style="font-size: 24px; ">USDT</span></div>
<div style="display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 20px;">
<div class="stock-change flex-row {{changeClass lastPurchaseChange}}">
<span>{{lastPurchaseChange}}</span>
<span>{{lastPurchaseChangePercent}}%</span>
<span>сегодня</span>
</div>
<div class="stock-change {{changeClass totalProfit}} flex-row">
<span>{{averageCost}} USDT</span>
<span>{{totalProfit}}</span>
<span>за всё время</span>
</div>
</div>
</div>
</div>
</body>
</html>