Spaces:
Sleeping
Sleeping
Update static/app.js
Browse files- static/app.js +1 -2
static/app.js
CHANGED
|
@@ -51,11 +51,10 @@ function displayPage() {
|
|
| 51 |
<div class="puzzle">
|
| 52 |
<div class="puzzle-board" id="result-board-${globalIdx}"></div>
|
| 53 |
<div class="puzzle-info">
|
| 54 |
-
<h3><a href="${p.
|
| 55 |
<p>Rating: ${p.Rating} | Popularity: ${p.Popularity}%</p>
|
| 56 |
<div class="themes">${p.Themes.map(t => `<span class="theme">${t}</span>`).join('')}</div>
|
| 57 |
<p>Moves: ${p.Moves}</p>
|
| 58 |
-
<p><a href="${p.GameUrl}" target="_blank">View game</a></p>
|
| 59 |
</div>
|
| 60 |
</div>`;
|
| 61 |
});
|
|
|
|
| 51 |
<div class="puzzle">
|
| 52 |
<div class="puzzle-board" id="result-board-${globalIdx}"></div>
|
| 53 |
<div class="puzzle-info">
|
| 54 |
+
<h3><a href=https://lichess.org/training/"${p.PuzzleId}" target="_blank">${p.PuzzleId}</a></h3>
|
| 55 |
<p>Rating: ${p.Rating} | Popularity: ${p.Popularity}%</p>
|
| 56 |
<div class="themes">${p.Themes.map(t => `<span class="theme">${t}</span>`).join('')}</div>
|
| 57 |
<p>Moves: ${p.Moves}</p>
|
|
|
|
| 58 |
</div>
|
| 59 |
</div>`;
|
| 60 |
});
|