OLD | NEW |
1 <link href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.ht
ml" rel="import"> | 1 <link href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.ht
ml" rel="import"> |
2 <link href="chrome://resources/polymer/v1_0/iron-icons/communication-icons.html"
rel="import"> | 2 <link href="chrome://resources/polymer/v1_0/iron-icons/communication-icons.html"
rel="import"> |
3 <link href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.
html" rel="import"> | 3 <link href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.
html" rel="import"> |
4 <link href="chrome://resources/polymer/v1_0/paper-toolbar/paper-toolbar.html" re
l="import"> | 4 <link href="chrome://resources/polymer/v1_0/paper-toolbar/paper-toolbar.html" re
l="import"> |
5 <link href="chrome://resources/polymer/v1_0/polymer/polymer.html" rel="import"> | 5 <link href="chrome://resources/polymer/v1_0/polymer/polymer.html" rel="import"> |
6 <link href="log-buffer.html" rel="import"> | 6 <link href="log-buffer.html" rel="import"> |
7 | 7 |
8 <dom-module id="log-panel"> | 8 <dom-module id="log-panel"> |
9 <style> | 9 <style> |
10 :host { | 10 :host { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 <template> | 64 <template> |
65 <paper-toolbar class="layout horizontal end-justified center" | 65 <paper-toolbar class="layout horizontal end-justified center" |
66 on-click="clearLogs_"> | 66 on-click="clearLogs_"> |
67 <paper-icon-button icon="communication:clear-all"></paper-icon-button> | 67 <paper-icon-button icon="communication:clear-all"></paper-icon-button> |
68 </paper-toolbar> | 68 </paper-toolbar> |
69 | 69 |
70 <log-buffer id='logBuffer' logs="{{logs}}"></log-buffer> | 70 <log-buffer id='logBuffer' logs="{{logs}}"></log-buffer> |
71 <div id="list" class="flex"> | 71 <div id="list" class="flex"> |
72 <template is="dom-repeat" items="[[logs]]"> | 72 <template is="dom-repeat" items="[[logs]]"> |
73 <div class="list-item" severity="[[item.severity]]"> | 73 <div class="list-item" severity$="[[item.severity]]"> |
74 <div class="item-metadata layout horizontal"> | 74 <div class="item-metadata layout horizontal"> |
75 <div>[[item.time]]</div> | 75 <div>[[item.time]]</div> |
76 <div class="flex"></div> | 76 <div class="flex"></div> |
77 <div>[[computeFileAndLine_(item)]]</div> | 77 <div>[[computeFileAndLine_(item)]]</div> |
78 </div> | 78 </div> |
79 <pre class="item-log flex">[[item.text]]</pre> | 79 <pre class="item-log flex">[[item.text]]</pre> |
80 </div> | 80 </div> |
81 </template> | 81 </template> |
82 </div> | 82 </div> |
83 </template> | 83 </template> |
84 <script src="log-panel.js"></script> | 84 <script src="log-panel.js"></script> |
85 </dom-module> | 85 </dom-module> |
OLD | NEW |