| OLD | NEW |
| 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/paper-input/paper-input
-container.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> |
| 3 <link rel="import" href="internet_shared_css.html"> | 3 <link rel="import" href="internet_shared_css.html"> |
| 4 | 4 |
| 5 <dom-module id="network-proxy-input"> | 5 <dom-module id="network-proxy-input"> |
| 6 <template> | 6 <template> |
| 7 <style include="internet-shared"> | 7 <style include="internet-shared"> |
| 8 paper-input-container { | 8 paper-input-container { |
| 9 -webkit-margin-start: 10px; | 9 -webkit-margin-start: 10px; |
| 10 margin-bottom: -12px; | 10 margin-bottom: -12px; |
| 11 margin-top: -8px; | 11 margin-top: -8px; |
| 12 } | 12 } |
| 13 | 13 |
| 14 #port { | 14 #port { |
| 15 width: 50px; | 15 width: 50px; |
| 16 } | 16 } |
| 17 </style> | 17 </style> |
| 18 <div class="layout horizontal center"> | 18 <div class="layout horizontal center"> |
| 19 <div class="flex">[[label]]</div> | 19 <div class="flex">[[label]]</div> |
| 20 <paper-input-container no-label-float> | 20 <paper-input-container no-label-float> |
| 21 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" | 21 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" |
| 22 on-blur="onValueChange_"> | 22 on-blur="onValueChange_"> |
| 23 </paper-input-container> | 23 </paper-input-container> |
| 24 <div>Port</div> | 24 <div>$i18n{networkProxyPort}</div> |
| 25 <paper-input-container no-label-float id="port"> | 25 <paper-input-container no-label-float id="port"> |
| 26 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" | 26 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" |
| 27 on-blur="onValueChange_"> | 27 on-blur="onValueChange_"> |
| 28 </paper-input-container> | 28 </paper-input-container> |
| 29 </div> | 29 </div> |
| 30 </template> | 30 </template> |
| 31 <script src="network_proxy_input.js"></script> | 31 <script src="network_proxy_input.js"></script> |
| 32 </dom-module> | 32 </dom-module> |
| OLD | NEW |