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

Side by Side Diff: third_party/pkg/route_hierarchical/example/full/portfolio.html

Issue 176943008: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <link rel="import" href="company-info.html">
6 </head>
7 <body>
8 <element name="x-porfolio" constructor="PortfolioComponent" extends="div">
9 <template>
10 <!-- Tabs header -->
11 <ul class="nav nav-tabs">
12 <template iterate='tab in tabs'>
13 <li class='{{activeClass(tab)}}'>
14 <a href="{{tab['link']}}">{{tab['name']}}</a>
15 </li>
16 </template>
17 </ul>
18 <template if="activeTab == null">
19 Loading...
20 </template>
21 <!-- portfolio home tab -->
22 <template if="activeTab == tabs[0]">
23 <h1>Portfolio</h1>
24 <div class="form-search">
25 <input type="text" class="input-medium search-query" bind-value="sea rchQuery">
26 <button class="btn" on-click="search()">Search</button>
27 </div><br/>
28 <template if="companies == null">
29 Loading...
30 </template>
31 <template if="companies != null">
32 <table class="table">
33 <tr>
34 <th>#</th>
35 <th>Name</th>
36 <th>Revenue</th>
37 </tr>
38 <tbody template iterate='company in companies'>
39 <tr>
40 <td>{{company['id']}}</td>
41 <td><a href="{{companyLink(company)}}">{{company['name']}}</a></td >
42 <td>{{company['revenue']}}</td>
43 </tr>
44 </tbody>
45 </table>
46 </template>
47 </template>
48 <!-- Draw company tab -->
49 <template iterate="tab in tabs.sublist(1)">
50 <template if="activeTab == tab">
51 <template if="tab['userValue'] == null">
52 Loading...
53 </template>
54 <template if="tab['userValue'] != null">
55 <x-company-info company="{{tab['userValue']}}" route="{{companyRou te.newHandle()}}"></x-company-info>
56 </template>
57 </template>
58 </template>
59 </template>
60 <script type="application/dart" src="portfolio.dart"></script>
61 </element>
62 </body>
63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698