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

Side by Side Diff: appengine/chromium_rietveld/new_static/components/cr-issue-meta.html

Issue 1001723003: Create a common directory of widgets and css. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 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
OLDNEW
1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. --> 3 found in the LICENSE file. -->
4 4
5 <link rel="import" href="cr-view-handler.html"> 5 <link rel="import" href="../common/cr-view-handler.html">
6 6
7 <polymer-element name="cr-issue-meta" attributes="issue"> 7 <polymer-element name="cr-issue-meta" attributes="issue">
8 <template> 8 <template>
9 <cr-view-handler></cr-view-handler> 9 <cr-view-handler></cr-view-handler>
10 <link rel="stylesheet" href="common.css"> 10 <link rel="stylesheet" href="../common/common.css">
11 <style> 11 <style>
12 :host { 12 :host {
13 display: table; 13 display: table;
14 } 14 }
15 15
16 .issue-meta-item { 16 .issue-meta-item {
17 display: table-row; 17 display: table-row;
18 } 18 }
19 19
20 .issue-meta-type, 20 .issue-meta-type,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 }, 112 },
113 formatDate: function(date) { 113 formatDate: function(date) {
114 return date.format("{Mon} {ord} {yyyy} {h}:{mm}{tt}"); 114 return date.format("{Mon} {ord} {yyyy} {h}:{mm}{tt}");
115 }, 115 },
116 contains: function(list, value) { 116 contains: function(list, value) {
117 return list && list.indexOf(value) != -1; 117 return list && list.indexOf(value) != -1;
118 }, 118 },
119 }); 119 });
120 </script> 120 </script>
121 </polymer-element> 121 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698