File tree 15 files changed +7190
-6946
lines changed
15 files changed +7190
-6946
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 28
28
<Pager :kind =" cronjobs" />
29
29
</PanelZone >
30
30
<PanelZone title =" Create Cron Job" >
31
- <Form :send =" () => cronjobs.create()" >
31
+ <VForm :send =" () => cronjobs.create()" >
32
32
33
33
<FormInput name =" schedule" type =" text" v-model =" cronjobs.new.schedule" required label =" Schedule" class =" mb-4" />
34
34
<FormInput name =" handler" type =" select" v-model =" cronjobs.new.handler" :options =" cronjobs.propsOptions?.handler" required label =" Handler" class =" mb-4" />
37
37
<Icon name =" ph:plus" class =" mr-1" /> Create Cron Job
38
38
</Button >
39
39
</div >
40
- </Form >
40
+ </VForm >
41
41
</PanelZone >
42
42
</template >
43
43
</PanelFrame >
Original file line number Diff line number Diff line change 9
9
</NuxtLink >
10
10
</div >
11
11
<PanelZone >
12
- <Form :send =" resetPassword" >
12
+ <VForm :send =" resetPassword" >
13
13
<div class =" flex gap-5 flex-col-reverse md:flex-row" >
14
14
<div class =" flex-auto" >
15
15
<FormInput name =" code" type =" text" v-model =" newPassword.code" required readonly
28
28
</div >
29
29
30
30
</div >
31
- </Form >
31
+ </VForm >
32
32
</PanelZone >
33
33
</div >
34
34
</template >
Original file line number Diff line number Diff line change 53
53
</PanelZone >
54
54
<PanelZone title =" Create User" >
55
55
56
- <Form :send =" () => users.create()" >
56
+ <VForm :send =" () => users.create()" >
57
57
58
58
<FormInput name =" nausernameme" type =" text" v-model =" users.new.username" required
59
59
label =" Username" class =" mb-4" />
67
67
<Icon name =" ph:plus" class =" mr-1" /> Create User
68
68
</Button >
69
69
70
- </Form >
70
+ </VForm >
71
71
</PanelZone >
72
72
</template >
73
73
</PanelFrame >
Original file line number Diff line number Diff line change 9
9
</NuxtLink >
10
10
</div >
11
11
<PanelZone >
12
- <Form :send =" createAccount" >
12
+ <VForm :send =" createAccount" >
13
13
<FormInput name =" username" v-model =" newUser.username" required label =" Username" autocomplete =" username"
14
14
type =" text" class =" mb-3" />
15
15
27
27
class =" mb-3" />
28
28
29
29
<Button type =" submit" class =" w-full" ><span class =" text-center w-full" ><Icon name =" ph:user" class =" mr-1" /><span class =" align-middle" >Create Account</span ></span ></Button >
30
- </Form >
30
+ </VForm >
31
31
32
32
<Divider align =" center" class =" my-4" >
33
33
<span >OR</span >
Original file line number Diff line number Diff line change 10
10
</div >
11
11
<PanelZone >
12
12
13
- <Form :send =" tryLogin" >
13
+ <VForm :send =" tryLogin" >
14
14
<FormInput name =" login" v-model =" login" id =" login1" required label =" Email or Username" autocomplete =" email"
15
15
class =" mb-3" />
16
16
17
17
<FormInput name =" password" v-model =" password" required label =" Password" autocomplete =" current-password"
18
18
type =" password" class =" mb-3" />
19
19
20
20
<Button type =" submit" class =" w-full" ><span class =" text-center w-full" ><Icon name =" ph:user" class =" mr-1" /><span class =" align-middle" >Sign in with Password</span ></span ></Button >
21
- </Form >
21
+ </VForm >
22
22
23
23
<div class =" mt-3" >
24
24
<span class =" text-600 font-medium line-height-3" >Forgot your password?</span >
Original file line number Diff line number Diff line change 9
9
</NuxtLink >
10
10
</div >
11
11
<PanelZone info =" Where should we send the password reset email?" >
12
- <Form :send =" sendPasswordReset" >
12
+ <VForm :send =" sendPasswordReset" >
13
13
<div class =" flex gap-5 flex-col-reverse md:flex-row" >
14
14
<div class =" flex-auto" >
15
15
<FormInput name =" email" type =" email" v-model =" email" required label =" Email Address" class =" mb-4" />
20
20
</div >
21
21
22
22
</div >
23
- </Form >
23
+ </VForm >
24
24
</PanelZone >
25
25
</div >
26
26
</template >
Original file line number Diff line number Diff line change 16
16
autocomplete =" name" @change =" currentUser.save('realName')" class =" mb-4" />
17
17
</PanelZone >
18
18
<PanelZone title =" Change Password" info =" Alter your credentials." >
19
- <Form :send =" changePassword" >
19
+ <VForm :send =" changePassword" >
20
20
<FormInput name =" password" type =" password" v-model =" newPassword.password" required
21
21
label =" New Password" autocomplete =" new-password" class =" mb-4" />
22
22
28
28
Change Password
29
29
</Button >
30
30
31
- </Form >
31
+ </VForm >
32
32
</PanelZone >
33
33
34
34
</template >
Original file line number Diff line number Diff line change 62
62
</PanelZone >
63
63
64
64
<PanelZone title =" Create API Key" info =" Make a new API Key." >
65
- <Form :send =" () => apikeys.create()" >
65
+ <VForm :send =" () => apikeys.create()" >
66
66
67
67
<FormInput name =" name" type =" text" v-model =" apikeys.new.name" required
68
68
label =" Name" class =" mb-4" />
76
76
<Icon name =" ph:plus" class =" mr-1" /> Create API Key
77
77
</Button >
78
78
79
- </Form >
79
+ </VForm >
80
80
</PanelZone >
81
81
82
82
</template >
Original file line number Diff line number Diff line change @@ -7,31 +7,37 @@ ving.site.url = process.env.VING_SITE_URL;
7
7
8
8
export default defineNuxtConfig ( {
9
9
devtools : false ,
10
+
10
11
future : {
11
12
compatibilityVersion : 4 ,
12
13
} ,
14
+
13
15
modules : [
14
16
'@pinia/nuxt' ,
15
17
'nuxt-icon' ,
16
18
'@nuxtjs/tailwindcss' ,
17
19
'@primevue/nuxt-module' ,
18
20
'@vueuse/nuxt' ,
19
21
] ,
22
+
20
23
primevue : {
21
24
importTheme : { from : "@/themes/ving-theme.mjs" } ,
22
25
} ,
26
+
23
27
imports : {
24
28
dirs : [
25
29
'composables/**' ,
26
30
'utils/**' ,
27
31
] ,
28
32
} ,
33
+
29
34
components : [
30
35
{
31
36
path : '~/components' ,
32
37
pathPrefix : false ,
33
38
} ,
34
39
] ,
40
+
35
41
app : {
36
42
head : {
37
43
link : [
@@ -69,16 +75,21 @@ export default defineNuxtConfig({
69
75
]
70
76
} ,
71
77
} ,
78
+
72
79
css : [
73
80
'primeicons/primeicons.css' ,
74
81
] ,
82
+
75
83
runtimeConfig : {
76
84
public : ving ,
77
85
} ,
86
+
78
87
hooks : {
79
88
'nitro:build:public-assets' : ( nitro ) => {
80
89
const targetPath = path . join ( nitro . options . output . dir , 'ving.json' ) ;
81
90
cpSync ( './ving.json' , targetPath , { recursive : true } ) ;
82
91
}
83
- }
92
+ } ,
93
+
94
+ compatibilityDate : '2025-01-21'
84
95
} )
You can’t perform that action at this time.
0 commit comments