christopher commited on
Commit
1e95382
·
verified ·
1 Parent(s): ac1b98a

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +9 -5
templates/index.html CHANGED
@@ -11,11 +11,15 @@
11
  <div class="container">
12
  <div>
13
  <div id="board"></div>
14
- <div style="margin-top: 10px; display: flex; gap: 10px; align-items: center; width: var(--board-width);">
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; min-width: 0;">
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>
 
11
  <div class="container">
12
  <div>
13
  <div id="board"></div>
14
+ <div style="margin-top: 10px; width: var(--board-width);">
15
+ <div style="display: flex; gap: 10px; align-items: center;">
16
+ <input type="text" id="fen" placeholder="Paste FEN here..." style="flex: 1; padding: 8px; font-family: monospace; min-width: 0;">
17
+ <button onclick="let f=document.getElementById('fen').value.trim(); if(f) { board.position(f.split(' ')[0]); updateInfo(); }">Load</button>
18
+ </div>
19
+ <div style="display: flex; gap: 10px; margin-top: 10px;">
20
+ <button onclick="board.clear(); document.getElementById('results').innerHTML = ''; updateInfo();">Clear</button>
21
+ <button onclick="search()">Search</button>
22
+ </div>
23
  </div>
24
  </div>
25
  </div>