Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d87d4b69
Commit
d87d4b69
authored
Jan 08, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Geo Nodes app global constants
parent
1df814a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
ee/app/assets/javascripts/geo_nodes/constants.js
ee/app/assets/javascripts/geo_nodes/constants.js
+32
-0
No files found.
ee/app/assets/javascripts/geo_nodes/constants.js
0 → 100644
View file @
d87d4b69
export
const
NODE_ACTION_BASE_PATH
=
'
/admin/geo_nodes/
'
;
export
const
NODE_ACTIONS
=
{
TOGGLE
:
'
/toggle
'
,
EDIT
:
'
/edit
'
,
REPAIR
:
'
/reconfigure
'
,
};
export
const
VALUE_TYPE
=
{
PLAIN
:
'
plain
'
,
GRAPH
:
'
graph
'
,
CUSTOM
:
'
custom
'
,
};
export
const
CUSTOM_TYPE
=
{
SYNC
:
'
sync
'
,
EVENT
:
'
event
'
,
STATUS
:
'
status
'
,
};
export
const
HEALTH_STATUS_ICON
=
{
healthy
:
'
status_success
'
,
unhealthy
:
'
status_failed
'
,
disabled
:
'
status_canceled
'
,
unknown
:
'
status_warning
'
,
offline
:
'
status_canceled
'
,
};
export
const
TIME_DIFF
=
{
FIVE_MINS
:
300
,
HOUR
:
3600
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment