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 <nav-menu link="{{ makeLink('/flags') }}" anchor="flags" last="{{ true }}"
></nav-menu> | 10 <nav-menu link="{{ makeLink('/flags') }}" anchor="flags" last="{{ true }}"
></nav-menu> |
11 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 11 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
12 <nav-control></nav-control> | |
13 </nav-bar> | 12 </nav-bar> |
14 | 13 |
15 <div class="content-centered"> | 14 <div class="content-centered"> |
16 <template if="{{ flagList['modifiedFlags'].isNotEmpty }}"> | 15 <template if="{{ flagList['modifiedFlags'].isNotEmpty }}"> |
17 <h1>Modified Flags</h1> | 16 <h1>Modified Flags</h1> |
18 <br> | 17 <br> |
19 <template repeat="{{ flag in flagList['modifiedFlags'] }}"> | 18 <template repeat="{{ flag in flagList['modifiedFlags'] }}"> |
20 <flag-item flag="{{ flag }}"></flag-item> | 19 <flag-item flag="{{ flag }}"></flag-item> |
21 <br> | 20 <br> |
22 </template> | 21 </template> |
(...skipping 22 matching lines...) Expand all Loading... |
45 <span style="color:#aaa">// {{ flag['comment'] }}</span> | 44 <span style="color:#aaa">// {{ flag['comment'] }}</span> |
46 <div style="padding: 3px 0"> | 45 <div style="padding: 3px 0"> |
47 <b>{{ flag['name'] }}</b> | 46 <b>{{ flag['name'] }}</b> |
48 = | 47 = |
49 {{ flag['valueAsString'] }} | 48 {{ flag['valueAsString'] }} |
50 </div> | 49 </div> |
51 </template> | 50 </template> |
52 </polymer-element> | 51 </polymer-element> |
53 | 52 |
54 <script type="application/dart" src="flag_list.dart"></script> | 53 <script type="application/dart" src="flag_list.dart"></script> |
OLD | NEW |