Gui improvements and ideas
This commit is contained in:
parent
3f4c7d17bf
commit
2ae0b55e42
54 changed files with 639 additions and 237 deletions
|
|
@ -33,7 +33,7 @@ module A11yist
|
|||
# These settings can be overridden in specific environments using the files
|
||||
# in config/environments, which are processed later.
|
||||
#
|
||||
# config.time_zone = "Central Time (US & Canada)"
|
||||
config.time_zone = "Europe/Zurich"
|
||||
# config.eager_load_paths << Rails.root.join("extras")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -92,6 +92,8 @@ Rails.application.configure do
|
|||
# "example.com", # Allow requests from example.com
|
||||
# /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
|
||||
# ]
|
||||
config.hosts = ENV.fetch('APP_HOSTS', '').split(',')
|
||||
# Skip DNS rebinding protection for the default health check endpoint.
|
||||
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
|
||||
config.active_record.sqlite3_production_warning=false
|
||||
end
|
||||
|
|
|
|||
18
config/initializers/action_text.rb
Normal file
18
config/initializers/action_text.rb
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
ActionText::ContentHelper.allowed_attributes ||= []
|
||||
ActionText::ContentHelper.allowed_attributes += [
|
||||
"target", # We set target="_blank" on external links
|
||||
"abbr",
|
||||
"alt",
|
||||
"cite",
|
||||
"class",
|
||||
"datetime",
|
||||
"height",
|
||||
"href",
|
||||
"lang",
|
||||
"name",
|
||||
"src",
|
||||
"title",
|
||||
"width",
|
||||
"xml:lang",
|
||||
]
|
||||
ActionText::ContentHelper.allowed_attributes += ActionText::Attachment::ATTRIBUTES
|
||||
|
|
@ -10,4 +10,4 @@ Rails.application.config.assets.paths << Rails.root.join('node_modules/bootstrap
|
|||
# Precompile additional assets.
|
||||
# application.js, application.css, and all non-JS/CSS in the app/assets
|
||||
# folder are already added.
|
||||
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
||||
Rails.application.config.assets.precompile += %w( actiontext.css )
|
||||
|
|
|
|||
2
config/initializers/mime_types.rb
Normal file
2
config/initializers/mime_types.rb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Add this line to config/initializers/mime_types.rb in your Rails application
|
||||
Mime::Type.register "application/vnd.openxmlformats-officedocument.wordprocessingml.document", :docx
|
||||
|
|
@ -1,18 +1,42 @@
|
|||
de-CH:
|
||||
activerecord:
|
||||
attributes:
|
||||
success_criterion:
|
||||
title: Titel
|
||||
description_html: Richtline
|
||||
comment_html: Testkommentar
|
||||
level: Stufe
|
||||
result: Testergebnis
|
||||
results/passed: Bestanden
|
||||
results/failed: Nicht bestanden
|
||||
results/not_applicable: Nicht anwendbar
|
||||
check:
|
||||
id: ID
|
||||
level: Stufe
|
||||
position: Position
|
||||
success_criterion_html: Erfolgskriterium
|
||||
element:
|
||||
id: ID
|
||||
title: Beschreibung
|
||||
description_html: Details
|
||||
path: Pfad
|
||||
checklists: Checkliste
|
||||
report:
|
||||
name: Bezeichnung
|
||||
comment_html: Projektbeschreibung
|
||||
models:
|
||||
check:
|
||||
one: Check
|
||||
other: Checks
|
||||
checklist_entry:
|
||||
one: Check
|
||||
other: Checks
|
||||
checklist:
|
||||
one: Checkliste
|
||||
other: Checklisten
|
||||
report:
|
||||
one: Prüfbericht
|
||||
other: Prüfberichte
|
||||
success_criterion:
|
||||
one: Erfolgskriterium
|
||||
other: Erfolgskriterien
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue