OLD | NEW |
(Empty) | |
| 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> |
| 3 <head> |
| 4 |
| 5 <polymer-element name="log-entry" extends="observatory-element"> |
| 6 <template> |
| 7 <style> |
| 8 .memberItem { |
| 9 display: table-row; |
| 10 } |
| 11 .memberName, .memberValue { |
| 12 display: table-cell; |
| 13 vertical-align: top; |
| 14 padding: 3px 0 3px 1em; |
| 15 font: 400 14px 'Montserrat', sans-serif; |
| 16 } |
| 17 </style> |
| 18 <div class="memberItem"> |
| 19 <div class="memberName">{{ time }}</div> |
| 20 <div class="memberValue">{{ message }}</div> |
| 21 </div> |
| 22 </template> |
| 23 <script type="application/dart" src="log_view.dart"></script> |
| 24 </polymer-element> |
| 25 |
| 26 <polymer-element name="log-view" extends="observatory-element"> |
| 27 <template> |
| 28 <style> |
| 29 .memberList { |
| 30 display: table; |
| 31 } |
| 32 </style> |
| 33 <div class="memberList"> |
| 34 <template repeat="{{ entry in log['members'] }}"> |
| 35 <log-entry entry="{{ entry }}"></log-entry> |
| 36 </template> |
| 37 </div> |
| 38 </template> |
| 39 <script type="application/dart" src="log_view.dart"></script> |
| 40 </polymer-element> |
OLD | NEW |