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

Side by Side Diff: appengine_apps/trooper_o_matic/ui/tom-cq-graph-item.html

Issue 774323002: Moved trooper_o_matic to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years 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 <!--
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 <polymer-element name="tom-cq-graph-item" attributes="item">
8 <template>
9 <style>
10 a {
11 text-decoration: none;
12 }
13 .value {
14 color: {{ item.value >= item.alertThreshold ? 'red' : 'black' }};
15 }
16 </style>
17 <li>
18 <span class="value">{{ item.value | toFixed }} {{ item.unit }}</span>:
19 <a href="{{ item.reviewURL }}">{{ item.reviewTitle ? item.reviewTitle : it em.reviewURL }}</a>
20 -
21 <a href="//chromium-cq-status.appspot.com/patch-status/{{ item.issue }}/{{ item.patchset }}">[CQ Status]</a>
22 </li>
23 </template>
24 <script>
25 Polymer({
26 toFixed: function(value) {
27 return value.toFixed(0);
28 },
29 });
30 </script>
31 </polymer-element>
OLDNEW
« no previous file with comments | « appengine_apps/trooper_o_matic/ui/tom-cq-graph.html ('k') | appengine_apps/trooper_o_matic/ui/tom-cq-graphs.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698