operasoftware / dns-ui

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

Default page length? #177

Open firthmj opened 3 years ago

firthmj commented 3 years ago

Is it possible to specify the default page length when viewing zones?

There is a "<< 1 >>" section at the top that looks like it should support multiple pages, but my zone with nearly 500 records in just displays on a single page.

This makes a lot of scrolling to get to the "empty entry" at the bottom.

An alternative may be to have an option to have the new entry boxes at the top of the page rather than the bottom.

thomas-pike commented 2 years ago

I believe it's hardcoded here: https://github.com/operasoftware/dns-ui/blob/5be6deb7ce92ddd17ab9a126bbfc256bc23d8aa1/templates/zone.php#L40 it should be very easy to edit, though there is no configuration setting for it.