mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
30 lines
906 B
Plaintext
30 lines
906 B
Plaintext
---
|
|
import Button from '@ui/Button.astro'
|
|
import ButtonList from '@ui/ButtonList.astro'
|
|
import Icon from '@ui/Icon.astro'
|
|
import Modal from '../modals/Modal.astro'
|
|
import CaptureModal from '../CaptureModal.astro'
|
|
import ReportModalContent from '../modals/ReportModalContent.astro'
|
|
---
|
|
|
|
<!-- BEGIN HEADER ACTIONS -->
|
|
<ButtonList>
|
|
<span class="d-none d-sm-inline">
|
|
<Button text="New view" />
|
|
</span>
|
|
<a href="#" class="btn btn-primary d-none d-sm-inline-block" data-bs-toggle="modal" data-bs-target="#modal-report">
|
|
<Icon name="plus" />
|
|
Create new report
|
|
</a>
|
|
<a href="#" class="btn btn-primary d-sm-none btn-icon" data-bs-toggle="modal" data-bs-target="#modal-report" aria-label="Create new report">
|
|
<Icon name="plus" />
|
|
</a>
|
|
</ButtonList>
|
|
<!-- END HEADER ACTIONS -->
|
|
|
|
<CaptureModal>
|
|
<Modal modalId="report" size="lg" top>
|
|
<ReportModalContent />
|
|
</Modal>
|
|
</CaptureModal>
|