mktcms 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/app/pages/admin/login.vue +40 -38
- package/package.json +15 -15
package/dist/module.json
CHANGED
|
@@ -41,50 +41,52 @@ async function login() {
|
|
|
41
41
|
|
|
42
42
|
<template>
|
|
43
43
|
<Admin>
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Schlüssel:
|
|
56
|
-
</label>
|
|
57
|
-
<div class="flex gap-2 mt-2">
|
|
58
|
-
<input
|
|
59
|
-
id="adminAuthKey"
|
|
60
|
-
v-model="adminAuthKey"
|
|
61
|
-
type="password"
|
|
62
|
-
class="border border-gray-300 rounded-md p-2 flex-1"
|
|
63
|
-
autocomplete="one-time-code"
|
|
64
|
-
@keyup.enter="login"
|
|
65
|
-
>
|
|
66
|
-
<input
|
|
67
|
-
ref="adminAuthKeyFileInput"
|
|
68
|
-
type="file"
|
|
69
|
-
accept=".txt,text/plain"
|
|
70
|
-
class="hidden"
|
|
71
|
-
@change="onAdminAuthKeyFileSelected"
|
|
44
|
+
<div class="boxed">
|
|
45
|
+
<h1 class="text-3xl font-bold">
|
|
46
|
+
Anmelden
|
|
47
|
+
</h1>
|
|
48
|
+
<h2 class="text-gray-500">
|
|
49
|
+
Administration: {{ siteUrl.replace(/https?:\/\//, "") }}
|
|
50
|
+
</h2>
|
|
51
|
+
<div class="mt-6">
|
|
52
|
+
<label
|
|
53
|
+
for="adminAuthKey"
|
|
54
|
+
class="text-gray-700"
|
|
72
55
|
>
|
|
56
|
+
Schlüssel:
|
|
57
|
+
</label>
|
|
58
|
+
<div class="flex gap-2 mt-2">
|
|
59
|
+
<input
|
|
60
|
+
id="adminAuthKey"
|
|
61
|
+
v-model="adminAuthKey"
|
|
62
|
+
type="password"
|
|
63
|
+
class="border border-gray-300 rounded-md p-2 flex-1"
|
|
64
|
+
autocomplete="one-time-code"
|
|
65
|
+
@keyup.enter="login"
|
|
66
|
+
>
|
|
67
|
+
<input
|
|
68
|
+
ref="adminAuthKeyFileInput"
|
|
69
|
+
type="file"
|
|
70
|
+
accept=".txt,text/plain"
|
|
71
|
+
class="hidden"
|
|
72
|
+
@change="onAdminAuthKeyFileSelected"
|
|
73
|
+
>
|
|
74
|
+
<button
|
|
75
|
+
type="button"
|
|
76
|
+
class="button secondary"
|
|
77
|
+
@click="openAdminAuthKeyFilePicker"
|
|
78
|
+
>
|
|
79
|
+
Datei wählen
|
|
80
|
+
</button>
|
|
81
|
+
</div>
|
|
73
82
|
<button
|
|
74
83
|
type="button"
|
|
75
|
-
class="button
|
|
76
|
-
@click="
|
|
84
|
+
class="button w-full justify-center mt-2.5"
|
|
85
|
+
@click="login"
|
|
77
86
|
>
|
|
78
|
-
|
|
87
|
+
Anmelden
|
|
79
88
|
</button>
|
|
80
89
|
</div>
|
|
81
|
-
<button
|
|
82
|
-
type="button"
|
|
83
|
-
class="button w-full justify-center mt-2.5"
|
|
84
|
-
@click="login"
|
|
85
|
-
>
|
|
86
|
-
Anmelden
|
|
87
|
-
</button>
|
|
88
90
|
</div>
|
|
89
91
|
</Admin>
|
|
90
92
|
</template>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mktcms",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "Simple CMS module for Nuxt",
|
|
5
5
|
"repository": "mktcode/mktcms",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,39 +39,39 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@nuxt/kit": "^4.2.2",
|
|
42
|
-
"@nuxtjs/mdc": "^0.20.
|
|
42
|
+
"@nuxtjs/mdc": "^0.20.1",
|
|
43
43
|
"@types/ejs": "^3.1.5",
|
|
44
|
-
"@vueuse/core": "^14.1
|
|
44
|
+
"@vueuse/core": "^14.2.1",
|
|
45
45
|
"csv-parse": "^6.1.0",
|
|
46
46
|
"csv-stringify": "^6.6.0",
|
|
47
47
|
"defu": "^6.1.4",
|
|
48
48
|
"ejs": "^4.0.1",
|
|
49
|
-
"marked": "^17.0.
|
|
49
|
+
"marked": "^17.0.3",
|
|
50
50
|
"monaco-editor": "^0.55.1",
|
|
51
|
-
"nodemailer": "^7.0.
|
|
51
|
+
"nodemailer": "^7.0.13",
|
|
52
52
|
"sharp": "^0.34.5",
|
|
53
|
-
"simple-git": "^3.
|
|
53
|
+
"simple-git": "^3.32.2",
|
|
54
54
|
"unzipper": "^0.12.3",
|
|
55
55
|
"yaml": "^2.8.2",
|
|
56
|
-
"zod": "^4.3.
|
|
56
|
+
"zod": "^4.3.6"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@nuxt/devtools": "^3.
|
|
60
|
-
"@nuxt/eslint-config": "^1.
|
|
59
|
+
"@nuxt/devtools": "^3.2.1",
|
|
60
|
+
"@nuxt/eslint-config": "^1.15.1",
|
|
61
61
|
"@nuxt/module-builder": "^1.0.2",
|
|
62
62
|
"@nuxt/schema": "^4.2.2",
|
|
63
|
-
"@nuxt/test-utils": "^3.
|
|
64
|
-
"@tailwindcss/cli": "^4.
|
|
63
|
+
"@nuxt/test-utils": "^3.23.0",
|
|
64
|
+
"@tailwindcss/cli": "^4.2.0",
|
|
65
65
|
"@tailwindcss/typography": "^0.5.19",
|
|
66
|
-
"@types/node": "
|
|
67
|
-
"@types/nodemailer": "^7.0.
|
|
66
|
+
"@types/node": "^25.3.0",
|
|
67
|
+
"@types/nodemailer": "^7.0.11",
|
|
68
68
|
"@types/unzipper": "^0.10.11",
|
|
69
69
|
"changelogen": "^0.6.2",
|
|
70
|
-
"eslint": "^9.39.
|
|
70
|
+
"eslint": "^9.39.3",
|
|
71
71
|
"nuxt": "^4.2.2",
|
|
72
72
|
"tailwindcss": "^4.1.18",
|
|
73
73
|
"typescript": "~5.9.3",
|
|
74
74
|
"vitest": "^3.2.4",
|
|
75
|
-
"vue-tsc": "^3.2.
|
|
75
|
+
"vue-tsc": "^3.2.5"
|
|
76
76
|
}
|
|
77
77
|
}
|