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

Unified Diff: runtime/observatory/lib/src/elements/eval_box.html

Issue 1275163002: Allow users to remove evaluation results. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « runtime/observatory/lib/src/elements/eval_box.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/eval_box.html
diff --git a/runtime/observatory/lib/src/elements/eval_box.html b/runtime/observatory/lib/src/elements/eval_box.html
index a6d61d37e27fc244bf8d0debefed4c47f1963bcb..ad9045a9a4c99f9da312a2eace730d3031a9c8dc 100644
--- a/runtime/observatory/lib/src/elements/eval_box.html
+++ b/runtime/observatory/lib/src/elements/eval_box.html
@@ -42,6 +42,22 @@
display: block;
padding: 6px 6px;
}
+ a.boxclose {
+ margin-left: 20px;
+ valign: top;
+ display: block;
+ height: 18px;
+ width: 18px;
+ line-height: 16px;
+ border-radius: 9px;
+ color: black;
+ font-size: 18px;
+ cursor: pointer;
+ text-align: center;
+ }
+ a.boxclose:hover {
+ background: lightgray;
+ }
</style>
<form style="display:flex; flex-direction:row; align-items:flex-end">
<template if="{{ lineMode == '1-line' }}">
@@ -86,6 +102,10 @@
</template>
</template>
</td>
+ <td>
+ <a class="boxclose" on-click="{{ closeItem }}"
+ closeId="{{ result['id'] }}">&times;</a>
+ </td>
</tr>
</table>
</template>
« no previous file with comments | « runtime/observatory/lib/src/elements/eval_box.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698