gitlabhq/app/views/profiles/design.html.haml

53 lines
1.1 KiB
Text
Raw Normal View History

= form_for @user, url: profile_path, remote: true, method: :put do |f|
%fieldset.application-theme
%legend
Application theme
.update-feedback.hide
%i.icon-ok
Saved
.themes_opts
= label_tag do
2012-11-21 05:14:05 +01:00
.prev.default
2012-04-10 07:51:08 +02:00
= f.radio_button :theme_id, 1
Default
2012-03-01 20:23:50 +01:00
= label_tag do
2012-11-21 05:14:05 +01:00
.prev.classic
2012-04-10 07:51:08 +02:00
= f.radio_button :theme_id, 2
Classic
= label_tag do
2012-11-21 05:14:05 +01:00
.prev.modern
= f.radio_button :theme_id, 3
Modern
2012-11-21 05:14:05 +01:00
= label_tag do
.prev.gray
= f.radio_button :theme_id, 4
SlateGray
= label_tag do
.prev.violet
= f.radio_button :theme_id, 5
Violet
2012-04-10 07:51:08 +02:00
%br
.clearfix
%fieldset.code-preview-theme
%legend
Code preview theme
.update-feedback.hide
%i.icon-ok
Saved
2012-11-21 05:14:05 +01:00
.code_highlight_opts
2012-11-21 06:14:05 +01:00
= label_tag do
.prev
= image_tag "white.png"
= f.radio_button :dark_scheme, false
White code preview
= label_tag do
.prev
= image_tag "dark.png"
= f.radio_button :dark_scheme, true
Dark code preview