Changeset 70420 in webkit


Ignore:
Timestamp:
Oct 24, 2010 11:58:02 AM (14 years ago)
Author:
pfeldman@chromium.org
Message:

2010-10-24 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: polish network panel UI.
https://bugs.webkit.org/show_bug.cgi?id=48205

  • inspector/front-end/Images/frame.png:
  • inspector/front-end/Images/networkIcon.png:
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype._createTable): (WebInspector.NetworkPanel.prototype._setLargerResources): (WebInspector.NetworkPanel.prototype._toggleGridMode):
  • inspector/front-end/networkPanel.css: (.network.panel .data-grid td): (.network.panel .data-grid.small td): (#network-views .resource-view.headers-visible .resource-view-content): (#network-views.small .resource-view.headers-visible .resource-view-content): (#network-views .resource-view-headers): (#network-views.small .resource-view-headers): (#network-views .resource-view .tabbed-pane-header): (#network-views.small .resource-view .tabbed-pane-header):
Location:
trunk/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r70414 r70420  
     12010-10-24  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector: polish network panel UI.
     6        https://bugs.webkit.org/show_bug.cgi?id=48205
     7
     8        * inspector/front-end/Images/frame.png:
     9        * inspector/front-end/Images/networkIcon.png:
     10        * inspector/front-end/NetworkPanel.js:
     11        (WebInspector.NetworkPanel.prototype._createTable):
     12        (WebInspector.NetworkPanel.prototype._setLargerResources):
     13        (WebInspector.NetworkPanel.prototype._toggleGridMode):
     14        * inspector/front-end/networkPanel.css:
     15        (.network.panel .data-grid td):
     16        (.network.panel .data-grid.small td):
     17        (#network-views .resource-view.headers-visible .resource-view-content):
     18        (#network-views.small .resource-view.headers-visible .resource-view-content):
     19        (#network-views .resource-view-headers):
     20        (#network-views.small .resource-view-headers):
     21        (#network-views .resource-view .tabbed-pane-header):
     22        (#network-views.small .resource-view .tabbed-pane-header):
     23
    1242010-10-24  Nikolas Zimmermann  <nzimmermann@rim.com>
    225
  • trunk/WebCore/inspector/front-end/NetworkPanel.js

    r70240 r70420  
    181181        columns.type.title = WebInspector.UIString("Type");
    182182        columns.type.sortable = true;
    183         columns.type.width = "7%";
     183        columns.type.width = "10%";
    184184
    185185        columns.size.titleDOMFragment = this._makeHeaderFragment(WebInspector.UIString("Size"), WebInspector.UIString("Transfer"));
     
    195195        columns.timeline.title = "";
    196196        columns.timeline.sortable = false;
    197         columns.timeline.width = "40%";
     197        columns.timeline.width = "37%";
    198198        columns.timeline.sort = "ascending";
    199199
     
    252252
    253253        var header = this._dataGrid.headerTableHeader("timeline");
    254         header.firstChild.appendChild(timelineSorting);
     254        header.replaceChild(timelineSorting, header.firstChild);
    255255
    256256        timelineSorting.addEventListener("click", function(event) { event.stopPropagation() }, false);
     
    872872            this._dataGrid.element.addStyleClass("small");
    873873            this._timelineGrid.element.addStyleClass("small");
     874            this._viewsContainerElement.addStyleClass("small");
    874875        } else {
    875876            this._largerResourcesButton.title = WebInspector.UIString("Use small resource rows.");
    876877            this._dataGrid.element.removeStyleClass("small");
    877878            this._timelineGrid.element.removeStyleClass("small");
     879            this._viewsContainerElement.removeStyleClass("small");
    878880        }
    879881    },
     
    10141016            widths.method = 7;
    10151017            widths.status = 8;
    1016             widths.type = 7;
     1018            widths.type = 10;
    10171019            widths.size = 10;
    10181020            widths.time = 10;
    1019             widths.timeline = 40;
     1021            widths.timeline = 37;
    10201022        }
    10211023
  • trunk/WebCore/inspector/front-end/networkPanel.css

    r69948 r70420  
    2525.network.panel .data-grid td {
    2626    line-height: 17px;
     27    height: 37px;
    2728    border-right: 1px solid rgb(210, 210, 210);
    2829    -webkit-user-select: none;
    2930    vertical-align: middle;
     31}
     32
     33.network.panel .data-grid.small td {
     34    height: 17px;
    3035}
    3136
     
    583588}
    584589
    585 .network.panel .resource-view.headers-visible .resource-view-content {
     590#network-views .resource-view.headers-visible .resource-view-content {
     591    top: 31px;
     592}
     593
     594#network-views.small .resource-view.headers-visible .resource-view-content {
     595    top: 23px;
     596}
     597
     598#network-views .resource-view-headers {
     599    top: 31px;
     600}
     601
     602#network-views.small .resource-view-headers {
    586603    top: 23px;
    587604}
     
    592609}
    593610
    594 .network.panel .resource-view .tabbed-pane-header {
     611#network-views .resource-view .tabbed-pane-header {
     612    height: 31px;
     613    padding-top: 11px;
     614}
     615
     616#network-views.small .resource-view .tabbed-pane-header {
    595617    height: 23px;
    596618    padding-top: 3px;
Note: See TracChangeset for help on using the changeset viewer.