| OLD | NEW |
| 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> | 5 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_selec
t.html"> | 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_selec
t.html"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i
conset-svg.html"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-i
conset-svg.html"> |
| 11 | 11 |
| 12 <iron-iconset-svg name="oobe-welcome" size="24"> | 12 <iron-iconset-svg name="oobe-welcome" size="24"> |
| 13 <svg> | 13 <svg> |
| 14 <defs> | 14 <defs> |
| 15 <g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g> | 15 <g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g> |
| 16 <g id="wifi"><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.
08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76
10 0l2-2C15.14 9.14 8.87 9.14 5 13z"></path></g> | 16 <g id="wifi"><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.
08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76
10 0l2-2C15.14 9.14 8.87 9.14 5 13z"></path></g> |
| 17 </defs> | 17 </defs> |
| 18 </svg> | 18 </svg> |
| 19 </iron-iconset-svg> | 19 </iron-iconset-svg> |
| 20 | 20 |
| 21 <dom-module name="oobe-welcome-md"> | 21 <dom-module name="oobe-welcome-md"> |
| 22 <link rel="stylesheet" href="oobe_welcome.css"> | 22 <link rel="stylesheet" href="oobe_welcome.css"> |
| 23 <template> | 23 <template> |
| 24 <oobe-card id="welcomeSection" class="fit" hidden="[[!welcomeScreenShown]]"> | 24 <oobe-card id="welcomeSection" hidden="[[!welcomeScreenShown]]"> |
| 25 <div class="header flex vertical layout end-justified start"> | 25 <div class="header flex vertical layout end-justified start"> |
| 26 <h1 class="welcome-message" i18n-content="networkScreenGreeting"></h1> | 26 <h1 class="welcome-message" i18n-content="networkScreenGreeting"></h1> |
| 27 </div> | 27 </div> |
| 28 <div class="footer flex vertical layout justified"> | 28 <div class="footer flex vertical layout justified"> |
| 29 <div class="welcome-next flex vertical layout center"> | 29 <div class="welcome-next flex vertical layout center"> |
| 30 <oobe-next-button id="welcomeNextButton" | 30 <oobe-next-button id="welcomeNextButton" |
| 31 on-tap="onWelcomeNextButtonClicked_"> | 31 on-tap="onWelcomeNextButtonClicked_"> |
| 32 </oobe-next-button> | 32 </oobe-next-button> |
| 33 </div> | 33 </div> |
| 34 <div class="flex horizontal layout justified"> | 34 <div class="flex horizontal layout justified"> |
| 35 <div class="buttonbox layout vertical" | 35 <div class="buttonbox layout vertical" |
| 36 on-tap="onWelcomeSelectLanguageButtonClicked_"> | 36 on-tap="onWelcomeSelectLanguageButtonClicked_"> |
| 37 <iron-icon icon="icons:language" class="bottom-button self-center"> | 37 <iron-icon icon="icons:language" class="bottom-button self-center"> |
| 38 </iron-icon> | 38 </iron-icon> |
| 39 <div id="currentLanguage">[[currentLanguage]]</div> | 39 <div id="currentLanguage">[[currentLanguage]]</div> |
| 40 </div> | 40 </div> |
| 41 <div class="buttonbox layout vertical" | 41 <div class="buttonbox layout vertical" |
| 42 on-tap="onWelcomeAccessibilityButtonClicked_"> | 42 on-tap="onWelcomeAccessibilityButtonClicked_"> |
| 43 <iron-icon icon="icons:accessibility" | 43 <iron-icon icon="icons:accessibility" |
| 44 class="bottom-button self-center"> | 44 class="bottom-button self-center"> |
| 45 </iron-icon> | 45 </iron-icon> |
| 46 <div id="accessibilityLabel" i18n-content="accessibilityLink"></div> | 46 <div id="accessibilityLabel" i18n-content="accessibilityLink"></div> |
| 47 </div> | 47 </div> |
| 48 </div> | 48 </div> |
| 49 </div> | 49 </div> |
| 50 </oobe-card> | 50 </oobe-card> |
| 51 <oobe-dialog class="fit" hidden="[[!languageSelectionScreenShown]]" | 51 <oobe-dialog hidden="[[!languageSelectionScreenShown]]" |
| 52 has-buttons> | 52 has-buttons> |
| 53 <iron-icon icon="icons:language" class="oobe-icon"></iron-icon> | 53 <iron-icon icon="icons:language" class="oobe-icon"></iron-icon> |
| 54 <div class="header flex layout vertical end-justified start"> | 54 <div class="header flex layout vertical end-justified start"> |
| 55 <h1 class="welcome-message" i18n-content="languageSectionTitle"></h1> | 55 <h1 class="welcome-message" i18n-content="languageSectionTitle"></h1> |
| 56 </div> | 56 </div> |
| 57 <div class="footer layout vertical"> | 57 <div class="footer layout vertical"> |
| 58 <template is="dom-if" if="[[enabled]]"> | 58 <template is="dom-if" if="[[enabled]]"> |
| 59 <div id="languageDropdownContainer" | 59 <div id="languageDropdownContainer" |
| 60 class="flex layout horizontal justified language-selection-entry"> | 60 class="flex layout horizontal justified language-selection-entry"> |
| 61 <div class="layout vertical center-justified" | 61 <div class="layout vertical center-justified" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 77 </oobe-i18n-dropdown> | 77 </oobe-i18n-dropdown> |
| 78 </div> | 78 </div> |
| 79 </template> | 79 </template> |
| 80 </div> | 80 </div> |
| 81 <div class="bottom-buttons layout horizontal"> | 81 <div class="bottom-buttons layout horizontal"> |
| 82 <oobe-text-button inverse on-tap="closeLanguageSection_" | 82 <oobe-text-button inverse on-tap="closeLanguageSection_" |
| 83 i18n-content="oobeOKButtonText"> | 83 i18n-content="oobeOKButtonText"> |
| 84 </oobe-text-button> | 84 </oobe-text-button> |
| 85 </div> | 85 </div> |
| 86 </oobe-dialog> | 86 </oobe-dialog> |
| 87 <oobe-dialog class="fit" hidden="[[!accessibilityOptionsScreenShown]]" | 87 <oobe-dialog hidden="[[!accessibilityOptionsScreenShown]]" |
| 88 has-buttons> | 88 has-buttons> |
| 89 <iron-icon icon="icons:accessibility" class="oobe-icon"></iron-icon> | 89 <iron-icon icon="icons:accessibility" class="oobe-icon"></iron-icon> |
| 90 <div class="header flex layout vertical end-justified start"> | 90 <div class="header flex layout vertical end-justified start"> |
| 91 <h1 class="welcome-message" i18n-content="accessibilitySectionTitle"> | 91 <h1 class="welcome-message" i18n-content="accessibilitySectionTitle"> |
| 92 </h1> | 92 </h1> |
| 93 <h1 class="welcome-message-hint" | 93 <h1 class="welcome-message-hint" |
| 94 i18n-content="accessibilitySectionHint"> | 94 i18n-content="accessibilitySectionHint"> |
| 95 </h1> | 95 </h1> |
| 96 </div> | 96 </div> |
| 97 <div class="footer layout vertical"> | 97 <div class="footer layout vertical"> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 <span class="unchecked-value" i18n-content="virtualKeyboardOptionOff"> | 140 <span class="unchecked-value" i18n-content="virtualKeyboardOptionOff"> |
| 141 </span> | 141 </span> |
| 142 </oobe-a11y-option> | 142 </oobe-a11y-option> |
| 143 </div> | 143 </div> |
| 144 <div class="bottom-buttons layout horizontal"> | 144 <div class="bottom-buttons layout horizontal"> |
| 145 <oobe-text-button inverse on-tap="closeAccessibilitySection_" | 145 <oobe-text-button inverse on-tap="closeAccessibilitySection_" |
| 146 i18n-content="oobeOKButtonText"> | 146 i18n-content="oobeOKButtonText"> |
| 147 </oobe-text-button> | 147 </oobe-text-button> |
| 148 </div> | 148 </div> |
| 149 </oobe-dialog> | 149 </oobe-dialog> |
| 150 <oobe-dialog id="networkSection" class="fit" | 150 <oobe-dialog id="networkSection" |
| 151 hidden="[[!networkSelectionScreenShown]]"> | 151 hidden="[[!networkSelectionScreenShown]]"> |
| 152 <iron-icon icon="oobe-welcome:wifi" class="oobe-icon"></iron-icon> | 152 <iron-icon icon="oobe-welcome:wifi" class="oobe-icon"></iron-icon> |
| 153 <div class="header flex layout vertical end-justified start"> | 153 <div class="header flex layout vertical end-justified start"> |
| 154 <h1 class="welcome-message" i18n-content="networkSectionTitle"></h1> | 154 <h1 class="welcome-message" i18n-content="networkSectionTitle"></h1> |
| 155 <h1 class="welcome-message-hint" i18n-content="networkSectionHint"></h1> | 155 <h1 class="welcome-message-hint" i18n-content="networkSectionHint"></h1> |
| 156 </div> | 156 </div> |
| 157 <div class="footer flex layout vertical justified"> | 157 <div class="footer flex layout vertical justified"> |
| 158 <cr-network-select id="networkSelect" | 158 <cr-network-select id="networkSelect" |
| 159 on-network-connected="onNetworkConnected_" | 159 on-network-connected="onNetworkConnected_" |
| 160 on-network-item-selected="onNetworkListNetworkItemSelected_" | 160 on-network-item-selected="onNetworkListNetworkItemSelected_" |
| 161 on-custom-item-selected="onNetworkListCustomItemSelected_" | 161 on-custom-item-selected="onNetworkListCustomItemSelected_" |
| 162 custom-items="[[_getNetworkCustomItems()]]" | 162 custom-items="[[_getNetworkCustomItems()]]" |
| 163 max-height="280"> | 163 max-height="280"> |
| 164 </cr-network-select> | 164 </cr-network-select> |
| 165 </div> | 165 </div> |
| 166 </oobe-dialog> | 166 </oobe-dialog> |
| 167 </template> | 167 </template> |
| 168 </dom-module> | 168 </dom-module> |
| 169 | 169 |
| OLD | NEW |