operasoftware / dns-ui

Opera's LDAP-authenticated PowerDNS user interface
Apache License 2.0
283 stars 57 forks source link

Make header text configurable #151

Closed uedvt359 closed 5 years ago

uedvt359 commented 5 years ago

Hi! We're using the DNS-UI at work and have made a few improvements/changes that we'd like to bring back upstream. This is the first of three pull requests, but all of them are independent from one another and should apply on top of master cleanly in any order.

We're happy to make any changes suggested in order to get our patches merged. Any feedback is welcome!

Commit Message

This is useful for example to differentiate preproduction from production servers or servers managing different databases. This is a logical extension of the already configurable logo and footer text.

Notes

I've made it so that when the newly introduced configuration option [web]header does not exist in the existing user config.ini, it will fall back to use the previous value of "DNS management". This change is important to us to differentiate preproduction from production environments at a glance.