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
iv
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 @@
...
@@ -6,34 +6,34 @@
%i
.icon-bullhorn
%i
.icon-bullhorn
%span
Your message here
%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?
-
if
@broadcast_message
.
errors
.
any?
.alert.alert-danger
.alert.alert-danger
-
@broadcast_message
.
errors
.
full_messages
.
each
do
|
msg
|
-
@broadcast_message
.
errors
.
full_messages
.
each
do
|
msg
|
%p
=
msg
%p
=
msg
.form-group
.form-group
=
f
.
label
:message
=
f
.
label
:message
,
class:
'control-label'
.col-sm-10
.col-sm-10
=
f
.
text_area
:message
,
class:
"form-control"
,
rows:
2
,
required:
true
=
f
.
text_area
:message
,
class:
"form-control"
,
rows:
2
,
required:
true
%div
%div
=
link_to
'#'
,
class:
'js-toggle-colors-link'
do
=
link_to
'#'
,
class:
'js-toggle-colors-link'
do
Customize colors
Customize colors
.form-group.js-toggle-colors-container.hide
.form-group.js-toggle-colors-container.hide
=
f
.
label
:color
,
"Background Color"
=
f
.
label
:color
,
"Background Color"
,
class:
'control-label'
.col-sm-10
.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.
.light
Hex values as 3 double digit numbers, starting with a # sign.
.form-group.js-toggle-colors-container.hide
.form-group.js-toggle-colors-container.hide
=
f
.
label
:font
,
"Font Color"
=
f
.
label
:font
,
"Font Color"
,
class:
'control-label'
.col-sm-10
.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.
.light
Hex values as 3 double digit numbers, starting with a # sign.
.form-group
.form-group
=
f
.
label
:starts_at
=
f
.
label
:starts_at
,
class:
'control-label'
.col-sm-10.datetime-controls
.col-sm-10.datetime-controls
=
f
.
datetime_select
:starts_at
=
f
.
datetime_select
:starts_at
.form-group
.form-group
=
f
.
label
:ends_at
=
f
.
label
:ends_at
,
class:
'control-label'
.col-sm-10.datetime-controls
.col-sm-10.datetime-controls
=
f
.
datetime_select
:ends_at
=
f
.
datetime_select
:ends_at
.form-actions
.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