OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="nav_bar.html"> | 2 <link rel="import" href="nav_bar.html"> |
3 <link rel="import" href="observatory_element.html"> | |
4 | 3 |
5 <polymer-element name="flag-list" extends="observatory-element"> | 4 |
| 5 <polymer-element name="flag-list"> |
6 <template> | 6 <template> |
7 <link rel="stylesheet" href="css/shared.css"> | 7 <link rel="stylesheet" href="css/shared.css"> |
8 <nav-bar> | 8 <nav-bar> |
9 <top-nav-menu></top-nav-menu> | 9 <top-nav-menu></top-nav-menu> |
10 <vm-nav-menu vm="{{ app.vm }}"></vm-nav-menu> | 10 <vm-nav-menu vm="{{ app.vm }}"></vm-nav-menu> |
11 <nav-menu link="{{ makeLink('/flags') }}" anchor="flags" last="{{ true }}"
></nav-menu> | 11 <nav-menu link="{{ makeLink('/flags') }}" anchor="flags" last="{{ true }}"
></nav-menu> |
12 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 12 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
13 <nav-notify notifications="{{ app.notifications }}"></nav-notify> | 13 <nav-notify notifications="{{ app.notifications }}"></nav-notify> |
14 </nav-bar> | 14 </nav-bar> |
15 | 15 |
(...skipping 17 matching lines...) Expand all Loading... |
33 <template repeat="{{ flag in unmodifiedFlags }}"> | 33 <template repeat="{{ flag in unmodifiedFlags }}"> |
34 <flag-item flag="{{ flag }}"></flag-item> | 34 <flag-item flag="{{ flag }}"></flag-item> |
35 <br> | 35 <br> |
36 </template> | 36 </template> |
37 </template> | 37 </template> |
38 </div> | 38 </div> |
39 <view-footer></view-footer> | 39 <view-footer></view-footer> |
40 </template> | 40 </template> |
41 </polymer-element> | 41 </polymer-element> |
42 | 42 |
43 <polymer-element name="flag-item" extends="observatory-element"> | 43 <polymer-element name="flag-item"> |
44 <template> | 44 <template> |
45 <link rel="stylesheet" href="css/shared.css"> | 45 <link rel="stylesheet" href="css/shared.css"> |
46 <span style="color:#aaa">// {{ flag['comment'] }}</span> | 46 <span style="color:#aaa">// {{ flag['comment'] }}</span> |
47 <div style="padding: 3px 0"> | 47 <div style="padding: 3px 0"> |
48 <b>{{ flag['name'] }}</b> | 48 <b>{{ flag['name'] }}</b> |
49 = | 49 = |
50 {{ flag['valueAsString'] }} | 50 {{ flag['valueAsString'] }} |
51 </div> | 51 </div> |
52 </template> | 52 </template> |
53 </polymer-element> | 53 </polymer-element> |
54 | 54 |
55 <script type="application/dart" src="flag_list.dart"></script> | 55 <script type="application/dart" src="flag_list.dart"></script> |
OLD | NEW |