blob: 25737d45127c7ea82d033c453e3a926f16f30f91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
<dom-module id="viewer-error-screen">
<template>
<style include="cr-hidden-style"></style>
<cr-dialog id="dialog" no-cancel>
<div slot="title">[[strings.errorDialogTitle]]</div>
<div slot="body">[[strings.pageLoadFailed]]</div>
<div slot="button-container" hidden$="[[!reloadFn]]">
<cr-button class="action-button" on-click="reload">
[[strings.pageReload]]
</cr-button>
</div>
</cr-dialog>
</template>
<script src="viewer-error-screen.js"></script>
</dom-module>
|