Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / media_router / elements / issue_banner / issue_banner.html
blobc2b25085fc2b525d03d3ae7454d0381fe7cbd389
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
5 <dom-module name="issue-banner">
6 <link rel="import" type="css" href="../../media_router_common.css">
7 <link rel="import" type="css" href="issue_banner.css">
8 <template>
9 <div class$="[[computeIssueClass_(issue)]]">
10 <div>
11 <div hidden$="[[computeIsBlockingIssueHidden_(issue)]]">
12 <iron-icon icon="report-problem" id="blocking-icon">
13 </iron-icon>
14 </div>
15 <div id="title">[[issue.title]]</div>
16 </div>
17 <div id="buttons">
18 <paper-button flat id="opt-button" class="button"
19 on-click="onClickOptAction_"
20 hidden$="[[computeOptionalActionHidden_(issue)]]">
21 <span>[[secondaryActionButtonText_]]</span>
22 </paper-button>
23 <paper-button flat id="default-button"
24 class="button action" on-click="onClickDefaultAction_">
25 <span>[[defaultActionButtonText_]]</span>
26 </paper-button>
27 </div>
28 </div>
29 </template>
30 <script src="issue_banner.js"></script>
31 </dom-module>