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 .html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
3 <link rel="import" href="internet_shared_css.html"> | |
3 | 4 |
4 <dom-module id="network-proxy-input"> | 5 <dom-module id="network-proxy-input"> |
5 <template> | 6 <template> |
6 <style> | 7 <style include="internet-shared"> |
7 #port { | 8 #port { |
8 width: 50px; | 9 width: 50px; |
9 } | 10 } |
10 | |
11 span { | |
12 -webkit-margin-end: 5px; | |
13 } | |
14 | |
15 paper-input { | |
16 margin: -9px 5px 0; | |
17 } | |
18 </style> | 11 </style> |
19 <div id="outer" class="layout horizontal"> | 12 <div class="layout horizontal center"> |
20 <span class="flex">[[label]]</span> | 13 <div class="flex">[[label]]</div> |
21 <paper-input no-label-float id="url" disabled="[[!editable]]" | 14 <paper-input-container no-label-float> |
22 value="{{value.Host}}" on-blur="onValueChange_"> | 15 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" |
dschuyler
2016/07/29 02:07:22
just curious: Is the is="iron-input" an improvemen
stevenjb
2016/07/29 17:35:18
paper-input includes a lot of other crap (prefix,
| |
23 </paper-input> | 16 on-blur="onValueChange_"> |
24 <span>Port</span> | 17 </paper-input-container> |
25 <paper-input no-label-float id="port" disabled="[[!editable]]" | 18 <div>Port</div> |
26 value="{{value.Port}}" on-blur="onValueChange_"> | 19 <paper-input-container no-label-float id="port"> |
27 </paper-input> | 20 <input is="iron-input" value="{{value.Host}}" disabled="[[!editable]]" |
21 on-blur="onValueChange_"> | |
22 </paper-input-container> | |
28 </div> | 23 </div> |
29 </template> | 24 </template> |
30 <script src="network_proxy_input.js"></script> | 25 <script src="network_proxy_input.js"></script> |
31 </dom-module> | 26 </dom-module> |
OLD | NEW |