OLD | NEW |
| (Empty) |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | |
2 <link rel="import" href="nav_bar.html"> | |
3 <link rel="import" href="observatory_element.html"> | |
4 <link rel="import" href="script_inset.html"> | |
5 | |
6 <polymer-element name="script-view" extends="observatory-element"> | |
7 <template> | |
8 <link rel="stylesheet" href="css/shared.css"> | |
9 <nav-bar> | |
10 <top-nav-menu></top-nav-menu> | |
11 <isolate-nav-menu isolate="{{ script.isolate }}"> | |
12 </isolate-nav-menu> | |
13 <nav-menu link="{{ script.owningLibrary.link }}" anchor="{{ script.owningLib
rary.name }}"></nav-menu> | |
14 <nav-menu link="{{ script.link }}" anchor="{{ script.name }}" last="{{ true
}}"></nav-menu> | |
15 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></nav
-refresh> | |
16 <nav-refresh callback="{{ refresh }}"></nav-refresh> | |
17 <nav-control></nav-control> | |
18 </nav-bar> | |
19 | |
20 <template if="{{ args['pos'] == null }}"> | |
21 <script-inset id="scriptInset" script="{{ script }}"> | |
22 <h1>script {{ script.name }}</h1> | |
23 </script-inset> | |
24 </template> | |
25 | |
26 <template if="{{ args['pos'] != null }}"> | |
27 <script-inset id="scriptInset" script="{{ script }}" | |
28 currentPos="{{ args['pos'] | parseInt }}"> | |
29 <h1>script {{ script.name }}</h1> | |
30 </script-inset> | |
31 </template> | |
32 | |
33 </template> | |
34 </polymer-element> | |
35 | |
36 <script type="application/dart" src="script_view.dart"></script> | |
OLD | NEW |