Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!-- | |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. | |
| 5 --> | |
| 6 | |
| 7 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">< /script> | |
| 8 <script src="../scripts/base.js"></script> | |
| 9 <script src="../scripts/config.js"></script> | |
| 10 <script src="../scripts/net.js"></script> | |
| 11 <script src="../scripts/rollbot.js"></script> | |
| 12 <script src="../scripts/svn-log.js"></script> | |
| 13 <script src="../scripts/treestatus.js"></script> | |
| 14 <script src="../scripts/builders.js"></script> | |
| 15 <script src="../scripts/results.js"></script> | |
| 16 <script src="../scripts/ui.js"></script> | |
| 17 <script src="../scripts/model.js"></script> | |
| 18 | |
| 19 <link rel="import" href="../bower_components/core-pages/core-pages.html"> | |
| 20 <link rel="import" href="../bower_components/paper-tabs/paper-tabs.html"> | |
| 21 <link rel="import" href="../bower_components/paper-tabs/paper-tab.html"> | |
| 22 <link rel="import" href="ct-unexpected-failures.html"> | |
| 23 | |
| 24 <polymer-element name="ct-sheriff-o-matic"> | |
|
esprehn
2014/07/08 16:25:05
You almost certainly want attributes="selected" I
| |
| 25 <template> | |
| 26 <style> | |
| 27 paper-tabs { | |
| 28 background-color: #00bcd4; | |
| 29 color: #fff; | |
| 30 box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); | |
| 31 } | |
| 32 </style> | |
| 33 <paper-tabs selected="{{selected}}"> | |
|
ojan
2014/06/29 16:51:12
I've been thinking more about the UI we use for re
| |
| 34 <paper-tab>Unexpected Failures</paper-tab> | |
| 35 <paper-tab>Results</paper-tab> | |
| 36 </paper-tabs> | |
| 37 <core-pages selected="{{selected}}"> | |
| 38 <ct-unexpected-failures></ct-unexpected-failures> | |
| 39 </core-pages> | |
| 40 </template> | |
| 41 <script> | |
| 42 Polymer({ | |
| 43 selected: 0, | |
| 44 }); | |
| 45 </script> | |
| 46 </polymer-element> | |
| OLD | NEW |