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

Unified Diff: appengine/swarming/elements/res/imp/index/swarming-index.html

Issue 2242543002: Make OAuth client id accessible to new ui w/o hardcoding (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Address nits Created 4 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 side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/elements/res/imp/index/swarming-index.html
diff --git a/appengine/swarming/elements/res/imp/index/swarming-index.html b/appengine/swarming/elements/res/imp/index/swarming-index.html
index c9ab1b0cc235f2116841285e6fd46fad3f37db96..16c41569e0399a66a90af82cab0cf6be76bf0f77 100644
--- a/appengine/swarming/elements/res/imp/index/swarming-index.html
+++ b/appengine/swarming/elements/res/imp/index/swarming-index.html
@@ -15,8 +15,10 @@
<swarming-index></swarming-index>
+ This is a top-level element.
+
Properties:
- None. This is a top-level element.
+ client_id: String, will be set by server-side template evaluation.
Methods:
None.
@@ -36,6 +38,7 @@
</style>
<swarming-app
+ client_id="[[client_id]]"
auth_headers="{{auth_headers}}"
name="Swarming"
busy="[[busy]]">
@@ -60,6 +63,10 @@
is: 'swarming-index',
properties: {
+ client_id: {
+ type: String,
+ },
+
auth_headers: {
type: Object,
observer: "signIn",
« no previous file with comments | « appengine/swarming/elements/res/imp/common/swarming-app.html ('k') | appengine/swarming/handlers_frontend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698