+ Es ist ein interner Fehler aufgetreten. Bitte versuche es erneut.
+
+
+
+
+ Es ist ein Fehler aufgetreten. Die ID konnte nicht ausgelesen werden. Bitte versuche es erneut.
+
+
+
+
+
+ Jeder Beitrag muss einen Titel, Kategorie und Inhalt besitzen.
+
+
+
+
@@ -36,7 +59,7 @@ include_once 'php/controller/showArticle-controller.php';
-
+
Tags:
diff --git a/content/updateArticle.php b/content/updateArticle.php
new file mode 100644
index 0000000..90e80de
--- /dev/null
+++ b/content/updateArticle.php
@@ -0,0 +1,147 @@
+
+
+
diff --git a/css/main.css b/css/main.css
index b0634b1..b448a22 100644
--- a/css/main.css
+++ b/css/main.css
@@ -212,3 +212,13 @@ a, button, input, select, textarea, label, main{
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
+
+.form-container {
+ flex: 1 1 450px;
+ padding: 30px;
+ background-color: white;
+ border: 1px solid #dbe3ec;
+ border-radius: 10px;
+ box-shadow: 0 6px 20px rgba(0,0,0,0.1);
+ box-sizing: border-box;
+}
\ No newline at end of file
diff --git a/css/navbar.css b/css/navbar.css
index 2238e0a..c449e2a 100644
--- a/css/navbar.css
+++ b/css/navbar.css
@@ -152,7 +152,7 @@ CSS für die navbar
}
/* Responsive Anpassungen unter 760px (für z.B. Smartphones) */
-@media (max-width: 760px) {
+@media (max-width: 800px) {
.nav {
flex-direction: row;
flex-wrap: wrap;
diff --git a/css/profile.css b/css/profile.css
new file mode 100644
index 0000000..dca1cef
--- /dev/null
+++ b/css/profile.css
@@ -0,0 +1,89 @@
+/*
+CSS für die Profilseite
+ */
+
+/* Roter Button für Account löschen */
+.delete-account-button {
+ background-color: #dc2626;
+ margin-bottom: 0;
+}
+
+.delete-account-button:hover {
+ background-color: #b91c1c;
+}
+
+/* Beitragsliste Styling */
+.section-title {
+ margin-top: 0;
+ margin-bottom: 25px;
+ font-size: 1.5rem;
+ color: #1f2937;
+ border-bottom: 2px solid #eef2f7;
+ padding-bottom: 10px;
+}
+
+.articles-list {
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+}
+
+.article-item {
+ padding: 15px;
+ border: 1px solid #e5e7eb;
+ border-radius: 8px;
+ background-color: #f9fafb;
+ position: relative;
+}
+
+.article-meta {
+ display: flex;
+ justify-content: space-between;
+ font-size: 0.85rem;
+ color: #6b7280;
+ margin-bottom: 8px;
+}
+
+.article-category {
+ font-weight: bold;
+ color: #2563eb;
+}
+
+.article-title {
+ margin: 0 0 10px 0;
+ font-size: 1.2rem;
+ color: #1f2937;
+}
+
+.article-tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 6px;
+ margin-bottom: 15px;
+}
+
+.tag {
+ font-size: 0.75rem;
+ background-color: #e5e7eb;
+ color: #374151;
+ padding: 3px 8px;
+ border-radius: 4px;
+}
+
+/* Bearbeiten-Button als Link deklariert */
+.edit-link-button {
+ display: inline-block;
+ text-decoration: none;
+ font-size: 0.9rem;
+ font-weight: bold;
+ color: #2563eb;
+ border: 1px solid #2563eb;
+ padding: 6px 12px;
+ border-radius: 6px;
+ transition: background-color 0.2s, color 0.2s;
+}
+
+.edit-link-button:hover {
+ background-color: #2563eb;
+ color: white;
+}
\ No newline at end of file
diff --git a/css/search-results.css b/css/search-results.css
index f2fc36f..4fc5d97 100644
--- a/css/search-results.css
+++ b/css/search-results.css
@@ -69,12 +69,12 @@ CSS für die Suchergebnis-Seite
.s-res-filter-option input[type="radio"] {
margin: 0;
- accent-color: #3182ce; /* Moderne Färbung des Radio-Buttons */
+ accent-color: #3182ce;
}
/* --- HAUPTINHALT (ERGEBNISSE) --- */
.s-res-main-content {
- min-width: 0; /* Verhindert das Ausbrechen von Flex-Elementen */
+ min-width: 0;
}
.s-res-header {
@@ -164,7 +164,7 @@ CSS für die Suchergebnis-Seite
transform: translateX(3px);
}
-/* --- ERGEBNISSE PRO SEITE & PAGINIERUNG --- */
+/* ERGEBNISSE PRO SEITE & PAGINIERUNG */
.s-res-pagination-footer {
display: flex;
justify-content: space-between;
@@ -247,7 +247,7 @@ CSS für die Suchergebnis-Seite
cursor: not-allowed;
}
-/* --- RESPONSIVE DESIGN (MOBILGERÄTE) --- */
+/* Responsive Anpassungen unter 760px (für z.B. Smartphones) */
@media (max-width: 768px) {
.s-res-layout-grid {
grid-template-columns: 1fr; /* Stapelt Seitenleiste und Inhalt untereinander */
diff --git a/data/users.json b/data/users.json
new file mode 100644
index 0000000..0637a08
--- /dev/null
+++ b/data/users.json
@@ -0,0 +1 @@
+[]
\ No newline at end of file
diff --git a/includes/navbar.php b/includes/navbar.php
index e8dd8ca..b233584 100644
--- a/includes/navbar.php
+++ b/includes/navbar.php
@@ -1,27 +1,41 @@
+
+
- ☰
+ ☰