BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3a602c84
Commit
3a602c84
authored
Mar 24, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9007 from atomaka/atomaka/feature/broadcast-message-colors
Complete transition to using color_field for selecting colors
parents
fc4af9b1
83b5a9ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
index.html.haml
app/views/admin/broadcast_messages/index.html.haml
+2
-4
_form.html.haml
app/views/projects/labels/_form.html.haml
+2
-2
No files found.
app/views/admin/broadcast_messages/index.html.haml
View file @
3a602c84
...
...
@@ -21,13 +21,11 @@
.form-group.js-toggle-colors-container.hide
=
f
.
label
:color
,
"Background Color"
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:color
,
placeholder:
"#AA33EE"
,
class:
"form-control"
.light
6 character hex values starting with a # sign.
=
f
.
color_field
:color
,
value:
"#AA33EE"
,
class:
"form-control"
.form-group.js-toggle-colors-container.hide
=
f
.
label
:font
,
"Font Color"
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:font
,
placeholder:
"#224466"
,
class:
"form-control"
.light
6 character hex values starting with a # sign.
=
f
.
color_field
:font
,
value:
"#224466"
,
class:
"form-control"
.form-group
=
f
.
label
:starts_at
,
class:
'control-label'
.col-sm-10.datetime-controls
...
...
app/views/projects/labels/_form.html.haml
View file @
3a602c84
...
...
@@ -16,9 +16,9 @@
.col-sm-10
.input-group
.input-group-addon.label-color-preview
=
f
.
color_field
:color
,
placeholder
:
"#AA33EE"
,
class:
"form-control"
=
f
.
color_field
:color
,
value
:
"#AA33EE"
,
class:
"form-control"
.help-block
6 character hex values starting with a # sign
.
Choose any color
.
%br
Or you can choose one of suggested colors below
...
...
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