2024-07-23 12:43:30 +02:00
|
|
|
import * as React from "bloatless-react";
|
|
|
|
|
|
2024-07-23 13:09:46 +02:00
|
|
|
import { BoardSettingsModal } from "../Modals/boardSettingsModal";
|
2024-07-23 12:43:30 +02:00
|
|
|
import BoardViewModel from "../../ViewModel/Pages/boardViewModel";
|
2024-07-23 13:09:46 +02:00
|
|
|
import { translations } from "../translations";
|
2024-07-23 12:43:30 +02:00
|
|
|
|
|
|
|
|
export function BoardPage(boardViewModel: BoardViewModel) {
|
2024-07-23 13:09:46 +02:00
|
|
|
return (
|
|
|
|
|
<div class="pane">
|
|
|
|
|
<div class="toolbar">
|
2024-07-23 14:53:00 +02:00
|
|
|
<span>
|
|
|
|
|
<button
|
|
|
|
|
class="ghost"
|
|
|
|
|
aria-label={translations.chatPage.task.closeBoard}
|
|
|
|
|
on:click={boardViewModel.close}
|
|
|
|
|
>
|
|
|
|
|
<span class="icon">arrow_back</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ghost"
|
|
|
|
|
aria-label={translations.chatPage.task.boardSettingsHeadline}
|
|
|
|
|
on:click={boardViewModel.showSettings}
|
|
|
|
|
>
|
|
|
|
|
<span class="icon">settings</span>
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
<span>a</span>
|
|
|
|
|
<span>b</span>
|
2024-07-23 13:09:46 +02:00
|
|
|
</div>
|
|
|
|
|
<div class="content"></div>
|
|
|
|
|
|
|
|
|
|
{BoardSettingsModal(boardViewModel)}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
2024-07-23 12:43:30 +02:00
|
|
|
}
|