From 2492f6b545a87bd5eb9820e17cd74147bfd36379 Mon Sep 17 00:00:00 2001 From: lesion Date: Mon, 29 Jan 2024 14:46:11 +0100 Subject: [PATCH] feat: user events page view, fix #340 and #156 --- assets/style.css | 2 +- components/TBtn.vue | 20 +++++ locales/en.json | 3 +- pages/settings.vue | 131 ++++++++++++++++++++++++--------- plugins/time.js | 6 +- server/api/controller/event.js | 53 +++++++++++-- server/api/index.js | 1 + 7 files changed, 171 insertions(+), 45 deletions(-) create mode 100644 components/TBtn.vue diff --git a/assets/style.css b/assets/style.css index 131b8da7..0cee1f00 100644 --- a/assets/style.css +++ b/assets/style.css @@ -15,7 +15,7 @@ li { } .v-dialog .theme--dark.v-card { - background-color: #1e1e1e; + background-color: #333; } .v-application { diff --git a/components/TBtn.vue b/components/TBtn.vue new file mode 100644 index 00000000..45cfb282 --- /dev/null +++ b/components/TBtn.vue @@ -0,0 +1,20 @@ + + \ No newline at end of file diff --git a/locales/en.json b/locales/en.json index a849fe35..7cbe994b 100644 --- a/locales/en.json +++ b/locales/en.json @@ -109,7 +109,8 @@ "pin": "Pin", "trusted_instances": "Trusted instances", "actors": "Node", - "collection_in_home": "Show a collection in home" + "collection_in_home": "Show a collection in home", + "my_events": "My Events" }, "login": { "description": "By logging in you can publish new events.", diff --git a/pages/settings.vue b/pages/settings.vue index 03cb05bf..234090c3 100644 --- a/pages/settings.vue +++ b/pages/settings.vue @@ -1,55 +1,120 @@ -