- Timestamp:
- Mar 24, 2020 2:46:13 PM (5 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testmanager/webui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminschedgroup.py
r83364 r83385 86 86 oForm.addListOfSchedGroupMembers(SchedGroupDataEx.ksParam_aoMembers, 87 87 oData.aoMembers, self._aoAllRelevantTestGroups, 'Test groups', 88 fReadOnly = self._sMode == WuiFormContentBase.ksMode_Show);88 oData.idSchedGroup, fReadOnly = self._sMode == WuiFormContentBase.ksMode_Show); 89 89 90 90 oForm.addListOfSchedGroupBoxes(SchedGroupDataEx.ksParam_aoTestBoxes, 91 91 oData.aoTestBoxes, self._aoAllRelevantTestBoxes, 'Test boxes', 92 fReadOnly = self._sMode == WuiFormContentBase.ksMode_Show);92 oData.idSchedGroup, fReadOnly = self._sMode == WuiFormContentBase.ksMode_Show); 93 93 94 94 oForm.addMultilineText(SchedGroupData.ksParam_sComment, oData.sComment, 'Comment'); -
trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestbox.py
r82968 r83385 111 111 oData.aoInSchedGroups, 112 112 SchedGroupLogic(TMDatabaseConnection()).fetchOrderedByName(), 113 'Scheduling Group' );113 'Scheduling Group', oData.idTestBox); 114 114 # Command, comment and submit button. 115 115 if self._sMode == WuiFormContentBase.ksMode_Edit: -
trunk/src/VBox/ValidationKit/testmanager/webui/wuihlpform.py
r83364 r83385 765 765 766 766 def addListOfSchedGroupMembers(self, sName, aoSchedGroupMembers, aoAllRelevantTestGroups, # pylint: disable=too-many-locals 767 sLabel, fReadOnly = True):767 sLabel, idSchedGroup, fReadOnly = True): 768 768 """ 769 769 For WuiAdminSchedGroup. … … 821 821 % ( 'tmodd' if iTestGroup & 1 else 'tmeven', 822 822 sPrefix, SchedGroupMemberData.ksParam_idTestGroup, oTestGroup.idTestGroup, 823 sPrefix, SchedGroupMemberData.ksParam_idSchedGroup, -1 if oMember is None else oMember.idSchedGroup,823 sPrefix, SchedGroupMemberData.ksParam_idSchedGroup, idSchedGroup, 824 824 sPrefix, SchedGroupMemberData.ksParam_tsExpire, '' if oMember is None else oMember.tsExpire, 825 825 sPrefix, SchedGroupMemberData.ksParam_tsEffective, '' if oMember is None else oMember.tsEffective, … … 863 863 u'</table>\n'); 864 864 865 def addListOfSchedGroupBoxes(self, sName, aoSchedGroupBoxes, aoAllRelevantTestBoxes, # pylint: disable=too-many-locals866 sLabel, fReadOnly = True): # (str, list[TestBoxDataEx], list[TestBoxDataEx], str, bool) -> str865 def addListOfSchedGroupBoxes(self, sName, aoSchedGroupBoxes, aoAllRelevantTestBoxes, sLabel, # pylint: disable=too-many-locals 866 idSchedGroup, fReadOnly = True): # (str, list[TestBoxDataEx], list[TestBoxDataEx], str, bool) -> str 867 867 """ 868 868 For WuiAdminSchedGroup. … … 918 918 % ( 'tmodd' if iTestBox & 1 else 'tmeven', 919 919 sPrefix, TestBoxDataForSchedGroup.ksParam_idTestBox, oTestBox.idTestBox, 920 sPrefix, TestBoxDataForSchedGroup.ksParam_idSchedGroup, -1 if oMember is None else oMember.idSchedGroup,920 sPrefix, TestBoxDataForSchedGroup.ksParam_idSchedGroup, idSchedGroup, 921 921 sPrefix, TestBoxDataForSchedGroup.ksParam_tsExpire, '' if oMember is None else oMember.tsExpire, 922 922 sPrefix, TestBoxDataForSchedGroup.ksParam_tsEffective, '' if oMember is None else oMember.tsEffective, … … 940 940 941 941 def addListOfSchedGroupsForTestBox(self, sName, aoInSchedGroups, aoAllSchedGroups, sLabel, # pylint: disable=too-many-locals 942 fReadOnly = None):942 idTestBox, fReadOnly = None): 943 943 # type: (str, TestBoxInSchedGroupDataEx, SchedGroupData, str, bool) -> str 944 944 """ … … 1004 1004 u' </td>\n' 1005 1005 % ( 'tmodd' if iSchedGroup & 1 else 'tmeven', 1006 sPrefix, TestBoxInSchedGroupData.ksParam_idSchedGroup, 1007 sPrefix, TestBoxInSchedGroupData.ksParam_idTestBox, -1 if oMember is None else oMember.idTestBox,1006 sPrefix, TestBoxInSchedGroupData.ksParam_idSchedGroup, oSchedGroup.idSchedGroup, 1007 sPrefix, TestBoxInSchedGroupData.ksParam_idTestBox, idTestBox, 1008 1008 sPrefix, TestBoxInSchedGroupData.ksParam_tsExpire, '' if oMember is None else oMember.tsExpire, 1009 1009 sPrefix, TestBoxInSchedGroupData.ksParam_tsEffective, '' if oMember is None else oMember.tsEffective,
Note:
See TracChangeset
for help on using the changeset viewer.