Revize 6a250c18
Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)
webapp/pages/tags/index.tsx | ||
---|---|---|
462 | 462 |
/> |
463 | 463 |
)} |
464 | 464 |
|
465 |
<Container> |
|
466 |
<Row> |
|
467 |
<Typography.Title level={2}> |
|
468 |
<FontAwesomeIcon icon={faTags} /> Značky |
|
469 |
</Typography.Title> |
|
470 |
</Row> |
|
471 |
<Row> |
|
472 |
<Table |
|
473 |
columns={columns} |
|
474 |
dataSource={shownData} |
|
475 |
scroll={{ y: 'calc(100vh - 300px)' }} |
|
476 |
size="small" |
|
477 |
title={() => ( |
|
478 |
<Stack direction="horizontal" gap={3}> |
|
479 |
<Button type="primary" onClick={openAddCategoryModal}> |
|
480 |
Přidat kategorii |
|
481 |
</Button> |
|
482 |
<Search |
|
483 |
placeholder="Vyhledání tagu" |
|
484 |
onSearch={searchTag} |
|
485 |
style={{ width: 200 }} |
|
486 |
className="ms-auto" |
|
487 |
allowClear |
|
488 |
/> |
|
489 |
</Stack> |
|
490 |
)} |
|
491 |
/> |
|
492 |
</Row> |
|
493 |
</Container> |
|
465 |
<Row> |
|
466 |
<Typography.Title level={2}> |
|
467 |
<FontAwesomeIcon icon={faTags} /> Značky |
|
468 |
</Typography.Title> |
|
469 |
</Row> |
|
470 |
<Row> |
|
471 |
<Table |
|
472 |
columns={columns} |
|
473 |
dataSource={shownData} |
|
474 |
scroll={{ y: 'calc(100vh - 300px)' }} |
|
475 |
size="small" |
|
476 |
title={() => ( |
|
477 |
<Stack direction="horizontal" gap={3}> |
|
478 |
<Button type="primary" onClick={openAddCategoryModal}> |
|
479 |
Přidat kategorii |
|
480 |
</Button> |
|
481 |
<Search |
|
482 |
placeholder="Vyhledání tagu" |
|
483 |
onSearch={searchTag} |
|
484 |
style={{ width: 200 }} |
|
485 |
className="ms-auto" |
|
486 |
allowClear |
|
487 |
/> |
|
488 |
</Stack> |
|
489 |
)} |
|
490 |
/> |
|
491 |
</Row> |
|
494 | 492 |
</MainLayout> |
495 | 493 |
); |
496 | 494 |
} |
Také k dispozici: Unified diff
Layout and minor color changes