18 lines
426 B
Python
18 lines
426 B
Python
__author__ = 'RemiZOffAlex'
|
|
__email__ = 'remizoffalex@mail.ru'
|
|
|
|
import npyscreen
|
|
|
|
|
|
class NetworkView(npyscreen.ActionForm):
|
|
def create(self):
|
|
self.ip = self.add(npyscreen.TitleText, name = "IP:",)
|
|
self.mask = self.add(npyscreen.TitleText, name = "Netmask:",)
|
|
self.gateway = self.add(npyscreen.TitleText, name = "Gateway:",)
|
|
|
|
def on_cancel(self):
|
|
pass
|
|
|
|
def on_ok(self):
|
|
pass
|