2012-12-02 11:29:24 +00:00
|
|
|
= form_for @user, url: profile_path, remote: true, method: :put do |f|
|
2012-11-21 20:01:40 +00:00
|
|
|
%fieldset.application-theme
|
|
|
|
%legend
|
|
|
|
Application theme
|
|
|
|
.update-feedback.hide
|
|
|
|
%i.icon-ok
|
|
|
|
Saved
|
2012-08-13 05:52:10 +00:00
|
|
|
.themes_opts
|
2012-06-03 22:37:27 +00:00
|
|
|
= label_tag do
|
2012-11-21 04:14:05 +00:00
|
|
|
.prev.default
|
2012-04-10 05:51:08 +00:00
|
|
|
= f.radio_button :theme_id, 1
|
|
|
|
Default
|
2012-03-01 19:23:50 +00:00
|
|
|
|
2012-06-03 22:37:27 +00:00
|
|
|
= label_tag do
|
2012-11-21 04:14:05 +00:00
|
|
|
.prev.classic
|
2012-04-10 05:51:08 +00:00
|
|
|
= f.radio_button :theme_id, 2
|
|
|
|
Classic
|
2012-06-11 17:52:32 +00:00
|
|
|
|
|
|
|
= label_tag do
|
2012-11-21 04:14:05 +00:00
|
|
|
.prev.modern
|
2012-06-11 17:52:32 +00:00
|
|
|
= f.radio_button :theme_id, 3
|
|
|
|
Modern
|
2012-11-21 04:14:05 +00: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 05:51:08 +00:00
|
|
|
%br
|
2012-08-13 05:52:10 +00:00
|
|
|
.clearfix
|
|
|
|
|
2012-11-21 20:01:40 +00:00
|
|
|
%fieldset.code-preview-theme
|
|
|
|
%legend
|
|
|
|
Code preview theme
|
|
|
|
.update-feedback.hide
|
|
|
|
%i.icon-ok
|
|
|
|
Saved
|
2012-11-21 04:14:05 +00:00
|
|
|
.code_highlight_opts
|
2012-11-21 05:14:05 +00:00
|
|
|
= label_tag do
|
|
|
|
.prev
|
|
|
|
= image_tag "white.png"
|
2013-03-15 13:09:34 +00:00
|
|
|
= f.radio_button :color_scheme_id, 1
|
2013-03-15 13:14:56 +00:00
|
|
|
White
|
2012-11-21 05:14:05 +00:00
|
|
|
= label_tag do
|
|
|
|
.prev
|
|
|
|
= image_tag "dark.png"
|
2013-03-15 13:09:34 +00:00
|
|
|
= f.radio_button :color_scheme_id, 2
|
2013-03-15 13:14:56 +00:00
|
|
|
Dark
|
2013-03-15 13:09:34 +00:00
|
|
|
= label_tag do
|
|
|
|
.prev
|
2013-03-15 13:14:56 +00:00
|
|
|
= image_tag "solarized_dark.png"
|
2013-03-15 13:09:34 +00:00
|
|
|
= f.radio_button :color_scheme_id, 3
|
2013-03-15 13:14:56 +00:00
|
|
|
Solarized Dark
|
2013-04-23 20:30:50 +00:00
|
|
|
= label_tag do
|
|
|
|
.prev
|
|
|
|
= image_tag "monokai.png"
|
|
|
|
= f.radio_button :color_scheme_id, 4
|
|
|
|
Monokai
|