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

Side by Side Diff: runtime/observatory/lib/src/elements/library_ref.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
(Empty)
1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2
3 <link rel="import" href="service_ref.html">
4
5 <polymer-element name="library-ref">
6 <template>
7 <link rel="stylesheet" href="css/shared.css">
8 <style>
9 .indented {
10 margin-left: 1.5em;
11 font: 400 14px 'Montserrat', sans-serif;
12 line-height: 150%;
13 }
14 </style>
15 <template if="{{ nameIsEmpty }}">
16 <a on-click="{{ goto }}" _href="{{ url }}">unnamed</a>
17 </template>
18 <template if="{{ !nameIsEmpty }}">
19 <a on-click="{{ goto }}" _href="{{ url }}">{{ name }}</a>
20 </template>
21 <template if="{{ asValue }}">
22 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}">
23 <div class="indented">
24 <template repeat="{{ field in ref.variables }}">
25 <template if="{{ field.isStatic }}">
26 {{ field.name }}&nbsp;:&nbsp;
27 <any-service-ref ref="{{ field.staticValue }}"
28 expandKey="{{ makeExpandKey(field.name) }}">
29 </any-service-ref><br>
30 </template>
31 </template>
32 </div>
33 </curly-block>
34 </template>
35 </template>
36 </polymer-element>
37
38 <script type="application/dart" src="library_ref.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/library_ref.dart ('k') | runtime/observatory/lib/src/elements/library_ref_as_value.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698