mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-24 00:19:21 +00:00
refactor: make minimal and clock as presets
This commit is contained in:
@@ -538,8 +538,15 @@ export const demoDb: DatabaseModel = {
|
|||||||
urlPresets: [
|
urlPresets: [
|
||||||
{
|
{
|
||||||
enabled: true,
|
enabled: true,
|
||||||
alias: 'test',
|
alias: 'clock',
|
||||||
pathAndParams: 'timer?timerType=clock',
|
pathAndParams:
|
||||||
|
'timer?showLeadingZeros=true&timerType=clock&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
enabled: true,
|
||||||
|
alias: 'minimal',
|
||||||
|
pathAndParams:
|
||||||
|
'timer?showLeadingZeros=true&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
automation: {
|
automation: {
|
||||||
|
|||||||
@@ -488,7 +488,12 @@
|
|||||||
{
|
{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"alias": "clock",
|
"alias": "clock",
|
||||||
"pathAndParams": "timer?timerType=clock"
|
"pathAndParams": "timer?showLeadingZeros=true&timerType=clock&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"enabled": true,
|
||||||
|
"alias": "minimal",
|
||||||
|
"pathAndParams": "timer?showLeadingZeros=true&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"automation": {
|
"automation": {
|
||||||
|
|||||||
Vendored
+6
-1
@@ -505,7 +505,12 @@
|
|||||||
{
|
{
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"alias": "clock",
|
"alias": "clock",
|
||||||
"pathAndParams": "timer?timerType=clock"
|
"pathAndParams": "timer?showLeadingZeros=true&timerType=clock&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"enabled": true,
|
||||||
|
"alias": "minimal",
|
||||||
|
"pathAndParams": "timer?showLeadingZeros=true&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"automation": {
|
"automation": {
|
||||||
|
|||||||
Reference in New Issue
Block a user