Skip to content

Commit 21e5e05

Browse files
[Remove Vuetify from Studio] Buttons/links in Import from channels
1 parent 85e7101 commit 21e5e05

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

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

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -52,44 +52,40 @@
5252
>
5353
<VIconWrapper small> check_circle </VIconWrapper>
5454
<span class="mx-1">{{ $tr('addedText') }}</span>
55-
<VBtn
56-
color="primary"
55+
<KButton
56+
primary
57+
:text="$tr('removeButton')"
5758
@click="deselectNode(previewNode)"
58-
>
59-
{{ $tr('removeButton') }}
60-
</VBtn>
59+
/>
6160
</VLayout>
6261
</VFadeTransition>
63-
<VBtn
62+
<KButton
6463
v-if="!previewIsSelected"
65-
color="primary"
64+
primary
65+
:text="$tr('addButton')"
6666
@click="selectNode(previewNode)"
67-
>
68-
{{ $tr('addButton') }}
69-
</VBtn>
67+
/>
7068
</template>
7169
</ResourceDrawer>
7270
<template #bottom>
7371
<div class="mx-2 subheading">
7472
{{ $tr('resourcesSelected', { count: selectedResourcesCount }) }}
7573
</div>
7674
<VSpacer />
77-
<VBtn
75+
<KButton
7876
v-if="isReview"
77+
primary
7978
:disabled="selected.length === 0"
80-
color="primary"
79+
:text="$tr('importAction')"
8180
@click="handleClickImport"
82-
>
83-
{{ $tr('importAction') }}
84-
</VBtn>
85-
<VBtn
81+
/>
82+
<KButton
8683
v-else
87-
color="primary"
84+
primary
8885
:disabled="selected.length === 0"
86+
:text="$tr('reviewAction')"
8987
@click="handleClickReview"
90-
>
91-
{{ $tr('reviewAction') }}
92-
</VBtn>
88+
/>
9389
</template>
9490
</FullscreenModal>
9591

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"
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)