toolkit/content/aboutNetworking.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/content/aboutNetworking.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,102 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +
    1.10 +<!DOCTYPE html [
    1.11 +<!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> %htmlDTD;
    1.12 +<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> %globalDTD;
    1.13 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD;
    1.14 +<!ENTITY % networkingDTD SYSTEM "chrome://global/locale/aboutNetworking.dtd"> %networkingDTD;
    1.15 +]>
    1.16 +
    1.17 +<html xmlns="http://www.w3.org/1999/xhtml">
    1.18 +    <head>
    1.19 +        <title>&aboutNetworking.title;</title>
    1.20 +        <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css" />
    1.21 +        <link rel="stylesheet" href="chrome://mozapps/skin/aboutNetworking.css" type="text/css" />
    1.22 +        <script type="application/javascript;version=1.7" src="chrome://global/content/aboutNetworking.js" />
    1.23 +    </head>
    1.24 +    <body id="body">
    1.25 +        <div id="warning_message" class="warningBackground">
    1.26 +            <div class="warningMessage">
    1.27 +                &aboutNetworking.warning; <br/> <br/>
    1.28 +                <label><input id="warncheck" type="checkbox" checked="yes" />&aboutNetworking.showNextTime;</label> <br/> <br/>
    1.29 +                <button id="confpref">&aboutNetworking.ok;</button>
    1.30 +            </div>
    1.31 +        </div>
    1.32 +        <div id="menu">
    1.33 +            <button class="selected" value="http">&aboutNetworking.http;</button>
    1.34 +            <button value="sockets">&aboutNetworking.sockets;</button>
    1.35 +            <button value="dns">&aboutNetworking.dns;</button>
    1.36 +            <button value="websockets">&aboutNetworking.websockets;</button>
    1.37 +        </div>
    1.38 +        <div id="refreshdiv">
    1.39 +            <button id="refreshButton">&aboutNetworking.refresh;</button>
    1.40 +            <input id="autorefcheck" type="checkbox" name="Autorefresh" />&aboutNetworking.autoRefresh;
    1.41 +        </div>
    1.42 +
    1.43 +        <div id="http" class="tab active">
    1.44 +            <table border="1" width="100%">
    1.45 +                <thead>
    1.46 +                    <tr>
    1.47 +                        <th>&aboutNetworking.hostname;</th>
    1.48 +                        <th>&aboutNetworking.port;</th>
    1.49 +                        <th>&aboutNetworking.spdy;</th>
    1.50 +                        <th>&aboutNetworking.ssl;</th>
    1.51 +                        <th>&aboutNetworking.active;</th>
    1.52 +                        <th>&aboutNetworking.idle;</th>
    1.53 +                    </tr>
    1.54 +                </thead>
    1.55 +                <tbody id="http_content" />
    1.56 +            </table>
    1.57 +        </div>
    1.58 +
    1.59 +        <div id="sockets" class="tab">
    1.60 +            <table border="1" width="100%">
    1.61 +                <thead>
    1.62 +                    <tr>
    1.63 +                        <th>&aboutNetworking.host;</th>
    1.64 +                        <th>&aboutNetworking.port;</th>
    1.65 +                        <th>&aboutNetworking.tcp;</th>
    1.66 +                        <th>&aboutNetworking.active;</th>
    1.67 +                        <th>&aboutNetworking.sent;</th>
    1.68 +                        <th>&aboutNetworking.received;</th>
    1.69 +                    </tr>
    1.70 +                </thead>
    1.71 +                <tbody id="sockets_content" />
    1.72 +            </table>
    1.73 +        </div>
    1.74 +
    1.75 +        <div id="dns" class="tab">
    1.76 +            <table border="1" width="100%">
    1.77 +                <thead>
    1.78 +                    <tr>
    1.79 +                        <th>&aboutNetworking.hostname;</th>
    1.80 +                        <th>&aboutNetworking.family;</th>
    1.81 +                        <th>&aboutNetworking.addresses;</th>
    1.82 +                        <th>&aboutNetworking.expires;</th>
    1.83 +                    </tr>
    1.84 +                </thead>
    1.85 +                <tbody id="dns_content" />
    1.86 +            </table>
    1.87 +        </div>
    1.88 +
    1.89 +        <div id="websockets" class="tab">
    1.90 +            <table border="1" width="100%">
    1.91 +                <thead>
    1.92 +                    <tr>
    1.93 +                        <th>&aboutNetworking.hostname;</th>
    1.94 +                        <th>&aboutNetworking.ssl;</th>
    1.95 +                        <th>&aboutNetworking.messagesSent;</th>
    1.96 +                        <th>&aboutNetworking.messagesReceived;</th>
    1.97 +                        <th>&aboutNetworking.bytesSent;</th>
    1.98 +                        <th>&aboutNetworking.bytesReceived;</th>
    1.99 +                    </tr>
   1.100 +                </thead>
   1.101 +                <tbody id="websockets_content" />
   1.102 +            </table>
   1.103 +        </div>
   1.104 +    </body>
   1.105 +</html>

mercurial