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
Jérome Perrin
gitlab-ce
Commits
6dfbd3f7
Commit
6dfbd3f7
authored
Jan 03, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style admin->projects filter
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
d0a56e22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
28 deletions
+26
-28
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+26
-28
No files found.
app/views/admin/projects/index.html.haml
View file @
6dfbd3f7
.row
.row
.col-md-4
.col-md-4
.admin-filter
.admin-filter
=
form_tag
admin_projects_path
,
method: :get
,
class:
'
form-inline
'
do
=
form_tag
admin_projects_path
,
method: :get
,
class:
''
do
.form-group
.form-group
=
label_tag
:name
,
'Name:'
,
class:
'control-label'
=
label_tag
:name
,
'Name:'
.col-sm-10
=
text_field_tag
:name
,
params
[
:name
],
class:
"form-control"
=
text_field_tag
:name
,
params
[
:name
],
class:
"span2"
.form-group
.form-group
=
label_tag
:owner_id
,
'Owner:'
,
class:
'control-label'
=
label_tag
:owner_id
,
'Owner:'
.col-sm-10
%div
=
users_select_tag
:owner_id
,
selected:
params
[
:owner_id
],
class:
'input-large input-clamp'
=
users_select_tag
:owner_id
,
selected:
params
[
:owner_id
],
class:
'input-large input-clamp'
.form-group.visibility-levels
.checkbox
=
label_tag
:visibility_level
,
'Visibility Levels'
,
class:
'control-label'
=
label_tag
:with_push
,
'Not empty'
-
Project
.
visibility_levels
.
each
do
|
label
,
level
|
=
check_box_tag
:with_push
,
1
,
params
[
:with_push
]
.col-sm-10
=
check_box_tag
'visibility_levels[]'
,
level
,
params
[
:visibility_levels
].
present?
&&
params
[
:visibility_levels
].
include?
(
level
.
to_s
)
%span
.light
Projects with push events
%span
.descr
.checkbox
=
visibility_level_icon
(
level
)
=
label_tag
:abandoned
,
'Abandoned'
=
label
=
check_box_tag
:abandoned
,
1
,
params
[
:abandoned
]
.form-group
=
label_tag
:with_push
,
'Not empty'
,
class:
'control-label'
%span
.light
No activity over 6 month
.col-sm-10
=
check_box_tag
:with_push
,
1
,
params
[
:with_push
]
%span
.light
Projects with push events
.form-group
=
label_tag
:abandoned
,
'Abandoned'
,
class:
'control-label'
.col-sm-10
=
check_box_tag
:abandoned
,
1
,
params
[
:abandoned
]
%span
.light
No activity over 6 month
%fieldset
%strong
Visibility level:
.visibility-levels
-
Project
.
visibility_levels
.
each
do
|
label
,
level
|
.checkbox
%label
=
check_box_tag
'visibility_levels[]'
,
level
,
params
[
:visibility_levels
].
present?
&&
params
[
:visibility_levels
].
include?
(
level
.
to_s
)
%span
.descr
=
visibility_level_icon
(
level
)
=
label
.form-actions
.form-actions
=
submit_tag
"Search"
,
class:
"btn submit btn-primary"
=
submit_tag
"Search"
,
class:
"btn submit btn-primary"
=
link_to
"Reset"
,
admin_projects_path
,
class:
"btn"
=
link_to
"Reset"
,
admin_projects_path
,
class:
"btn"
.col-md-8
.col-md-8
.ui-box
.ui-box
.title
.title
...
...
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