add custom css to config screen

This commit is contained in:
wvengen 2014-09-02 14:15:34 +02:00
parent cf680d3410
commit 1a3b690757
3 changed files with 5 additions and 0 deletions

View file

@ -1,4 +1,5 @@
= config_input form, :page_footer, as: :text, input_html: {class: 'input-xxlarge', rows: 2, placeholder: "#{link_to(FoodsoftConfig[:name], FoodsoftConfig[:homepage])}"} = config_input form, :page_footer, as: :text, input_html: {class: 'input-xxlarge', rows: 2, placeholder: "#{link_to(FoodsoftConfig[:name], FoodsoftConfig[:homepage])}"}
= config_input form, :custom_css, as: :text, input_html: {class: 'input-xxlarge', rows: 3}
%h4= t '.pdf_title' %h4= t '.pdf_title'
.fold-line .fold-line

View file

@ -452,6 +452,7 @@ en:
street: Address, typically this will be your delivery and pick-up location. street: Address, typically this will be your delivery and pick-up location.
currency_unit: Currency symbol for displaying prices. currency_unit: Currency symbol for displaying prices.
currency_space: Whether to add whitespace after the currency symbol. currency_space: Whether to add whitespace after the currency symbol.
custom_css: To modify the layout of this site, you can enter style modifications using the cascading stylesheets (CSS) language. Leave blank for the default style.
homepage: Website of your foodcoop. homepage: Website of your foodcoop.
help_url: Documentation website. help_url: Documentation website.
applepear_url: Website where the apple and pear system for tasks is explained. applepear_url: Website where the apple and pear system for tasks is explained.
@ -487,6 +488,7 @@ en:
phone: Phone phone: Phone
currency_unit: Currency currency_unit: Currency
currency_space: add space currency_space: add space
custom_css: Custom CSS
homepage: Homepage homepage: Homepage
help_url: Documentation URL help_url: Documentation URL
applepear_url: Apple system URL applepear_url: Apple system URL

View file

@ -433,6 +433,7 @@ nl:
contact: contact:
email: Algemeen contactadres, zowel voor op de website als in formulieren. email: Algemeen contactadres, zowel voor op de website als in formulieren.
street: Adres, meestal is dit het aflever- en ophaaladres. street: Adres, meestal is dit het aflever- en ophaaladres.
custom_css: De layout van deze site kan gewijzigd worden door hier cascading stylesheets (CSS) in te voeren. Laat het leeg voor de standaardstijl.
homepage: Website van de foodcoop. homepage: Website van de foodcoop.
help_url: Documentatie website. help_url: Documentatie website.
applepear_url: Website waar het appelpunten systeem wordt uitgelegd. applepear_url: Website waar het appelpunten systeem wordt uitgelegd.
@ -466,6 +467,7 @@ nl:
country: Land country: Land
email: Email email: Email
phone: Telefoon phone: Telefoon
custom_css: Aangepaste CSS
homepage: Homepage homepage: Homepage
help_url: Documentatie URL help_url: Documentatie URL
applepear_url: Appelsysteem uitleg URL applepear_url: Appelsysteem uitleg URL