846f831774
This commit adds consistency to small things like periods, commas, etc. Also gives additional information to buttons and headers. Fixes #2002, #2005, #2003
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
%h3.page-title
|
|
Design Settings
|
|
%p.light
|
|
Appearance settings will be saved to your profile and made available across all devices.
|
|
%hr
|
|
|
|
= form_for @user, url: profile_path, remote: true, method: :put do |f|
|
|
%fieldset.application-theme
|
|
%legend
|
|
Application theme
|
|
.themes_opts
|
|
= label_tag do
|
|
.prev.default
|
|
= f.radio_button :theme_id, 1
|
|
Default
|
|
|
|
= label_tag do
|
|
.prev.classic
|
|
= f.radio_button :theme_id, 2
|
|
Classic
|
|
|
|
= label_tag do
|
|
.prev.modern
|
|
= f.radio_button :theme_id, 3
|
|
Modern
|
|
|
|
= label_tag do
|
|
.prev.gray
|
|
= f.radio_button :theme_id, 4
|
|
Gray
|
|
|
|
= label_tag do
|
|
.prev.violet
|
|
= f.radio_button :theme_id, 5
|
|
Violet
|
|
%br
|
|
.clearfix
|
|
|
|
%fieldset.code-preview-theme
|
|
%legend
|
|
Code preview theme
|
|
.code_highlight_opts
|
|
- color_schemes.each do |color_scheme_id, color_scheme|
|
|
= label_tag do
|
|
.prev
|
|
= image_tag "#{color_scheme}-scheme-preview.png"
|
|
= f.radio_button :color_scheme_id, color_scheme_id
|
|
= color_scheme.gsub(/[-_]+/, ' ').humanize
|