fix: removed repetitve code

This commit is contained in:
shahdlala66
2026-04-19 00:12:13 +02:00
parent 2582f8e4d6
commit 8c97a726a7
2 changed files with 20 additions and 19 deletions
+3 -1
View File
@@ -18,6 +18,7 @@
<textarea
id="fenImport"
name="fenImport"
class="form-input"
[(ngModel)]="facade.fenInput"
rows="4"
placeholder="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
@@ -32,7 +33,7 @@
<section class="top-section">
<form class="move-form" (ngSubmit)="facade.submitMove()">
<label for="uciMove">Play move (UCI)</label>
<input id="uciMove" name="uciMove" [(ngModel)]="facade.moveInput" placeholder="e2e4" />
<input id="uciMove" name="uciMove" class="form-input" [(ngModel)]="facade.moveInput" placeholder="e2e4" />
<button type="submit">Send Move</button>
</form>
<p class="board-hint">Click your piece to highlight legal targets.</p>
@@ -56,6 +57,7 @@
<textarea
id="pgnImport"
name="pgnImport"
class="form-input"
[(ngModel)]="facade.pgnInput"
rows="4"
placeholder="1. e4 e5 2. Nf3 Nc6 *"