feat: dnshole controls widget (#867)
* feat: dnshole controls widget * feat: add duration and timer modal * fix: code improvment * fix: add support for many integrations * fix: add support for more integrations * fix: move ControlsCard outside of main component * fix: deepsource
This commit is contained in:
@@ -558,7 +558,7 @@ export default {
|
||||
},
|
||||
multiText: {
|
||||
placeholder: "Add more values",
|
||||
addLabel: `Add {value}`,
|
||||
addLabel: "Add {value}",
|
||||
},
|
||||
select: {
|
||||
placeholder: "Pick value",
|
||||
@@ -763,6 +763,43 @@ export default {
|
||||
domainsBeingBlocked: "Domains on blocklist",
|
||||
},
|
||||
},
|
||||
dnsHoleControls: {
|
||||
name: "DNS Hole Controls",
|
||||
description: "Control PiHole or AdGuard from your dashboard",
|
||||
option: {
|
||||
layout: {
|
||||
label: "Layout",
|
||||
option: {
|
||||
row: {
|
||||
label: "Horizontal",
|
||||
},
|
||||
column: {
|
||||
label: "Vertical",
|
||||
},
|
||||
grid: {
|
||||
label: "Grid",
|
||||
},
|
||||
},
|
||||
},
|
||||
showToggleAllButtons: {
|
||||
label: "Show Toggle All Buttons",
|
||||
},
|
||||
},
|
||||
error: {
|
||||
internalServerError: "Failed to control DNS Hole",
|
||||
},
|
||||
controls: {
|
||||
enableAll: "Enable All",
|
||||
disableAll: "Disable All",
|
||||
setTimer: "Set Timer",
|
||||
set: "Set",
|
||||
enabled: "Enabled",
|
||||
disabled: "Disabled",
|
||||
hours: "Hours",
|
||||
minutes: "Minutes",
|
||||
unlimited: "Leave blank to unlimited",
|
||||
},
|
||||
},
|
||||
clock: {
|
||||
name: "Date and time",
|
||||
description: "Displays the current date and time.",
|
||||
|
||||
Reference in New Issue
Block a user