Skip to content

Commit b9ada91

Browse files
Abhishek-PunhaniMisRob
authored andcommitted
replaced VuetifyBased btns with KButton
Signed-off-by: Abhishek-Punhani <[email protected]>
1 parent 8f711de commit b9ada91

File tree

3 files changed

+28
-27
lines changed

3 files changed

+28
-27
lines changed

contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/ImportFromChannelsModal.vue

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,36 +60,33 @@
6060
</VBtn>
6161
</VLayout>
6262
</VFadeTransition>
63-
<VBtn
63+
<KButton
6464
v-if="!previewIsSelected"
65-
color="primary"
65+
primary
66+
:text="$tr('addButton')"
6667
@click="selectNode(previewNode)"
67-
>
68-
{{ $tr('addButton') }}
69-
</VBtn>
68+
/>
7069
</template>
7170
</ResourceDrawer>
7271
<template #bottom>
7372
<div class="mx-2 subheading">
7473
{{ $tr('resourcesSelected', { count: selectedResourcesCount }) }}
7574
</div>
7675
<VSpacer />
77-
<VBtn
76+
<KButton
7877
v-if="isReview"
78+
primary
7979
:disabled="selected.length === 0"
80-
color="primary"
80+
:text="$tr('importAction')"
8181
@click="handleClickImport"
82-
>
83-
{{ $tr('importAction') }}
84-
</VBtn>
85-
<VBtn
82+
/>
83+
<KButton
8684
v-else
87-
color="primary"
85+
primary
8886
:disabled="selected.length === 0"
87+
:text="$tr('reviewAction')"
8988
@click="handleClickReview"
90-
>
91-
{{ $tr('reviewAction') }}
92-
</VBtn>
89+
/>
9390
</template>
9491
</FullscreenModal>
9592

contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/SearchOrBrowseWindow.vue

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
v-if="!isBrowsing"
1414
class="my-2"
1515
>
16-
<ActionLink
16+
<KButton
1717
:text="$tr('backToBrowseAction')"
18+
appearance="basic-link"
1819
@click="handleBackToBrowse"
1920
/>
2021
</div>
@@ -44,25 +45,27 @@
4445
<Icon icon="search" />
4546
</template>
4647
<template #append-outer>
47-
<VBtn
48+
<KButton
4849
class="px-4 search-btn"
49-
color="primary"
50+
primary
5051
type="submit"
52+
:text="$tr('searchAction')"
5153
:disabled="!searchIsValid"
52-
depressed
53-
large
54-
>
55-
{{ $tr('searchAction') }}
56-
</VBtn>
54+
appearance="raised-button"
55+
/>
5756
</template>
5857
</VTextField>
5958
</VForm>
6059

61-
<div class="my-2">
62-
<ActionLink
63-
v-if="!isBrowsing"
60+
<div
61+
v-if="!isBrowsing"
62+
class="my-2 px-2"
63+
>
64+
<KButton
65+
class="mb-3"
6466
:text="$tr('savedSearchesLabel')"
6567
:disabled="!savedSearchesExist"
68+
appearance="basic-link"
6669
@click="showSavedSearches = true"
6770
/>
6871
<ActionLink

contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/SearchResultsList.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@
4040
})
4141
}}
4242
</span>
43-
<ActionLink
43+
<KButton
4444
class="mx-2"
4545
:disabled="currentSearchSaved"
4646
:text="currentSearchSaved ? $tr('searchSavedSnackbar') : $tr('saveSearchAction')"
47+
appearance="basic-link"
4748
@click="handleClickSaveSearch"
4849
/>
4950
</VFlex>

0 commit comments

Comments
 (0)