From c13623c3f779458e9a20881f81748712764d67c6 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 26 Jul 2024 21:59:14 +0200 Subject: [PATCH] [#419] API tokens - frontend implementation. --- .../src/components/panels/Settings/Index.vue | 59 ++-- .../src/components/panels/Settings/Token.vue | 322 ------------------ .../panels/Settings/Tokens/ApiToken.vue | 162 +++++++++ .../panels/Settings/Tokens/Description.vue | 25 ++ .../panels/Settings/Tokens/Index.vue | 128 +++++++ .../panels/Settings/Tokens/JwtToken.vue | 167 +++++++++ .../panels/Settings/Tokens/style.scss | 124 +++++++ .../http/webapp/src/style/components.scss | 5 + .../backend/http/webapp/src/style/inputs.scss | 3 +- 9 files changed, 647 insertions(+), 348 deletions(-) delete mode 100644 platypush/backend/http/webapp/src/components/panels/Settings/Token.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Settings/Tokens/ApiToken.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Settings/Tokens/Description.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Settings/Tokens/Index.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Settings/Tokens/JwtToken.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Settings/Tokens/style.scss diff --git a/platypush/backend/http/webapp/src/components/panels/Settings/Index.vue b/platypush/backend/http/webapp/src/components/panels/Settings/Index.vue index 024ad1348d..00655d7da2 100644 --- a/platypush/backend/http/webapp/src/components/panels/Settings/Index.vue +++ b/platypush/backend/http/webapp/src/components/panels/Settings/Index.vue @@ -4,21 +4,21 @@ - + - diff --git a/platypush/backend/http/webapp/src/components/panels/Settings/Tokens/ApiToken.vue b/platypush/backend/http/webapp/src/components/panels/Settings/Tokens/ApiToken.vue new file mode 100644 index 0000000000..c4920003d0 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Settings/Tokens/ApiToken.vue @@ -0,0 +1,162 @@ +