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="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
3 | 3 |
4 <polymer-element name="service-ref" extends="observatory-element"> | 4 <polymer-element name="service-ref" extends="observatory-element"> |
5 </polymer-element> | 5 </polymer-element> |
6 | 6 |
7 <polymer-element name="any-service-ref" extends="observatory-element"> | 7 <polymer-element name="any-service-ref" extends="observatory-element"> |
8 </polymer-element> | 8 </polymer-element> |
9 | 9 |
10 <polymer-element name="object-ref" extends="service-ref"> | 10 <polymer-element name="object-ref" extends="service-ref"> |
11 <template><link rel="stylesheet" href="css/shared.css"> | 11 <template><link rel="stylesheet" href="css/shared.css"> |
12 <template if="{{ nameIsEmpty }}"> | 12 <template if="{{ nameIsEmpty }}"> |
13 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.vmType }}</em></a> | 13 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.vmType }}</em></a> |
14 </template> | 14 </template> |
15 <template if="{{ !nameIsEmpty }}"> | 15 <template if="{{ !nameIsEmpty }}"> |
16 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ name }}</em></a> | 16 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ name }}</em></a> |
17 </template> | 17 </template> |
18 </template> | 18 </template> |
19 </polymer-element> | 19 </polymer-element> |
20 | 20 |
21 <script type="application/dart" src="service_ref.dart"></script> | 21 <script type="application/dart" src="service_ref.dart"></script> |
OLD | NEW |