diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-21 00:47:09 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-21 00:47:09 +0400 |
commit | 9a2a8612769d472503b367fa35e99f6fb2876704 (patch) | |
tree | 26cdb4e66b5e664fe4bcd57d011c54c9c9c26ded /app/views/profile/design.html.haml | |
parent | 2f7b67161952fc9ab322eba6878511b5f2dd5cf1 (diff) |
Design tab for profile. Colorscheme as db valuev2.0.0
Diffstat (limited to 'app/views/profile/design.html.haml')
-rw-r--r-- | app/views/profile/design.html.haml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/profile/design.html.haml b/app/views/profile/design.html.haml new file mode 100644 index 00000000000..4a0f758d31f --- /dev/null +++ b/app/views/profile/design.html.haml @@ -0,0 +1,22 @@ +.ui-box.width-100p + %h3 Design + = form_for @user, :url => profile_update_path, :method => :put do |f| + .data + .left.dark_scheme_box + %label{:for => "user_dark_scheme_false"} + = image_tag "white.png", :width => 310, :height => 212 + %center + %h4 + = f.radio_button :dark_scheme, false + White code preview + .right.dark_scheme_box + %label{:for => "user_dark_scheme_true"} + = image_tag "dark.png", :width => 310, :height => 212 + %center + %h4 + = f.radio_button :dark_scheme, true + Dark code preview + .clear + .buttons + = f.submit 'Save', :class => "grey-button" + |