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
5571b735
Commit
5571b735
authored
9 years ago
by
Darby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the color of admin/application_settings buttons
parent
d2de219f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
app/assets/stylesheets/pages/admin.scss
app/assets/stylesheets/pages/admin.scss
+13
-0
app/views/admin/application_settings/_form.html.haml
app/views/admin/application_settings/_form.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/admin.scss
View file @
5571b735
...
@@ -61,3 +61,16 @@
...
@@ -61,3 +61,16 @@
@extend
.broadcast-message
;
@extend
.broadcast-message
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.btn-visibility
{
.btn-primary
{
color
:
black
;
background-color
:
white
;
border-color
:
black
;
}
.btn-primary.active
{
color
:
black
;
background-color
:
#d3d3d3
;
border-color
:
black
;
}
}
This diff is collapsed.
Click to expand it.
app/views/admin/application_settings/_form.html.haml
View file @
5571b735
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
=
f
.
label
:restricted_visibility_levels
,
class:
'control-label col-sm-2'
=
f
.
label
:restricted_visibility_levels
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
-
data_attrs
=
{
toggle:
'buttons'
}
-
data_attrs
=
{
toggle:
'buttons'
}
.btn-group
{
data:
data_attrs
}
.btn-group
.btn-visibility
{
data:
data_attrs
}
-
restricted_level_checkboxes
(
'restricted-visibility-help'
).
each
do
|
level
|
-
restricted_level_checkboxes
(
'restricted-visibility-help'
).
each
do
|
level
|
=
level
=
level
%span
.help-block
#restricted-visibility-help
Selected levels cannot be used by non-admin users for projects or snippets
%span
.help-block
#restricted-visibility-help
Selected levels cannot be used by non-admin users for projects or snippets
...
...
This diff is collapsed.
Click to expand it.
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