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"> | 3 <link rel="import" href="observatory_element.html"> |
4 | 4 |
5 <polymer-element name="flag-list" extends="observatory-element"> | 5 <polymer-element name="flag-list" extends="observatory-element"> |
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-bar> | 14 </nav-bar> |
14 | 15 |
15 <div class="content-centered"> | 16 <div class="content-centered"> |
16 <template if="{{ modifiedFlags.isNotEmpty }}"> | 17 <template if="{{ modifiedFlags.isNotEmpty }}"> |
17 <h1>Modified Flags</h1> | 18 <h1>Modified Flags</h1> |
18 <br> | 19 <br> |
19 <template repeat="{{ flag in modifiedFlags }}"> | 20 <template repeat="{{ flag in modifiedFlags }}"> |
20 <flag-item flag="{{ flag }}"></flag-item> | 21 <flag-item flag="{{ flag }}"></flag-item> |
21 <br> | 22 <br> |
22 </template> | 23 </template> |
(...skipping 22 matching lines...) Expand all Loading... |
45 <span style="color:#aaa">// {{ flag['comment'] }}</span> | 46 <span style="color:#aaa">// {{ flag['comment'] }}</span> |
46 <div style="padding: 3px 0"> | 47 <div style="padding: 3px 0"> |
47 <b>{{ flag['name'] }}</b> | 48 <b>{{ flag['name'] }}</b> |
48 = | 49 = |
49 {{ flag['valueAsString'] }} | 50 {{ flag['valueAsString'] }} |
50 </div> | 51 </div> |
51 </template> | 52 </template> |
52 </polymer-element> | 53 </polymer-element> |
53 | 54 |
54 <script type="application/dart" src="flag_list.dart"></script> | 55 <script type="application/dart" src="flag_list.dart"></script> |
OLD | NEW |