OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 |
1 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 3 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
4 <link rel="import" href="internet_shared_css.html"> | 5 <link rel="import" href="internet_shared_css.html"> |
5 <link rel="import" href="network_property_list.html"> | 6 <link rel="import" href="network_property_list.html"> |
6 | 7 |
7 <dom-module id="network-ip-config"> | 8 <dom-module id="network-ip-config"> |
8 <template> | 9 <template> |
9 <style include="internet-shared"></style> | 10 <style include="internet-shared"></style> |
10 <div class="settings-box first"> | 11 <div class="settings-box first"> |
11 <div id="autoIPConfigLabel" class="start">$i18n{networkIPConfigAuto}</div> | 12 <div id="autoIPConfigLabel" class="start">$i18n{networkIPConfigAuto}</div> |
12 <paper-toggle-button checked="{{automatic_}}" disabled="[[!editable]]" | 13 <paper-toggle-button checked="{{automatic_}}" disabled="[[!editable]]" |
13 aria-labelledby="autoIPConfigLabel"> | 14 aria-labelledby="autoIPConfigLabel"> |
14 </paper-toggle-button> | 15 </paper-toggle-button> |
15 </div> | 16 </div> |
16 <div class="settings-box continuation" | 17 <div class="settings-box continuation" |
17 hidden$="[[!showIPEditFields_(editable, automatic_)]]"> | 18 hidden$="[[!showIPEditFields_(editable, automatic_)]]"> |
18 <network-property-list | 19 <network-property-list |
19 fields="[[ipConfigFields_]]" property-dict="[[ipConfig_]]" | 20 fields="[[ipConfigFields_]]" property-dict="[[ipConfig_]]" |
20 edit-field-types="[[getIPEditFields_(editable, automatic_)]]" | 21 edit-field-types="[[getIPEditFields_(editable, automatic_)]]" |
21 on-property-change="onIPChange_"> | 22 on-property-change="onIPChange_"> |
22 </network-property-list> | 23 </network-property-list> |
23 </div> | 24 </div> |
24 </template> | 25 </template> |
25 <script src="network_ip_config.js"></script> | 26 <script src="network_ip_config.js"></script> |
26 </dom-module> | 27 </dom-module> |
OLD | NEW |