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
e827c58a
Commit
e827c58a
authored
Mar 10, 2021
by
peterhegman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert `members.scss` into page specific bundle
To reduce overall size of CSS bundle
parent
a2ccb063
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
1 deletion
+7
-1
app/assets/stylesheets/_page_specific_files.scss
app/assets/stylesheets/_page_specific_files.scss
+0
-1
app/assets/stylesheets/page_bundles/members.scss
app/assets/stylesheets/page_bundles/members.scss
+2
-0
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-0
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+1
-0
app/views/groups/group_members/index.html.haml
app/views/groups/group_members/index.html.haml
+1
-0
app/views/projects/project_members/index.html.haml
app/views/projects/project_members/index.html.haml
+1
-0
config/application.rb
config/application.rb
+1
-0
No files found.
app/assets/stylesheets/_page_specific_files.scss
View file @
e827c58a
...
...
@@ -14,7 +14,6 @@
@import
'./pages/issues'
;
@import
'./pages/labels'
;
@import
'./pages/login'
;
@import
'./pages/members'
;
@import
'./pages/merge_requests'
;
@import
'./pages/monitor'
;
@import
'./pages/note_form'
;
...
...
app/assets/stylesheets/pages/members.scss
→
app/assets/stylesheets/page
_bundle
s/members.scss
View file @
e827c58a
@import
'mixins_and_variables_and_functions'
;
.project-members-title
{
padding-bottom
:
10px
;
border-bottom
:
1px
solid
$border-color
;
...
...
app/views/admin/groups/show.html.haml
View file @
e827c58a
-
add_page_specific_style
'page_bundles/members'
-
add_to_breadcrumbs
_
(
"Groups"
),
admin_groups_path
-
breadcrumb_title
@group
.
name
-
page_title
@group
.
name
,
_
(
"Groups"
)
...
...
app/views/admin/projects/show.html.haml
View file @
e827c58a
-
add_page_specific_style
'page_bundles/members'
-
add_to_breadcrumbs
_
(
"Projects"
),
admin_projects_path
-
breadcrumb_title
@project
.
full_name
-
page_title
@project
.
full_name
,
_
(
"Projects"
)
...
...
app/views/groups/group_members/index.html.haml
View file @
e827c58a
-
add_page_specific_style
'page_bundles/members'
-
page_title
_
(
'Group members'
)
-
can_manage_members
=
can?
(
current_user
,
:admin_group_member
,
@group
)
-
show_invited_members
=
can_manage_members
&&
@invited_members
.
exists?
...
...
app/views/projects/project_members/index.html.haml
View file @
e827c58a
-
add_page_specific_style
'page_bundles/members'
-
page_title
_
(
"Members"
)
.js-remove-member-modal
...
...
config/application.rb
View file @
e827c58a
...
...
@@ -196,6 +196,7 @@ module Gitlab
config
.
assets
.
precompile
<<
"page_bundles/jira_connect.css"
config
.
assets
.
precompile
<<
"page_bundles/jira_connect_users.css"
config
.
assets
.
precompile
<<
"page_bundles/learn_gitlab.css"
config
.
assets
.
precompile
<<
"page_bundles/members.css"
config
.
assets
.
precompile
<<
"page_bundles/merge_conflicts.css"
config
.
assets
.
precompile
<<
"page_bundles/merge_requests.css"
config
.
assets
.
precompile
<<
"page_bundles/milestone.css"
...
...
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