browser/devtools/framework/connect/connect.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/framework/connect/connect.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,52 @@
     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 +<!DOCTYPE html [
    1.10 +<!ENTITY % connectionDTD SYSTEM "chrome://browser/locale/devtools/connection-screen.dtd" >
    1.11 + %connectionDTD;
    1.12 +]>
    1.13 +
    1.14 +<html xmlns="http://www.w3.org/1999/xhtml"
    1.15 +      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.16 +  <head>
    1.17 +    <title>&title;</title>
    1.18 +    <link rel="stylesheet" href="chrome://browser/skin/devtools/dark-theme.css" type="text/css"/>
    1.19 +    <link rel="stylesheet" href="chrome://browser/content/devtools/connect.css" type="text/css"/>
    1.20 +    <script type="application/javascript;version=1.8" src="connect.js"></script>
    1.21 +  </head>
    1.22 +  <body>
    1.23 +    <h1>&header;</h1>
    1.24 +    <section id="connection-form">
    1.25 +      <form validate="validate" action="#">
    1.26 +        <label>
    1.27 +          <span>&host;</span>
    1.28 +          <input required="required" class="devtools-textinput" id="host" type="text"></input>
    1.29 +        </label>
    1.30 +        <label>
    1.31 +          <span>&port;</span>
    1.32 +          <input required="required" class="devtools-textinput" id="port" type="number" pattern="\d+"></input>
    1.33 +        </label>
    1.34 +        <label>
    1.35 +          <input class="devtools-toolbarbutton" id="submit" type="submit" value="&connect;"></input>
    1.36 +        </label>
    1.37 +      </form>
    1.38 +      <p class="error-message error-timeout">&errorTimeout;</p>
    1.39 +      <p class="error-message error-refused">&errorRefused;</p>
    1.40 +      <p class="error-message error-unexpected">&errorUnexpected;</p>
    1.41 +    </section>
    1.42 +    <section id="actors-list">
    1.43 +      <p>&availableTabs;</p>
    1.44 +      <ul class="actors" id="tabActors"></ul>
    1.45 +      <p>&availableAddons;</p>
    1.46 +      <ul class="actors" id="addonActors"></ul>
    1.47 +      <p>&availableProcesses;</p>
    1.48 +      <ul class="actors" id="globalActors"></ul>
    1.49 +    </section>
    1.50 +    <section id="connecting">
    1.51 +      <p><img src="chrome://browser/skin/tabbrowser/loading.png"></img> &connecting;</p>
    1.52 +    </section>
    1.53 +    <footer>&remoteHelp;<a target='_' href='https://developer.mozilla.org/docs/Tools/Remote_Debugging'>&remoteDocumentation;</a>&remoteHelpSuffix;</footer>
    1.54 +  </body>
    1.55 +</html>

mercurial