diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-09-06 11:37:40 -0700 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-09-06 11:37:40 -0700 |
commit | 6ee158197dc97924ab6f53ce6075cb3a8b9786ce (patch) | |
tree | e9d1442bb683e2793161244a6eae6356136e150d /app/views/profiles/preferences/show.html.haml | |
parent | 7b567597eef25ca3af8af63a71bcc4dfefc2a694 (diff) | |
download | gitlab-ce-6ee158197dc97924ab6f53ce6075cb3a8b9786ce.tar.gz |
Add previews in preferences
Diffstat (limited to 'app/views/profiles/preferences/show.html.haml')
-rw-r--r-- | app/views/profiles/preferences/show.html.haml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index 9787a567b4d..2b72eeab8d6 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -5,11 +5,18 @@ = form_for @user, url: profile_preferences_path, remote: true, method: :put, html: { class: 'row prepend-top-default js-preferences-form' } do |f| .col-lg-4.application-theme %h4.prepend-top-0 - GitLab theme + GitLab navigation theme + %p Customize the appearance of the application header and navigation sidebar. .col-lg-8.application-theme - Gitlab::Themes.each do |theme| = label_tag do - .preview{ class: theme.css_class } + .preview{ class: theme.name.downcase } + .preview-row + .quadrant.one + .quadrant.two + .preview-row + .quadrant.three + .quadrant.four = f.radio_button :theme_id, theme.id = theme.name |