Spaces:
Running
Running
Commit
·
4f5b338
1
Parent(s):
59f2972
Update templates/index.html
Browse files- templates/index.html +2 -1
templates/index.html
CHANGED
|
@@ -16,7 +16,8 @@
|
|
| 16 |
</div>
|
| 17 |
<div class="info-panel">
|
| 18 |
<h3>Position Info</h3>
|
| 19 |
-
<
|
|
|
|
| 20 |
</div>
|
| 21 |
</div>
|
| 22 |
<div id="results"></div>
|
|
|
|
| 16 |
</div>
|
| 17 |
<div class="info-panel">
|
| 18 |
<h3>Position Info</h3>
|
| 19 |
+
<input type="text" id="fen" style="width: 100%; padding: 8px; font-family: monospace; background: #f0f0f0;">
|
| 20 |
+
<button onclick="let f=document.getElementById('fen').value.trim(); if(f) { board.position(f.split(' ')[0]); updateInfo(); }">Load FEN</button>
|
| 21 |
</div>
|
| 22 |
</div>
|
| 23 |
<div id="results"></div>
|