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

Side by Side Diff: runtime/observatory/lib/src/elements/metrics.html

Issue 1103643004: Add breadcrumb for the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="nav_bar.html"> 2 <link rel="import" href="nav_bar.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 4
5 <polymer-element name="metrics-page" extends="observatory-element"> 5 <polymer-element name="metrics-page" extends="observatory-element">
6 <template> 6 <template>
7 <link rel="stylesheet" href="css/shared.css"> 7 <link rel="stylesheet" href="css/shared.css">
8 <style> 8 <style>
9 ul li:hover:not(.selected) { 9 ul li:hover:not(.selected) {
10 background-color: #FFF3E3; 10 background-color: #FFF3E3;
11 } 11 }
12 .selected { 12 .selected {
13 background-color: #0489c3; 13 background-color: #0489c3;
14 } 14 }
15 .graph { 15 .graph {
16 min-height: 600px; 16 min-height: 600px;
17 } 17 }
18 </style> 18 </style>
19 <nav-bar> 19 <nav-bar>
20 <top-nav-menu last="{{ true }}"></top-nav-menu> 20 <top-nav-menu></top-nav-menu>
21 <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu>
22 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu>
23 <nav-menu link="{{ makeLink('/metrics', isolate) }}" anchor="metrics" last ="{{ true }}"></nav-menu>
24
21 <nav-refresh callback="{{ refresh }}"></nav-refresh> 25 <nav-refresh callback="{{ refresh }}"></nav-refresh>
22 </nav-bar> 26 </nav-bar>
23 <div class="flex-row"> 27 <div class="flex-row">
24 <div class="flex-item-20-percent"> 28 <div class="flex-item-20-percent">
25 <ul> 29 <ul>
26 <template repeat="{{ metric in isolate.dartMetrics.values }}"> 30 <template repeat="{{ metric in isolate.dartMetrics.values }}">
27 <template if="{{ metric == selectedMetric }}"> 31 <template if="{{ metric == selectedMetric }}">
28 <li class="selected"> 32 <li class="selected">
29 {{ metric.name }} 33 {{ metric.name }}
30 </li> 34 </li>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 .graph { 131 .graph {
128 min-height: 600px; 132 min-height: 600px;
129 } 133 }
130 </style> 134 </style>
131 <div id="graph" class="graph"> 135 <div id="graph" class="graph">
132 </div> 136 </div>
133 </template> 137 </template>
134 </polymer-element> 138 </polymer-element>
135 139
136 <script type="application/dart" src="metrics.dart"></script> 140 <script type="application/dart" src="metrics.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698