edgi-govdata-archiving / web-monitoring-db

An HTTP API for tracking and annotating changes to a set of web pages.
https://api.monitoring.envirodatagov.org/
GNU General Public License v3.0
17 stars 26 forks source link

Add banner to top of home page based deployment environment #67

Closed Mr0grog closed 7 years ago

Mr0grog commented 7 years ago

It’d be helpful to display some sort of banner on the top of pages on the test/staging site (and maybe in dev, too?) to remind someone that they aren’t looking at the production instance of the app.

For the API, we could potentially include a special key in the JSON object or an x-environment HTTP header (less obvious, but probably a more wise approach).

rdalin82 commented 7 years ago

I am new to the project and would like to try my hand at this issue. Are you looking for something like the below screenshot?

webmonitor-env

Mr0grog commented 7 years ago

@rdalin82 I was thinking:

Otherwise, yeah! It would be lovely if you wanted to work on this :)

Mr0grog commented 7 years ago

Fixed in #72.