Translate forms and raised theme settings sections
This commit is contained in:
parent
8159d556ab
commit
c50df2f660
|
@ -12,6 +12,7 @@
|
||||||
.card-body
|
.card-body
|
||||||
%h2= t(".general.heading")
|
%h2= t(".general.heading")
|
||||||
%p= t(".general.body")
|
%p= t(".general.body")
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
= f.text_field :background_color, class: 'color', data: { default: 0xF0EDF4 }
|
= f.text_field :background_color, class: 'color', data: { default: 0xF0EDF4 }
|
||||||
|
@ -78,9 +79,9 @@
|
||||||
%p.pt-4.text-muted= t(".colors.text.example")
|
%p.pt-4.text-muted= t(".colors.text.example")
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
%h2 Forms and Inputs
|
%h2= t(".forms.heading")
|
||||||
%p
|
%p= t(".forms.body")
|
||||||
Styles for form inputs, like textfields.
|
|
||||||
.row
|
.row
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
= f.text_field :input_color, class: 'color', data: { default: 0xFFFFFF }
|
= f.text_field :input_color, class: 'color', data: { default: 0xFFFFFF }
|
||||||
|
@ -88,17 +89,17 @@
|
||||||
= f.text_field :input_text, class: 'color', data: { default: 0x000000 }
|
= f.text_field :input_text, class: 'color', data: { default: 0x000000 }
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
%h2 Raised Content
|
%h2= t(".raised.heading")
|
||||||
%p
|
%p= t(".raised.body")
|
||||||
Raised content basically describes all the different boxes and panels you can see across the site.
|
|
||||||
.row
|
.row
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
= f.text_field :raised_background, class: 'color', data: { default: 0xFFFFFF }
|
= f.text_field :raised_background, class: 'color', data: { default: 0xFFFFFF }
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
= f.text_field :raised_accent, class: 'color', data: { default: 0xF7F7F7 }
|
= f.text_field :raised_accent, class: 'color', data: { default: 0xF7F7F7 }
|
||||||
.card-footer
|
.card-footer
|
||||||
%p Some text on top of a accented area on a raised element!
|
%p= t(".raised.accent.example")
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
.pull-left
|
.pull-left
|
||||||
= f.submit t('views.actions.save'), class: 'btn btn-primary'
|
= f.primary
|
||||||
|
|
|
@ -83,6 +83,14 @@ en:
|
||||||
light: "light"
|
light: "light"
|
||||||
text:
|
text:
|
||||||
example: "Some muted text"
|
example: "Some muted text"
|
||||||
|
forms:
|
||||||
|
heading: "Forms and Inputs"
|
||||||
|
body: "Styles for form inputs, like text fields."
|
||||||
|
raised:
|
||||||
|
heading: "Raised Content"
|
||||||
|
body: "Raised content basically describes all the different boxes and panels you can see across the site."
|
||||||
|
accent:
|
||||||
|
example: "Some text on top of a accented area on a raised element!"
|
||||||
user:
|
user:
|
||||||
edit:
|
edit:
|
||||||
title: "Profile Settings"
|
title: "Profile Settings"
|
||||||
|
|
Loading…
Reference in New Issue