blob: 1e9e1ee4f673a5a63f23516b5b35c551bfa50da9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<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-form-warning">
<template>
<style include="cr-hidden-style"></style>
<cr-dialog id="dialog" no-cancel>
<div slot="title">[[strings.annotationFormWarningTitle]]</div>
<div slot="body">[[strings.annotationFormWarningDetail]]</div>
<div slot="button-container">
<cr-button class="cancel-button" on-click="onCancel">
[[strings.annotationFormWarningKeepEditing]]
</cr-button>
<cr-button class="action-button" on-click="onAction">
[[strings.annotationFormWarningDiscard]]
</cr-button>
</div>
</cr-dialog>
</template>
<script src="viewer-form-warning.js"></script>
</dom-module>
|