qa: Can export QA in JSON
This commit is contained in:
parent
cd64fc90bf
commit
859b6a318e
2 changed files with 93 additions and 4 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
import {
|
||||
Button,
|
||||
ButtonGroup,
|
||||
Container,
|
||||
Table,
|
||||
} from 'sveltestrap';
|
||||
|
|
@ -22,12 +23,22 @@
|
|||
|
||||
<Container class="mt-2 mb-5">
|
||||
{#if $auth && $auth.is_manager}
|
||||
<Button
|
||||
href="export"
|
||||
<ButtonGroup
|
||||
class="float-end"
|
||||
>
|
||||
Exporter toutes les remarques
|
||||
</Button>
|
||||
<Button
|
||||
href="export"
|
||||
>
|
||||
Exporter toutes les remarques
|
||||
</Button>
|
||||
<Button
|
||||
href="api/qa/export.json"
|
||||
color="dark"
|
||||
download
|
||||
>
|
||||
JSON
|
||||
</Button>
|
||||
</ButtonGroup>
|
||||
{/if}
|
||||
<h2>
|
||||
Scénarios
|
||||
|
|
|
|||
Reference in a new issue