fixed title on coin live and added ul on index.html
All checks were successful
SonarQube Scan / SonarQube Trigger (push) Successful in 4m22s

This commit is contained in:
2024-12-21 16:13:29 +00:00
parent 82216daaf8
commit 82e1b74aee
2 changed files with 10 additions and 4 deletions

View File

@ -31,7 +31,7 @@
</head>
<body>
<div class="container">
<h1>XRP Price Live Chart</h1>
<h1>{{coin}} Price Live Chart</h1>
<div class="chart-container">
<canvas id="priceChart"></canvas>
</div>
@ -120,4 +120,4 @@
setInterval(updateChart, 5000);
</script>
</body>
</html>
</html>

View File

@ -21,12 +21,18 @@
<main>
<section>
<h2>Interested Coints Live Chart</h2>
<h2>Interested Coin Price Live Chart</h2>
<ul>
{% for coin in coins %}
<li><a href="/coin/{{coin}}">{{coin}}</a></li>
{% endfor %}
</ul>
<h2>Interested Coin Price Candle Live Chart</h2>
<ul>
{% for coin in coins %}
<li><a href="/coin/{{coin}}/candle1min">{{coin}}</a></li>
{% endfor %}
</ul>
</section>
</main>
@ -38,4 +44,4 @@
// Add your JavaScript here
</script>
</body>
</html>
</html>