Index: runtime/bin/vmservice/client/lib/src/observatory_elements/breakpoint_list.html |
=================================================================== |
--- runtime/bin/vmservice/client/lib/src/observatory_elements/breakpoint_list.html (revision 0) |
+++ runtime/bin/vmservice/client/lib/src/observatory_elements/breakpoint_list.html (working copy) |
@@ -0,0 +1,22 @@ |
+<head> |
+ <link rel="import" href="observatory_element.html"> |
+</head> |
+<polymer-element name="breakpoint-list" extends="observatory-element"> |
+ <template> |
+ <template if="{{ msg['breakpoints'].isEmpty }}"> |
+ <div class="panel panel-warning"> |
+ <div class="panel-body">No breakpoints</div> |
+ </div> |
+ </template> |
+ <template if="{{ msg['breakpoints'].isNotEmpty }}"> |
+ <ul class="list-group"> |
+ <template repeat="{{ bpt in msg['breakpoints'] }}"> |
+ <li class="list-group-item"> |
+ {{ bpt }} |
+ </li> |
+ </template> |
+ </ul> |
+ </template> |
+ </template> |
+ <script type="application/dart" src="breakpoint_list.dart"></script> |
+</polymer-element> |