| {
useForm();
});
-// const data = [
-// {
-// type: "Instance",
-// data: {
-// details: [
-// { key: , value: "www.example.com" },
-// { key: , value: or ...},
-// { key: , value: "1084" },
-// { key: , value: or },
-// ],
-// status: "success",
-// title: "www.example.com",
-// buttons: [
-// {
-// text: ,
-// color: "edit",
-// size: "normal",
-// },
-// ],
-// },
-// },
-// ];
-
const data = {
advanced: {
default: [
diff --git a/vuejs/client/src/pages/home/home.js b/vuejs/client/src/pages/home/home.js
index 42f1de74e..5e824e5bc 100644
--- a/vuejs/client/src/pages/home/home.js
+++ b/vuejs/client/src/pages/home/home.js
@@ -7,5 +7,5 @@ const pinia = createPinia();
createApp(Home)
.use(pinia)
- .use(getI18n(["dashboard", "action", "inp", "home"]))
+ .use(getI18n(["dashboard", "action", "inp", "icons", "home"]))
.mount("#app");
diff --git a/vuejs/client/src/pages/instances/instances.js b/vuejs/client/src/pages/instances/instances.js
index 02bc87569..753dbc5fa 100644
--- a/vuejs/client/src/pages/instances/instances.js
+++ b/vuejs/client/src/pages/instances/instances.js
@@ -7,5 +7,5 @@ const pinia = createPinia();
createApp(Instances)
.use(pinia)
- .use(getI18n(["dashboard", "action", "inp", "instances"]))
+ .use(getI18n(["dashboard", "action", "inp", "icons", "instances"]))
.mount("#app");
diff --git a/vuejs/client/src/pages/jobs/Jobs.vue b/vuejs/client/src/pages/jobs/Jobs.vue
new file mode 100644
index 000000000..6beee769d
--- /dev/null
+++ b/vuejs/client/src/pages/jobs/Jobs.vue
@@ -0,0 +1,24166 @@
+
+
+
+
+
+
+
+
+
diff --git a/vuejs/client/src/pages/jobs/index.html b/vuejs/client/src/pages/jobs/index.html
new file mode 100644
index 000000000..468842ac4
--- /dev/null
+++ b/vuejs/client/src/pages/jobs/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+ BunkerWeb | Jobs
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vuejs/client/src/pages/jobs/jobs.js b/vuejs/client/src/pages/jobs/jobs.js
new file mode 100644
index 000000000..f690e300e
--- /dev/null
+++ b/vuejs/client/src/pages/jobs/jobs.js
@@ -0,0 +1,11 @@
+import { createApp } from "vue";
+import { createPinia } from "pinia";
+import { getI18n } from "@utils/lang.js";
+import Jobs from "./jobs.vue";
+
+const pinia = createPinia();
+
+createApp(Jobs)
+ .use(pinia)
+ .use(getI18n(["dashboard", "action", "inp", "icons", "jobs"]))
+ .mount("#app");
diff --git a/vuejs/client/src/pages/services/services.js b/vuejs/client/src/pages/services/services.js
index 35352b4cb..9201e95ee 100644
--- a/vuejs/client/src/pages/services/services.js
+++ b/vuejs/client/src/pages/services/services.js
@@ -7,5 +7,5 @@ const pinia = createPinia();
createApp(Services)
.use(pinia)
- .use(getI18n(["dashboard", "action", "inp", "services"]))
+ .use(getI18n(["dashboard", "action", "inp", "icons", "services"]))
.mount("#app");
diff --git a/vuejs/client/src/pages/services/services.vue b/vuejs/client/src/pages/services/services.vue
index 4208f4405..44aeb9f0a 100644
--- a/vuejs/client/src/pages/services/services.vue
+++ b/vuejs/client/src/pages/services/services.vue
@@ -8,7 +8,7 @@ import { useForm } from "@utils/form.js";
/**
@name Page/Services.vue
@description This component is the services page.
- This page displays an overview of multiple stats related to BunkerWeb.
+ This page displays services and forms to manage them.
*/
const services = reactive({
diff --git a/vuejs/client/src/pages/test/Test.vue b/vuejs/client/src/pages/test/Test.vue
index a08920d59..9cc6c6905 100644
--- a/vuejs/client/src/pages/test/Test.vue
+++ b/vuejs/client/src/pages/test/Test.vue
@@ -46,27 +46,987 @@ const editorData = {
const tableData = {
title: "Table title",
- minWidth: "sm",
- header: ["Header 1", "Header 2", "Header 3"],
- positions: [4, 4, 4],
+ minWidth: "lg",
+ header: [
+ "Name",
+ "Type",
+ "Interval",
+ "Last run",
+ "Success",
+ "Last run time",
+ "Cache",
+ ],
+ positions: [2, 2, 1, 1, 1, 3, 2],
items: [
[
{
type: "Text",
data: {
- text: "whitelist-download",
+ text: "anonymous-report",
},
},
{
type: "Text",
data: {
- text: "whitelist-download",
+ text: "misc",
},
},
{
type: "Text",
data: {
- text: "whitelist-download",
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "error",
+ iconName: "cross",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:11 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "backup-data",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "backup",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "error",
+ iconName: "cross",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:10 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "blacklist-download",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "blacklist",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "hour",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:09 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "bunkernet-data",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "bunkernet",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:11 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "bunkernet-register",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "bunkernet",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "hour",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:09 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "certbot-new",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "letsencrypt",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "once",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "error",
+ iconName: "cross",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:08 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "certbot-renew",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "letsencrypt",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:09 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "coreruleset-nightly",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "modsecurity",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:09 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "custom-cert",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "customcert",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:10 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "default-server-cert",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "misc",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "once",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "error",
+ iconName: "cross",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:10 PM",
+ },
+ },
+ {
+ type: "select",
+ data: {
+ id: "default-server-cert_cache",
+ label: "default-server-cert_cache",
+ hideLabel: true,
+ inpType: "select",
+ name: "default-server-cert_cache",
+ value: "none",
+ values: [
+ "none",
+ "default-server-cert.pem",
+ "default-server-cert.key",
+ ],
+ columns: {
+ pc: 12,
+ tablet: 12,
+ mobile: 12,
+ },
+ popovers: [
+ {
+ iconColor: "info",
+ iconName: "info",
+ text: "jobs_download_cache_file",
+ },
+ ],
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "download-plugins",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "misc",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "once",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "error",
+ iconName: "cross",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:13 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "download-pro-plugins",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "pro",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:10 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "failover-backup",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "jobs",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "once",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "error",
+ iconName: "cross",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:16 PM",
+ },
+ },
+ {
+ type: "select",
+ data: {
+ id: "failover-backup_cache",
+ label: "failover-backup_cache",
+ hideLabel: true,
+ inpType: "select",
+ name: "failover-backup_cache",
+ value: "none",
+ values: ["none", "folder:/var/tmp/bunkerweb/failover.tgz"],
+ columns: {
+ pc: 12,
+ tablet: 12,
+ mobile: 12,
+ },
+ popovers: [
+ {
+ iconColor: "info",
+ iconName: "info",
+ text: "jobs_download_cache_file",
+ },
+ ],
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "greylist-download",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "greylist",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "hour",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:09 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "mmdb-asn",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "jobs",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:14 PM",
+ },
+ },
+ {
+ type: "select",
+ data: {
+ id: "mmdb-asn_cache",
+ label: "mmdb-asn_cache",
+ hideLabel: true,
+ inpType: "select",
+ name: "mmdb-asn_cache",
+ value: "none",
+ values: ["none", "asn.mmdb"],
+ columns: {
+ pc: 12,
+ tablet: 12,
+ mobile: 12,
+ },
+ popovers: [
+ {
+ iconColor: "info",
+ iconName: "info",
+ text: "jobs_download_cache_file",
+ },
+ ],
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "mmdb-country",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "jobs",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:12 PM",
+ },
+ },
+ {
+ type: "select",
+ data: {
+ id: "mmdb-country_cache",
+ label: "mmdb-country_cache",
+ hideLabel: true,
+ inpType: "select",
+ name: "mmdb-country_cache",
+ value: "none",
+ values: ["none", "country.mmdb"],
+ columns: {
+ pc: 12,
+ tablet: 12,
+ mobile: 12,
+ },
+ popovers: [
+ {
+ iconColor: "info",
+ iconName: "info",
+ text: "jobs_download_cache_file",
+ },
+ ],
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "realip-download",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "realip",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "hour",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:09 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "self-signed",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "selfsigned",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:10 PM",
+ },
+ },
+ {
+ type: "select",
+ data: {
+ id: "self-signed_cache",
+ label: "self-signed_cache",
+ hideLabel: true,
+ inpType: "select",
+ name: "self-signed_cache",
+ value: "none",
+ values: [
+ "none",
+ "www.example.com/cert.pem",
+ "www.example.com/key.pem",
+ ],
+ columns: {
+ pc: 12,
+ tablet: 12,
+ mobile: 12,
+ },
+ popovers: [
+ {
+ iconColor: "info",
+ iconName: "info",
+ text: "jobs_download_cache_file",
+ },
+ ],
+ },
+ },
+ ],
+ [
+ {
+ type: "Text",
+ data: {
+ text: "update-check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "jobs",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "day",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "error",
+ iconName: "cross",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:15 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
},
},
],
@@ -80,13 +1040,39 @@ const tableData = {
{
type: "Text",
data: {
- text: "whitelist-download",
+ text: "whitelist",
},
},
{
type: "Text",
data: {
- text: "whitelist-download",
+ text: "hour",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Icons",
+ data: {
+ iconColor: "success",
+ iconName: "check",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "2024/06/14, 01:33:09 PM",
+ },
+ },
+ {
+ type: "Text",
+ data: {
+ text: "No cache",
},
},
],
diff --git a/vuejs/client/src/pages/test/test.js b/vuejs/client/src/pages/test/test.js
index d5a72bf89..87ec8cb15 100644
--- a/vuejs/client/src/pages/test/test.js
+++ b/vuejs/client/src/pages/test/test.js
@@ -7,5 +7,5 @@ const pinia = createPinia();
createApp(Test)
.use(pinia)
- .use(getI18n(["dashboard", "api", "action", "bans", "inp"]))
- .mount("#app");
\ No newline at end of file
+ .use(getI18n(["dashboard", "api", "action", "bans", "inp", "icons"]))
+ .mount("#app");
diff --git a/vuejs/jobs.json b/vuejs/jobs.json
index 8401a48d7..abd19cd6c 100644
--- a/vuejs/jobs.json
+++ b/vuejs/jobs.json
@@ -1,1308 +1,1028 @@
[
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "anonymous-report"
- }
+ "type": "Text",
+ "data": {
+ "text": "anonymous-report"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "misc"
- }
+ "type": "Text",
+ "data": {
+ "text": "misc"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "error",
- "iconName": "cross"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "error",
+ "iconName": "cross"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:11 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:11 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "backup-data"
- }
+ "type": "Text",
+ "data": {
+ "text": "backup-data"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "backup"
- }
+ "type": "Text",
+ "data": {
+ "text": "backup"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "error",
- "iconName": "cross"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "error",
+ "iconName": "cross"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:10 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:10 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "blacklist-download"
- }
+ "type": "Text",
+ "data": {
+ "text": "blacklist-download"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "blacklist"
- }
+ "type": "Text",
+ "data": {
+ "text": "blacklist"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "hour"
- }
+ "type": "Text",
+ "data": {
+ "text": "hour"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:09 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:09 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "bunkernet-data"
- }
+ "type": "Text",
+ "data": {
+ "text": "bunkernet-data"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "bunkernet"
- }
+ "type": "Text",
+ "data": {
+ "text": "bunkernet"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:11 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:11 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "bunkernet-register"
- }
+ "type": "Text",
+ "data": {
+ "text": "bunkernet-register"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "bunkernet"
- }
+ "type": "Text",
+ "data": {
+ "text": "bunkernet"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "hour"
- }
+ "type": "Text",
+ "data": {
+ "text": "hour"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:09 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:09 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "certbot-new"
- }
+ "type": "Text",
+ "data": {
+ "text": "certbot-new"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "letsencrypt"
- }
+ "type": "Text",
+ "data": {
+ "text": "letsencrypt"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "once"
- }
+ "type": "Text",
+ "data": {
+ "text": "once"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "error",
- "iconName": "cross"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "error",
+ "iconName": "cross"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:08 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:08 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "certbot-renew"
- }
+ "type": "Text",
+ "data": {
+ "text": "certbot-renew"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "letsencrypt"
- }
+ "type": "Text",
+ "data": {
+ "text": "letsencrypt"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:09 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:09 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "coreruleset-nightly"
- }
+ "type": "Text",
+ "data": {
+ "text": "coreruleset-nightly"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "modsecurity"
- }
+ "type": "Text",
+ "data": {
+ "text": "modsecurity"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:09 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:09 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "custom-cert"
- }
+ "type": "Text",
+ "data": {
+ "text": "custom-cert"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "customcert"
- }
+ "type": "Text",
+ "data": {
+ "text": "customcert"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:10 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:10 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "default-server-cert"
- }
+ "type": "Text",
+ "data": {
+ "text": "default-server-cert"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "misc"
- }
+ "type": "Text",
+ "data": {
+ "text": "misc"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "once"
- }
+ "type": "Text",
+ "data": {
+ "text": "once"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "error",
- "iconName": "cross"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "error",
+ "iconName": "cross"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:10 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:10 PM"
}
},
{
- "cache": {
- "type": "select",
- "data": {
- "id": "default-server-cert_cache",
- "label": "default-server-cert_cache",
- "hideLabel": true,
- "inpType": "select",
- "name": "default-server-cert_cache",
- "value": "none",
- "values": [
- "none",
- "default-server-cert.pem",
- "default-server-cert.key"
- ],
- "columns": {
- "pc": 12,
- "tablet": 12,
- "mobile": 12
- },
- "popovers": [
- {
- "iconColor": "info",
- "iconName": "info",
- "text": "jobs_download_cache_file"
- }
- ]
- }
+ "type": "select",
+ "data": {
+ "id": "default-server-cert_cache",
+ "label": "default-server-cert_cache",
+ "hideLabel": true,
+ "inpType": "select",
+ "name": "default-server-cert_cache",
+ "value": "none",
+ "values": [
+ "none",
+ "default-server-cert.pem",
+ "default-server-cert.key"
+ ],
+ "columns": {
+ "pc": 12,
+ "tablet": 12,
+ "mobile": 12
+ },
+ "popovers": [
+ {
+ "iconColor": "info",
+ "iconName": "info",
+ "text": "jobs_download_cache_file"
+ }
+ ]
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "download-plugins"
- }
+ "type": "Text",
+ "data": {
+ "text": "download-plugins"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "misc"
- }
+ "type": "Text",
+ "data": {
+ "text": "misc"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "once"
- }
+ "type": "Text",
+ "data": {
+ "text": "once"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "error",
- "iconName": "cross"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "error",
+ "iconName": "cross"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:13 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:13 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "download-pro-plugins"
- }
+ "type": "Text",
+ "data": {
+ "text": "download-pro-plugins"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "pro"
- }
+ "type": "Text",
+ "data": {
+ "text": "pro"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:10 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:10 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "failover-backup"
- }
+ "type": "Text",
+ "data": {
+ "text": "failover-backup"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "jobs"
- }
+ "type": "Text",
+ "data": {
+ "text": "jobs"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "once"
- }
+ "type": "Text",
+ "data": {
+ "text": "once"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "error",
- "iconName": "cross"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "error",
+ "iconName": "cross"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:16 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:16 PM"
}
},
{
- "cache": {
- "type": "select",
- "data": {
- "id": "failover-backup_cache",
- "label": "failover-backup_cache",
- "hideLabel": true,
- "inpType": "select",
- "name": "failover-backup_cache",
- "value": "none",
- "values": [
- "none",
- "folder:/var/tmp/bunkerweb/failover.tgz"
- ],
- "columns": {
- "pc": 12,
- "tablet": 12,
- "mobile": 12
- },
- "popovers": [
- {
- "iconColor": "info",
- "iconName": "info",
- "text": "jobs_download_cache_file"
- }
- ]
- }
+ "type": "select",
+ "data": {
+ "id": "failover-backup_cache",
+ "label": "failover-backup_cache",
+ "hideLabel": true,
+ "inpType": "select",
+ "name": "failover-backup_cache",
+ "value": "none",
+ "values": [
+ "none",
+ "folder:/var/tmp/bunkerweb/failover.tgz"
+ ],
+ "columns": {
+ "pc": 12,
+ "tablet": 12,
+ "mobile": 12
+ },
+ "popovers": [
+ {
+ "iconColor": "info",
+ "iconName": "info",
+ "text": "jobs_download_cache_file"
+ }
+ ]
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "greylist-download"
- }
+ "type": "Text",
+ "data": {
+ "text": "greylist-download"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "greylist"
- }
+ "type": "Text",
+ "data": {
+ "text": "greylist"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "hour"
- }
+ "type": "Text",
+ "data": {
+ "text": "hour"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:09 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:09 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "mmdb-asn"
- }
+ "type": "Text",
+ "data": {
+ "text": "mmdb-asn"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "jobs"
- }
+ "type": "Text",
+ "data": {
+ "text": "jobs"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:14 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:14 PM"
}
},
{
- "cache": {
- "type": "select",
- "data": {
- "id": "mmdb-asn_cache",
- "label": "mmdb-asn_cache",
- "hideLabel": true,
- "inpType": "select",
- "name": "mmdb-asn_cache",
- "value": "none",
- "values": [
- "none",
- "asn.mmdb"
- ],
- "columns": {
- "pc": 12,
- "tablet": 12,
- "mobile": 12
- },
- "popovers": [
- {
- "iconColor": "info",
- "iconName": "info",
- "text": "jobs_download_cache_file"
- }
- ]
- }
+ "type": "select",
+ "data": {
+ "id": "mmdb-asn_cache",
+ "label": "mmdb-asn_cache",
+ "hideLabel": true,
+ "inpType": "select",
+ "name": "mmdb-asn_cache",
+ "value": "none",
+ "values": [
+ "none",
+ "asn.mmdb"
+ ],
+ "columns": {
+ "pc": 12,
+ "tablet": 12,
+ "mobile": 12
+ },
+ "popovers": [
+ {
+ "iconColor": "info",
+ "iconName": "info",
+ "text": "jobs_download_cache_file"
+ }
+ ]
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "mmdb-country"
- }
+ "type": "Text",
+ "data": {
+ "text": "mmdb-country"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "jobs"
- }
+ "type": "Text",
+ "data": {
+ "text": "jobs"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:12 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:12 PM"
}
},
{
- "cache": {
- "type": "select",
- "data": {
- "id": "mmdb-country_cache",
- "label": "mmdb-country_cache",
- "hideLabel": true,
- "inpType": "select",
- "name": "mmdb-country_cache",
- "value": "none",
- "values": [
- "none",
- "country.mmdb"
- ],
- "columns": {
- "pc": 12,
- "tablet": 12,
- "mobile": 12
- },
- "popovers": [
- {
- "iconColor": "info",
- "iconName": "info",
- "text": "jobs_download_cache_file"
- }
- ]
- }
+ "type": "select",
+ "data": {
+ "id": "mmdb-country_cache",
+ "label": "mmdb-country_cache",
+ "hideLabel": true,
+ "inpType": "select",
+ "name": "mmdb-country_cache",
+ "value": "none",
+ "values": [
+ "none",
+ "country.mmdb"
+ ],
+ "columns": {
+ "pc": 12,
+ "tablet": 12,
+ "mobile": 12
+ },
+ "popovers": [
+ {
+ "iconColor": "info",
+ "iconName": "info",
+ "text": "jobs_download_cache_file"
+ }
+ ]
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "realip-download"
- }
+ "type": "Text",
+ "data": {
+ "text": "realip-download"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "realip"
- }
+ "type": "Text",
+ "data": {
+ "text": "realip"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "hour"
- }
+ "type": "Text",
+ "data": {
+ "text": "hour"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:09 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:09 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "self-signed"
- }
+ "type": "Text",
+ "data": {
+ "text": "self-signed"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "selfsigned"
- }
+ "type": "Text",
+ "data": {
+ "text": "selfsigned"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:10 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:10 PM"
}
},
{
- "cache": {
- "type": "select",
- "data": {
- "id": "self-signed_cache",
- "label": "self-signed_cache",
- "hideLabel": true,
- "inpType": "select",
- "name": "self-signed_cache",
- "value": "none",
- "values": [
- "none",
- "www.example.com/cert.pem",
- "www.example.com/key.pem"
- ],
- "columns": {
- "pc": 12,
- "tablet": 12,
- "mobile": 12
- },
- "popovers": [
- {
- "iconColor": "info",
- "iconName": "info",
- "text": "jobs_download_cache_file"
- }
- ]
- }
+ "type": "select",
+ "data": {
+ "id": "self-signed_cache",
+ "label": "self-signed_cache",
+ "hideLabel": true,
+ "inpType": "select",
+ "name": "self-signed_cache",
+ "value": "none",
+ "values": [
+ "none",
+ "www.example.com/cert.pem",
+ "www.example.com/key.pem"
+ ],
+ "columns": {
+ "pc": 12,
+ "tablet": 12,
+ "mobile": 12
+ },
+ "popovers": [
+ {
+ "iconColor": "info",
+ "iconName": "info",
+ "text": "jobs_download_cache_file"
+ }
+ ]
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "update-check"
- }
+ "type": "Text",
+ "data": {
+ "text": "update-check"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "jobs"
- }
+ "type": "Text",
+ "data": {
+ "text": "jobs"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "day"
- }
+ "type": "Text",
+ "data": {
+ "text": "day"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "error",
- "iconName": "cross"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "error",
+ "iconName": "cross"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:15 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:15 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
],
[
{
- "name": {
- "type": "Text",
- "data": {
- "text": "whitelist-download"
- }
+ "type": "Text",
+ "data": {
+ "text": "whitelist-download"
}
},
{
- "plugin_id": {
- "type": "Text",
- "data": {
- "text": "whitelist"
- }
+ "type": "Text",
+ "data": {
+ "text": "whitelist"
}
},
{
- "every": {
- "type": "Text",
- "data": {
- "text": "hour"
- }
+ "type": "Text",
+ "data": {
+ "text": "hour"
}
},
{
- "reload": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "success": {
- "type": "Icons",
- "data": {
- "iconColor": "success",
- "iconName": "check"
- }
+ "type": "Icons",
+ "data": {
+ "iconColor": "success",
+ "iconName": "check"
}
},
{
- "last_run": {
- "type": "Text",
- "data": {
- "text": "2024/06/14, 01:33:09 PM"
- }
+ "type": "Text",
+ "data": {
+ "text": "2024/06/14, 01:33:09 PM"
}
},
{
- "cache": {
- "type": "Text",
- "data": {
- "text": "No cache"
- }
+ "type": "Text",
+ "data": {
+ "text": "No cache"
}
}
]
diff --git a/vuejs/test3.py b/vuejs/test3.py
index 59b8a8939..d732b93f2 100644
--- a/vuejs/test3.py
+++ b/vuejs/test3.py
@@ -9,18 +9,23 @@ def jobs_to_list(jobs):
# loop on each dict
for key, value in jobs.items():
item = []
- item.append({'name': { 'type': 'Text', 'data': {'text' : key } }})
+ item.append({ 'type': 'Text', 'data': {'text' : key } })
# loop on each value
for k, v in value.items():
# override widget type for some keys
if k in ('reload', 'success'):
- item.append({k : { 'type': 'Icons', 'data': {"iconColor": "success" if v else "error", "iconName": "check" if v else "cross" } }})
+ item.append({ 'type': 'Icons', 'data': {"iconColor": "success" if v else "error", "iconName": "check" if v else "cross" } })
+ continue
if k in ("plugin_id", "every", "last_run"):
- item.append({k : { 'type': 'Text', 'data': {'text' : v } }})
+ item.append({ 'type': 'Text', 'data': {'text' : v } })
+ continue
+
if k in ("cache") and len(v) <= 0:
- item.append({k : { 'type': 'Text', 'data': {'text' : "No cache" } }})
+ item.append({ 'type': 'Text', 'data': {'text' : "No cache" } })
+ continue
+
if k in ("cache") and len(v) > 0:
files = ["none"]
@@ -29,7 +34,7 @@ def jobs_to_list(jobs):
file_name = f"{cache['service_id']}/{cache['file_name']}" if cache['service_id'] else cache['file_name']
files.append(file_name)
- item.append({k : { 'type': 'select', 'data': {
+ item.append({ 'type': 'select', 'data': {
"id": f"{key}_cache",
"label": f"{key}_cache",
"hideLabel": True,
@@ -50,7 +55,9 @@ def jobs_to_list(jobs):
},
],
},
- }})
+ })
+ continue
+
data.append(item)
|