| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
| 3 <link rel="import" href="error_view.html"> |
| 3 </head> | 4 </head> |
| 4 <polymer-element name="class-view" extends="observatory-element"> | 5 <polymer-element name="class-view" extends="observatory-element"> |
| 5 <template> | 6 <template> |
| 6 <div class="row"> | 7 <div class="row"> |
| 7 <div class="col-md-8 col-md-offset-2"> | 8 <div class="col-md-8 col-md-offset-2"> |
| 8 <div class="panel panel-warning"> | 9 <div class="panel panel-warning"> |
| 9 <div class="panel-heading"> | 10 <div class="panel-heading"> |
| 10 {{ cls['user_name'] }} ({{ cls['name'] }}) | 11 {{ cls['user_name'] }} ({{ cls['name'] }}) |
| 11 <template if="{{ cls['super']['type'] != 'Null' }}"> | 12 <template if="{{ cls['super']['type'] != 'Null' }}"> |
| 12 extends | 13 extends |
| (...skipping 18 matching lines...) Expand all Loading... |
| 31 <td>Finalized</td><td>{{ cls['const'] }}</td> | 32 <td>Finalized</td><td>{{ cls['const'] }}</td> |
| 32 </tr> | 33 </tr> |
| 33 <tr> | 34 <tr> |
| 34 <td>Implemented</td><td>{{ cls['implemented'] }}</td> | 35 <td>Implemented</td><td>{{ cls['implemented'] }}</td> |
| 35 </tr> | 36 </tr> |
| 36 <tr> | 37 <tr> |
| 37 <td>Patch</td><td>{{ cls['patch'] }}</td> | 38 <td>Patch</td><td>{{ cls['patch'] }}</td> |
| 38 </tr> | 39 </tr> |
| 39 </tbody> | 40 </tbody> |
| 40 </table> | 41 </table> |
| 41 <blockquote><strong>Fields</strong></blockquote> | 42 <template if="{{ cls['error'] == null }}"> |
| 42 <table class="table table-hover"> | 43 <blockquote><strong>Fields</strong></blockquote> |
| 43 <thead> | 44 <table class="table table-hover"> |
| 44 <tr> | 45 <thead> |
| 45 <th>User Name</th> | 46 <tr> |
| 46 <th>VM Name</th> | 47 <th>User Name</th> |
| 47 </tr> | 48 <th>VM Name</th> |
| 48 </thead> | 49 </tr> |
| 49 <tbody> | 50 </thead> |
| 50 <tr template repeat="{{ field in cls['fields'] }}"> | 51 <tbody> |
| 51 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fie
ld['id'])}}">{{ field['user_name'] }}</a></td> | 52 <tr template repeat="{{ field in cls['fields'] }}"> |
| 52 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fie
ld['id'])}}">{{ field['name'] }}</a></td> | 53 <td><a href="{{ app.locationManager.currentIsolateObjectLink(f
ield['id'])}}">{{ field['user_name'] }}</a></td> |
| 53 </tr> | 54 <td><a href="{{ app.locationManager.currentIsolateObjectLink(f
ield['id'])}}">{{ field['name'] }}</a></td> |
| 54 </tbody> | 55 </tr> |
| 55 </table> | 56 </tbody> |
| 56 <blockquote><strong>Functions</strong></blockquote> | 57 </table> |
| 57 <table class="table table-hover"> | 58 <blockquote><strong>Functions</strong></blockquote> |
| 58 <thead> | 59 <table class="table table-hover"> |
| 59 <tr> | 60 <thead> |
| 60 <th>User Name</th> | 61 <tr> |
| 61 <th>VM Name</th> | 62 <th>User Name</th> |
| 62 </tr> | 63 <th>VM Name</th> |
| 63 </thead> | 64 </tr> |
| 64 <tbody> | 65 </thead> |
| 65 <tr template repeat="{{ function in cls['functions'] }}"> | 66 <tbody> |
| 66 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fun
ction['id'])}}">{{ function['user_name'] }}</a></td> | 67 <tr template repeat="{{ function in cls['functions'] }}"> |
| 67 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fun
ction['id'])}}">{{ function['name'] }}</a></td> | 68 <td><a href="{{ app.locationManager.currentIsolateObjectLink(f
unction['id'])}}">{{ function['user_name'] }}</a></td> |
| 68 </tr> | 69 <td><a href="{{ app.locationManager.currentIsolateObjectLink(f
unction['id'])}}">{{ function['name'] }}</a></td> |
| 69 </tbody> | 70 </tr> |
| 70 </table> | 71 </tbody> |
| 72 </table> |
| 73 </template> |
| 74 <template if="{{ cls['error'] != null }}"> |
| 75 <error-view error_obj="{{ cls['error'] }}"></error-view> |
| 76 </template> |
| 71 </div> | 77 </div> |
| 72 </div> | 78 </div> |
| 73 </div> | 79 </div> |
| 74 </div> | 80 </div> |
| 75 </template> | 81 </template> |
| 76 <script type="application/dart" src="class_view.dart"></script> | 82 <script type="application/dart" src="class_view.dart"></script> |
| 77 </polymer-element> | 83 </polymer-element> |
| OLD | NEW |