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
defc395e
Commit
defc395e
authored
Nov 18, 2020
by
Hordur Freyr Yngvason
Committed by
Denys Mishunov
Nov 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "remove-DOMContentLoaded-clusters-Pages"
This reverts merge request !47799
parent
c3f7a9ee
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
10 deletions
+22
-10
app/assets/javascripts/pages/groups/clusters/destroy/index.js
...assets/javascripts/pages/groups/clusters/destroy/index.js
+3
-1
app/assets/javascripts/pages/groups/clusters/edit/index.js
app/assets/javascripts/pages/groups/clusters/edit/index.js
+3
-1
app/assets/javascripts/pages/groups/clusters/index.js
app/assets/javascripts/pages/groups/clusters/index.js
+4
-2
app/assets/javascripts/pages/groups/clusters/index/index.js
app/assets/javascripts/pages/groups/clusters/index/index.js
+5
-3
app/assets/javascripts/pages/groups/clusters/new/index.js
app/assets/javascripts/pages/groups/clusters/new/index.js
+3
-1
app/assets/javascripts/pages/groups/clusters/show/index.js
app/assets/javascripts/pages/groups/clusters/show/index.js
+4
-2
No files found.
app/assets/javascripts/pages/groups/clusters/destroy/index.js
View file @
defc395e
import
ClustersBundle
from
'
~/clusters/clusters_bundle
'
;
new
ClustersBundle
();
// eslint-disable-line no-new
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
ClustersBundle
();
// eslint-disable-line no-new
});
app/assets/javascripts/pages/groups/clusters/edit/index.js
View file @
defc395e
import
ClustersBundle
from
'
~/clusters/clusters_bundle
'
;
new
ClustersBundle
();
// eslint-disable-line no-new
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
ClustersBundle
();
// eslint-disable-line no-new
});
app/assets/javascripts/pages/groups/clusters/index.js
View file @
defc395e
import
initCreateCluster
from
'
~/create_cluster/init_create_cluster
'
;
import
initIntegrationForm
from
'
~/clusters/forms/show/index
'
;
initCreateCluster
(
document
,
gon
);
initIntegrationForm
();
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initCreateCluster
(
document
,
gon
);
initIntegrationForm
();
});
app/assets/javascripts/pages/groups/clusters/index/index.js
View file @
defc395e
import
PersistentUserCallout
from
'
~/persistent_user_callout
'
;
import
initClustersListApp
from
'
~/clusters_list
'
;
const
callout
=
document
.
querySelector
(
'
.gcp-signup-offer
'
);
PersistentUserCallout
.
factory
(
callout
);
initClustersListApp
();
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
const
callout
=
document
.
querySelector
(
'
.gcp-signup-offer
'
);
PersistentUserCallout
.
factory
(
callout
);
initClustersListApp
();
});
app/assets/javascripts/pages/groups/clusters/new/index.js
View file @
defc395e
import
initNewCluster
from
'
~/clusters/new_cluster
'
;
initNewCluster
();
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initNewCluster
();
});
app/assets/javascripts/pages/groups/clusters/show/index.js
View file @
defc395e
import
ClustersBundle
from
'
~/clusters/clusters_bundle
'
;
import
initClusterHealth
from
'
~/pages/projects/clusters/show/cluster_health
'
;
new
ClustersBundle
();
// eslint-disable-line no-new
initClusterHealth
();
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
ClustersBundle
();
// eslint-disable-line no-new
initClusterHealth
();
});
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