From d075cdd0034559d378b118c578f650397912111e Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Mon, 15 Jan 2024 10:11:20 +0100 Subject: forms: Remove netiface from client's form Remove netiface selectable in clientsDetails form. eth{0,1,2} is misleading, it does not represent the real device in the client. And users we know always boot from the first device. Hide this feature until there is a better design for this. --- ogcp/forms/action_forms.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ogcp/forms/action_forms.py') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index ed9825a..3c53d0c 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -123,10 +123,6 @@ class ClientDetailsForm(FlaskForm): choices=[('ogLive', 'Default'),]) remote = BooleanField(label=_l('Remote')) maintenance = BooleanField(label=_l('Maintenance')) - netiface = SelectField(label=_l('Interface'), - choices=[('eth0', 'eth0'), - ('eth1', 'eth1'), - ('eth2', 'eth2')]) repo = SelectField(label=_l('Repository')) room = SelectField(label=_l('Room')) folder_id = HiddenField() -- cgit v1.2.3-18-g5258