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

Side by Side Diff: appengine/swarming/elements/res/imp/common/auth-signin.html

Issue 2350853004: Make the buttons on task-page work (Closed) Base URL: git@github.com:luci/luci-py@task-page2
Patch Set: Fix promses Created 4 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 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 The `auth-signin` element displays sign-in/sign-out button, user email and 6 The `auth-signin` element displays sign-in/sign-out button, user email and
7 avatar. 7 avatar.
8 It has a google-signin/google-signin-aware element under the hood that handles 8 It has a google-signin/google-signin-aware element under the hood that handles
9 the actual OAuth logic. 9 the actual OAuth logic.
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 }, 77 },
78 auth_response: { 78 auth_response: {
79 type: Object, 79 type: Object,
80 notify: true, 80 notify: true,
81 }, 81 },
82 client_id: { 82 client_id: {
83 type: String, 83 type: String,
84 }, 84 },
85 profile: { 85 profile: {
86 type: Object, 86 type: Object,
87 readOnly: true 87 readOnly: true,
88 notify: true,
88 }, 89 },
89 signed_in: { 90 signed_in: {
90 type: Boolean, 91 type: Boolean,
91 readOnly: true, 92 readOnly: true,
92 value: false, 93 value: false,
93 notify: true, 94 notify: true,
94 }, 95 },
95 }, 96 },
96 97
97 attached: function() { 98 attached: function() {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 signIn: function() { 164 signIn: function() {
164 this.$.aware.signIn(); 165 this.$.aware.signIn();
165 }, 166 },
166 167
167 signOut: function() { 168 signOut: function() {
168 this.$.aware.signOut(); 169 this.$.aware.signOut();
169 } 170 }
170 }); 171 });
171 </script> 172 </script>
172 </dom-module> 173 </dom-module>
OLDNEW
« no previous file with comments | « appengine/swarming/elements/build/js/js.js ('k') | appengine/swarming/elements/res/imp/common/common-behavior.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698