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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-06 21:37:40 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-06 21:37:40 +0300
commit6ee158197dc97924ab6f53ce6075cb3a8b9786ce (patch)
treee9d1442bb683e2793161244a6eae6356136e150d /app/views
parent7b567597eef25ca3af8af63a71bcc4dfefc2a694 (diff)
Add previews in preferences
Diffstat (limited to 'app/views')
-rw-r--r--app/views/profiles/preferences/show.html.haml11
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