alerta / angular-alerta-webui

Alerta Web UI 6.0 (DEPRECATED) - See latest version Web UI 7.0
https://github.com/alerta/alerta-webui
MIT License
69 stars 52 forks source link

Support retreiving a custom CSS file #187

Closed nogweii closed 5 years ago

nogweii commented 5 years ago

Related to #186, I'm adding some CSS tweaks for our internal dashboard. Since we primarily have Alerta displayed on a wall, it's mostly about increasing font size and padding dramatically to make it a better "10-foot interface". Right now, I'm using this nginx configuration to intercept app.css:

   location =/css/app.css {
       alias /opt/alerta/custom.css;
   }

Which works, but it'd feel a little better if I could specify a URL in alerta's python configuration file, passed via the call to /config and injected by the webui. That feels more "natural", for some nebulous definition.

satterly commented 5 years ago

I'll add this to the backlog for the next version of the web UI.