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

Side by Side Diff: appengine/sheriff_o_matic/ui/ct-detailed-commit.html

Issue 1315693002: SoM: upgrade Polymer from 0.5 to 1.0 Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: get bower_components from polymer_1.0.4 Created 5 years, 3 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 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 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 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 --><html><head><link rel="import" href="ct-button.html">
6 6
7 <link rel="import" href="ct-button.html"> 7 <dom-module id="ct-detailed-commit">
8 8 <style>
9 <polymer-element name="ct-detailed-commit" attributes="data suspected" noscript>
10 <template>
11 <style>
12 .header { 9 .header {
13 text-align: center; 10 text-align: center;
14 font-size: 20px; 11 font-size: 20px;
15 } 12 }
16 .suspected-commit { 13 .suspected-commit {
17 color: red; 14 color: red;
18 font-weight: bold; 15 font-weight: bold;
19 } 16 }
20 </style> 17 </style>
18 <template>
21 19
22 <div class="header"> 20 <div class="header">
23 <template if="{{ suspected }}"> 21 <template is="dom-if" if="{{ suspected }}">
24 <span class="suspected-commit">*</span><a href="{{ data.url }}" class="s uspected-commit">{{ data.repository }}:{{ data.revision }}</a> 22 <span class="suspected-commit">*</span><a class="suspected-commit" href$ ="{{ data.url }}"><span>{{ data.repository }}</span>:<span>{{ data.revision }}</ span></a>
25 </template> 23 </template>
26 <template if="{{ !suspected }}"> 24 <template is="dom-if" if="{{ !suspected }}">
27 <a href="{{ data.url }}">{{ data.repository }}:{{ data.revision }}</a> 25 <a href$="{{ data.url }}"><span>{{ data.repository }}</span>:<span>{{ da ta.revision }}</span></a>
28 </template> 26 </template>
29 </div> 27 </div>
30 28
31 <pre>{{ data.message }}</pre> 29 <pre>{{ data.message }}</pre>
32 30
33 <!-- TODO(sergiyb): Add modified files linked to their diffs from 31 <!-- TODO(sergiyb): Add modified files linked to their diffs from
34 https://src.chromium.org/viewvc/blink/path/to/file?pathrev=123456. --> 32 https://src.chromium.org/viewvc/blink/path/to/file?pathrev=123456. -->
35 <!-- <iframe src="{{ data.url }}"></iframe> --> 33 <!-- <iframe src="{{ data.url }}"></iframe> -->
36 <hr/> 34 <hr>
37 </template> 35 </template>
38 </polymer-element> 36 <script>
37 Polymer({
38 is: 'ct-detailed-commit',
39 properties: {
40 data: { notify: true },
41 suspected: { notify: true }
42 }
43 });
44 </script>
45 </dom-module>
OLDNEW
« no previous file with comments | « appengine/sheriff_o_matic/ui/ct-commit-list.html ('k') | appengine/sheriff_o_matic/ui/ct-embedded-flakiness-dashboard.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698