blob: 43a4128df61dfce98cbae0af99dbb9812367a994 [file] [log] [blame]
<!-- Copyright 2017 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. -->
<dom-module id="voice-interaction-value-prop-md">
<template>
<link rel="stylesheet" href="oobe_flex_layout.css">
<link rel="stylesheet" href="oobe_voice_interaction_value_prop.css">
<oobe-dialog id="voice-dialog" class="value-prop-loading" role="dialog"
hide-shadow has-buttons no-footer-padding android no-header>
<div slot="footer">
<div id="view-container">
<webview id="value-prop-view"></webview>
</div>
<div id="error-container">
<div class="title"
i18n-content="voiceInteractionValuePropLoadErrorTitle"></div>
<div id="subtitle">
<div i18n-content="voiceInteractionValuePropLoadErrorMessage"></div>
</div>
</div>
<div id="loading-container">
<div id="loading-message">
<div i18n-content="voiceInteractionValuePropLoading"></div>
</div>
<paper-progress class="slow" indeterminate></paper-progress>
</div>
</div>
<div slot="bottom-buttons" class="flex layout horizontal">
<oobe-text-button id="skip-button" android on-tap="onSkipTap_"
disabled="[[valuePropButtonsDisabled]]">
<div i18n-content="voiceInteractionValuePropSkipButton"></div>
</oobe-text-button>
<div class="flex"></div>
<oobe-text-button id="retry-button" inverse android on-tap="onRetryTap_"
disabled="[[valuePropButtonsDisabled]]">
<div i18n-content="voiceInteractionValuePropRetryButton"></div>
</oobe-text-button>
<oobe-text-button id="next-button" inverse android
on-tap="onNextTap_" disabled="[[valuePropButtonsDisabled]]">
<div i18n-content="voiceInteractionValuePropNextButton"></div>
</oobe-text-button>
</div>
</oobe-dialog>
</template>
</dom-module>