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

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

Issue 2167053002: Converted Observatory nav-notify element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed template ciclic references that were blocking initialization Created 4 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 unified diff | Download patch
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">
4 3
5 <polymer-element name="metrics-page" extends="observatory-element"> 4
5 <polymer-element name="metrics-page">
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 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 </metrics-graph> 59 </metrics-graph>
60 <div> 60 <div>
61 <metric-details page="{{ page }}" metric="{{ selectedMetric }}"> 61 <metric-details page="{{ page }}" metric="{{ selectedMetric }}">
62 </metric-details> 62 </metric-details>
63 </div> 63 </div>
64 </div> 64 </div>
65 </div> 65 </div>
66 </template> 66 </template>
67 </polymer-element> 67 </polymer-element>
68 68
69 <polymer-element name="metric-details" extends="observatory-element"> 69 <polymer-element name="metric-details">
70 <template> 70 <template>
71 <link rel="stylesheet" href="css/shared.css"> 71 <link rel="stylesheet" href="css/shared.css">
72 <div class="content-centered"> 72 <div class="content-centered">
73 <div class="memberList"> 73 <div class="memberList">
74 <div class="memberItem"> 74 <div class="memberItem">
75 <div class="memberName">name</div> 75 <div class="memberName">name</div>
76 <div class="memberValue">{{ metric.name }}</div> 76 <div class="memberValue">{{ metric.name }}</div>
77 </div> 77 </div>
78 <div class="memberItem"> 78 <div class="memberItem">
79 <div class="memberName">description</div> 79 <div class="memberName">description</div>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 <option value="100" selected="selected">100</option> 118 <option value="100" selected="selected">100</option>
119 <option value="1000">1000</option> 119 <option value="1000">1000</option>
120 </select> 120 </select>
121 </div> 121 </div>
122 </div> 122 </div>
123 </div> 123 </div>
124 </div> 124 </div>
125 </template> 125 </template>
126 </polymer-element> 126 </polymer-element>
127 127
128 <polymer-element name="metrics-graph" extends="observatory-element"> 128 <polymer-element name="metrics-graph">
129 <template> 129 <template>
130 <link rel="stylesheet" href="css/shared.css"> 130 <link rel="stylesheet" href="css/shared.css">
131 <link rel="stylesheet" href="../../../../packages/charted/charts/themes/quan tum_theme.css"> 131 <link rel="stylesheet" href="../../../../packages/charted/charts/themes/quan tum_theme.css">
132 <style> 132 <style>
133 .chart-wrapper { 133 .chart-wrapper {
134 padding: 40px; 134 padding: 40px;
135 width: 800px; 135 width: 800px;
136 } 136 }
137 .chart-host-wrapper { 137 .chart-host-wrapper {
138 height: 300px; 138 height: 300px;
139 } 139 }
140 </style> 140 </style>
141 <div class="chart-wrapper" id="metric-chart"> 141 <div class="chart-wrapper" id="metric-chart">
142 <div class="chart-host-wrapper"> 142 <div class="chart-host-wrapper">
143 <div class="chart-host" dir="ltr"></div> 143 <div class="chart-host" dir="ltr"></div>
144 </div> 144 </div>
145 </div> 145 </div>
146 </template> 146 </template>
147 </polymer-element> 147 </polymer-element>
148 148
149 <script type="application/dart" src="metrics.dart"></script> 149 <script type="application/dart" src="metrics.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/megamorphiccache_view.html ('k') | runtime/observatory/lib/src/elements/nav/notify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698