search for: actbutton

Displaying 4 results from an estimated 4 matches for "actbutton".

2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...t1.value()): - warn = 1 + if not is_valid_ipv6(self.dns_host1.value()): + warn = 1 if warn == 1: self.screen.setColor("BUTTON", "black", "red") self.screen.setColor("ACTBUTTON", "blue", "white") @@ -244,7 +245,8 @@ class NodeConfigScreen(): warn = 0 if not self.dns_host2.value() is None and not self.dns_host2.value() == "": if not is_valid_ipv4(self.dns_host2.value()): - warn = 1 +...
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...ConfigScreen(): self.reset_screen_colors() def valid_hostname_callback(self): - if not is_valid_hostname(self.net_hostname.value()): - self.screen.setColor("BUTTON", "black", "red") - self.screen.setColor("ACTBUTTON", "blue", "white") - ButtonChoiceWindow(self.screen, "Configuration Check", "Invalid Hostname", buttons = ['Ok']) - self.reset_screen_colors() + if not self.net_hostname.value() == "": + i...
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...if not int(self.ipv6_netdevmask.value()) in range(1,128): + warn = 1 + except: + warn = 1 if warn == 1: self.screen.setColor("BUTTON", "black", "red") self.screen.setColor("ACTBUTTON", "blue", "white") - ButtonChoiceWindow(self.screen, "Network", "Invalid IP Address", buttons = ['Ok']) + ButtonChoiceWindow(self.screen, "Network", "Invalid IPv6 Netmask", buttons = ['Ok'])...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...if not int(self.ipv6_netdevmask.value()) in range(1,128): + warn = 1 + except: + warn = 1 if warn == 1: self.screen.setColor("BUTTON", "black", "red") self.screen.setColor("ACTBUTTON", "blue", "white") - ButtonChoiceWindow(self.screen, "Network", "Invalid IP Address", buttons = ['Ok']) + ButtonChoiceWindow(self.screen, "Network", "Invalid IPv6 Netmask", buttons = ['Ok'])...