Spaces:
Sleeping
Sleeping
Commit
·
418ea3f
1
Parent(s):
9509616
Update templates/index.html
Browse files- templates/index.html +4 -2
templates/index.html
CHANGED
|
@@ -13,11 +13,13 @@
|
|
| 13 |
<div id="board"></div>
|
| 14 |
<button onclick="board.clear(); document.getElementById('results').innerHTML = ''; updateInfo();">Clear</button>
|
| 15 |
<button onclick="search()">Search</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>
|
|
|
|
| 13 |
<div id="board"></div>
|
| 14 |
<button onclick="board.clear(); document.getElementById('results').innerHTML = ''; updateInfo();">Clear</button>
|
| 15 |
<button onclick="search()">Search</button>
|
| 16 |
+
<div style="margin-top: 10px;">
|
| 17 |
+
<input type="text" id="fen" placeholder="Paste FEN here..." style="width: 300px; padding: 8px; font-family: monospace;">
|
| 18 |
+
<button onclick="let f=document.getElementById('fen').value.trim(); if(f) { board.position(f.split(' ')[0]); updateInfo(); }">Load</button>
|
| 19 |
+
</div>
|
| 20 |
</div>
|
| 21 |
<div class="info-panel">
|
| 22 |
<h3>Position Info</h3>
|
|
|
|
|
|
|
| 23 |
</div>
|
| 24 |
</div>
|
| 25 |
<div id="results"></div>
|