fix: removed repetitve code
This commit is contained in:
@@ -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 *"
|
||||
|
||||
Reference in New Issue
Block a user