blob: bcd36c91225fe19bade8e012a6c8292929a953a0 [file] [log] [blame]
<!-- Copyright 2018 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expand_button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-collapse.html">
<dom-module id="assistant-value-prop">
<template>
<link rel="stylesheet" href="../login/oobe_flex_layout.css">
<link rel="stylesheet" href="../login/oobe_popup_overlay.css">
<link rel="stylesheet" href="assistant_shared_styles.css">
<link rel="stylesheet" href="assistant_value_prop.css">
<oobe-dialog id="value-prop-dialog" class="value-prop-loading"
role="dialog" has-buttons no-footer-padding no-header>
<div slot="footer">
<div class="container">
<img id="logo" src="assistant_logo.png"
i18n-values="aria-label:assistantLogo">
<div class="title" id="title-text"></div>
<div class="content" id="intro-text"></div>
<div class="flex layout horizontal center">
<div id="value-prop-container">
<div class="flex layout horizontal center">
<img id="user-image">
<div class="content" id="user-name"></div>
</div>
<webview id="value-prop-view"></webview>
</div>
<div id="consents-container"></div>
</div>
<div class="content" id="footer-text"></div>
</div>
</div>
<div slot="bottom-buttons" class="flex layout horizontal">
<div class="flex"></div>
<oobe-text-button id="skip-button" on-tap="onSkipTap_"
disabled="[[buttonsDisabled]]">
<div id="skip-button-text"></div>
</oobe-text-button>
<oobe-text-button id="next-button" inverse on-tap="onNextTap_"
disabled="[[buttonsDisabled]]">
<div id="next-button-text"></div>
</oobe-text-button>
</div>
</oobe-dialog>
<div id="learn-more-overlay" class="popup-overlay" hidden>
<div id="overlay-container" class="oobe-popup not-resizable">
<div id="overlay-text">
<div id="overlay-title-text"></div>
<div id="overlay-additional-info-text"></div>
</div>
<div class="button-strip">
<oobe-text-button inverse id="overlay-close-button">
<div i18n-content="assistantOptinOKButton" id="close-button-text">
</div>
</oobe-text-button>
</div>
</div>
</div>
</template>
</dom-module>