christopher commited on
Commit
31642d4
·
1 Parent(s): 418ea3f

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +4 -7
templates/index.html CHANGED
@@ -11,16 +11,13 @@
11
  <div class="container">
12
  <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>
26
 
 
11
  <div class="container">
12
  <div>
13
  <div id="board"></div>
14
+ <div style="margin-top: 10px; display: flex; gap: 10px; align-items: center;">
15
+ <button onclick="board.clear(); document.getElementById('results').innerHTML = ''; updateInfo();">Clear</button>
16
+ <button onclick="search()">Search</button>
17
+ <input type="text" id="fen" placeholder="Paste FEN here..." style="flex: 1; 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>
22
  <div id="results"></div>
23