From b724e80ee2c7f386a947b08947222bb3e453ba5f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 18 Oct 2023 23:45:46 +0200 Subject: [PATCH] [Settings UI] Added `Stop` and `Restart` application buttons. --- .../src/components/elements/RestartButton.vue | 35 ++++++++++++++ .../src/components/elements/StopButton.vue | 44 +++++++++++++++++ .../panels/Settings/Application.vue | 47 +++++++++++++++++++ .../src/components/panels/Settings/Index.vue | 4 +- .../components/panels/Settings/sections.json | 7 +++ 5 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 platypush/backend/http/webapp/src/components/elements/RestartButton.vue create mode 100644 platypush/backend/http/webapp/src/components/elements/StopButton.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Settings/Application.vue diff --git a/platypush/backend/http/webapp/src/components/elements/RestartButton.vue b/platypush/backend/http/webapp/src/components/elements/RestartButton.vue new file mode 100644 index 00000000..33ca35a4 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/elements/RestartButton.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/platypush/backend/http/webapp/src/components/elements/StopButton.vue b/platypush/backend/http/webapp/src/components/elements/StopButton.vue new file mode 100644 index 00000000..4517f373 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/elements/StopButton.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/platypush/backend/http/webapp/src/components/panels/Settings/Application.vue b/platypush/backend/http/webapp/src/components/panels/Settings/Application.vue new file mode 100644 index 00000000..763184f2 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Settings/Application.vue @@ -0,0 +1,47 @@ + + + + + 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 baabc173..2f157c84 100644 --- a/platypush/backend/http/webapp/src/components/panels/Settings/Index.vue +++ b/platypush/backend/http/webapp/src/components/panels/Settings/Index.vue @@ -1,6 +1,7 @@