From a3a71af679a739e3d38abd8e68874789fb351b00 Mon Sep 17 00:00:00 2001 From: Moe Date: Sat, 29 May 2021 22:45:46 -0700 Subject: [PATCH] Add Events List with Pics to Definitions (only for Dashboard v3) --- definitions/en_CA.js | 59 ++++++++++++++++++++++++++++++++++++++++++++ languages/en_CA.json | 2 ++ 2 files changed, 61 insertions(+) diff --git a/definitions/en_CA.js b/definitions/en_CA.js index 410f93de..6281ab7b 100644 --- a/definitions/en_CA.js +++ b/definitions/en_CA.js @@ -6200,5 +6200,64 @@ module.exports = function(s,config,lang){ }, } }, + "Events": { + "section": "Events", + "blocks": { + "Saved Logs": { + "name": lang["Search Settings"], + "color": "blue", + "section-pre-class": "col-md-4", + "info": [ + { + "id": "eventListWithPics-monitors-list", + "field": lang["Type"], + "fieldType": "select", + "possible": [ + { + "name": lang['All Monitors'], + "value": "all" + }, + { + "name": lang.Monitors, + "optgroup": [] + } + ] + }, + { + "id": "eventListWithPics-daterange", + "field": lang['Date Range'], + }, + { + "fieldType": "btn-group", + "btns": [ + { + "fieldType": "btn", + "class": "btn-success", + "forForm": true, + "attribute": `type="submit"`, + "btnContent": `${lang['Check']}`, + }, + ], + } + ] + }, + "Events Found": { + "name": lang['Events Found'], + "color": "green", + "section-pre-class": "col-md-8 search-parent", + "info": [ + { + "field": lang['Search'], + "class": 'search-controller', + }, + { + "fieldType": "div", + "id": "eventListWithPics-rows", + "class": "search-body mt-3 row", + } + ] + }, + } + }, } } diff --git a/languages/en_CA.json b/languages/en_CA.json index 4acc8b4a..399b4c34 100644 --- a/languages/en_CA.json +++ b/languages/en_CA.json @@ -186,6 +186,8 @@ "Themes": "Themes", "Videos": "Videos", "Events": "Events", + "Events Found": "Events Found", + "Recent Events": "Recent Events", "Streams": "Streams", "Snapshot": "Snapshot", "Snapshots": "Snapshots",