summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/md_extensions/install_warnings_dialog.html
blob: b65e209bb2c2ab51b079251c31080b8639d68999 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<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 {
        -webkit-padding-end: 10px;
        background-color: var(--paper-red-50);
        margin: 0;
        padding-bottom: 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>