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

Side by Side Diff: Tools/GardeningServer/ui/ct-last-updated.html

Issue 453543002: Add last update time to Sheriff-O-Matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 4 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 <!--
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="ct-last-updated" attributes="date">
8 <template>
9 Updated {{ date | _deltaMinutes }} min ago @ {{ date | _hours }}:{{ date | _ minutes }}
10 </template>
11 <script>
12 (function() {
13 Polymer({
14 date: new Date(0),
15
16 _deltaMinutes: function(date) {
17 return date.minutesAgo();
18 },
19 _hours: function(date) {
20 return date.getHours();
21 },
22 _minutes: function(date) {
23 return date.getMinutes();
24 },
25 });
26 })();
27
28 </script>
29 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-analyzer.html ('k') | Tools/GardeningServer/ui/ct-sheriff-o-matic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698