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