OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa
nd_button.html"> |
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
3 <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"> |
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/iron-icon/iron-icon.htm
l"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
9 <link rel="import" href="../prefs/prefs.html"> | 9 <link rel="import" href="../prefs/prefs.html"> |
10 <link rel="import" href="../route.html"> | 10 <link rel="import" href="../route.html"> |
(...skipping 22 matching lines...) Expand all Loading... |
33 <settings-animated-pages id="pages" section="internet"> | 33 <settings-animated-pages id="pages" section="internet"> |
34 <neon-animatable route-path="default"> | 34 <neon-animatable route-path="default"> |
35 <network-summary default-network="{{defaultNetwork}}" | 35 <network-summary default-network="{{defaultNetwork}}" |
36 device-states="{{deviceStates}}" | 36 device-states="{{deviceStates}}" |
37 networking-private="[[networkingPrivate]]"> | 37 networking-private="[[networkingPrivate]]"> |
38 </network-summary> | 38 </network-summary> |
39 <template is="dom-if" if="[[allowAddConnection_(globalPolicy_)]]"> | 39 <template is="dom-if" if="[[allowAddConnection_(globalPolicy_)]]"> |
40 <div actionable class="settings-box two-line" | 40 <div actionable class="settings-box two-line" |
41 on-tap="onExpandAddConnectionsTap_"> | 41 on-tap="onExpandAddConnectionsTap_"> |
42 <div class="start layout horizontal center"> | 42 <div class="start layout horizontal center"> |
43 <iron-icon icon="cr:add"></iron-icon> | |
44 <div>$i18n{internetAddConnection}</div> | 43 <div>$i18n{internetAddConnection}</div> |
45 </div> | 44 </div> |
46 <cr-expand-button alt="$i18n{internetAddConnectionExpandA11yLabel}" | 45 <cr-expand-button alt="$i18n{internetAddConnectionExpandA11yLabel}" |
47 id="expandAddConnections" expanded="{{addConnectionExpanded_}}"> | 46 id="expandAddConnections" expanded="{{addConnectionExpanded_}}"> |
48 </cr-expand-button> | 47 </cr-expand-button> |
49 </div> | 48 </div> |
50 <template is="dom-if" if="[[addConnectionExpanded_]]"> | 49 <template is="dom-if" if="[[addConnectionExpanded_]]"> |
51 <template is="dom-if" if="[[deviceIsEnabled_(deviceStates.WiFi)]]"> | 50 <template is="dom-if" if="[[deviceIsEnabled_(deviceStates.WiFi)]]"> |
52 <div actionable class="settings-box continuation center" | 51 <div actionable class="settings-box continuation center" |
53 on-tap="onAddWiFiTap_"> | 52 on-tap="onAddWiFiTap_"> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 networking-private="[[networkingPrivate]]" | 111 networking-private="[[networkingPrivate]]" |
113 show-spinner="{{showSpinner_}}"> | 112 show-spinner="{{showSpinner_}}"> |
114 </settings-bluetooth-subpage> | 113 </settings-bluetooth-subpage> |
115 </settings-subpage> | 114 </settings-subpage> |
116 </template> | 115 </template> |
117 | 116 |
118 </settings-animated-pages> | 117 </settings-animated-pages> |
119 </template> | 118 </template> |
120 <script src="internet_page.js"></script> | 119 <script src="internet_page.js"></script> |
121 </dom-module> | 120 </dom-module> |
OLD | NEW |