add info about Monitor States and Schedules

montage-api
Moe 2021-12-04 21:37:10 -08:00
parent f32010c3fc
commit 40dc0c217d
2 changed files with 35 additions and 6 deletions

View File

@ -6001,6 +6001,21 @@ module.exports = function(s,config,lang){
"Schedules": {
"section": "Schedules",
"blocks": {
"Info": {
"name": lang["Monitor States and Schedules"],
"color": "blue",
"section-pre-class": "col-md-12",
"blockquoteClass": "global_tip",
"blockquote": lang.MonitorStatesText,
"info": [
{
"fieldType": "btn",
"attribute": `page-open="monitorStates"`,
"class": `btn-primary`,
"btnContent": `<i class="fa fa-align-right"></i> &nbsp; ${lang["Monitor States"]}`,
},
]
},
"Schedules": {
"name": lang["Schedules"],
"color": "orange",
@ -6132,8 +6147,23 @@ module.exports = function(s,config,lang){
"Monitor States": {
"section": "Monitor States",
"blocks": {
"Info": {
"name": lang["Monitor States and Schedules"],
"color": "blue",
"section-pre-class": "col-md-12",
"blockquoteClass": "global_tip",
"blockquote": lang.MonitorStatesText,
"info": [
{
"fieldType": "btn",
"attribute": `page-open="schedules"`,
"class": `btn-primary`,
"btnContent": `<i class="fa fa-clock"></i> &nbsp; ${lang["Schedules"]}`,
},
]
},
"Monitor States": {
"name": lang["Monitor States"],
noHeader: true,
"color": "green",
"section-pre-class": "col-md-6",
"info": [
@ -7563,13 +7593,11 @@ module.exports = function(s,config,lang){
icon: 'grav',
label: `${lang['Region Editor']}`,
pageOpen: 'regionEditor',
addUl:true
},
{
icon: 'filter',
label: `${lang['Event Filters']}`,
pageOpen: 'eventFilters',
addUl:true
},
{
icon: 'align-right',
@ -7625,15 +7653,15 @@ module.exports = function(s,config,lang){
label: `${lang['FFprobe']}`,
pageOpen: 'cameraProbe',
},
{
divider: true,
},
{
icon: 'compass',
label: `${lang['ShinobiHub']}`,
pageOpen: 'configFinder',
addUl: true,
},
{
divider: true,
},
{
icon: 'info-circle',
label: `${lang['Help']}`,

View File

@ -577,6 +577,7 @@
"Creation Interval": "Creation Interval",
"Plugin": "Plugin",
"Plugin Manager": "Plugin Manager",
"MonitorStatesText": "You can learn about how to use this <a href='https://hub.shinobi.video/articles/view/6ylYHj9MemlZwrM' target='_blank'>here on ShinobiHub</a>.",
"IdentityText1": "This is how the system will identify the data for this stream. You cannot change the <b>Monitor ID</b> once you have pressed save. If you want you can make the <b>Monitor ID</b> more human readable before you continue.",
"IdentityText2": "You can duplicate a monitor by modifying the <b>Monitor ID</b> then pressing save. You <b>cannot</b> use the ID of a monitor that already exists or it will save over that monitor's database information.",
"opencvCascadesText": "If you see nothing here then just download this package of <a href=\"https://cdn.shinobi.video/weights/cascades.zip\">cascades</a>. Drop them into <code>plugins/opencv/cascades</code> then press refresh <i class=\"fa fa-retweet\"></i>.",