Commit cab72628 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'master' into 'master'

Adds new label color suggestions

This adds a bunch of label color suggestions

![labels2](https://gitlab.com/uploads/gitlab-org/gitlab-ce/ac1a207575/labels2.png)
![labels1](https://gitlab.com/uploads/benny/gitlab-ce/d47fbecc16/labels1.png)

See merge request !289
parents c8e5dfef 7606b93c
...@@ -14,14 +14,27 @@ module LabelsHelper ...@@ -14,14 +14,27 @@ module LabelsHelper
def suggested_colors def suggested_colors
[ [
'#D9534F', '#0033CC',
'#F0AD4E',
'#428BCA', '#428BCA',
'#44AD8E',
'#A8D695',
'#5CB85C', '#5CB85C',
'#69D100',
'#004E00',
'#34495E', '#34495E',
'#7F8C8D', '#7F8C8D',
'#A295D6',
'#5843AD',
'#8E44AD', '#8E44AD',
'#FFECDB' '#FFECDB',
'#AD4363',
'#D10069',
'#CC0033',
'#FF0000',
'#D9534F',
'#D1D100',
'#F0AD4E',
'#AD8D43'
] ]
end end
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
.col-sm-10 .col-sm-10
.input-group .input-group
.input-group-addon.label-color-preview   .input-group-addon.label-color-preview  
= f.text_field :color, placeholder: "#AA33EE", class: "form-control" = f.color_field :color, placeholder: "#AA33EE", class: "form-control"
.help-block .help-block
6 character hex values starting with a # sign. 6 character hex values starting with a # sign.
%br %br
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment