summaryrefslogtreecommitdiff
path: root/app/views/admin/broadcast_messages
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-31 15:08:42 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-01-13 11:34:19 -0500
commit1c7febc3e38053e8d01cf7a30d3da23b95f30808 (patch)
treed80b433ab16c6381194fdee93d8b60b92c3c13c6 /app/views/admin/broadcast_messages
parent79361b207ed70e1b954ca85c97a86e459e3e3976 (diff)
downloadgitlab-ce-1c7febc3e38053e8d01cf7a30d3da23b95f30808.tar.gz
Style the broadcast message form
Diffstat (limited to 'app/views/admin/broadcast_messages')
-rw-r--r--app/views/admin/broadcast_messages/index.html.haml13
1 files changed, 8 insertions, 5 deletions
diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml
index 5d8250f787f..6e8122a5137 100644
--- a/app/views/admin/broadcast_messages/index.html.haml
+++ b/app/views/admin/broadcast_messages/index.html.haml
@@ -1,10 +1,13 @@
- page_title "Broadcast Messages"
+
%h3.page-title
Broadcast Messages
%p.light
- Broadcast messages are displayed for every user and can be used to notify users about scheduled maintenance, recent upgrades and more.
+ Broadcast messages are displayed for every user and can be used to notify
+ users about scheduled maintenance, recent upgrades and more.
+
.broadcast-message-preview
- %i.fa.fa-bullhorn
+ = icon('bullhorn')
%span Your message here
= form_for [:admin, @broadcast_message], html: { class: 'broadcast-message-form form-horizontal js-requires-input'} do |f|
@@ -21,7 +24,7 @@
.form-group.js-toggle-colors-container.hide
= f.label :color, "Background Color", class: 'control-label'
.col-sm-10
- = f.color_field :color, value: "#eb9532", class: "form-control"
+ = f.color_field :color, value: "#E75E40", class: "form-control"
.form-group.js-toggle-colors-container.hide
= f.label :font, "Font Color", class: 'control-label'
.col-sm-10
@@ -29,11 +32,11 @@
.form-group
= f.label :starts_at, class: 'control-label'
.col-sm-10.datetime-controls
- = f.datetime_select :starts_at
+ = f.datetime_select :starts_at, {}, class: 'form-control form-control-inline'
.form-group
= f.label :ends_at, class: 'control-label'
.col-sm-10.datetime-controls
- = f.datetime_select :ends_at
+ = f.datetime_select :ends_at, {}, class: 'form-control form-control-inline'
.form-actions
= f.submit "Add broadcast message", class: "btn btn-create"