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

Unified Diff: appengine/swarming/elements/res/imp/botlist/bot-list.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/botlist/bot-list.html
diff --git a/appengine/swarming/elements/res/imp/botlist/bot-list.html b/appengine/swarming/elements/res/imp/botlist/bot-list.html
index 9522227e3afd73e250fbedadaa4bf236473379bf..9dae79c2f5935b6c5f1de3cc84fb5238b8c1a59e 100644
--- a/appengine/swarming/elements/res/imp/botlist/bot-list.html
+++ b/appengine/swarming/elements/res/imp/botlist/bot-list.html
@@ -11,8 +11,10 @@
bot-list creats a dynamic table for viewing swarming bots. Columns can be
dynamically filtered and it supports client-side filtering.
+ 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.
@@ -76,6 +78,7 @@
</style>
<swarming-app
+ client_id="[[client_id]]"
auth_headers="{{_auth_headers}}"
signed_in="{{_signed_in}}"
@@ -383,6 +386,10 @@
properties: {
+ client_id: {
+ type: String,
+ },
+
_bots: {
type: Array,
},
« no previous file with comments | « appengine/swarming/elements/index.html ('k') | appengine/swarming/elements/res/imp/common/swarming-app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698