Skip to content

Commit de36e37

Browse files
committed
feat(rdm): add icon
1 parent 92abe4f commit de36e37

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

web/src/components/DvlsIcon.vue

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<template>
2+
<svg width="36" height="36" viewBox="8 8 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
3+
<!-- eslint-disable max-len -->
4+
<path d="M24 9.625L11.5 12.75V19.375C11.5 19.97 11.5338 20.6675 11.6063 21.2588C11.7788 22.665 12.1813 25.3012 12.9762 27.4962C14.9362 32.9087 18.5913 36.6188 23.5463 38.2275L24 38.375L24.4537 38.2275C29.4087 36.6188 33.0638 32.9087 35.0238 27.4962C35.8063 25.3337 36.21 22.7437 36.3863 21.3225C36.4613 20.71 36.5 19.9925 36.5 19.375V12.75L24 9.625ZM34 19.4262C34 19.95 33.9663 20.5162 33.9038 21.0162C33.7475 22.28 33.38 24.6925 32.6737 26.6437C31.03 31.1862 28.035 34.325 24.0013 35.7412C19.9663 34.3237 16.9725 31.185 15.3288 26.645C15.0425 25.855 14.8138 24.9925 14.63 24.1575L24 26.5V24L14.165 21.5412C14.1362 21.3287 14.11 21.13 14.0888 20.9562C14.0313 20.4912 14 19.9487 14 19.4262V19L24 21.5V19L14 16.5V14.6875L24 12.2025L34 14.6875V19.4262Z" fill="#ED1F24"/>
5+
<!-- eslint-enable max-len -->
6+
</svg>
7+
</template>
8+
9+
<script>
10+
export default {
11+
name: 'DvlsIcon',
12+
};
13+
</script>

web/src/plugins/vuetify.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import OpenTofuIcon from '@/components/OpenTofuIcon.vue';
44
import PulumiIcon from '@/components/PulumiIcon.vue';
55
import TerragruntIcon from '@/components/TerragruntIcon.vue';
66
import HashicorpVaultIcon from '@/components/HashicorpVaultIcon.vue';
7+
import DvlsIcon from '../components/DvlsIcon.vue';
78

89
Vue.use(Vuetify);
910

@@ -22,6 +23,9 @@ export default new Vuetify({
2223
hashicorp_vault: {
2324
component: HashicorpVaultIcon,
2425
},
26+
dvls: {
27+
component: DvlsIcon,
28+
},
2529
},
2630
},
2731
});

web/src/views/project/SecretStorages.vue

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
<v-menu
4444
offset-y
45-
v-if="premiumFeatures.secret_storage_management"
4645
>
4746
<template v-slot:activator="{ on, attrs }">
4847

@@ -61,6 +60,7 @@
6160
<v-list-item
6261
link
6362
@click="editItem('new'); itemType = 'vault';"
63+
:disabled="!premiumFeatures.secret_storage_management"
6464
>
6565
<v-list-item-icon>
6666
<v-icon
@@ -69,6 +69,19 @@
6969
</v-list-item-icon>
7070
<v-list-item-title>Hashicorp Vault</v-list-item-title>
7171
</v-list-item>
72+
73+
<v-list-item
74+
link
75+
@click="editItem('new'); itemType = 'dvls';"
76+
:disabled="!premiumFeatures.secret_storage_management"
77+
>
78+
<v-list-item-icon>
79+
<v-icon
80+
>$vuetify.icons.dvls
81+
</v-icon>
82+
</v-list-item-icon>
83+
<v-list-item-title>Devolutions Server</v-list-item-title>
84+
</v-list-item>
7285
</v-list>
7386
</v-menu>
7487

0 commit comments

Comments
 (0)