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
Kazuhiko Shiozaki
gitlab-ce
Commits
62067c5b
Commit
62067c5b
authored
Mar 04, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align projects sort checkbox
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
619321dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+19
-0
app/views/shared/projects/_dropdown.html.haml
app/views/shared/projects/_dropdown.html.haml
+3
-1
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
62067c5b
...
@@ -100,3 +100,22 @@
...
@@ -100,3 +100,22 @@
font-size
:
13px
;
font-size
:
13px
;
line-height
:
22px
;
line-height
:
22px
;
}
}
.dropdown-with-checkmark
{
li
>
.legend
{
font-size
:
13px
;
color
:
$secondary-text
;
margin-bottom
:
5px
;
}
li
>
a
{
padding-left
:
20px
;
line-height
:
28px
;
i
{
position
:
absolute
;
left
:
1px
;
line-height
:
28px
;
}
}
}
app/views/shared/projects/_dropdown.html.haml
View file @
62067c5b
...
@@ -5,7 +5,9 @@
...
@@ -5,7 +5,9 @@
%span
.light
%span
.light
=
projects_sort_options_hash
[
@sort
]
=
projects_sort_options_hash
[
@sort
]
%b
.caret
%b
.caret
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right.dropdown-with-checkmark
%li
.legend
Sort by
-
projects_sort_options_hash
.
each
do
|
value
,
title
|
-
projects_sort_options_hash
.
each
do
|
value
,
title
|
%li
%li
=
link_to
filter_projects_path
(
sort:
value
,
archived:
archived
)
do
=
link_to
filter_projects_path
(
sort:
value
,
archived:
archived
)
do
...
...
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