| <link rel="import" href="chrome://resources/html/polymer.html"> |
| |
| <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html"> |
| <link rel="import" href="chrome://resources/cr_elements/paper_button_style_css.html"> |
| <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| <link rel="import" href="chrome://resources/html/assert.html"> |
| <link rel="import" href="chrome://resources/html/cr.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html"> |
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> |
| <link rel="import" href="code_section.html"> |
| |
| <dom-module id="extensions-install-warnings-dialog"> |
| <template> |
| <style include="cr-shared-style paper-button-style"> |
| div[slot='body'] ul { |
| background-color: var(--paper-red-50); |
| margin: 0; |
| padding-bottom: 10px; |
| padding-inline-end: 10px; |
| padding-top: 10px; |
| } |
| </style> |
| <cr-dialog id="dialog" close-text="$i18n{close}"> |
| <div slot="title">$i18n{installWarnings}</div> |
| <div slot="body"> |
| <ul> |
| <template is="dom-repeat" items="[[installWarnings]]"> |
| <li>[[item]]</li> |
| </template> |
| </ul> |
| </div> |
| <div slot="button-container"> |
| <paper-button class="action-button" on-click="onOkTap_"> |
| $i18n{ok} |
| </paper-button> |
| </div> |
| </cr-dialog> |
| </template> |
| <script src="install_warnings_dialog.js"></script> |
| </dom-module> |