update definitions for Dashboard v3

merge-requests/74/merge
Moe 2021-05-14 13:35:56 -07:00
parent dff8532739
commit 48b4251a72
2 changed files with 188 additions and 4 deletions

View File

@ -5016,7 +5016,7 @@ module.exports = function(s,config,lang){
"blocks": {
"Sub-Accounts": {
"name": lang['Sub-Accounts'],
"section-pre-class": "col-md-12",
"section-pre-class": "col-md-6",
"color": "orange",
"isSection": true,
"id":"monSectionAccountList",
@ -5027,6 +5027,24 @@ module.exports = function(s,config,lang){
}
]
},
"Currently Active": {
"name": lang['Currently Active'],
"section-pre-class": "col-md-6 search-parent",
"color": "green",
"isSection": true,
"info": [
{
"field": lang['Search'],
"class": 'search-controller',
},
{
"fieldType": "div",
"class": "search-body",
"id": "currently-active-users",
"attribute": `style="max-height: 400px;overflow: auto;"`,
}
]
},
"Account Information": {
"name": lang['Account Information'],
"section-pre-class": "col-md-6",
@ -5642,16 +5660,21 @@ module.exports = function(s,config,lang){
},
],
},
{
"fieldType": "div",
"class": "frameIcons mt-3 row scroll-style-6",
}
]
},
"Frames": {
"name": lang.Frames,
"Watch": {
"name": lang['Watch'],
"color": "blue",
"section-pre-class": "col-md-8",
"info": [
{
"fieldType": "div",
"class": "frameIcons row scroll-style-6",
"class": "playBackView",
"divContent": "<img>"
}
]
},
@ -6018,5 +6041,158 @@ module.exports = function(s,config,lang){
},
}
},
"Montior Configuration Finder": {
"section": "Montior Configuration Finder",
"blocks": {
"Search Settings": {
"name": lang["Search Settings"],
"color": "navy",
"blockquote": lang.monitorConfigFinderDescription,
"section-pre-class": "col-md-4",
"info": [
{
"id": "shinobihub-sort-by",
"field": lang["Sort By"],
"fieldType": "select",
"possible": [
{
"name": lang['Date Updated'],
"value": "dateUpdated"
},
{
"name": lang['Date Added'],
"value": "dateAdded"
},
{
"name": lang['Title'],
"value": "heading"
},
{
"name": lang['Subtitle'],
"value": "opening"
},
]
},
{
"id": "shinobihub-sort-direction",
"field": lang["Sort By"],
"fieldType": "select",
"possible": [
{
"name": lang['Newest'],
"value": "DESC"
},
{
"name": lang['Oldest'],
"value": "ASC"
},
]
},
{
"id": "shinobihub-search",
"field": lang['Search'],
},
{
"id": "shinobihub-pages",
"class": "btn-group",
"fieldType": "div",
}
]
},
"Monitor Settings": {
"name": lang['Monitor Settings'],
"color": "blue",
"section-pre-class": "col-md-8",
"info": [
{
"id": "shinobihub-results",
"class": "text-center row",
"fieldType": "div",
}
]
},
}
},
"Log Viewer": {
"section": "Log Viewer",
"blocks": {
"Saved Logs": {
"name": lang["Saved Logs"],
"color": "blue",
"section-pre-class": "col-md-6 search-parent",
"info": [
{
"id": "log_monitors",
"field": lang["Type"],
"fieldType": "select",
"possible": [
{
"name": lang['All Logs'],
"value": "all"
},
{
"name": lang['For Group'],
"value": "$USER"
},
{
"name": lang.Monitors,
"optgroup": []
}
]
},
{
"field": lang['Search'],
"class": 'search-controller',
},
{
"id": "logs_daterange",
"field": lang['Date Range'],
},
{
"fieldType": "btn-group",
"btns": [
{
"fieldType": "btn",
"class": "btn-default",
"forForm": true,
"attribute": `download type="button"`,
"btnContent": `${lang['Export']}`,
},
{
"fieldType": "btn",
"class": "btn-success",
"forForm": true,
"attribute": `type="submit"`,
"btnContent": `${lang['Check']}`,
},
],
},
{
"id": "saved-logs-rows",
"fieldType": "div",
"attribute": `style="max-height: 600px;overflow: auto;"`,
"class": "search-body mt-3 px-3 row",
}
]
},
"Streamed Logs": {
"name": lang['Streamed Logs'],
"color": "green",
"section-pre-class": "col-md-6 search-parent",
"info": [
{
"field": lang['Search'],
"class": 'search-controller',
},
{
"fieldType": "div",
"id": "global-log-stream",
"attribute": `style="max-height: 600px;overflow: auto;"`,
"class": "search-body mt-3",
}
]
},
}
},
}
}

View File

@ -138,6 +138,8 @@
"Monitor States and Schedules": "Monitor States and Schedules",
"Filters": "Filters",
"Full URL Path": "Full URL Path",
"Streamed Logs": "Streamed Logs",
"Saved Logs": "Saved Logs",
"Logs": "Logs",
"Full Stream URL": "Full Stream URL",
"Manual": "Manual",
@ -247,12 +249,14 @@
"Sort By": "Sort By",
"Start Time": "Start Time",
"End Time": "End Time",
"Currently Active": "Currently Active",
"Time": "Time",
"On Unexpected Exit": "On Unexpected Exit",
"Bandwidth": "Bandwidth",
"Methods": "Methods",
"Notifications": "Notifications",
"Monitor ID": "Monitor ID",
"Type": "Type",
"File Type": "File Type",
"Filesize": "Filesize",
"Video Status": "Video Status",
@ -487,6 +491,7 @@
"NoLogsFoundForDateRange": "No Logs found in this date range. Try widening the date range.",
"monitorEditFailedMaxReached": "Your account has reached the maximum number of cameras that can be created. Speak to an administrator if you would like this changed.",
"Sub-Accounts": "Sub-Accounts",
"Stream in Background": "Stream in Background",
"in": "in",
"ago": "ago",
"a few seconds": "a few seconds",
@ -534,6 +539,8 @@
"Live Grid": "Live Grid",
"liveGridDescription": "Live Grid is the multiple stream display for Shinobi. This viewing method is mainly designed for desktop.",
"accountSettingsDescription": "Manage your Profile and set options like Max Storage Amount and Max Number of Days to keep videos.",
"eventFiltersDescription": "Setup filters for when Events occur.",
"monitorConfigFinderDescription": "This tool will help you search for configurations for cameras posted by the community. All hosted on <a href='https://hub.shinobi.video/explore' target='_blank'>ShinobiHub</a>. You can post yours too, it would really help the community :)",
"Saved": "Saved",
"Not Saved": "Not Saved",
"Not Connected": "Not Connected",
@ -696,6 +703,7 @@
"Discord Alert on Trigger": "Discord Alert on Trigger",
"Allow Next Email": "Allow Next Email <small>in Minutes</small>",
"Allow Next Discord Alert": "Allow Next Discord Alert <small>in Minutes</small>",
"Authenticated": "Authenticated",
"DiscordLoggedIn": "Discord Bot Authenticated",
"DiscordFailedText": "Sending to Discord Failed",
"DiscordErrorText": "Sending to Discord caused an Error",