Commit graph

15 commits

Author SHA1 Message Date
Timothy Andrew
1f713d52d7 Render gon data in the page body, not head
- Turbolinks caches the `head`, so `gon` updates don't show up unless
  the user navigates to page directly (by URL) or performs a refresh.
- The solution is to render `gon` in the body instead.
- Also update the syntax to the new Rails 4 (according to the gon
  README) syntax.
2016-06-06 12:50:31 +05:30
Douwe Maan
1dd7c97886 Fix background and padding of login and error pages 2015-12-03 18:51:44 +01:00
Robert Speicher
8112f7550b Add PreferencesHelper module
Consolidates the helpers related to user preferences.

Renames `app_theme` to `user_application_theme` to better explain what
it is.
2015-06-13 17:58:16 -04:00
Dmitriy Zaporozhets
e7e07fab5d
Refactor header views
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-01 17:09:30 +02:00
Dmitriy Zaporozhets
46e3d13eac
More fixes to header css
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-01 16:36:26 +02:00
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Dmitriy Zaporozhets
878e86bf64 Remove unnecessary theme_type from body class 2015-02-24 23:26:32 -08:00
Drew Blessing
f06f69b9da Add theme type css class 2014-12-15 13:21:26 -06:00
Dmitriy Zaporozhets
20d6f96928
Improve flash messages
* dont fadeout so user can read
* show inside content block so user can notice it

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-25 18:00:21 +03:00
Dmitriy Zaporozhets
8307704c2d
Improve error page layout
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-24 15:57:38 +03:00
Ciro Santilli
83f4735b57 Replace HTML5 obsolete center element with CSS.
Fix #6901. Would generate invalid HTML5.
2014-06-21 09:43:00 +02:00
Dmitriy Zaporozhets
efa2676021 Render readme file in public project#show 2013-07-29 16:50:00 +03:00
Dmitriy Zaporozhets
54d95f5897 Restyle flash message. Not it does not overflow head panel 2013-02-28 11:06:52 +02:00
Dmitriy Zaporozhets
c873cf81f6 Restyled error messages in common way. Added title to head partial 2012-11-28 19:40:54 +02:00
Cyril
bdf317addc layout selected by controller name 2012-09-26 22:27:44 +02:00
Renamed from app/views/layouts/error.html.haml (Browse further)