Spaces:
Sleeping
Sleeping
Commit
·
580136b
1
Parent(s):
9670e3c
Update templates/index.html
Browse files- templates/index.html +1 -2
templates/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
<link rel="stylesheet" href="/static/chessboard-1.0.0.min.css">
|
| 5 |
<style>
|
| 6 |
body { font-family: Arial; max-width: 1200px; margin: 50px auto; padding: 20px; }
|
| 7 |
-
#board { width: 400px; margin: 20px
|
| 8 |
button { padding: 10px 20px; margin: 5px; cursor: pointer; }
|
| 9 |
#fen { background: #f0f0f0; padding: 10px; margin: 10px 0; font-family: monospace; }
|
| 10 |
#results { margin-top: 30px; }
|
|
@@ -33,7 +33,6 @@
|
|
| 33 |
draggable: true,
|
| 34 |
dropOffBoard: 'trash',
|
| 35 |
sparePieces: true,
|
| 36 |
-
position: 'start',
|
| 37 |
pieceTheme: '/static/img/chesspieces/wikipedia/{piece}.png',
|
| 38 |
onChange: () => document.getElementById('fen').textContent = 'FEN: ' + board.fen()
|
| 39 |
});
|
|
|
|
| 4 |
<link rel="stylesheet" href="/static/chessboard-1.0.0.min.css">
|
| 5 |
<style>
|
| 6 |
body { font-family: Arial; max-width: 1200px; margin: 50px auto; padding: 20px; }
|
| 7 |
+
#board { width: 400px; margin: 20px auto; }
|
| 8 |
button { padding: 10px 20px; margin: 5px; cursor: pointer; }
|
| 9 |
#fen { background: #f0f0f0; padding: 10px; margin: 10px 0; font-family: monospace; }
|
| 10 |
#results { margin-top: 30px; }
|
|
|
|
| 33 |
draggable: true,
|
| 34 |
dropOffBoard: 'trash',
|
| 35 |
sparePieces: true,
|
|
|
|
| 36 |
pieceTheme: '/static/img/chesspieces/wikipedia/{piece}.png',
|
| 37 |
onChange: () => document.getElementById('fen').textContent = 'FEN: ' + board.fen()
|
| 38 |
});
|