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
Léo-Paul Géneau
gitlab-ce
Commits
8b65d069
Commit
8b65d069
authored
May 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle admin -> groups page
parent
4d9bdab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
24 deletions
+35
-24
app/views/admin/groups/index.html.haml
app/views/admin/groups/index.html.haml
+35
-24
No files found.
app/views/admin/groups/index.html.haml
View file @
8b65d069
%h3
.page_title
%h3
.page_title
Groups
Groups
(
#{
@groups
.
total_count
}
)
%small
%small
allows you to keep projects organized.
allows you to keep projects organized.
Use groups for uniting related projects.
Use groups for uniting related projects.
...
@@ -7,31 +7,42 @@
...
@@ -7,31 +7,42 @@
=
link_to
'New Group'
,
new_admin_group_path
,
class:
"btn btn-small pull-right"
=
link_to
'New Group'
,
new_admin_group_path
,
class:
"btn btn-small pull-right"
%br
%br
=
form_tag
admin_groups_path
,
method: :get
,
class:
'form-inline'
do
=
form_tag
admin_groups_path
,
method: :get
,
class:
'form-inline'
do
=
text_field_tag
:name
,
params
[
:name
],
class:
"
xlarge
"
=
text_field_tag
:name
,
params
[
:name
],
class:
"
span6
"
=
submit_tag
"Search"
,
class:
"btn submit btn-primary"
=
submit_tag
"Search"
,
class:
"btn submit btn-primary"
%table
%hr
%thead
%tr
%th
Name
%i
.icon-sort-down
%th
Description
%th
Path
%th
Projects
%th
Owner
%th
.cred
Danger Zone!
%ul
.bordered-list
-
@groups
.
each
do
|
group
|
-
@groups
.
each
do
|
group
|
%tr
%li
%td
.clearfix
%strong
=
link_to
group
.
name
,
[
:admin
,
group
]
.pull-right.prepend-top-10
%td
=
truncate
group
.
description
=
link_to
'Edit'
,
edit_admin_group_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
"btn btn-small"
%td
=
group
.
path
=
link_to
'Destroy'
,
[
:admin
,
group
],
confirm:
"REMOVE
#{
group
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
%td
=
group
.
projects
.
count
%td
%h4
=
link_to
group
.
owner_name
,
admin_user_path
(
group
.
owner
)
=
link_to
[
:admin
,
group
]
do
%td
.bgred
=
group
.
name
=
link_to
'Edit'
,
edit_admin_group_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
"btn btn-small"
=
link_to
'Destroy'
,
[
:admin
,
group
],
confirm:
"REMOVE
#{
group
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
→
%span
.monospace
%i
.icon-folder-close
%strong
#{
group
.
path
}
/
.clearfix.light.append-bottom-10
%span
%b
Owner:
-
if
group
.
owner
=
link_to
group
.
owner_name
,
admin_user_path
(
group
.
owner
)
-
else
(deleted)
\|
%span
%b
Projects:
%span
.badge
=
group
.
projects
.
count
.clearfix
%p
=
truncate
group
.
description
,
length:
150
=
paginate
@groups
,
theme:
"gitlab"
=
paginate
@groups
,
theme:
"gitlab"
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