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

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

Issue 2159273003: Converted Observatory top-nav-menu element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Splitted instructions in multiple lines Created 4 years, 5 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 <link rel="import" href="action_link.html"> 2 <link rel="import" href="action_link.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 4
5 <polymer-element name="nav-bar" extends="observatory-element"> 5 <polymer-element name="nav-bar" extends="observatory-element">
6 <template> 6 <template>
7 <link rel="stylesheet" href="css/shared.css"> 7 <link rel="stylesheet" href="css/shared.css">
8 <style> 8 <style>
9 nav { 9 nav {
10 position: fixed; 10 position: fixed;
(...skipping 28 matching lines...) Expand all
39 </ul> 39 </ul>
40 </nav> 40 </nav>
41 <div class="vertical-spacer"> 41 <div class="vertical-spacer">
42 </div> 42 </div>
43 <template if="{{ pad }}"> 43 <template if="{{ pad }}">
44 <br> 44 <br>
45 </template> 45 </template>
46 </template> 46 </template>
47 </polymer-element> 47 </polymer-element>
48 48
49 <polymer-element name="top-nav-menu">
50 <template>
51 <nav-menu link="/vm" anchor="Observatory" last="{{ last }}">
52 <nav-menu-item link="/vm-connect" anchor="Connect to a VM"></nav-menu-item >
53 <content></content>
54 </nav-menu>
55 </template>
56 </polymer-element>
57
58 <polymer-element name="vm-nav-menu"> 49 <polymer-element name="vm-nav-menu">
59 <template> 50 <template>
60 <nav-menu link="/vm" anchor="{{ nameAndAddress(vm.name, vm.target) }}" last= "{{ last }}"> 51 <nav-menu link="/vm" anchor="{{ nameAndAddress(vm.name, vm.target) }}" last= "{{ last }}">
61 <template repeat="{{ isolate in vm.isolates }}"> 52 <template repeat="{{ isolate in vm.isolates }}">
62 <nav-menu-item link="{{ makeLink('/inspect', isolate) }}" 53 <nav-menu-item link="{{ makeLink('/inspect', isolate) }}"
63 anchor="{{ isolate.name }}"></nav-menu-item> 54 anchor="{{ isolate.name }}"></nav-menu-item>
64 </template> 55 </template>
65 <content></content> 56 <content></content>
66 </nav-menu> 57 </nav-menu>
67 </template> 58 </template>
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 [<a class="link" on-click="{{ goto }}" 347 [<a class="link" on-click="{{ goto }}"
357 _href="{{ gotoLink('vm-connect') }}">Connect to a different VM</a>] 348 _href="{{ gotoLink('vm-connect') }}">Connect to a different VM</a>]
358 <a class="boxclose" on-click="{{ closeItem }}">&times;</a> 349 <a class="boxclose" on-click="{{ closeItem }}">&times;</a>
359 </div> 350 </div>
360 </template> 351 </template>
361 </template> 352 </template>
362 </polymer-element> 353 </polymer-element>
363 354
364 355
365 <script type="application/dart" src="nav_bar.dart"></script> 356 <script type="application/dart" src="nav_bar.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/nav_bar.dart ('k') | runtime/observatory/observatory_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698