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

Side by Side Diff: web/apps/logdog-view/elements/logdog-view/logdog-view.html

Issue 2860453003: LogDog Viewer: Link back to source build. (Closed)
Patch Set: comments Created 3 years, 7 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
« no previous file with comments | « no previous file | web/inc/logdog-stream-view/logdog-stream-view.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved. 2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0 3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file. 4 that can be found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="../../inc/bower_components/polymer/polymer.html"> 7 <link rel="import" href="../../inc/bower_components/polymer/polymer.html">
8 8
9 <!-- Inline our main TypeScript --> 9 <!-- Inline our main TypeScript -->
10 <script src="../../scripts-ts/main.js"></script> 10 <script src="../../scripts-ts/main.js"></script>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 display: inline-block; 56 display: inline-block;
57 border: none; 57 border: none;
58 } 58 }
59 </style> 59 </style>
60 60
61 <div> 61 <div>
62 <div id="banner"> 62 <div id="banner">
63 <span class="banner-content"> 63 <span class="banner-content">
64 <h1><a href="/">LogDog</a> 64 <h1><a href="/">LogDog</a>
65 <template is="dom-if" if="{{_hasStreams}}"> 65 <template is="dom-if" if="{{_hasStreams}}">
66 : [[streams]] 66 <template is="dom-if" if="{{streamLinkUrl}}">
67 : <a href="{{streamLinkUrl}}">[[streams]]</a>
68 </template>
69 <template is="dom-if" if="{{!streamLinkUrl}}">
70 : [[streams]]
71 </template>
67 </template> 72 </template>
68 <template is="dom-if" if="{{!_hasStreams}}"> 73 <template is="dom-if" if="{{!_hasStreams}}">
69 (No Streams Provided) 74 (No Streams Provided)
70 </template> 75 </template>
71 </h1> 76 </h1>
72 </span> 77 </span>
73 <template is="dom-if" if="{{clientId}}"> 78 <template is="dom-if" if="{{clientId}}">
74 <span id="auth-bubble"> 79 <span id="auth-bubble">
75 <auth-signin 80 <auth-signin
76 client-id="[[clientId]]"></auth-signin> 81 client-id="[[clientId]]"></auth-signin>
77 </span> 82 </span>
78 </template> 83 </template>
79 </div> 84 </div>
80 85
81 <logdog-stream-view 86 <logdog-stream-view
82 id="streamView" 87 id="streamView"
83 host="[[host]]" 88 host="[[host]]"
84 mobile="[[mobile]]" 89 mobile="[[mobile]]"
85 metadata="[[metadata]]" 90 metadata="[[metadata]]"
86 streams="[[streams]]"></logdog-stream-view> 91 streams="[[streams]]"
92 stream-link-url="{{streamLinkUrl}}"></logdog-stream-view>
87 </div> 93 </div>
88 </template> 94 </template>
89 95
90 </dom-module> 96 </dom-module>
91 97
92 <script> 98 <script>
93 Polymer({ 99 Polymer({
94 is: "logdog-view", 100 is: "logdog-view",
95 properties: { 101 properties: {
96 host: { 102 host: {
97 type: String, 103 type: String,
98 notify: true, 104 notify: true,
99 value: null, 105 value: null,
100 }, 106 },
101 107
102 clientId: { 108 clientId: {
103 type: String, 109 type: String,
104 value: null, 110 value: null,
105 }, 111 },
106 112
107 streams: { 113 streams: {
108 type: Array, 114 type: Array,
109 value: [], 115 value: [],
110 readOnly: true, 116 readOnly: true,
111 }, 117 },
112 118
119 streamLinkUrl: {
120 type: String,
121 value: null,
122 notify: true,
123 },
124
113 metadata: { 125 metadata: {
114 type: String, 126 type: String,
115 value: false, 127 value: false,
116 readOnly: true, 128 readOnly: true,
117 }, 129 },
118 130
119 mobile: { 131 mobile: {
120 type: Boolean, 132 type: Boolean,
121 value: false, 133 value: false,
122 }, 134 },
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 }, 231 },
220 }); 232 });
221 233
222 (function(i,s,o,g,r,a,m){i['CrDXObject']=r;i[r]=i[r]||function(){ 234 (function(i,s,o,g,r,a,m){i['CrDXObject']=r;i[r]=i[r]||function(){
223 (i[r].q=i[r].q||[]).push(arguments)},a=s.createElement(o), 235 (i[r].q=i[r].q||[]).push(arguments)},a=s.createElement(o),
224 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m ) 236 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m )
225 })(window,document,'script','https://storage.googleapis.com/crdx-feedback.apps pot.com/feedback.js','crdx'); 237 })(window,document,'script','https://storage.googleapis.com/crdx-feedback.apps pot.com/feedback.js','crdx');
226 238
227 crdx('setFeedbackButtonLink', 'https://bugs.chromium.org/p/chromium/issues/ent ry?components=Infra>Platform>LogDog&labels=Infra-DX'); 239 crdx('setFeedbackButtonLink', 'https://bugs.chromium.org/p/chromium/issues/ent ry?components=Infra>Platform>LogDog&labels=Infra-DX');
228 </script> 240 </script>
OLDNEW
« no previous file with comments | « no previous file | web/inc/logdog-stream-view/logdog-stream-view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698