feat: add link to API docs
This commit is contained in:
parent
e0d08270bf
commit
ed4882b817
2 changed files with 3 additions and 2 deletions
|
@ -79,7 +79,7 @@
|
||||||
active={$page.url.pathname === "/settings/tokens"}
|
active={$page.url.pathname === "/settings/tokens"}
|
||||||
href="/settings/tokens"
|
href="/settings/tokens"
|
||||||
>
|
>
|
||||||
Tokens
|
API tokens
|
||||||
</ListGroupItem>
|
</ListGroupItem>
|
||||||
<ListGroupItem
|
<ListGroupItem
|
||||||
tag="a"
|
tag="a"
|
||||||
|
|
|
@ -46,10 +46,11 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
Tokens ({data.tokens.length})
|
API tokens ({data.tokens.length})
|
||||||
<ButtonGroup>
|
<ButtonGroup>
|
||||||
<Button color="success" on:click={() => createToken(false)}>New API token</Button>
|
<Button color="success" on:click={() => createToken(false)}>New API token</Button>
|
||||||
<Button color="success" on:click={() => createToken(true)}>New read-only API token</Button>
|
<Button color="success" on:click={() => createToken(true)}>New read-only API token</Button>
|
||||||
|
<Button color="secondary" href="/api" target="_blank">API docs</Button>
|
||||||
</ButtonGroup>
|
</ButtonGroup>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue