OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="observatory_element.html"> | |
3 <link rel="import" href="error_view.html"> | 2 <link rel="import" href="error_view.html"> |
4 <link rel="import" href="field_ref.html"> | 3 <link rel="import" href="field_ref.html"> |
5 <link rel="import" href="function_ref.html"> | 4 <link rel="import" href="function_ref.html"> |
6 <link rel="import" href="instance_ref.html"> | 5 <link rel="import" href="instance_ref.html"> |
7 <link rel="import" href="library_ref.html"> | 6 <link rel="import" href="library_ref.html"> |
| 7 <link rel="import" href="nav_bar.html"> |
| 8 <link rel="import" href="observatory_element.html"> |
8 </head> | 9 </head> |
9 <polymer-element name="class-view" extends="observatory-element"> | 10 <polymer-element name="class-view" extends="observatory-element"> |
10 <template> | 11 <template> |
| 12 <nav-bar> |
| 13 <top-nav-menu></top-nav-menu> |
| 14 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI
solate() }}"> |
| 15 </isolate-nav-menu> |
| 16 <library-nav-menu app="{{ app }}" library="{{ cls['library'] }}"></library
-nav-menu> |
| 17 <class-nav-menu app="{{ app }}" cls="{{ cls }}" last="{{ true }}"></class-
nav-menu> |
| 18 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 19 </nav-bar> |
| 20 |
11 <div class="row"> | 21 <div class="row"> |
12 <div class="col-md-8 col-md-offset-2"> | 22 <div class="col-md-8 col-md-offset-2"> |
13 <div class="panel panel-warning"> | 23 <div class="panel panel-warning"> |
14 <div class="panel-heading"> | 24 <div class="panel-heading"> |
15 class <strong>{{ cls['user_name'] }}</strong> | 25 class <strong>{{ cls['user_name'] }}</strong> |
16 <template if="{{ cls['super']['type'] != 'Null' }}"> | 26 <template if="{{ cls['super']['type'] != 'Null' }}"> |
17 extends | 27 extends |
18 <class-ref app="{{ app }}" ref="{{ cls['super'] }}"></class-ref> | 28 <class-ref app="{{ app }}" ref="{{ cls['super'] }}"></class-ref> |
19 </template> | 29 </template> |
20 <library-ref app="{{ app }}" ref="{{ cls['library'] }}"></library-ref> | 30 <library-ref app="{{ app }}" ref="{{ cls['library'] }}"></library-ref> |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 <template if="{{ cls['error'] != null }}"> | 81 <template if="{{ cls['error'] != null }}"> |
72 <error-view error_obj="{{ cls['error'] }}"></error-view> | 82 <error-view error_obj="{{ cls['error'] }}"></error-view> |
73 </template> | 83 </template> |
74 </div> | 84 </div> |
75 </div> | 85 </div> |
76 </div> | 86 </div> |
77 </div> | 87 </div> |
78 </template> | 88 </template> |
79 <script type="application/dart" src="class_view.dart"></script> | 89 <script type="application/dart" src="class_view.dart"></script> |
80 </polymer-element> | 90 </polymer-element> |
OLD | NEW |