summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/html/dialog_host_setup.html
blob: 48e6a2023cad088a06cf1960c72f2aec3450af23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!--
Copyright (c) 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<div id="host-setup-dialog"
     class="kd-modaldialog"
     data-ui-mode="home.host-setup">

  <form id="ask-pin-form"
        data-ui-mode="home.host-setup.ask-pin"
        action="">

    <p class="message">
      <span i18n-content="HOST_SETUP_DIALOG_DESCRIPTION"
            i18n-value-1="<b>"
            i18n-value-2="</b>"></span>
      <a href="http://support.google.com/chrome/bin/answer.py?hl=en&answer=1649523"
         target="_blank"
         i18n-content="WHY_IS_THIS_SAFE"></a>
    </p>

    <table id="set-pin-table">
      <tr>
        <td class="table-label">
          <label for="daemon-pin-entry"
                 i18n-content="ASK_PIN_DIALOG_LABEL"
                 class="editbox-label"></label>
        </td>
        <td>
          <input id="daemon-pin-entry"
                 autofocus="autofocus"
                 type="password">
        </td>
      </tr>
      <tr>
        <td class="table-label">
          <label for="daemon-pin-confirm"
                 i18n-content="ASK_PIN_DIALOG_CONFIRM_LABEL"
                 class="editbox-label"></label>
        </td>
        <td>
          <input id="daemon-pin-confirm" type="password">
        </td>
      <tr>
    </table>

    <div id="daemon-pin-error-div" class="message" hidden>
      <span id="daemon-pin-error-message" class="error-state">
      </span>
    </div>

    <div id="usagestats-consent" hidden>
      <label class="checkbox-label">
        <input id="usagestats-consent-checkbox" type="checkbox">
        <span i18n-content="HOST_SETUP_CRASH_REPORTING_MESSAGE"></span>
      </label>
    </div>

    <div class="button-row">
      <button id="daemon-pin-ok" type="submit" i18n-content="OK">
      </button>
      <button id="daemon-pin-cancel" type="button" i18n-content="CANCEL">
      </button>
    </div>

  </form>

  <div data-ui-mode="home.host-setup.processing"
       class="box"
       hidden>
    <span class="waiting prominent"
          id="host-setup-processing-message">
    </span>
  </div>

  <div data-ui-mode="home.host-setup.done" hidden>
    <div id="host-setup-done-message" class="message"></div>
    <div id="host-setup-done-message-2" class="message"></div>
    <div class="button-row">
      <button id="host-config-done-dismiss"
              autofocus="autofocus"
              i18n-content="OK"></button>
    </div>
  </div>

  <div data-ui-mode="home.host-setup.error" hidden>
    <div id="host-setup-error-message" class="error-state"></div>
    <div class="button-row">
      <button id="host-config-error-dismiss"
              autofocus="autofocus"
              i18n-content="OK"></button>
    </div>
  </div>

</div> <!-- host-setup-dialog -->