Post Create/Edit

This commit is contained in:
2024-07-27 16:42:03 +02:00
parent 74fd55084f
commit 08731f8559
29 changed files with 632 additions and 161 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-125
View File
File diff suppressed because one or more lines are too long
+178
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -5,10 +5,10 @@
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-BhgwoArk.js"></script>
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-CG0WySTu.js"></script>
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/react-DXd9vB-a.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/mui-CsmJ6if2.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/tanstack-DXVkKUs1.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/mui-v3E5hT34.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/tanstack-yMrSYl0u.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/i18n-DJgSTqOl.js">
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/mui-CKDNpdid.css">
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/index-D83Ey19k.css">
+12 -2
View File
@@ -1,8 +1,10 @@
{
"Unauthorized": "Keine Berechtigung",
"NotFound_user:login": "Benutzer existiert nicht",
"Unauthorized_login": "Ungültige E-Mail oder Passwort",
"NotFound_user:login": "Benutzer existiert nicht",
"MissingField_email:login": "E-Mail darf nicht leer sein",
"MissingField_password:login": "Passwort darf nicht leer sein",
"Unauthorized_deletePost": "Keine Berechtigung",
"NotFound_post:deletePost": "Post nicht gefunden",
@@ -12,6 +14,12 @@
"FailedUpdate_Duplicate:username:userUpdate": "Ein Benutzer mit diesem Benutzernamen existiert schon",
"FailedUpdate_Duplicate:email:userUpdate": "Ein Benutzer mit dieser E-Mail existiert schon",
"Unauthorized_newPost": "Keine Berechtigung",
"MissingField_content:newPost": "Beitrag darf nicht leer sein",
"Unauthorized_postUpdate": "Keine Berechtigung",
"NotFound_post:postUpdate": "Post nicht gefunden",
"username": "Benutzername",
"email": "E-Mail",
"password": "Passwort",
@@ -50,5 +58,7 @@
"Deleting": "Löscht...",
"Edit data": "Daten ändern",
"Recent posts": "Letzten Posts"
"Recent posts": "Letzte Posts",
"Post comment": "Beitrag posten"
}
+12 -2
View File
@@ -1,8 +1,10 @@
{
"Unauthorized": "Unauthorized",
"NotFound_user:login": "User does not exist",
"Unauthorized_login": "Invalid email or password",
"NotFound_user:login": "User does not exist",
"MissingField_email:login": "E-Mail required",
"MissingField_password:login": "Password required",
"Unauthorized_deletPost": "Unauthorized",
"NotFound_post:deletePost": "Post not found",
@@ -12,6 +14,12 @@
"FailedUpdate_Duplicate:userUpdate": "A user with this username already exists",
"FailedUpdate_Duplicate:email:userUpdate": "A user with this email already exists",
"Unauthorized_newPost": "Unauthorized",
"MissingField_content:newPost": "Content required",
"Unauthorized_postUpdate": "Unauthorized",
"NotFound_post:postUpdate": "Post not found",
"username": "username",
"email": "email",
"password": "password",
@@ -51,5 +59,7 @@
"Edit data": "Edit date",
"Recent posts": "Recent posts"
"Recent posts": "Last posts",
"Post omment": "Post comment"
}
+1 -1
View File
File diff suppressed because one or more lines are too long