Chromium Code Reviews| Index: ui/webui/resources/cr_elements/network/cr_network_list_item.html |
| diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.html b/ui/webui/resources/cr_elements/network/cr_network_list_item.html |
| index c5d4e0ed6f8c87b48adda5d54ecb1eacd465aa56..8abd7c79468ab67ed6f66ca1529345992e60cc96 100644 |
| --- a/ui/webui/resources/cr_elements/network/cr_network_list_item.html |
| +++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.html |
| @@ -4,6 +4,8 @@ |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> |
| <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.html"> |
| <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.html"> |
| +<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior.html"> |
| +<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator.html"> |
| <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| @@ -36,6 +38,7 @@ |
| } |
| #divOuter { |
| + align-items: center; |
| border-style: none; |
| display: flex; |
| flex-direction: row; |
| @@ -80,6 +83,10 @@ |
| height: 24px; |
| width: 24px; |
| } |
| + |
| + cr-policy-network-indicator { |
| + padding: 0 5px; |
|
Dan Beam
2016/11/29 05:25:34
where are you getting this value from?
stevenjb
2016/11/30 22:58:19
Created --cr-icon-padding in shared_vars_css
|
| + } |
| </style> |
| <div id="divOuter" actionable$="[[isListItem]]" |
| first-custom-item$="[[item.isFirstCustomItem]]"> |
| @@ -103,6 +110,11 @@ |
| [[getNetworkStateText_(networkState, isListItem)]] |
| </div> |
| </div> |
| + <template is="dom-if" if="[[isPolicySource(networkState.Source)]]"> |
| + <cr-policy-network-indicator |
| + indicator-type="[[getIndicatorTypeForSource(networkState.Source)]]"> |
| + </cr-policy-network-indicator> |
| + </template> |
| <template is="dom-if" |
| if="[[isSettingsButtonVisible_(networkState, showButtons)]]"> |
| <div id="divButtons"> |