add routes and localisation
This commit is contained in:
1 parent
6c51fc91b4
commit
c804f8b873
2 files changed
+40
-1
No files matched your search
@@ -51,6 +51,7 @@ import ProtectedRoute from "../Components/ProtectedRoute";
|
|||||||
import CreateNewMaintenanceWindow from "../Pages/Maintenance/CreateMaintenance";
|
import CreateNewMaintenanceWindow from "../Pages/Maintenance/CreateMaintenance";
|
||||||
import withAdminCheck from "../Components/HOC/withAdminCheck";
|
import withAdminCheck from "../Components/HOC/withAdminCheck";
|
||||||
import BulkImport from "../Pages/Uptime/BulkImport";
|
import BulkImport from "../Pages/Uptime/BulkImport";
|
||||||
|
import Queue from "../Pages/Queue";
|
||||||
|
|
||||||
const Routes = () => {
|
const Routes = () => {
|
||||||
const AdminCheckedRegister = withAdminCheck(AuthRegister);
|
const AdminCheckedRegister = withAdminCheck(AuthRegister);
|
||||||
@@ -186,6 +187,10 @@ const Routes = () => {
|
|||||||
path="account/team"
|
path="account/team"
|
||||||
element={<Account open={"team"} />}
|
element={<Account open={"team"} />}
|
||||||
/>
|
/>
|
||||||
|
<Route
|
||||||
|
path="queue"
|
||||||
|
element={<Queue />}
|
||||||
|
/>
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
|
|||||||
@@ -30,6 +30,9 @@
|
|||||||
"settingsRemoveAllMonitorsDialogTitle": "Do you want to remove all monitors?",
|
"settingsRemoveAllMonitorsDialogTitle": "Do you want to remove all monitors?",
|
||||||
"settingsRemoveAllMonitorsDialogConfirm": "Yes, remove all monitors",
|
"settingsRemoveAllMonitorsDialogConfirm": "Yes, remove all monitors",
|
||||||
"settingsAbout": "About",
|
"settingsAbout": "About",
|
||||||
|
"settingsDev": "Developer",
|
||||||
|
"settingsDevDescription": "Developer settings",
|
||||||
|
"settingsDevViewJobQueueDetails": "View job queue details",
|
||||||
"settingsDevelopedBy": "Developed by Bluewave Labs.",
|
"settingsDevelopedBy": "Developed by Bluewave Labs.",
|
||||||
"settingsSave": "Save",
|
"settingsSave": "Save",
|
||||||
"settingsSuccessSaved": "Settings saved successfully",
|
"settingsSuccessSaved": "Settings saved successfully",
|
||||||
@@ -745,5 +748,36 @@
|
|||||||
"settingsEmailSecure": "Secure - Use SSL",
|
"settingsEmailSecure": "Secure - Use SSL",
|
||||||
"settingsEmailPool": "Pool - Enable connection pooling",
|
"settingsEmailPool": "Pool - Enable connection pooling",
|
||||||
"sendTestNotifications": "Send test notifications",
|
"sendTestNotifications": "Send test notifications",
|
||||||
"selectAll": "Select all"
|
"selectAll": "Select all",
|
||||||
|
"queuePage": {
|
||||||
|
"title": "Queue",
|
||||||
|
"refreshButton": "Refresh",
|
||||||
|
"flushButton": "Flush queue",
|
||||||
|
"jobTable": {
|
||||||
|
"title": "Jobs currently in queue",
|
||||||
|
"idHeader": "Monitor ID",
|
||||||
|
"urlHeader": "URL",
|
||||||
|
"typeHeader": "Type",
|
||||||
|
"activeHeader": "Active",
|
||||||
|
"lockedAtHeader": "Locked at",
|
||||||
|
"runCountHeader": "Run count",
|
||||||
|
"failCountHeader": "Fail count",
|
||||||
|
"lastRunHeader": "Last run at",
|
||||||
|
"lastFinishedAtHeader": "Last finished at",
|
||||||
|
"lastRunTookHeader": "Last run took"
|
||||||
|
},
|
||||||
|
"metricsTable": {
|
||||||
|
"title": "Queue metrics",
|
||||||
|
"metricHeader": "Metric",
|
||||||
|
"valueHeader": "Value"
|
||||||
|
},
|
||||||
|
"failedJobTable": {
|
||||||
|
"title": "Failed jobs",
|
||||||
|
"monitorIdHeader": "Monitor ID",
|
||||||
|
"monitorUrlHeader": "Monitor URL",
|
||||||
|
"failCountHeader": "Fail count",
|
||||||
|
"failedAtHeader": "Last failed at",
|
||||||
|
"failReasonHeader": "Fail reason"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user