| OLD | NEW |
| (Empty) | |
| 1 <link rel="import" href="observatory_element.html"> |
| 2 <polymer-element name="table-tree" extends="observatory-element"> |
| 3 <template> |
| 4 <div class="row"> |
| 5 <div class="col-md-12"> |
| 6 <table class="table table-hover" id="_table"> |
| 7 <thead> |
| 8 <tr> |
| 9 <template repeat="{{ header in tree.columnHeaders }}"> |
| 10 <th>{{header}}</th> |
| 11 </template> |
| 12 </tr> |
| 13 </thead> |
| 14 <tbody> |
| 15 <tr template repeat="{{row in tree.rows }}" style="{{}}"> |
| 16 <td on-click="{{toggleExpanded}}" |
| 17 class="{{ coloring(row) }}" |
| 18 style="{{ padding(row) }}"> |
| 19 {{row.columns[0]}} |
| 20 </td> |
| 21 <template repeat="{{ col in row.columns.skip(1) }}"> |
| 22 <td class="{{ coloring(row) }}">{{col}}</td> |
| 23 </template> |
| 24 </tr> |
| 25 </tbody> |
| 26 </table> |
| 27 </div> |
| 28 </div> |
| 29 </template> |
| 30 <script type="application/dart" src="table_tree.dart"></script> |
| 31 </polymer-element> |
| OLD | NEW |