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
b4d29d70
Commit
b4d29d70
authored
Jan 04, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twbs3 for broadcase messages page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
0a364762
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
app/views/admin/broadcast_messages/index.html.haml
app/views/admin/broadcast_messages/index.html.haml
+8
-8
No files found.
app/views/admin/broadcast_messages/index.html.haml
View file @
b4d29d70
...
...
@@ -6,34 +6,34 @@
%i
.icon-bullhorn
%span
Your message here
=
form_for
[
:admin
,
@broadcast_message
]
do
|
f
|
=
form_for
[
:admin
,
@broadcast_message
]
,
html:
{
class:
'broadcast-message-form form-horizontal'
}
do
|
f
|
-
if
@broadcast_message
.
errors
.
any?
.alert.alert-danger
-
@broadcast_message
.
errors
.
full_messages
.
each
do
|
msg
|
%p
=
msg
.form-group
=
f
.
label
:message
=
f
.
label
:message
,
class:
'control-label'
.col-sm-10
=
f
.
text_area
:message
,
class:
"form-control"
,
rows:
2
,
required:
true
%div
=
link_to
'#'
,
class:
'js-toggle-colors-link'
do
Customize colors
.form-group.js-toggle-colors-container.hide
=
f
.
label
:color
,
"Background Color"
=
f
.
label
:color
,
"Background Color"
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:color
,
placeholder:
"#AA33EE"
=
f
.
text_field
:color
,
placeholder:
"#AA33EE"
,
class:
"form-control"
.light
Hex values as 3 double digit numbers, starting with a # sign.
.form-group.js-toggle-colors-container.hide
=
f
.
label
:font
,
"Font Color"
=
f
.
label
:font
,
"Font Color"
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:font
,
placeholder:
"#224466"
=
f
.
text_field
:font
,
placeholder:
"#224466"
,
class:
"form-control"
.light
Hex values as 3 double digit numbers, starting with a # sign.
.form-group
=
f
.
label
:starts_at
=
f
.
label
:starts_at
,
class:
'control-label'
.col-sm-10.datetime-controls
=
f
.
datetime_select
:starts_at
.form-group
=
f
.
label
:ends_at
=
f
.
label
:ends_at
,
class:
'control-label'
.col-sm-10.datetime-controls
=
f
.
datetime_select
:ends_at
.form-actions
...
...
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