Fiddling with the dnsmasq/odhcpd specific settings is (at least in my
experience) a much less common operation than wanting to see/change
leases and their configuration, so reorder the tabs to show leases first
and dnsmasq/odhcpd tabs second/third.
Signed-off-by: David Härdeman <david@hardeman.nu>
m = new form.Map('dhcp', _('DHCP'));
m.tabbed = true;
+ this.add_leases_cfg(m, hosts, duids, pools, macdata);
+
if (L.hasSystemFeature('dnsmasq'))
this.add_dnsmasq_cfg(m, networks);
if (L.hasSystemFeature('odhcpd'))
this.add_odhcpd_cfg(m);
- this.add_leases_cfg(m, hosts, duids, pools, macdata);
-
return m.render().then(function(mapEl) {
poll.add(function() {
return callDHCPLeases().then(function(leaseinfo) {