Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/clusters_list/constants.js')
-rw-r--r--app/assets/javascripts/clusters_list/constants.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/assets/javascripts/clusters_list/constants.js b/app/assets/javascripts/clusters_list/constants.js
index 4125288b5a5..9428f08176c 100644
--- a/app/assets/javascripts/clusters_list/constants.js
+++ b/app/assets/javascripts/clusters_list/constants.js
@@ -6,6 +6,10 @@ export const CLUSTER_TYPES = {
instance_type: __('Instance'),
};
-export default {
- CLUSTER_TYPES,
+export const STATUSES = {
+ disabled: { className: 'disabled', title: __('Disabled') },
+ connected: { className: 'bg-success', title: __('Connected') },
+ unreachable: { className: 'bg-danger', title: __('Unreachable') },
+ authentication_failure: { className: 'bg-warning', title: __('Authentication Failure') },
+ deleting: { title: __('Deleting') },
};