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
6e33f999
Commit
6e33f999
authored
Feb 20, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate projects:services:edit to static bundle
parent
9879487e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-5
app/assets/javascripts/pages/projects/services/edit/index.js
app/assets/javascripts/pages/projects/services/edit/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
6e33f999
...
...
@@ -53,11 +53,6 @@ var Dispatcher;
case
'
projects:merge_requests:edit
'
:
shortcut_handler
=
true
;
break
;
case
'
projects:services:edit
'
:
import
(
'
./pages/projects/services/edit
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:releases:edit
'
:
import
(
'
./pages/projects/releases/edit
'
)
.
then
(
callDefault
)
...
...
app/assets/javascripts/pages/projects/services/edit/index.js
View file @
6e33f999
import
IntegrationSettingsForm
from
'
~/integrations/integration_settings_form
'
;
import
PrometheusMetrics
from
'
~/prometheus_metrics/prometheus_metrics
'
;
export
default
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
const
prometheusSettingsWrapper
=
document
.
querySelector
(
'
.js-prometheus-metrics-monitoring
'
);
const
integrationSettingsForm
=
new
IntegrationSettingsForm
(
'
.js-integration-settings-form
'
);
integrationSettingsForm
.
init
();
...
...
@@ -10,4 +10,4 @@ export default () => {
const
prometheusMetrics
=
new
PrometheusMetrics
(
'
.js-prometheus-metrics-monitoring
'
);
prometheusMetrics
.
loadActiveMetrics
();
}
};
}
)
;
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