VirtualBox

Ignore:
Timestamp:
Apr 1, 2015 1:12:18 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99364
Message:

wuimain.py: allow a period of 1 hour for the reports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py

    r52776 r55072  
    586586                              webutils.encodeUrlParams(dParams),
    587587                              WuiMain.ksParamReportPeriodInHours)
    588         for cHours in [ 2, 3, 4, 5, 6, 7, 8, 9, 12, 18, 24, 48, 72, 96, 120, 144, 168 ]:
    589             sHtmlPeriodLength += '    <option value="%d"%s>%d hours</option>\n' \
    590                                % (cHours, 'selected="selected"' if cHours == cHoursPerPeriod else '', cHours);
     588        for cHours in [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 18, 24, 48, 72, 96, 120, 144, 168 ]:
     589            sHtmlPeriodLength += '    <option value="%d"%s>%d hour%s</option>\n' \
     590                               % (cHours, 'selected="selected"' if cHours == cHoursPerPeriod else '', cHours,
     591                                  's' if cHours > 1 else '');
    591592        sHtmlPeriodLength += '  </select>\n' \
    592593                             '</form>\n'
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette