1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Mike Perham
ed485e47e4 Make Sidekiq Web UI RTL-friendly (#3381)
* Unminify rickshaw graph CSS so we can maintain it

* Initial BiDi support for the Web UI

BiDi means the web app can serve both LTR and RTL languages at the same time.

1. Bootstrap-RTL overrides Bootstrap 3.3 styles for RTL clients
2. Application CSS was preprocessed thru rtlcss and then hand-trimmed to contain only RTL-specific directives.
3. Dashboard was tweaked to hardcode LTR for footer and polling gadget

* Vendor bootstrap-rtl.css

* Various RTL style fixes, need to flip all pull-* elements

* Upgrade Rickshaw to latest, remove dupe CSS

* Add Arabic language (credit to Milena Novakova)
Add Hebrew placeholder
Added dir attribute to html tag

* changes

* Clean up HTTP header generation, add Content-Language response header

* Use correct locale for hebrew
2017-03-16 13:51:29 -07:00
Mike Perham
83430b434f Don't use shared mutable constants for headers, fixes #3169. 2016-09-29 13:24:49 -07:00
cconstantine
ba3037d63e Freeze shared header object in rack response so the current response's rack headers don't show up in the next request. 2016-09-16 16:38:58 -07:00
Mike Perham
ad350433a8 Add no-cache to JSON response headers, fixes #3136
Also, remove a bunch of freeze noise and unnecessary constants.
2016-09-14 10:15:28 -07:00
Mike Perham
1c05404e82 Disable Rack::ETag caching for all rendered pages, fixes #3127 2016-09-12 11:42:01 -07:00
Mike Perham
de13425b44 Fix Ruby warnings, thanks for the reminder @nateberkopec 2016-08-30 13:29:03 -07:00
Amadeus Folego
921031b5ae Change template rendering engine 2016-07-29 20:14:56 -03:00
Amadeus Folego
cb59b5bcf7 Cache ERB templates 2016-07-29 16:16:57 -03:00
Mike Perham
e8cdbd80b4 Add necessary web infrastructure to support Pro/Ent 2016-07-29 12:09:00 -07:00
Amadeus Folego
d05066dc1a Implement compatibility interface with sinatra 2016-07-29 04:45:19 -03:00
Amadeus Folego
91fd77d44e Minor cleanups and improve extension compatibility 2016-07-27 16:18:52 -03:00