diff options
Diffstat (limited to 'libmproxy/web')
13 files changed, 47 insertions, 31 deletions
| diff --git a/libmproxy/web/static/css/app.css b/libmproxy/web/static/css/app.css index 27acd68a..dcc31d18 100644 --- a/libmproxy/web/static/css/app.css +++ b/libmproxy/web/static/css/app.css @@ -11,54 +11,34 @@ html {    height: 32px;  }  .resource-icon-css { -  background-image: url("../images/sprite.png"); -  background-position: 0px 0px; -  background-size: 32px 320px!important; +  background-image: url(../images/chrome-devtools/resourceCSSIcon.png);  }  .resource-icon-document { -  background-image: url("../images/sprite.png"); -  background-position: 0px -32px; -  background-size: 32px 320px!important; +  background-image: url(../images/chrome-devtools/resourceDocumentIcon.png);  }  .resource-icon-js { -  background-image: url("../images/sprite.png"); -  background-position: 0px -64px; -  background-size: 32px 320px!important; +  background-image: url(../images/chrome-devtools/resourceJSIcon.png);  }  .resource-icon-plain { -  background-image: url("../images/sprite.png"); -  background-position: 0px -96px; -  background-size: 32px 320px!important; +  background-image: url(../images/chrome-devtools/resourcePlainIcon.png);  }  .resource-icon-executable { -  background-image: url("../images/sprite.png"); -  background-position: 0px -128px; -  background-size: 32px 320px!important; +  background-image: url(../images/resourceExecutableIcon.png);  }  .resource-icon-flash { -  background-image: url("../images/sprite.png"); -  background-position: 0px -160px; -  background-size: 32px 320px!important; +  background-image: url(../images/resourceFlashIcon.png);  }  .resource-icon-image { -  background-image: url("../images/sprite.png"); -  background-position: 0px -192px; -  background-size: 32px 320px!important; +  background-image: url(../images/resourceImageIcon.png);  }  .resource-icon-java { -  background-image: url("../images/sprite.png"); -  background-position: 0px -224px; -  background-size: 32px 320px!important; +  background-image: url(../images/resourceJavaIcon.png);  }  .resource-icon-not-modified { -  background-image: url("../images/sprite.png"); -  background-position: 0px -256px; -  background-size: 32px 320px!important; +  background-image: url(../images/resourceNotModifiedIcon.png);  }  .resource-icon-redirect { -  background-image: url("../images/sprite.png"); -  background-position: 0px -288px; -  background-size: 32px 320px!important; +  background-image: url(../images/resourceRedirectIcon.png);  }  html,  body, @@ -128,12 +108,18 @@ header .menu {  .flow-table thead {    background-color: #dadada;  } +.flow-table tr { +  cursor: pointer; +}  .flow-table td {    overflow: hidden;    white-space: nowrap;    text-overflow: ellipsis;  } -.flow-table .col-tls { +.flow-table tr:nth-child(even) { +  background-color: rgba(0, 0, 0, 0.05); +} +.flow-table  .col-tls {    width: 10px;  }  .flow-table .col-tls-https { diff --git a/libmproxy/web/static/images/chrome-devtools/LICENSE b/libmproxy/web/static/images/chrome-devtools/LICENSE new file mode 100644 index 00000000..6e4f8b9f --- /dev/null +++ b/libmproxy/web/static/images/chrome-devtools/LICENSE @@ -0,0 +1,30 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// +// The Chromium Authors can be found at +// http://src.chromium.org/svn/trunk/src/AUTHORS +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +//    * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +//    * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +//    * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file diff --git a/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png b/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.pngBinary files differ new file mode 100644 index 00000000..18828d06 --- /dev/null +++ b/libmproxy/web/static/images/chrome-devtools/resourceCSSIcon.png diff --git a/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png b/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.pngBinary files differ new file mode 100644 index 00000000..fdc10e47 --- /dev/null +++ b/libmproxy/web/static/images/chrome-devtools/resourceDocumentIcon.png diff --git a/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png b/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.pngBinary files differ new file mode 100644 index 00000000..c1b72189 --- /dev/null +++ b/libmproxy/web/static/images/chrome-devtools/resourceJSIcon.png diff --git a/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png b/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.pngBinary files differ new file mode 100644 index 00000000..8c82a4c7 --- /dev/null +++ b/libmproxy/web/static/images/chrome-devtools/resourcePlainIcon.png diff --git a/libmproxy/web/static/images/resourceExecutableIcon.png b/libmproxy/web/static/images/resourceExecutableIcon.pngBinary files differ new file mode 100644 index 00000000..fa70c2fd --- /dev/null +++ b/libmproxy/web/static/images/resourceExecutableIcon.png diff --git a/libmproxy/web/static/images/resourceFlashIcon.png b/libmproxy/web/static/images/resourceFlashIcon.pngBinary files differ new file mode 100644 index 00000000..ead5a4d0 --- /dev/null +++ b/libmproxy/web/static/images/resourceFlashIcon.png diff --git a/libmproxy/web/static/images/resourceImageIcon.png b/libmproxy/web/static/images/resourceImageIcon.pngBinary files differ new file mode 100644 index 00000000..23163042 --- /dev/null +++ b/libmproxy/web/static/images/resourceImageIcon.png diff --git a/libmproxy/web/static/images/resourceJavaIcon.png b/libmproxy/web/static/images/resourceJavaIcon.pngBinary files differ new file mode 100644 index 00000000..553b3391 --- /dev/null +++ b/libmproxy/web/static/images/resourceJavaIcon.png diff --git a/libmproxy/web/static/images/resourceNotModifiedIcon.png b/libmproxy/web/static/images/resourceNotModifiedIcon.pngBinary files differ new file mode 100644 index 00000000..9c6a879d --- /dev/null +++ b/libmproxy/web/static/images/resourceNotModifiedIcon.png diff --git a/libmproxy/web/static/images/resourceRedirectIcon.png b/libmproxy/web/static/images/resourceRedirectIcon.pngBinary files differ new file mode 100644 index 00000000..58fe3ac1 --- /dev/null +++ b/libmproxy/web/static/images/resourceRedirectIcon.png diff --git a/libmproxy/web/static/images/sprite.png b/libmproxy/web/static/images/sprite.pngBinary files differ deleted file mode 100644 index ff57a37d..00000000 --- a/libmproxy/web/static/images/sprite.png +++ /dev/null | 
