Files
NowChess-Frontend/src/app/components/board-actions-bar/board-actions-bar.component.html
T
shosho996 c02414ea40 fix: NCWF-2 bugs and desing fixes (#7)
Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de>
Reviewed-on: #7
2026-05-15 02:16:43 +02:00

28 lines
1.2 KiB
HTML

<div class="board-actions" [class.disabled]="isGameFinished">
<button class="btn" type="button" [disabled]="isGameFinished" (click)="takeback.emit()">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 7v6h-6"/>
<path d="M3 17a9 9 0 0 0 15.5-6"/>
<path d="M3 7a9 9 0 0 1 15.5 6"/>
</svg>
Takeback
</button>
<button class="btn" type="button" [disabled]="isGameFinished" (click)="offerDraw.emit()">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 12h14"/>
<polyline points="12 5 19 12 12 19"/>
<polyline points="12 19 5 12 12 5"/>
</svg>
Offer Draw
</button>
<button class="btn btn-danger" type="button" [disabled]="isGameFinished" (click)="resign.emit()">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4l16 16"/>
<path d="M4 20l16-16"/>
</svg>
Resign
</button>
</div>