| 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/cr_elements/policy/cr_policy_network
_behavior.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_behavior.html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_indicator.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_indicator.html"> |
| 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 5 <link rel="import" href="chrome://resources/html/polymer.html"> | 5 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
-container.html"> |
| 7 <link rel="import" href="internet_shared_css.html"> | 7 <link rel="import" href="internet_shared_css.html"> |
| 8 | 8 |
| 9 <dom-module id="network-property-list"> | 9 <dom-module id="network-property-list"> |
| 10 <template> | 10 <template> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 cr-policy-network-indicator { | 27 cr-policy-network-indicator { |
| 28 -webkit-margin-start: var(--settings-controlled-by-spacing); | 28 -webkit-margin-start: var(--settings-controlled-by-spacing); |
| 29 } | 29 } |
| 30 </style> | 30 </style> |
| 31 <template is="dom-repeat" items="[[fields]]" | 31 <template is="dom-repeat" items="[[fields]]" |
| 32 filter="[[computeFilter_(prefix, propertyDict, editFieldTypes)]]"> | 32 filter="[[computeFilter_(prefix, propertyDict, editFieldTypes)]]"> |
| 33 <div class="settings-box single-column two-line"> | 33 <div class="settings-box single-column two-line"> |
| 34 <!-- Propety label --> | 34 <!-- Propety label --> |
| 35 <div>[[getPropertyLabel_(item, prefix)]]</div> | 35 <div>[[getPropertyLabel_(item, prefix)]]</div> |
| 36 <!-- Uneditable property value --> | 36 <!-- Uneditable property value --> |
| 37 <div class="layout horizontal" | 37 <div hidden="[[isEditable_(item, '', propertyDict, editFieldTypes)]]"> |
| 38 hidden="[[isEditable_(item, '', propertyDict, editFieldTypes)]]"> | |
| 39 <div class="secondary"> | 38 <div class="secondary"> |
| 40 [[getPropertyValue_(item, prefix, propertyDict)]] | 39 [[getPropertyValue_(item, prefix, propertyDict)]] |
| 41 </div> | 40 </div> |
| 42 <cr-policy-network-indicator | 41 <cr-policy-network-indicator |
| 43 property="[[getProperty_(item, propertyDict)]]"> | 42 property="[[getProperty_(item, propertyDict)]]"> |
| 44 </cr-policy-network-indicator> | 43 </cr-policy-network-indicator> |
| 45 </div> | 44 </div> |
| 46 <!-- Editable String property value --> | 45 <!-- Editable String property value --> |
| 47 <template is="dom-if" if="[[isEditable_( | 46 <template is="dom-if" if="[[isEditable_( |
| 48 item, 'String', propertyDict, editFieldTypes)]]"> | 47 item, 'String', propertyDict, editFieldTypes)]]"> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 60 value="[[getPropertyValue_(item, prefix, propertyDict)]]" | 59 value="[[getPropertyValue_(item, prefix, propertyDict)]]" |
| 61 on-change="onValueChange_"> | 60 on-change="onValueChange_"> |
| 62 </paper-input-container> | 61 </paper-input-container> |
| 63 </template> | 62 </template> |
| 64 <!-- TODO(stevenjb): Support other types. --> | 63 <!-- TODO(stevenjb): Support other types. --> |
| 65 </div> | 64 </div> |
| 66 </template> | 65 </template> |
| 67 </template> | 66 </template> |
| 68 <script src="network_property_list.js"></script> | 67 <script src="network_property_list.js"></script> |
| 69 </dom-module> | 68 </dom-module> |
| OLD | NEW |