Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: runtime/observatory/lib/src/elements/class_ref_as_value.html

Issue 2204973003: Converted Observatory class-ref & library-ref elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed indentation Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2
3 <link rel="import" href="service_ref.html"> 2 <link rel="import" href="service_ref.html">
4 3
5 <polymer-element name="class-ref"> 4 <polymer-element name="class-ref-as-value">
6 <template> 5 <template>
7 <link rel="stylesheet" href="css/shared.css"> 6 <link rel="stylesheet" href="css/shared.css">
8 <style> 7 <style>
9 .indented { 8 .indented {
10 margin-left: 1.5em; 9 margin-left: 1.5em;
11 font: 400 14px 'Montserrat', sans-serif; 10 font: 400 14px 'Montserrat', sans-serif;
12 line-height: 150%; 11 line-height: 150%;
13 } 12 }
14 </style><!-- 13 </style><!--
15 --><a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a><!-- 14 --><class-ref ref="{{ ref }}"></class-ref><!--
16 --><template if="{{ asValue }}"> 15 --><curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}">
17 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}">
18 <div class="indented"> 16 <div class="indented">
19 <template repeat="{{ field in ref.fields }}"> 17 <template repeat="{{ field in ref.fields }}">
20 <template if="{{ field.isStatic }}"> 18 <template if="{{ field.isStatic }}">
21 {{ field.name }}&nbsp;:&nbsp; 19 {{ field.name }}&nbsp;:&nbsp;
22 <any-service-ref ref="{{ field.staticValue }}" 20 <any-service-ref ref="{{ field.staticValue }}"
23 expandKey="{{ makeExpandKey(field.name) }}"> 21 expandKey="{{ makeExpandKey(field.name) }}">
24 </any-service-ref><br> 22 </any-service-ref><br>
25 </template> 23 </template>
26 </template> 24 </template>
27 </div> 25 </div>
28 </curly-block> 26 </curly-block><!--
29 </template><!--
30 --></template> 27 --></template>
31 </polymer-element> 28 </polymer-element>
32 29
33 <script type="application/dart" src="class_ref.dart"></script> 30 <script type="application/dart" src="class_ref_as_value.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698