Skip to content

Commit cdc5e85

Browse files
gideonairexCMCDragonkai
authored andcommitted
chore: complete the UI
1 parent 3f00994 commit cdc5e85

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

src/renderer/components/social/Social.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</ui-list>
2929
</ui-grid-cell>
3030

31-
<!-- <ui-grid-cell>
31+
<ui-grid-cell>
3232
<v-card>
3333
<v-banner single-line>
3434
<v-layout>
@@ -71,7 +71,6 @@
7171
<h4 style="text-align: center;" v-else>No secrets found</h4>
7272
</v-card>
7373
</ui-grid-cell>
74-
-->
7574
</ui-grid-cell>
7675
</ui-grid>
7776
</template>
@@ -82,8 +81,14 @@ import { defineComponent } from 'vue'
8281
export default defineComponent({
8382
setup () {
8483
return {
84+
pathList: [{
85+
type: 'secret'
86+
}],
8587
newVault: () => {},
86-
deleteVault: () => {}
88+
deleteVault: () => {},
89+
changeView: () => {},
90+
selectSecret: () => {},
91+
deleteSecret: () => {}
8792
}
8893
}
8994
})

src/renderer/components/vaults/secrets/NewSecret.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<v-row>
77
<v-col>
88
<v-list outlined>
9-
<v-text-field
9+
<ui-textfield
1010
v-model="secretName"
1111
:rules="secretNameRules"
1212
label="Secret Name"
@@ -15,16 +15,16 @@
1515
outlined
1616
style="padding-left: 10px; padding-right: 10px"
1717
placeholder="Enter a new secret name"
18-
></v-text-field>
18+
/>
1919

20-
<v-textarea
20+
<ui-textfield
2121
v-model="secretContent"
2222
label="Secret Content"
2323
required
2424
outlined
2525
style="padding-left: 10px; padding-right: 10px"
2626
placeholder="Enter the content of the secret"
27-
></v-textarea>
27+
/>
2828
</v-list>
2929
</v-col>
3030
</v-row>

src/renderer/router/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import NewVault from '@/components/vaults/NewVault.vue'
88
import NewSecret from '@/components/vaults/secrets/NewSecret.vue'
99
import VaultInformation from '@/components/vaults/VaultInformation.vue'
1010

11-
// import Social from '@/components/social/Social.vue'
11+
import Social from '@/components/social/Social.vue'
1212

1313
import Keys from '@/components/keys/Keys.vue'
1414
import NewKey from '@/components/keys/NewKey.vue'
@@ -36,10 +36,10 @@ const routes: Array<RouteRecordRaw> = [
3636
component: NewVault
3737
},
3838
// // Social
39-
// {
40-
// path: '/Social',
41-
// component: Social
42-
// },
39+
{
40+
path: '/Social',
41+
component: Social
42+
},
4343
// // Keys
4444
{
4545
path: '/Keys',

0 commit comments

Comments
 (0)