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

Unified Diff: appengine/config_service/ui/src/config-ui/front-page.html

Issue 2962703003: config_service: Add authentication to the UI. (Closed)
Patch Set: Added the modified file. Changes can be seen by clicking on Delta from patch set 2. Created 3 years, 6 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/config_service/ui/src/config-ui/front-page.html
diff --git a/appengine/config_service/ui/src/config-ui/front-page.html b/appengine/config_service/ui/src/config-ui/front-page.html
index 95e70b821e6fce4ed1afcc4101e50d58ded6b169..39a9807bebcfbadcc96aa8841668f3ef63016544 100644
--- a/appengine/config_service/ui/src/config-ui/front-page.html
+++ b/appengine/config_service/ui/src/config-ui/front-page.html
@@ -35,13 +35,16 @@
}
</style>
- <iron-ajax
- auto
- id="requestConfigs"
- url="/_ah/api/config/v1/config-sets"
- handle-as="json"
- on-response="_onGotConfigSets">
- </iron-ajax>
+ <template is="dom-if" if="[[!hidden]]">
+ <iron-ajax
+ auto
+ id="requestConfigs"
+ url="/_ah/api/config/v1/config-sets"
+ handle-as="json"
+ on-response="_onGotConfigSets"
+ headers="{{auth_headers}}">
+ </iron-ajax>
+ </template>
<div class="search-bar">
<paper-search-bar query="{{query}}"></paper-search-bar>

Powered by Google App Engine
This is Rietveld 408576698