christopher commited on
Commit
4f5b338
·
1 Parent(s): 59f2972

Update templates/index.html

Browse files
Files changed (1) hide show
  1. 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
- <div id="fen"></div>
 
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>