儲存庫 vbox 的更動 65917
- 時間撮記:
- 2017-3-1 下午05:08:25 (8 年 以前)
- 位置:
- trunk/src/VBox/ValidationKit/testmanager/webui
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmin.py
r65914 r65917 319 319 'Builds', self._sActionUrlBase + self.ksActionBuildList, 320 320 [ 321 [ 'Builds', self._sActionUrlBase + self.ksActionBuildList ],322 [ 'Blacklist', self._sActionUrlBase + self.ksActionBuildBlacklist ],323 [ 'Build sources', self._sActionUrlBase + self.ksActionBuildSrcList ],324 [ 'Build categories', self._sActionUrlBase + self.ksActionBuildCategoryList ],325 [ 'New build', self._sActionUrlBase + self.ksActionBuildAdd ],326 [ 'New blacklisting', self._sActionUrlBase + self.ksActionBuildBlacklistAdd ],327 [ 'New build source', self._sActionUrlBase + self.ksActionBuildSrcAdd ],328 [ 'New build category', self._sActionUrlBase + self.ksActionBuildCategoryAdd ],321 [ 'Builds', self._sActionUrlBase + self.ksActionBuildList, False ], 322 [ 'Blacklist', self._sActionUrlBase + self.ksActionBuildBlacklist, False ], 323 [ 'Build sources', self._sActionUrlBase + self.ksActionBuildSrcList, False ], 324 [ 'Build categories', self._sActionUrlBase + self.ksActionBuildCategoryList, False ], 325 [ 'New build', self._sActionUrlBase + self.ksActionBuildAdd, True ], 326 [ 'New blacklisting', self._sActionUrlBase + self.ksActionBuildBlacklistAdd, True ], 327 [ 'New build source', self._sActionUrlBase + self.ksActionBuildSrcAdd, True ], 328 [ 'New build category', self._sActionUrlBase + self.ksActionBuildCategoryAdd, True ], 329 329 ] 330 330 ], … … 332 332 'Failure Reasons', self._sActionUrlBase + self.ksActionFailureReasonList, 333 333 [ 334 [ 'Failure categories', self._sActionUrlBase + self.ksActionFailureCategoryList ],335 [ 'Failure reasons', self._sActionUrlBase + self.ksActionFailureReasonList ],336 [ 'New failure category', self._sActionUrlBase + self.ksActionFailureCategoryAdd ],337 [ 'New failure reason', self._sActionUrlBase + self.ksActionFailureReasonAdd ],334 [ 'Failure categories', self._sActionUrlBase + self.ksActionFailureCategoryList, False ], 335 [ 'Failure reasons', self._sActionUrlBase + self.ksActionFailureReasonList, False ], 336 [ 'New failure category', self._sActionUrlBase + self.ksActionFailureCategoryAdd, True ], 337 [ 'New failure reason', self._sActionUrlBase + self.ksActionFailureReasonAdd, True ], 338 338 ] 339 339 ], … … 341 341 'System', self._sActionUrlBase + self.ksActionSystemChangelogList, 342 342 [ 343 [ 'Changelog', self._sActionUrlBase + self.ksActionSystemChangelogList ],344 [ 'System log', self._sActionUrlBase + self.ksActionSystemLogList ],345 [ 'User accounts', self._sActionUrlBase + self.ksActionUserList ],346 [ 'New user', self._sActionUrlBase + self.ksActionUserAdd ],343 [ 'Changelog', self._sActionUrlBase + self.ksActionSystemChangelogList, False ], 344 [ 'System log', self._sActionUrlBase + self.ksActionSystemLogList, False ], 345 [ 'User accounts', self._sActionUrlBase + self.ksActionUserList, False ], 346 [ 'New user', self._sActionUrlBase + self.ksActionUserAdd, True ], 347 347 ] 348 348 ], … … 350 350 'Testboxes', self._sActionUrlBase + self.ksActionTestBoxList, 351 351 [ 352 [ 'Testboxes', self._sActionUrlBase + self.ksActionTestBoxList ],353 [ 'Scheduling groups', self._sActionUrlBase + self.ksActionSchedGroupList ],354 [ 'New testbox', self._sActionUrlBase + self.ksActionTestBoxAdd ],355 [ 'New scheduling group', self._sActionUrlBase + self.ksActionSchedGroupAdd ],356 [ 'Regenerate all scheduling queues', self._sActionUrlBase + self.ksActionTestBoxesRegenQueues ],352 [ 'Testboxes', self._sActionUrlBase + self.ksActionTestBoxList, False ], 353 [ 'Scheduling groups', self._sActionUrlBase + self.ksActionSchedGroupList, False ], 354 [ 'New testbox', self._sActionUrlBase + self.ksActionTestBoxAdd, True ], 355 [ 'New scheduling group', self._sActionUrlBase + self.ksActionSchedGroupAdd, True ], 356 [ 'Regenerate all scheduling queues', self._sActionUrlBase + self.ksActionTestBoxesRegenQueues, True ], 357 357 ] 358 358 ], … … 360 360 'Test Config', self._sActionUrlBase + self.ksActionTestGroupList, 361 361 [ 362 [ 'Test cases', self._sActionUrlBase + self.ksActionTestCaseList ],363 [ 'Test groups', self._sActionUrlBase + self.ksActionTestGroupList ],364 [ 'Global resources', self._sActionUrlBase + self.ksActionGlobalRsrcShowAll ],365 [ 'New test case', self._sActionUrlBase + self.ksActionTestCaseAdd ],366 [ 'New test group', self._sActionUrlBase + self.ksActionTestGroupAdd ],367 [ 'New global resource', self._sActionUrlBase + self.ksActionGlobalRsrcShowAdd ],368 [ 'Regenerate all scheduling queues', self._sActionUrlBase + self.ksActionTestCfgRegenQueues ],362 [ 'Test cases', self._sActionUrlBase + self.ksActionTestCaseList, False ], 363 [ 'Test groups', self._sActionUrlBase + self.ksActionTestGroupList, False ], 364 [ 'Global resources', self._sActionUrlBase + self.ksActionGlobalRsrcShowAll, False ], 365 [ 'New test case', self._sActionUrlBase + self.ksActionTestCaseAdd, True ], 366 [ 'New test group', self._sActionUrlBase + self.ksActionTestGroupAdd, True ], 367 [ 'New global resource', self._sActionUrlBase + self.ksActionGlobalRsrcShowAdd, True ], 368 [ 'Regenerate all scheduling queues', self._sActionUrlBase + self.ksActionTestCfgRegenQueues, True ], 369 369 ] 370 370 ], -
trunk/src/VBox/ValidationKit/testmanager/webui/wuibase.py
r65914 r65917 170 170 Generates the two menus, returning them as (sTopMenuItems, sSideMenuItems). 171 171 """ 172 fReadOnly = self.isReadOnlyUser(); 173 172 174 # 173 175 # We use the action to locate the side menu. … … 207 209 for asSubItem in aasSideMenu: 208 210 if asSubItem[1] is not None: 209 if self._isSideMenuMatch(asSubItem[1], sActionParam): 210 sSideMenuItems += '<li class="current_page_item">'; 211 else: 212 sSideMenuItems += '<li>'; 213 sSideMenuItems += '<a href="' + webutils.escapeAttr(asSubItem[1]) + '">' \ 214 + webutils.escapeElem(asSubItem[0]) + '</a></li>\n'; 211 if not asSubItem[2] or not fReadOnly: 212 if self._isSideMenuMatch(asSubItem[1], sActionParam): 213 sSideMenuItems += '<li class="current_page_item">'; 214 else: 215 sSideMenuItems += '<li>'; 216 sSideMenuItems += '<a href="' + webutils.escapeAttr(asSubItem[1]) + '">' \ 217 + webutils.escapeElem(asSubItem[0]) + '</a></li>\n'; 215 218 else: 216 219 sSideMenuItems += '<li class="subheader_item">' + webutils.escapeElem(asSubItem[0]) + '</li>'; -
trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py
r65430 r65917 264 264 [ 265 265 [ 'Grouped by', None ], 266 [ 'Ungrouped', sActUrlBase + self.ksActionResultsUnGrouped + sSheriff ],267 [ 'Sched group', sActUrlBase + self.ksActionResultsGroupedBySchedGroup + sSheriff ],268 [ 'Test group', sActUrlBase + self.ksActionResultsGroupedByTestGroup + sSheriff ],269 [ 'Test case', sActUrlBase + self.ksActionResultsGroupedByTestCase + sSheriff ],270 [ 'Testbox', sActUrlBase + self.ksActionResultsGroupedByTestBox + sSheriff ],271 [ 'OS', sActUrlBase + self.ksActionResultsGroupedByOS + sSheriff ],272 [ 'Architecture', sActUrlBase + self.ksActionResultsGroupedByArch + sSheriff ],273 [ 'Revision', sActUrlBase + self.ksActionResultsGroupedByBuildRev + sSheriff ],274 [ 'Build category', sActUrlBase + self.ksActionResultsGroupedByBuildCat + sSheriff ],266 [ 'Ungrouped', sActUrlBase + self.ksActionResultsUnGrouped + sSheriff, False ], 267 [ 'Sched group', sActUrlBase + self.ksActionResultsGroupedBySchedGroup + sSheriff, False ], 268 [ 'Test group', sActUrlBase + self.ksActionResultsGroupedByTestGroup + sSheriff, False ], 269 [ 'Test case', sActUrlBase + self.ksActionResultsGroupedByTestCase + sSheriff, False ], 270 [ 'Testbox', sActUrlBase + self.ksActionResultsGroupedByTestBox + sSheriff, False ], 271 [ 'OS', sActUrlBase + self.ksActionResultsGroupedByOS + sSheriff, False ], 272 [ 'Architecture', sActUrlBase + self.ksActionResultsGroupedByArch + sSheriff, False ], 273 [ 'Revision', sActUrlBase + self.ksActionResultsGroupedByBuildRev + sSheriff, False ], 274 [ 'Build category', sActUrlBase + self.ksActionResultsGroupedByBuildCat + sSheriff, False ], 275 275 ] 276 276 ], … … 278 278 'Reports', sActUrlBase + self.ksActionReportSummary, 279 279 [ 280 [ 'Summary', sActUrlBase + self.ksActionReportSummary + sExtraReports],281 [ 'Success rate', sActUrlBase + self.ksActionReportRate + sExtraReports],282 [ 'Test case failures', sActUrlBase + self.ksActionReportTestCaseFailures + sExtraReports],283 [ 'Testbox failures', sActUrlBase + self.ksActionReportTestBoxFailures + sExtraReports],284 [ 'Failure reasons', sActUrlBase + self.ksActionReportFailureReasons + sExtraReports],280 [ 'Summary', sActUrlBase + self.ksActionReportSummary + sExtraReports, False ], 281 [ 'Success rate', sActUrlBase + self.ksActionReportRate + sExtraReports, False ], 282 [ 'Test case failures', sActUrlBase + self.ksActionReportTestCaseFailures + sExtraReports, False ], 283 [ 'Testbox failures', sActUrlBase + self.ksActionReportTestBoxFailures + sExtraReports, False ], 284 [ 'Failure reasons', sActUrlBase + self.ksActionReportFailureReasons + sExtraReports, False ], 285 285 ] 286 286 ], … … 289 289 [ 290 290 [ 'Grouped by', None ], 291 [ 'Ungrouped', sActUrlBase + self.ksActionResultsUnGrouped + sExtraTimeNav ],292 [ 'Sched group', sActUrlBase + self.ksActionResultsGroupedBySchedGroup + sExtraTimeNav ],293 [ 'Test group', sActUrlBase + self.ksActionResultsGroupedByTestGroup + sExtraTimeNav ],294 [ 'Test case', sActUrlBase + self.ksActionResultsGroupedByTestCase + sExtraTimeNav ],295 [ 'Testbox', sActUrlBase + self.ksActionResultsGroupedByTestBox + sExtraTimeNav ],296 [ 'OS', sActUrlBase + self.ksActionResultsGroupedByOS + sExtraTimeNav ],297 [ 'Architecture', sActUrlBase + self.ksActionResultsGroupedByArch + sExtraTimeNav ],298 [ 'Revision', sActUrlBase + self.ksActionResultsGroupedByBuildRev + sExtraTimeNav ],299 [ 'Build category', sActUrlBase + self.ksActionResultsGroupedByBuildCat + sExtraTimeNav ],291 [ 'Ungrouped', sActUrlBase + self.ksActionResultsUnGrouped + sExtraTimeNav, False ], 292 [ 'Sched group', sActUrlBase + self.ksActionResultsGroupedBySchedGroup + sExtraTimeNav, False ], 293 [ 'Test group', sActUrlBase + self.ksActionResultsGroupedByTestGroup + sExtraTimeNav, False ], 294 [ 'Test case', sActUrlBase + self.ksActionResultsGroupedByTestCase + sExtraTimeNav, False ], 295 [ 'Testbox', sActUrlBase + self.ksActionResultsGroupedByTestBox + sExtraTimeNav, False ], 296 [ 'OS', sActUrlBase + self.ksActionResultsGroupedByOS + sExtraTimeNav, False ], 297 [ 'Architecture', sActUrlBase + self.ksActionResultsGroupedByArch + sExtraTimeNav, False ], 298 [ 'Revision', sActUrlBase + self.ksActionResultsGroupedByBuildRev + sExtraTimeNav, False ], 299 [ 'Build category', sActUrlBase + self.ksActionResultsGroupedByBuildCat + sExtraTimeNav, False ], 300 300 ] 301 301 ], … … 304 304 [ 305 305 [ 'Grouped by', None ], 306 [ 'Ungrouped', sActUrlBase + self.ksActionResultsUnGrouped + sOnlyFailures ],307 [ 'Sched group', sActUrlBase + self.ksActionResultsGroupedBySchedGroup + sOnlyFailures ],308 [ 'Test group', sActUrlBase + self.ksActionResultsGroupedByTestGroup + sOnlyFailures ],309 [ 'Test case', sActUrlBase + self.ksActionResultsGroupedByTestCase + sOnlyFailures ],310 [ 'Testbox', sActUrlBase + self.ksActionResultsGroupedByTestBox + sOnlyFailures ],311 [ 'OS', sActUrlBase + self.ksActionResultsGroupedByOS + sOnlyFailures ],312 [ 'Architecture', sActUrlBase + self.ksActionResultsGroupedByArch + sOnlyFailures ],313 [ 'Revision', sActUrlBase + self.ksActionResultsGroupedByBuildRev + sOnlyFailures ],314 [ 'Build category', sActUrlBase + self.ksActionResultsGroupedByBuildCat + sOnlyFailures ],306 [ 'Ungrouped', sActUrlBase + self.ksActionResultsUnGrouped + sOnlyFailures, False ], 307 [ 'Sched group', sActUrlBase + self.ksActionResultsGroupedBySchedGroup + sOnlyFailures, False ], 308 [ 'Test group', sActUrlBase + self.ksActionResultsGroupedByTestGroup + sOnlyFailures, False ], 309 [ 'Test case', sActUrlBase + self.ksActionResultsGroupedByTestCase + sOnlyFailures, False ], 310 [ 'Testbox', sActUrlBase + self.ksActionResultsGroupedByTestBox + sOnlyFailures, False ], 311 [ 'OS', sActUrlBase + self.ksActionResultsGroupedByOS + sOnlyFailures, False ], 312 [ 'Architecture', sActUrlBase + self.ksActionResultsGroupedByArch + sOnlyFailures, False ], 313 [ 'Revision', sActUrlBase + self.ksActionResultsGroupedByBuildRev + sOnlyFailures, False ], 314 [ 'Build category', sActUrlBase + self.ksActionResultsGroupedByBuildCat + sOnlyFailures, False ], 315 315 ] 316 316 ],
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器