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-checkbox/paper-ch
eckbox.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch
eckbox.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"> | 9 <style include="internet-shared"> |
10 </style> | 10 </style> |
11 <div class="settings-box"> | 11 <div class="settings-box first"> |
12 <paper-checkbox checked="{{automatic_}}" disabled="[[!editable]]"> | 12 <paper-checkbox checked="{{automatic_}}" disabled="[[!editable]]"> |
13 $i18n{networkIPConfigAuto} | 13 $i18n{networkIPConfigAuto} |
14 </paper-checkbox> | 14 </paper-checkbox> |
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_( |
21 editable, ipConfig_, automatic_)]]" | 21 editable, ipConfig_, automatic_)]]" |
22 on-property-change="onIPChange_"> | 22 on-property-change="onIPChange_"> |
23 </network-property-list> | 23 </network-property-list> |
24 </div> | 24 </div> |
25 </template> | 25 </template> |
26 <script src="network_ip_config.js"></script> | 26 <script src="network_ip_config.js"></script> |
27 </dom-module> | 27 </dom-module> |
OLD | NEW |