[openstreetmap/openstreetmap-website] Facelift `offline.html` and use Bootstrap classes for "notifications" under the search bar (PR #3907)

Dimitar notifications at github.com
Sun Jan 22 10:47:39 UTC 2023


This PR makes the following changes:
- Notices, warnings and error messages which appear under the search bar will use Bootstrap's classes (instead of the custom `flash` classes)
- The `offline.html` page gets a facelift (red background around the message)
- The `edit.html` page also gets facelift although I wasn't able to test it since it redirects me to `/offline/`.

Note that `alert-success` uses `#D4EDDA` while `flash flash-notice` uses `#CBEEA7` for background colour. It w

![image](https://user-images.githubusercontent.com/19364673/213911897-603f6b9e-2bba-432a-8132-592c0395525a.png)
![image](https://user-images.githubusercontent.com/19364673/213911457-1b014961-d49e-4ee8-a6d3-a03f7510c65e.png)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3907

-- Commit Summary --

  * Update offline.html.erb
  * Update edit.html.erb
  * Update _flash.html.erb
  * Update _flash.html.erb

-- File Changes --

    M app/views/layouts/_flash.html.erb (6)
    M app/views/site/edit.html.erb (4)
    M app/views/site/offline.html.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3907.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3907.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3907
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3907 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230122/c3bfeda6/attachment.htm>


More information about the rails-dev mailing list