summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/chromeos/proxy.html
blob: 1ac0101410a0f15b4190beb87beba1c615e200d9 (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<div id="proxyPage" class="page" hidden>
  <h1 i18n-content="proxyPage"></h1>
  <section>
    <h3 i18n-content="proxy_config_title"></h3>
    <div>
      <div class="radio">
        <label>
          <input id="directProxy" type="radio" name="proxytype" value="1"
              pref="cros.session.proxy.type">
          <span i18n-content="proxyDirectInternetConnection"></span>
        </label>
      </div>
      <div class="radio">
        <label>
          <input id="manualProxy" type="radio" name="proxytype" value="2"
              pref="cros.session.proxy.type">
          <span i18n-content="proxyManual"></span>
        </label>
      </div>
      <div class="checkbox">
        <label>
          <input id="proxyAllProtocols" type="checkbox"
              pref="cros.session.proxy.single">
          <span i18n-content="sameProxyProtocols"></span>
        </label>
      </div>
      <div id="singleProxy">
        <table>
          <tr>
            <td>
              <span i18n-content="httpProxy"></span>
              <input id="proxyHostSingleName" type="text" size="30"
                  pref="cros.session.proxy.singlehttp" disabled>
            </td>
            <td>
              <span i18n-content="proxyPort"></span>
              <input id="proxyHostSinglePort" type="text" dataType="number" size="5"
                  pref="cros.session.proxy.singlehttpport" disabled>
            </td>
          </tr>
        </table>
      </div>
      <div id="multiProxy">
        <table>
          <tr>
            <td>
              <span i18n-content="httpProxy"></span>
            </td>
            <td>
              <input id="proxyHostName" type="text" size="30"
                  pref="cros.session.proxy.httpurl" disabled>
            </td>
            <td>
              <span i18n-content="proxyPort"></span>
            </td>
            <td>
              <input id="proxyHostPort" type="text" dataType="number" size="5"
                  pref="cros.session.proxy.httpport" disabled>
            </td>
          </tr>
          <tr>
            <td>
              <span i18n-content="secureHttpProxy"></span>
            </td>
            <td>
              <input id="secureProxyHostName" type="text" size="30"
                  pref="cros.session.proxy.httpsurl" disabled>
            </td>
            <td>
              <span i18n-content="proxyPort"></span>
            </td>
            <td>
              <input id="secureProxyPort" type="text" dataType="number" size="5"
                  pref="cros.session.proxy.httpsport" disabled>
            </td>
          </tr>
          <tr>
            <td>
              <span i18n-content="ftpProxy"></span>
            </td>
            <td>
              <input id="ftpProxy" type="text" size="30"
                  pref="cros.session.proxy.ftpurl" disabled>
            </td>
            <td>
              <span i18n-content="proxyPort"></span>
              </td>
            <td>
              <input id="ftpProxyPort" type="text" dataType="number" size="5"
                  pref="cros.session.proxy.ftpport" disabled>
            </td>
          </tr>
          <tr>
            <td>
              <span i18n-content="socksHost"></span>
            </td>
            <td>
              <input id="socksHost" type="text" size="30"
                  pref="cros.session.proxy.socks" disabled>
            </td>
            <td>
              <span i18n-content="proxyPort"></span>
            </td>
            <td>
              <input id="socksPort" type="text" dataType="number" size="5"
                  pref="cros.session.proxy.socksport" disabled>
            </td>
          </tr>
        </table>
      </div>
      <div class="radio">
        <label>
          <input id="autoProxy" type="radio" name="proxytype" value="3"
              pref="cros.session.proxy.type">
          <span i18n-content="proxyAutomatic"></span>
        </label>
      </div>
      <div>
        <label>
          <span i18n-content="proxyConfigUrl"></span>
          <input id="proxyConfig" type="url" size="60"
              pref="cros.session.proxy.pacurl">
        </label>
      </div>
    </div>
  </section>
  <section id="advancedConfig">
    <h3 i18n-content="advanced_proxy_config"></h3>
    <div class="option">
       <div i18n-content="proxyBypass"></div>
       <list id="ignoredHostList"></list>
       <input id="newHost" type="url" size="30">
       <button id="addHost" i18n-content="addHost"></button>
       <button id="removeHost" i18n-content="removeHost"></button>
    </div>
  </section>
</div>