BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d67ab685
Commit
d67ab685
authored
May 04, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set Groups Vue app for Dashboard page
parent
1dc2b469
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
index.js
app/assets/javascripts/groups/index.js
+10
-3
groups_store.js
app/assets/javascripts/groups/stores/groups_store.js
+5
-0
index.html.haml
app/views/dashboard/groups/index.html.haml
+1
-0
No files found.
app/assets/javascripts/groups/index.js
View file @
d67ab685
import
Vue
from
'vue'
;
import
GroupsStore
from
'./stores/groups_store'
;
$
(()
=>
{
// Groups bundle
});
\ No newline at end of file
const
groupsStore
=
new
GroupsStore
();
const
GroupsApp
=
new
Vue
({
el
:
document
.
querySelector
(
'.js-groups-list-holder'
),
data
:
groupsStore
,
});
});
app/assets/javascripts/groups/stores/groups_store.js
0 → 100644
View file @
d67ab685
export
default
class
GroupsStore
{
constructor
()
{
this
.
groups
=
[];
}
}
app/views/dashboard/groups/index.html.haml
View file @
d67ab685
...
...
@@ -2,6 +2,7 @@
-
header_title
"Groups"
,
dashboard_groups_path
=
render
'dashboard/groups_head'
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
=
page_specific_javascript_bundle_tag
(
'groups'
)
-
if
@groups
.
empty?
...
...
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