Update toolbar buttons

pull/5182/head
Cagatay Civici 2024-01-30 15:03:19 +03:00
parent ff09be64ff
commit 37200b4b43
1 changed files with 16 additions and 16 deletions

View File

@ -5,9 +5,9 @@
<div class="card"> <div class="card">
<Toolbar> <Toolbar>
<template #start> <template #start>
<Button icon="pi pi-plus" class="mr-2" /> <Button icon="pi pi-plus" class="mr-2" severity="secondary" />
<Button icon="pi pi-print" class="mr-2" /> <Button icon="pi pi-print" class="mr-2" severity="secondary" />
<Button icon="pi pi-upload" /> <Button icon="pi pi-upload" severity="secondary" />
</template> </template>
<template #center> <template #center>
@ -19,7 +19,7 @@
</IconField> </IconField>
</template> </template>
<template #end> <SplitButton label="Save" icon="pi pi-check" :model="items"></SplitButton></template> <template #end> <SplitButton label="Save" :model="items"></SplitButton></template>
</Toolbar> </Toolbar>
</div> </div>
<DocSectionCode :code="code" /> <DocSectionCode :code="code" />
@ -43,9 +43,9 @@ export default {
basic: ` basic: `
<Toolbar> <Toolbar>
<template #start> <template #start>
<Button icon="pi pi-plus" class="mr-2" /> <Button icon="pi pi-plus" class="mr-2" severity="secondary" />
<Button icon="pi pi-print" class="mr-2" /> <Button icon="pi pi-print" class="mr-2" severity="secondary" />
<Button icon="pi pi-upload" /> <Button icon="pi pi-upload" severity="secondary" />
</template> </template>
<template #center> <template #center>
@ -57,7 +57,7 @@ export default {
</IconField> </IconField>
</template> </template>
<template #end> <SplitButton label="Save" icon="pi pi-check" :model="items"></SplitButton></template> <template #end> <SplitButton label="Save" :model="items"></SplitButton></template>
</Toolbar> </Toolbar>
`, `,
options: ` options: `
@ -65,9 +65,9 @@ export default {
<div class="card"> <div class="card">
<Toolbar> <Toolbar>
<template #start> <template #start>
<Button icon="pi pi-plus" class="mr-2" /> <Button icon="pi pi-plus" class="mr-2" severity="secondary" />
<Button icon="pi pi-print" class="mr-2" /> <Button icon="pi pi-print" class="mr-2" severity="secondary" />
<Button icon="pi pi-upload" /> <Button icon="pi pi-upload" severity="secondary" />
</template> </template>
<template #center> <template #center>
@ -79,7 +79,7 @@ export default {
</IconField> </IconField>
</template> </template>
<template #end> <SplitButton label="Save" icon="pi pi-check" :model="items"></SplitButton></template> <template #end> <SplitButton label="Save" :model="items"></SplitButton></template>
</Toolbar> </Toolbar>
</div> </div>
</template> </template>
@ -108,9 +108,9 @@ export default {
<div class="card"> <div class="card">
<Toolbar> <Toolbar>
<template #start> <template #start>
<Button icon="pi pi-plus" class="mr-2" /> <Button icon="pi pi-plus" class="mr-2" severity="secondary" />
<Button icon="pi pi-print" class="mr-2" /> <Button icon="pi pi-print" class="mr-2" severity="secondary" />
<Button icon="pi pi-upload" /> <Button icon="pi pi-upload" severity="secondary" />
</template> </template>
<template #center> <template #center>
@ -122,7 +122,7 @@ export default {
</IconField> </IconField>
</template> </template>
<template #end> <SplitButton label="Save" icon="pi pi-check" :model="items"></SplitButton></template> <template #end> <SplitButton label="Save" :model="items"></SplitButton></template>
</Toolbar> </Toolbar>
</div> </div>
</template> </template>