Welcome to mirror list, hosted at ThFree Co, Russian Federation.

design.html.haml « profile « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4a0f758d31f6ca27117f9793ba3c84220d947895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"