|
11 | 11 | justify-center |
12 | 12 | > |
13 | 13 | <VFlex> |
14 | | - <ActionLink |
| 14 | + <KButton |
15 | 15 | :text="$tr('aboutChannelSetsLink')" |
16 | | - class="mx-2" |
| 16 | + class="link-btn" |
| 17 | + appearance="basic-link" |
17 | 18 | @click="infoDialog = true" |
18 | 19 | /> |
19 | | - <MessageDialog |
20 | | - v-model="infoDialog" |
21 | | - :header="$tr('aboutChannelSets')" |
| 20 | + <KModal |
| 21 | + v-if="infoDialog" |
| 22 | + :cancelText="$tr('cancelButtonLabel')" |
| 23 | + :title="$tr('aboutChannelSets')" |
| 24 | + @cancel="infoDialog = false" |
22 | 25 | > |
23 | | - <p> |
24 | | - {{ $tr('channelSetsDescriptionText') }} |
25 | | - </p> |
26 | | - <p> |
27 | | - {{ $tr('channelSetsInstructionsText') }} |
28 | | - </p> |
29 | | - <p class="red--text"> |
30 | | - {{ $tr('channelSetsDisclaimer') }} |
31 | | - </p> |
32 | | - <template #buttons> |
33 | | - <VSpacer /> |
34 | | - <VBtn @click="infoDialog = false"> |
35 | | - {{ $tr('cancelButtonLabel') }} |
36 | | - </VBtn> |
37 | | - </template> |
38 | | - </MessageDialog> |
| 26 | + <div> |
| 27 | + <p> |
| 28 | + {{ $tr('channelSetsDescriptionText') }} |
| 29 | + </p> |
| 30 | + <p> |
| 31 | + {{ $tr('channelSetsInstructionsText') }} |
| 32 | + </p> |
| 33 | + <p :class="$computedClass(channelSetsDisclamerStyle)"> |
| 34 | + {{ $tr('channelSetsDisclaimer') }} |
| 35 | + </p> |
| 36 | + </div> |
| 37 | + </KModal> |
39 | 38 | </VFlex> |
40 | 39 | <VSpacer /> |
41 | 40 | <VFlex class="text-xs-right"> |
|
88 | 87 | import { mapGetters, mapActions } from 'vuex'; |
89 | 88 | import { RouteNames } from '../../constants'; |
90 | 89 | import ChannelSetItem from './ChannelSetItem.vue'; |
91 | | - import MessageDialog from 'shared/views/MessageDialog'; |
92 | 90 | import LoadingText from 'shared/views/LoadingText'; |
93 | 91 |
|
94 | 92 | export default { |
95 | 93 | name: 'ChannelSetList', |
96 | 94 | components: { |
97 | 95 | ChannelSetItem, |
98 | | - MessageDialog, |
99 | 96 | LoadingText, |
100 | 97 | }, |
101 | 98 | data() { |
|
114 | 111 | { text: this.$tr('options'), sortable: false, align: 'center', width: '100px' }, |
115 | 112 | ]; |
116 | 113 | }, |
| 114 | + channelSetsDisclamerStyle() { |
| 115 | + return { |
| 116 | + color: this.$themePalette.red.v_500, |
| 117 | + }; |
| 118 | + }, |
117 | 119 | sortedChannelSets() { |
118 | 120 | return sortBy(this.channelSets, s => s.name.toLowerCase()) || []; |
119 | 121 | }, |
|
160 | 162 | margin: 0 auto; |
161 | 163 | } |
162 | 164 |
|
| 165 | + .link-btn { |
| 166 | + margin: 0 8px; |
| 167 | + } |
| 168 | +
|
163 | 169 | ::v-deep .v-datatable { |
164 | 170 | background-color: transparent !important; |
165 | 171 | } |
|
0 commit comments