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

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

Issue 2980973002: config_service: Fixed multiple ajax requests in the front page while the page determines whether a … (Closed)
Patch Set: Nit: formatting of if statement Created 3 years, 5 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/config-ui.html
diff --git a/appengine/config_service/ui/src/config-ui/config-ui.html b/appengine/config_service/ui/src/config-ui/config-ui.html
index fe3eed308805084002d15ec98d19661fc18bf1ad..b612c07ed1b1c501ca0e305f73719d37e48d4a8f 100644
--- a/appengine/config_service/ui/src/config-ui/config-ui.html
+++ b/appengine/config_service/ui/src/config-ui/config-ui.html
@@ -42,9 +42,7 @@
</style>
<app-drawer-layout fullbleed force-narrow>
-
<app-header-layout>
-
<app-header reveals slot="header" effects="resize-title">
<app-toolbar>
<!--<image class="logo" src="/static/images/chromium.png"/>-->
@@ -57,7 +55,9 @@
class="right"
client_id="[[client_id]]"
auth_headers="{{auth_headers}}"
+ initialized="{{initialized}}"
profile="{{profile}}"
+ user="{{user}}"
signed_in="{{signed_in}}">
</auth-signin>
</template>
@@ -85,29 +85,32 @@
active="{{frontPageActive}}"></app-route>
<template is="dom-if" if="[[frontPageActive]]">
- <front-page auth_headers="{{auth_headers}}"></front-page>
+ <front-page auth_headers="[[auth_headers]]"
+ initialized="[[initialized]]"
+ user="[[user]]"></front-page>
</template>
<template is="dom-if" if="[[serviceActive]]" restamp="true">
<config-set category="services"
- name="{{serviceData.serviceName}}"
- route="{{serviceTail}}"
- auth_headers="{{auth_headers}}"
+ name="[[serviceData.serviceName]]"
+ route="[[serviceTail]]"
+ auth_headers="[[auth_headers]]"
+ initialized="[[initialized]]"
+ user="[[user]]"
front-page-is-active="[[frontPageActive]]"></config-set>
</template>
<template is="dom-if" if="[[projectActive]]" restamp="true">
<config-set category="projects"
- name="{{projectData.projectName}}"
- route="{{projectTail}}"
- auth_headers="{{auth_headers}}"
+ name="[[projectData.projectName]]"
+ route="[[projectTail]]"
+ auth_headers="[[auth_headers]]"
+ initialized="[[initialized]]"
+ user="[[user]]"
front-page-is-active="[[frontPageActive]]"></config-set>
</template>
-
</app-header-layout>
-
</app-drawer-layout>
-
</template>
<script>

Powered by Google App Engine
This is Rietveld 408576698