| OLD | NEW |
| (Empty) | |
| 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> |
| 3 </head> |
| 4 <polymer-element name="class-view" extends="observatory-element"> |
| 5 <template> |
| 6 <div class="row"> |
| 7 <div class="col-md-8 col-md-offset-2"> |
| 8 <div class="panel panel-warning"> |
| 9 <div class="panel-heading"> |
| 10 {{ cls['user_name'] }} ({{ cls['name'] }}) |
| 11 <template if="{{ cls['super']['type'] != 'Null' }}"> |
| 12 extends |
| 13 <a href="{{ app.locationManager.currentIsolateClassLink(cls['super']
['id'])}}"> |
| 14 {{ cls['super']['user_name'] }} |
| 15 </a> |
| 16 </template> |
| 17 <a class="pull-right" href="{{ app.locationManager.currentIsolateObjec
tLink(cls['library']['id'])}}"> |
| 18 {{ cls['library']['name'] }} |
| 19 </a> |
| 20 </div> |
| 21 <div class="panel-body"> |
| 22 <table class="table table-hover"> |
| 23 <tbody> |
| 24 <tr> |
| 25 <td>Abstract</td><td>{{ cls['abstract'] }}</td> |
| 26 </tr> |
| 27 <tr> |
| 28 <td>Const</td><td>{{ cls['const'] }}</td> |
| 29 </tr> |
| 30 <tr> |
| 31 <td>Finalized</td><td>{{ cls['const'] }}</td> |
| 32 </tr> |
| 33 <tr> |
| 34 <td>Implemented</td><td>{{ cls['implemented'] }}</td> |
| 35 </tr> |
| 36 <tr> |
| 37 <td>Patch</td><td>{{ cls['patch'] }}</td> |
| 38 </tr> |
| 39 </tbody> |
| 40 </table> |
| 41 <blockquote><strong>Fields</strong></blockquote> |
| 42 <table class="table table-hover"> |
| 43 <thead> |
| 44 <tr> |
| 45 <th>User Name</th> |
| 46 <th>VM Name</th> |
| 47 </tr> |
| 48 </thead> |
| 49 <tbody> |
| 50 <tr template repeat="{{ field in cls['fields'] }}"> |
| 51 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fie
ld['id'])}}">{{ field['user_name'] }}</a></td> |
| 52 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fie
ld['id'])}}">{{ field['name'] }}</a></td> |
| 53 </tr> |
| 54 </tbody> |
| 55 </table> |
| 56 <blockquote><strong>Functions</strong></blockquote> |
| 57 <table class="table table-hover"> |
| 58 <thead> |
| 59 <tr> |
| 60 <th>User Name</th> |
| 61 <th>VM Name</th> |
| 62 </tr> |
| 63 </thead> |
| 64 <tbody> |
| 65 <tr template repeat="{{ function in cls['functions'] }}"> |
| 66 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fun
ction['id'])}}">{{ function['user_name'] }}</a></td> |
| 67 <td><a href="{{ app.locationManager.currentIsolateObjectLink(fun
ction['id'])}}">{{ function['name'] }}</a></td> |
| 68 </tr> |
| 69 </tbody> |
| 70 </table> |
| 71 </div> |
| 72 </div> |
| 73 </div> |
| 74 </div> |
| 75 </template> |
| 76 <script type="application/dart" src="class_view.dart"></script> |
| 77 </polymer-element> |
| OLD | NEW |