mirror of
https://github.com/romancm/gamebrary
synced 2024-12-18 15:23:14 +00:00
More modal header updtes
This commit is contained in:
parent
858e4012f4
commit
f3e57015d6
2 changed files with 33 additions and 1 deletions
|
@ -3,10 +3,11 @@
|
|||
v-b-modal="modalId"
|
||||
:title="$t('board.addList.title')"
|
||||
size="sm"
|
||||
variant="light"
|
||||
v-b-tooltip.hover.left
|
||||
ref="addList"
|
||||
>
|
||||
<icon name="plus" white />
|
||||
<icon name="plus" />
|
||||
|
||||
<b-modal
|
||||
:id="modalId"
|
||||
|
@ -19,6 +20,21 @@
|
|||
:footer-text-variant="nightMode ? 'white' : null"
|
||||
@show="reset"
|
||||
>
|
||||
<template v-slot:modal-header="{ close }">
|
||||
<modal-header
|
||||
:title="$t('board.addList.title')"
|
||||
header-class="border-0"
|
||||
>
|
||||
<b-button
|
||||
variant="light"
|
||||
size="sm"
|
||||
@click="close"
|
||||
>
|
||||
<icon name="x" />
|
||||
</b-button>
|
||||
</modal-header>
|
||||
</template>
|
||||
|
||||
<form ref="addListForm" @submit.stop.prevent="submit">
|
||||
<b-form-input
|
||||
autofocus
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
v-b-tooltip.hover.left
|
||||
title="Board settings"
|
||||
class="mt-3"
|
||||
variant="primary"
|
||||
size="sm"
|
||||
ref="addList"
|
||||
>
|
||||
|
@ -22,6 +23,21 @@
|
|||
@show="init"
|
||||
@hide="hide"
|
||||
>
|
||||
<template v-slot:modal-header="{ close }">
|
||||
<modal-header
|
||||
title="Board settings"
|
||||
header-class="border-0"
|
||||
>
|
||||
<b-button
|
||||
variant="light"
|
||||
size="sm"
|
||||
@click="close"
|
||||
>
|
||||
<icon name="x" />
|
||||
</b-button>
|
||||
</modal-header>
|
||||
</template>
|
||||
|
||||
<form ref="boardSettingsForm" @submit.stop.prevent="submit">
|
||||
<b-form-group
|
||||
label="Board name"
|
||||
|
|
Loading…
Reference in a new issue