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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
6a91e32a
Commit
6a91e32a
authored
Aug 20, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup groups pages UI a bit
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
8129e2f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+1
-1
app/views/dashboard/groups/index.html.haml
app/views/dashboard/groups/index.html.haml
+3
-6
app/views/explore/groups/index.html.haml
app/views/explore/groups/index.html.haml
+1
-4
No files found.
app/assets/stylesheets/generic/common.scss
View file @
6a91e32a
...
@@ -379,7 +379,7 @@ table {
...
@@ -379,7 +379,7 @@ table {
list-style
:
none
;
list-style
:
none
;
text-align
:
center
;
text-align
:
center
;
padding-bottom
:
15px
;
padding-bottom
:
15px
;
margin-bottom
:
1
0
px
;
margin-bottom
:
1
5
px
;
li
{
li
{
display
:
inline-block
;
display
:
inline-block
;
...
...
app/views/dashboard/groups/index.html.haml
View file @
6a91e32a
-
page_title
"Groups"
-
page_title
"Groups"
=
render
'dashboard/groups_head'
=
render
'dashboard/groups_head'
%h3
.page-title
.slead
Group
Membership
Group
members have access to all group projects.
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
%span
.pull-right.hidden-xs
%span
.pull-right.hidden-xs
=
link_to
new_group_path
,
class:
"btn btn-new"
do
=
link_to
new_group_path
,
class:
"btn btn-new
btn-sm
"
do
%i
.fa.fa-plus
%i
.fa.fa-plus
New Group
New Group
%p
.light
Group members have access to all group projects.
%hr
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
%strong
Groups
%strong
Groups
...
...
app/views/explore/groups/index.html.haml
View file @
6a91e32a
-
page_title
"Groups"
-
page_title
"Groups"
-
if
current_user
-
if
current_user
=
render
'dashboard/groups_head'
=
render
'dashboard/groups_head'
.clearfix
.clearfix
.append-bottom-10
.pull-left
.pull-left
=
form_tag
explore_groups_path
,
method: :get
,
class:
'form-inline form-tiny'
do
|
f
|
=
form_tag
explore_groups_path
,
method: :get
,
class:
'form-inline form-tiny'
do
|
f
|
=
hidden_field_tag
:sort
,
@sort
=
hidden_field_tag
:sort
,
@sort
...
@@ -30,15 +30,12 @@
...
@@ -30,15 +30,12 @@
=
link_to
explore_groups_path
(
sort:
sort_value_oldest_updated
)
do
=
link_to
explore_groups_path
(
sort:
sort_value_oldest_updated
)
do
=
sort_title_oldest_updated
=
sort_title_oldest_updated
%hr
%ul
.bordered-list
%ul
.bordered-list
-
@groups
.
each
do
|
group
|
-
@groups
.
each
do
|
group
|
%li
%li
.clearfix
.clearfix
%h4
%h4
=
link_to
group_path
(
id:
group
.
path
)
do
=
link_to
group_path
(
id:
group
.
path
)
do
%i
.fa.fa-users
=
group
.
name
=
group
.
name
.clearfix
.clearfix
%p
%p
...
...
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