* Reapply "[web] Migrate general Pug pages to BS5 (#25937)" This reverts commit c0afd7db2dde6a051043ab3e85a969c1eeb7d6a3. * Fixup layouts in `404` and `closed` pages Oversight from https://github.com/overleaf/internal/pull/25937 * Use `.container-custom-sm` and `.container-custom-md` instead of inconsistent page widths * Copy error-pages.less * Convert error-pages.lss to SCSS * Revert changes to pug files * Nest CSS in `.error-container` so nothing leaks to other pages * Remove `font-family-serif` * Use CSS variables * Remove `padding: 0` from `.full-height`: it breaks the layout in BS5 * Fix error-actions buttons * Revert changes to .container-custom... * Update services/web/app/views/external/planned_maintenance.pug Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com> * Update services/web/app/views/general/closed.pug Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com> --------- Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com> GitOrigin-RevId: 313f04782a72fae7cc66d36f9d6467bad135fd60
24 lines
698 B
Plaintext
24 lines
698 B
Plaintext
extends ../layout/layout-no-js
|
|
|
|
block vars
|
|
- metadata = { title: 'Something went wrong' }
|
|
|
|
block body
|
|
body.full-height
|
|
main.content.content-alt.full-height#main-content
|
|
.container.full-height
|
|
.error-container.full-height
|
|
.error-details
|
|
p.error-status Something went wrong, sorry.
|
|
p.error-description Our staff are probably looking into this, but if it continues, please check our status page at
|
|
|
|
|
|
|
|
a(href="http://" + settings.statusPageUrl) #{settings.statusPageUrl}
|
|
|
|
|
| or contact us at
|
|
|
|
|
a(href="mailto:" + settings.adminEmail) #{settings.adminEmail}
|
|
| .
|
|
p.error-actions
|
|
a.error-btn(href="/") Home
|