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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/log_view.html

Issue 227423005: Add TraceBuffer log to all Functions (plus small tweaks to function-view) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
Index: runtime/bin/vmservice/client/lib/src/elements/log_view.html
diff --git a/runtime/bin/vmservice/client/lib/src/elements/log_view.html b/runtime/bin/vmservice/client/lib/src/elements/log_view.html
new file mode 100644
index 0000000000000000000000000000000000000000..35ce13b5ff53db7a5caabdc25698bbf750e0b478
--- /dev/null
+++ b/runtime/bin/vmservice/client/lib/src/elements/log_view.html
@@ -0,0 +1,40 @@
+<head>
+ <link rel="import" href="observatory_element.html">
+<head>
+
+<polymer-element name="log-entry" extends="observatory-element">
+ <template>
+ <style>
+ .memberItem {
+ display: table-row;
+ }
+ .memberName, .memberValue {
+ display: table-cell;
+ vertical-align: top;
+ padding: 3px 0 3px 1em;
+ font: 400 14px 'Montserrat', sans-serif;
+ }
+ </style>
+ <div class="memberItem">
+ <div class="memberName">{{ time }}</div>
+ <div class="memberValue">{{ message }}</div>
+ </div>
+ </template>
+ <script type="application/dart" src="log_view.dart"></script>
+</polymer-element>
+
+<polymer-element name="log-view" extends="observatory-element">
+ <template>
+ <style>
+ .memberList {
+ display: table;
+ }
+ </style>
+ <div class="memberList">
+ <template repeat="{{ entry in log['members'] }}">
+ <log-entry entry="{{ entry }}"></log-entry>
+ </template>
+ </div>
+ </template>
+ <script type="application/dart" src="log_view.dart"></script>
+</polymer-element>
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/elements/log_view.dart ('k') | runtime/bin/vmservice/client/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698