OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
2 | 2 |
3 <dom-module id="engagement-table"> | 3 <dom-module id="engagement-table"> |
4 <link rel="import" type="css" href="engagement_table.css"> | 4 <link rel="import" type="css" href="engagement_table.css"> |
5 <template> | 5 <template> |
6 <table> | 6 <table> |
7 <thead> | 7 <thead> |
8 <tr> | 8 <tr> |
9 <th>Origin</th> | 9 <th id="initial-sort-column" on-tap="handleSortColumnTap" sort-key="or igin">Origin</th> |
tsergeant
2015/10/27 23:35:34
Adding/removing children here for the indicator is
calamity
2015/10/28 04:26:50
Got rid of the span entirely and just used ::after
| |
10 <th>Points</th> | 10 <th on-tap="handleSortColumnTap" sort-key="score">Points</th> |
11 </tr> | 11 </tr> |
12 </thead> | 12 </thead> |
13 <tbody> | 13 <tbody> |
14 <template is="dom-repeat" items="{{engagementInfo}}" as="info"> | 14 <template id="engagement-table-items" is="dom-repeat" items="{{engagemen tInfo}}" as="info"> |
15 <tr> | 15 <tr> |
16 <td class="origin-cell">{{info.origin}}</td> | 16 <td class="origin-cell">{{info.origin}}</td> |
17 <td>{{info.score}}</td> | 17 <td>{{info.score}}</td> |
18 </tr> | 18 </tr> |
19 </template> | 19 </template> |
20 </tbody> | 20 </tbody> |
21 </table> | 21 </table> |
22 </template> | 22 </template> |
23 </dom-module> | 23 </dom-module> |
24 <script src="engagement_table.js"></script> | 24 <script src="engagement_table.js"></script> |
OLD | NEW |