Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1234)

Unified Diff: dashboard/dashboard/elements/triage-dialog.html

Issue 2181243003: [dashboard] Use "dialog-dismiss" and "dialog-confirm" w/ paper-dialogs (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Checkpoint. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dashboard/dashboard/elements/trace-form.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/elements/triage-dialog.html
diff --git a/dashboard/dashboard/elements/triage-dialog.html b/dashboard/dashboard/elements/triage-dialog.html
index 9aa08acc0c08f41c85025b323beb52b3bcbbcf1a..136616207315b0efbff4e9d17e92b6685a341d6d 100644
--- a/dashboard/dashboard/elements/triage-dialog.html
+++ b/dashboard/dashboard/elements/triage-dialog.html
@@ -48,7 +48,7 @@ on an alert, or clicks on a "triage" button on the alerts page. It allows the
transition: opacity 0.2s;
}
- paper-button[affirmative] {
+ paper-button[dialog-confirm] {
background: #4285f4;
color: #fff;
}
@@ -71,11 +71,11 @@ on an alert, or clicks on a "triage" button on the alerts page. It allows the
<form>
<fieldset name="Triage">
<legend>Triage</legend>
- <paper-button class="submit-button" raised affirmative
+ <paper-button class="submit-button" raised dialog-confirm
on-click="fileNewBug">New bug</paper-button>
- <paper-button class="submit-button" raised affirmative
+ <paper-button class="submit-button" raised dialog-confirm
on-click="associateWithBug">Existing bug</paper-button>
- <paper-button class="submit-button" raised affirmative
+ <paper-button class="submit-button" raised dialog-confirm
on-click="markIgnored">Ignore</paper-button>
</fieldset>
<fieldset name="Fix-up alert">
@@ -91,7 +91,7 @@ on an alert, or clicks on a "triage" button on the alerts page. It allows the
</div>
<div class="card-actions">
- <paper-button dismissive raised>Close</paper-button>
+ <paper-button raised dismissive on-click="close">Close</paper-button>
charliea (OOO until 10-5) 2016/07/26 17:20:00 It's necessary to provide an on-click handler manu
<template is="dom-if" if="{{loading}}">
<div id="loading">
« no previous file with comments | « dashboard/dashboard/elements/trace-form.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698