Unified · Split
| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | class app.views.EntryPage extends app.View |
| 2 | 2 | @className: '_page' |
| 3 | + @errorClass: '_page-error' | |
| 3 | 4 | |
| 4 | 5 | @events: |
| 5 | 6 | click: 'onClick' |
| @@ -97,6 +98,7 @@ class app.views.EntryPage extends app.View · 91 unmodified lines | ||
| 97 | 98 | onError: => |
| 98 | 99 | @xhr = null |
| 99 | 100 | @render @tmpl('pageLoadError') |
| 101 | + @addClass @constructor.errorClass | |
| 100 | 102 | app.appCache?.update() |
| 101 | 103 | return |
| 102 | 104 | |
| @@ -5,6 +5,8 @@ · 4 unmodified lines | ||
| 5 | 5 | ._page { |
| 6 | 6 | position: relative; |
| 7 | 7 | |
| 8 | + ._page-error { position: static; } | |
| 9 | + | |
| 8 | 10 | > h1 { @extend ._lined-heading; } |
| 9 | 11 | > h1:first-child { margin-top: 0; } |
| 10 | 12 | |