Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: chrome/browser/resources/settings/internet_page/network_proxy_input.html

Issue 2467123003: Settings: Internet: Update proxy controlled indicator and fields. (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
3 <link rel="import" href="internet_shared_css.html"> 4 <link rel="import" href="internet_shared_css.html">
4 5
5 <dom-module id="network-proxy-input"> 6 <dom-module id="network-proxy-input">
6 <template> 7 <template>
7 <style include="internet-shared"> 8 <style include="internet-shared">
8 paper-input-container { 9 paper-input-container {
9 -webkit-margin-start: 10px; 10 -webkit-margin-start: 10px;
10 margin-bottom: -12px; 11 margin-bottom: -12px;
11 margin-top: -8px; 12 margin-top: -8px;
12 } 13 }
13 14
14 #port { 15 #port {
15 width: 50px; 16 width: 50px;
16 } 17 }
17 </style> 18 </style>
18 <div class="layout horizontal center"> 19 <div class="layout horizontal center">
19 <div class="flex">[[label]]</div> 20 <div class="flex">[[label]]</div>
20 <paper-input-container no-label-float> 21 <paper-input-container no-label-float>
21 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" 22 <input is="iron-input" bind-value="{{value.Host}}" disabled="[[!editable ]]"
22 on-blur="onValueChange_"> 23 on-blur="onValueChange_">
23 </paper-input-container> 24 </paper-input-container>
24 <div>$i18n{networkProxyPort}</div> 25 <div>$i18n{networkProxyPort}</div>
25 <paper-input-container no-label-float id="port"> 26 <paper-input-container no-label-float id="port">
26 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" 27 <input is="iron-input" bind-value="{{value.Port}}" disabled="[[!editable ]]"
27 on-blur="onValueChange_"> 28 on-blur="onValueChange_">
28 </paper-input-container> 29 </paper-input-container>
29 </div> 30 </div>
30 </template> 31 </template>
31 <script src="network_proxy_input.js"></script> 32 <script src="network_proxy_input.js"></script>
32 </dom-module> 33 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698