diff options
author | Sytse Sijbrandij <sytse@gitlab.com> | 2015-02-12 12:09:38 -0800 |
---|---|---|
committer | Sytse Sijbrandij <sytse@gitlab.com> | 2015-02-12 12:09:38 -0800 |
commit | e629c45d88390b0982201362119d24f2337530a3 (patch) | |
tree | f8de25407c049455c2cf2258134f88092e245b83 | |
parent | d899bc914f07ce47b5962563467790c25ba52c89 (diff) | |
parent | cab72628ff4a993e4e351e34e9bd0e159b8436ba (diff) | |
download | gitlab-ce-e629c45d88390b0982201362119d24f2337530a3.tar.gz |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
-rw-r--r-- | app/helpers/labels_helper.rb | 19 | ||||
-rw-r--r-- | app/views/projects/labels/_form.html.haml | 2 |
2 files changed, 17 insertions, 4 deletions
diff --git a/app/helpers/labels_helper.rb b/app/helpers/labels_helper.rb index add0fef512e..49063491abf 100644 --- a/app/helpers/labels_helper.rb +++ b/app/helpers/labels_helper.rb @@ -14,14 +14,27 @@ module LabelsHelper def suggested_colors [ - '#D9534F', - '#F0AD4E', + '#0033CC', '#428BCA', + '#44AD8E', + '#A8D695', '#5CB85C', + '#69D100', + '#004E00', '#34495E', '#7F8C8D', + '#A295D6', + '#5843AD', '#8E44AD', - '#FFECDB' + '#FFECDB', + '#AD4363', + '#D10069', + '#CC0033', + '#FF0000', + '#D9534F', + '#D1D100', + '#F0AD4E', + '#AD8D43' ] end diff --git a/app/views/projects/labels/_form.html.haml b/app/views/projects/labels/_form.html.haml index 72a01e1c271..c7380920b47 100644 --- a/app/views/projects/labels/_form.html.haml +++ b/app/views/projects/labels/_form.html.haml @@ -16,7 +16,7 @@ .col-sm-10 .input-group .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 6 character hex values starting with a # sign. %br |