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
172947f3
Commit
172947f3
authored
Apr 25, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated select box to match design
parent
5542c945
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
app/assets/stylesheets/framework/forms.scss
app/assets/stylesheets/framework/forms.scss
+18
-0
app/views/projects/group_links/index.html.haml
app/views/projects/group_links/index.html.haml
+3
-1
No files found.
app/assets/stylesheets/framework/forms.scss
View file @
172947f3
...
...
@@ -78,6 +78,24 @@ label {
border-radius
:
3px
;
}
.select-wrapper
{
position
:
relative
;
.caret
{
position
:
absolute
;
right
:
10px
;
top
:
$gl-padding
;
color
:
$gray-darkest
;
pointer-events
:
none
;
}
}
.select-control
{
padding-left
:
10px
;
padding-right
:
10px
;
-webkit-appearance
:
none
;
}
.form-control-inline
{
display
:
inline
;
}
...
...
app/views/projects/group_links/index.html.haml
View file @
172947f3
...
...
@@ -14,7 +14,9 @@
=
groups_select_tag
(
:link_group_id
,
skip_group:
@project
.
group
.
try
(
:path
))
.form-group
=
label_tag
:link_group_access
,
"Max access level"
,
class:
"label-light"
=
select_tag
:link_group_access
,
options_for_select
(
ProjectGroupLink
.
access_options
,
ProjectGroupLink
.
default_access
),
class:
"form-control"
.select-wrapper
=
select_tag
:link_group_access
,
options_for_select
(
ProjectGroupLink
.
access_options
,
ProjectGroupLink
.
default_access
),
class:
"form-control select-control"
%span
.caret
=
submit_tag
"Share"
,
class:
"btn btn-create"
.col-sm-12
%hr
...
...
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